File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/AndroidClient/client/src/test/java/net/servicestack/client/tests Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 44import net .servicestack .client .JsonServiceClient ;
55import net .servicestack .client .Utils ;
66
7+ import java .io .FileInputStream ;
78import java .io .IOException ;
89import java .io .InputStream ;
910import java .util .ArrayList ;
@@ -115,8 +116,10 @@ public void test_Can_deserialize_Full_Option() {
115116
116117 public void test_Can_deserialize_Overview () throws IOException {
117118
118- InputStream is = TechStacksServiceTests .class .getResourceAsStream ("/overview.json" );
119- String json = Utils .readToEnd (is , "UTF-8" );
119+ //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" );
120123
121124 OverviewResponse dto = (OverviewResponse )client .fromJson (json , OverviewResponse .class );
122125
You can’t perform that action at this time.
0 commit comments