Skip to content

Commit d94c1d6

Browse files
committed
bump: 4.7.0
1 parent d906650 commit d94c1d6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
ext {
33
// sdk/java/com/deploygate/sdk/HostAppTest.java needs to be changed for a new release
4-
releaseVersion = '4.6.1'
4+
releaseVersion = '4.7.0'
55
}
66

77
buildscript {

sdk/src/test/java/com/deploygate/sdk/HostAppTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ public void default_properties() {
3434
Truth.assertThat(app.canUseLogcat).isTrue();
3535
Truth.assertThat(app.packageName).isEqualTo("com.deploygate.sdk.test");
3636
Truth.assertThat(app.sdkVersion).isEqualTo(4);
37-
Truth.assertThat(app.sdkArtifactVersion).isEqualTo("4.6.1");
38-
Truth.assertThat(app.activeFeatureFlags).isEqualTo(31);
37+
Truth.assertThat(app.sdkArtifactVersion).isEqualTo("4.7.0");
38+
Truth.assertThat(app.activeFeatureFlags).isEqualTo(1 << 5 - 1);
3939
Truth.assertThat(app.canUseDeviceCapture()).isTrue();
4040
}
4141

@@ -75,14 +75,14 @@ public void can_read_DeployGateSdkConfiguration_setCaptureEnabled() {
7575
);
7676

7777
Truth.assertThat(app1.canUseDeviceCapture()).isTrue();
78-
Truth.assertThat(app1.activeFeatureFlags).isEqualTo(31);
78+
Truth.assertThat(app1.activeFeatureFlags).isEqualTo(1 << 5 - 1);
7979

8080
HostApp app2 = new HostApp(
8181
context,
8282
new DeployGateSdkConfiguration.Builder().setCaptureEnabled(false).build()
8383
);
8484

8585
Truth.assertThat(app2.canUseDeviceCapture()).isFalse();
86-
Truth.assertThat(app2.activeFeatureFlags).isEqualTo(15);
86+
Truth.assertThat(app2.activeFeatureFlags).isEqualTo((1 << 5 - 1) - BuildConfig.DEVICE_CAPTURE);
8787
}
8888
}

0 commit comments

Comments
 (0)