File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
java/net/servicestack/client/tests Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 2121 <sourceFolder url =" file://$MODULE_DIR$/src/main/java" isTestSource =" false" />
2222 <sourceFolder url =" file://$MODULE_DIR$/src/main/resources" type =" java-resource" />
2323 <sourceFolder url =" file://$MODULE_DIR$/src/test/java" isTestSource =" true" />
24- <sourceFolder url =" file://$MODULE_DIR$/src/test/resources " type =" java-test-resource" />
24+ <sourceFolder url =" file://$MODULE_DIR$/src/test/res " type =" java-test-resource" />
2525 <excludeFolder url =" file://$MODULE_DIR$/.gradle" />
2626 <excludeFolder url =" file://$MODULE_DIR$/build" />
2727 </content >
3434 <orderEntry type =" library" exported =" " scope =" TEST" name =" mockito-core-1.9.5" level =" project" />
3535 <orderEntry type =" library" exported =" " scope =" TEST" name =" hamcrest-core-1.3" level =" project" />
3636 <orderEntry type =" library" exported =" " scope =" TEST" name =" objenesis-1.0" level =" project" />
37+ <orderEntry type =" library" exported =" " name =" client.client-1.0.20" level =" project" />
38+ <orderEntry type =" library" exported =" " name =" client.client-1.0.20-sources" level =" project" />
39+ <orderEntry type =" library" exported =" " name =" client.client-1.0.20-javadoc" level =" project" />
3740 </component >
3841</module >
Original file line number Diff line number Diff line change @@ -115,11 +115,11 @@ public void test_Can_deserialize_Full_Option() {
115115 }
116116
117117 public void test_Can_deserialize_Overview () throws IOException {
118-
119118//Latest Android Update broke test resources
120- //InputStream is = TechStacksServiceTests.class.getResourceAsStream("/overview.json");
121- //String json = Utils.readToEnd(is, "UTF-8");
122- String json = Utils .readToEnd (new FileInputStream ("C:\\ src\\ ServiceStack.Java\\ src\\ AndroidClient\\ client\\ src\\ test\\ resources\\ overview.json" ), "UTF-8" );
119+ // InputStream stream = this.getClass().getClassLoader().getResourceAsStream("overview.json");
120+ // String json = Utils.readToEnd(stream, "UTF-8");
121+
122+ String json = Utils .readToEnd (new FileInputStream ("src\\ test\\ res\\ overview.json" ), "UTF-8" );
123123
124124 OverviewResponse dto = (OverviewResponse )client .fromJson (json , OverviewResponse .class );
125125
File renamed without changes.
You can’t perform that action at this time.
0 commit comments