Skip to content

Commit 91af5b6

Browse files
authored
Merge pull request #2252 from android/axt_2024_05_14_stable_release_branch_in_progress
Merge changes for next stable release
2 parents 7706b7a + aaa89b4 commit 91af5b6

File tree

7 files changed

+36
-31
lines changed

7 files changed

+36
-31
lines changed

BUILD

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,11 @@ maven_repository(
2727
"//espresso/remote/java/androidx/test/espresso/remote:espresso_remote_maven_artifact",
2828
"//espresso/web/java/androidx/test/espresso/web:espresso_web_maven_artifact",
2929
"//ext/junit/java/androidx/test/ext/junit:junit_maven_artifact",
30-
"//ext/truth/java/androidx/test/ext/truth:truth_maven_artifact",
3130
"//ktx/core/java/androidx/test/core:core_maven_artifact",
3231
"//ktx/ext/junit/java/androidx/test/ext/junit:junit_maven_artifact",
3332
"//runner/android_junit_runner/java/androidx/test:runner_maven_artifact",
34-
"//runner/android_test_orchestrator/stubapp:orchestrator_release_maven_artifact",
3533
"//runner/monitor/java/androidx/test:monitor_maven_artifact",
3634
"//runner/rules/java/androidx/test:rules_maven_artifact",
37-
"//services:test_services_maven_artifact",
38-
"//services/storage/java/androidx/test/services/storage:test_storage_maven_artifact",
3935
],
4036
)
4137

WORKSPACE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ load(
6767
"GUAVA_VERSION",
6868
"JUNIT_VERSION",
6969
"UIAUTOMATOR_VERSION",
70+
"ATF_VERSION"
7071
)
7172

7273
# gRPC
@@ -128,7 +129,7 @@ maven_install(
128129
),
129130
],
130131
group = "com.google.android.apps.common.testing.accessibility.framework",
131-
version = "3.1",
132+
version = ATF_VERSION,
132133
),
133134
"com.google.android.material:material:" + GOOGLE_MATERIAL_VERSION,
134135
"com.google.auto.value:auto-value:1.5.1",
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
"""Defines current released AXT versions."""
22

3-
RUNNER_VERSION = "1.6.0-alpha07"
4-
RULES_VERSION = "1.6.0-alpha04"
5-
MONITOR_VERSION = "1.7.0-alpha05"
6-
ESPRESSO_VERSION = "3.6.0-alpha04"
7-
CORE_VERSION = "1.6.0-alpha06"
8-
ESPRESSO_DEVICE_VERSION = "1.0.0-alpha09"
9-
ANDROIDX_JUNIT_VERSION = "1.2.0-alpha04"
10-
ANDROIDX_TRUTH_VERSION = "1.6.0-alpha04"
11-
ORCHESTRATOR_VERSION = "1.5.0-alpha04"
12-
SERVICES_VERSION = "1.5.0-alpha04"
3+
RUNNER_VERSION = "1.6.0"
4+
RULES_VERSION = "1.6.0"
5+
MONITOR_VERSION = "1.7.0"
6+
ESPRESSO_VERSION = "3.6.0"
7+
CORE_VERSION = "1.6.0"
8+
ESPRESSO_DEVICE_VERSION = "1.0.0"
9+
ANDROIDX_JUNIT_VERSION = "1.2.0"
10+
ANDROIDX_TRUTH_VERSION = "1.6.0"
11+
ORCHESTRATOR_VERSION = "1.5.0"
12+
SERVICES_VERSION = "1.5.0"

build_extensions/axt_versions.bzl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ Use tools/release/validate_and_propagate_versions.sh to propagate these versions
44
//:axt_m2_repository and gradle-tests/settings.gradle
55
"""
66

7-
RUNNER_VERSION = "1.6.0"
8-
RULES_VERSION = "1.6.0"
9-
MONITOR_VERSION = "1.7.0"
10-
ESPRESSO_VERSION = "3.6.0"
11-
CORE_VERSION = "1.6.0"
12-
ESPRESSO_DEVICE_VERSION = "1.0.0"
13-
ANDROIDX_JUNIT_VERSION = "1.2.0"
7+
RUNNER_VERSION = "1.6.1"
8+
RULES_VERSION = "1.6.1"
9+
MONITOR_VERSION = "1.7.1"
10+
ESPRESSO_VERSION = "3.6.1"
11+
CORE_VERSION = "1.6.1"
12+
ESPRESSO_DEVICE_VERSION = "1.0.1"
13+
ANDROIDX_JUNIT_VERSION = "1.2.1"
1414
ANDROIDX_TRUTH_VERSION = "1.6.0"
1515
ORCHESTRATOR_VERSION = "1.5.0"
1616
SERVICES_VERSION = "1.5.0"

gradle-tests/settings.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ dependencyResolutionManagement {
1818
}
1919
versionCatalogs {
2020
libs {
21-
library('core', 'androidx.test:core:1.6.0')
22-
library('runner', 'androidx.test:runner:1.6.0')
23-
library('ext.junit', 'androidx.test.ext:junit:1.2.0')
21+
library('core', 'androidx.test:core:1.6.1')
22+
library('runner', 'androidx.test:runner:1.6.1')
23+
library('ext.junit', 'androidx.test.ext:junit:1.2.1')
2424
library('ext.truth', 'androidx.test.ext:truth:1.6.0')
25-
library('espresso.accessibility', 'androidx.test.espresso:espresso-accessibility:3.6.0')
26-
library('espresso.contrib', 'androidx.test.espresso:espresso-contrib:3.6.0')
27-
library('espresso.core', 'androidx.test.espresso:espresso-core:3.6.0')
28-
library('espresso.idlingresource', 'androidx.test.espresso:espresso-idling-resource:3.6.0')
29-
library('espresso.intents', 'androidx.test.espresso:espresso-intents:3.6.0')
30-
library('espresso.web', 'androidx.test.espresso:espresso-web:3.6.0')
25+
library('espresso.accessibility', 'androidx.test.espresso:espresso-accessibility:3.6.1')
26+
library('espresso.contrib', 'androidx.test.espresso:espresso-contrib:3.6.1')
27+
library('espresso.core', 'androidx.test.espresso:espresso-core:3.6.1')
28+
library('espresso.idlingresource', 'androidx.test.espresso:espresso-idling-resource:3.6.1')
29+
library('espresso.intents', 'androidx.test.espresso:espresso-intents:3.6.1')
30+
library('espresso.web', 'androidx.test.espresso:espresso-web:3.6.1')
3131
library('orchestrator', 'androidx.test:orchestrator:1.5.0')
3232

3333
}

runner/monitor/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
**Bug Fixes**
88

9+
* Catch and log NoSuchMethodError on forceEnableAppTracing calls
10+
911
**New Features**
1012

1113
**Breaking Changes**

runner/monitor/java/androidx/test/platform/tracing/AndroidXTracer.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ public AndroidXTracer enableTracing() {
5959
// The AndroidX call can fail if reflection is not allowed.
6060
// We want to log the error yet we should not break any test in this case.
6161
Log.e(TAG, "enableTracing failed", e);
62+
} catch (NoSuchMethodError e) {
63+
// This can occur if an androidx.tracing < 1.1.0 is put on classpath instead.
64+
// See http://issuetracker.google.com/349628366).
65+
// We want to log the error yet we should not break any test in this case.
66+
Log.e(TAG, "enableTracing failed. "
67+
+ "You may need to upgrade your androidx.tracing:tracing version", e);
6268
}
6369
return this;
6470
}

0 commit comments

Comments
 (0)