Skip to content

Commit b28c33c

Browse files
committed
Fixed gradle test updated to 1.0.21
1 parent 3cc8067 commit b28c33c

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/AndroidClient/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
22
apply plugin: 'com.github.dcendents.android-maven'
33
apply plugin: 'com.jfrog.bintray'
44

5-
version = "1.0.20"
5+
version = "1.0.21"
66

77
android {
88
compileSdkVersion 23

src/AndroidClient/client/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies {
1111
testCompile 'org.mockito:mockito-core:1.9.5'
1212
}
1313

14-
version = "1.0.20"
14+
version = "1.0.21"
1515
group = "net.servicestack" // Maven Group ID for the artifact
1616
String packageId = "client"
1717
String groupID = group

src/AndroidClient/client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>net.servicestack</groupId>
66
<artifactId>client</artifactId>
7-
<version>1.0.20</version>
7+
<version>1.0.21</version>
88
<name>ServiceStack.Client</name>
99
<description>A client library to call your ServiceStack webservices.</description>
1010
<url>https://github.com/ServiceStack/ServiceStack.Java</url>

src/AndroidClient/client/src/test/java/net/servicestack/client/tests/TechStacksServiceTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ public void test_Can_deserialize_Overview() throws IOException {
118118
//Latest Android Update broke test resources
119119
// InputStream stream = this.getClass().getClassLoader().getResourceAsStream("overview.json");
120120
// String json = Utils.readToEnd(stream, "UTF-8");
121-
122-
String json = Utils.readToEnd(new FileInputStream("src\\test\\res\\overview.json"), "UTF-8");
121+
// Works from gradle -> test or check as they run 'processTestResources' that copy resources into build directory
122+
String json = Utils.readToEnd(getClass().getResourceAsStream("/overview.json"), "UTF-8");
123123

124124
OverviewResponse dto = (OverviewResponse)client.fromJson(json, OverviewResponse.class);
125125

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy