Add initial screenshots for Glance Wear.
This adds some screenshots so we can easily verify that a composition
gives the expected result.
Test: It's a test!
Relnote: n/a
Change-Id: I763d2d6b1875d345f9ddb4c2bd131629095ba6f6
diff --git a/glance/glance-wear/build.gradle b/glance/glance-wear/build.gradle
index 0ff9f0c..3fc1d38 100644
--- a/glance/glance-wear/build.gradle
+++ b/glance/glance-wear/build.gradle
@@ -43,6 +43,15 @@
testImplementation(libs.truth)
testImplementation(libs.junit)
testImplementation(libs.kotlinCoroutinesTest)
+
+ androidTestImplementation(project(":core:core"))
+ androidTestImplementation(project(":test:screenshot:screenshot"))
+ androidTestImplementation(project(":wear:tiles:tiles-renderer"))
+ androidTestImplementation(libs.testExtJunit)
+ androidTestImplementation(libs.testCore)
+ androidTestImplementation(libs.testRunner)
+ androidTestImplementation(libs.testRules)
+ androidTestImplementation(libs.kotlinCoroutinesTest)
}
android {
@@ -56,6 +65,10 @@
// TODO(b/191286558): Remove when lint is fixed.
disable "UnsafeOptInUsageError", "UnsafeOptInUsageWarning"
}
+
+ sourceSets {
+ androidTest.assets.srcDirs += project.rootDir.absolutePath + "/../../golden/glance/glance-wear"
+ }
}
androidx {