File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
sdk/src/test/java/com/deploygate/sdk Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11// Top-level build file where you can add configuration options common to all sub-projects/modules.
22ext {
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
77buildscript {
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments