Skip to content

Commit 02ce11c

Browse files
Merge pull request #2296 from android:testWithWhitespace
PiperOrigin-RevId: 686180622
2 parents deb897d + c7e7f43 commit 02ce11c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

gradle-tests/orchestrator/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ android {
1414
compileSdk rootProject.ext.compileSdk
1515

1616
defaultConfig {
17-
minSdk rootProject.ext.minSdk
17+
// test with whitespace requires min sdk 30
18+
minSdk 30
1819
targetSdk rootProject.ext.targetSdk
1920

2021
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

gradle-tests/orchestrator/src/androidTest/java/androidx/test/gradletests/orchestrator/OrchestratorTest.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ class OrchestratorTest {
3737
verifyStorageClearedThenAdd()
3838
}
3939

40+
@Test
41+
fun `test with whitespace`() {
42+
43+
}
44+
4045
private fun verifyStorageClearedThenAdd() {
4146
val savedFile =
4247
File(ApplicationProvider.getApplicationContext<Context>().filesDir, "myfile.txt")

0 commit comments

Comments
 (0)