Skip to content

Commit

Permalink
test(upgrade) update AGP and compileSdk versions
Browse files Browse the repository at this point in the history
  • Loading branch information
YYChen01988 committed Jan 9, 2025
1 parent 0e18c1e commit 96ab8f7
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions features/fixtures/mazerunner/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ apply plugin: "io.gitlab.arturbosch.detekt"
apply plugin: "org.jlleitschuh.gradle.ktlint"

android {
compileSdk 34
compileSdk 35
ndkVersion parent.ext.ndkVersion

defaultConfig {
minSdkVersion 17
targetSdkVersion 34
versionCode 34
targetSdkVersion 35
versionCode 35
versionName "1.1.14"
manifestPlaceholders = [
// omit any of the following placeholders to use the default values
Expand Down
2 changes: 1 addition & 1 deletion features/fixtures/mazerunner/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ buildscript {
dependencies {
def agpVersion = project.hasProperty("USE_AGP_VERSION")
? project.property("USE_AGP_VERSION")
: "8.5.0"
: "8.6.1"

project.logger.lifecycle("Using AGP $agpVersion")
classpath "com.android.tools.build:gradle:$agpVersion"
Expand Down
4 changes: 2 additions & 2 deletions features/fixtures/mazerunner/cxx-scenarios/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ apply plugin: "io.gitlab.arturbosch.detekt"
apply plugin: "org.jlleitschuh.gradle.ktlint"

android {
compileSdkVersion 31
compileSdkVersion 35
ndkVersion parent.ext.ndkVersion

defaultConfig {
minSdkVersion 14
minSdkVersion 17
}

buildTypes {
Expand Down
2 changes: 1 addition & 1 deletion features/full_tests/load_configuration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Feature: Loading values into the configuration
And the event "app.releaseStage" is not null
And the event "metaData.test.foo" equals "bar"
And the event "metaData.test.filter_me" equals "foobar"
And the event "app.versionCode" equals 34
And the event "app.versionCode" equals 35
And the event "app.buildUUID" is not null
And the event "app.version" equals "1.1.14"
And the event "app.type" is null
Expand Down
2 changes: 1 addition & 1 deletion features/smoke_tests/01_anr.feature
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Feature: ANR smoke test
And the event "app.releaseStage" equals "mazerunner"
And the event "app.type" equals "android"
And the event "app.version" equals "1.1.14"
And the event "app.versionCode" equals 34
And the event "app.versionCode" equals 35
And the error payload field "events.0.app.duration" is an integer
And the error payload field "events.0.app.durationInForeground" is an integer
And the event "app.inForeground" is true
Expand Down
4 changes: 2 additions & 2 deletions features/smoke_tests/02_handled.feature
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Feature: Handled smoke tests
And the event "app.releaseStage" equals "mazerunner"
And the event "app.type" equals "android"
And the event "app.version" equals "1.1.14"
And the event "app.versionCode" equals 34
And the event "app.versionCode" equals 35
And the error payload field "events.0.app.duration" is an integer
And the error payload field "events.0.app.durationInForeground" is an integer
And the event "app.inForeground" is true
Expand Down Expand Up @@ -196,7 +196,7 @@ Feature: Handled smoke tests
And the event "app.releaseStage" equals "mazerunner"
And the event "app.type" equals "android"
And the event "app.version" equals "1.1.14"
And the event "app.versionCode" equals 34
And the event "app.versionCode" equals 35
And the error payload field "events.0.app.duration" is an integer
And the error payload field "events.0.app.durationInForeground" is an integer
And the event "app.inForeground" is true
Expand Down
2 changes: 1 addition & 1 deletion features/smoke_tests/03_sessions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Feature: Session functionality smoke tests
And the session payload field "app.releaseStage" equals "mazerunner"
And the session payload field "app.type" equals "android"
And the session payload field "app.version" equals "1.1.14"
And the session payload field "app.versionCode" equals 34
And the session payload field "app.versionCode" equals 35

# Device data
And the session payload field "device.cpuAbi" is a non-empty array
Expand Down
2 changes: 1 addition & 1 deletion features/smoke_tests/04_unhandled.feature
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Feature: Unhandled smoke tests
And the event "app.releaseStage" equals "mazerunner"
And the event "app.type" equals "android"
And the event "app.version" equals "1.1.14"
And the event "app.versionCode" equals 34
And the event "app.versionCode" equals 35
And the error payload field "events.0.app.duration" is an integer
And the error payload field "events.0.app.durationInForeground" is an integer
And the event "app.inForeground" is true
Expand Down
2 changes: 1 addition & 1 deletion features/steps/android_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def wait_for_app_state(expected_state)
And the error payload field "events.0.app.releaseStage" is not null
And the error payload field "events.0.app.type" equals "android"
And the error payload field "events.0.app.version" is not null
And the error payload field "events.0.app.versionCode" equals 34
And the error payload field "events.0.app.versionCode" equals 35
And the error payload field "events.0.device.id" is not null
And the error payload field "events.0.device.locale" is not null
And the error payload field "events.0.device.manufacturer" is not null
Expand Down

0 comments on commit 96ab8f7

Please sign in to comment.