Skip to content

Commit 99b2c16

Browse files
committed
Mostly autogenerated suppression of test failures
This commit was created with the help of development/suppressFailingTests.py Bug: 258335082 Bug: 266742122 Bug: 268117749 Bug: 268212217 Bug: 272301182 Bug: 272324246 Bug: 272346700 Bug: 272346886 Bug: 272347202 Bug: 274099903 Bug: 274981990 Bug: 278737712 Bug: 278918559 Bug: 280630647 Bug: 280662278 Bug: 280665072 Bug: 280665168 Bug: 280667826 Bug: 280669851 Bug: 280670752 Bug: 280671279 Bug: 280671406 Bug: 281077239 Change-Id: I3a4c60cba8dfd7bbdca704a195e67e032515ec70
1 parent be1fe79 commit 99b2c16

File tree

36 files changed

+105
-1
lines changed

36 files changed

+105
-1
lines changed

appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/g3/FilternatorTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import androidx.testutils.withActivity
3030
import com.google.common.truth.Truth.assertThat
3131
import java.util.concurrent.TimeUnit
3232
import org.junit.Before
33+
import org.junit.Ignore
3334
import org.junit.Rule
3435
import org.junit.Test
3536
import org.junit.runner.RunWith
@@ -53,6 +54,7 @@ class FilternatorTest {
5354
}
5455

5556
@Test
57+
@Ignore("b/280630647")
5658
fun testConfigurationUpdatedOnLandscapeMode() {
5759
// Wait for the activity to fully start before rotating,
5860
// otherwise we won't receive onConfigurationChanged.

appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/g3/FilternatorTestWithCustomDefault.kt

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import com.google.common.truth.Truth.assertThat
3232
import java.util.concurrent.TimeUnit
3333
import org.junit.After
3434
import org.junit.Before
35+
import org.junit.Ignore
3536
import org.junit.Rule
3637
import org.junit.Test
3738
import org.junit.runner.RunWith
@@ -70,6 +71,7 @@ class FilternatorTestWithCustomDefault {
7071
}
7172

7273
@Test
74+
@Ignore("b/280630647")
7375
fun testConfigurationUpdatedOnLandscapeMode() {
7476
// Wait for the activity to fully start before rotating,
7577
// otherwise we won't receive onConfigurationChanged.

benchmark/benchmark-common/src/androidTest/java/androidx/benchmark/BenchmarkStateTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import org.junit.Assert.assertNotNull
2929
import org.junit.Assert.assertTrue
3030
import org.junit.Assert.fail
3131
import org.junit.Assume.assumeTrue
32+
import org.junit.Ignore
3233
import org.junit.Rule
3334
import org.junit.Test
3435
import org.junit.runner.RunWith
@@ -380,6 +381,7 @@ class BenchmarkStateTest {
380381
}
381382

382383
@Test
384+
@Ignore("b/278737712")
383385
fun experimentalIters() {
384386
validateIters(
385387
warmupCount = 1,

benchmark/benchmark-common/src/androidTest/java/androidx/benchmark/PerfettoHelperTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import androidx.test.filters.SdkSuppress
2525
import org.junit.After
2626
import org.junit.Assume
2727
import org.junit.Before
28+
import org.junit.Ignore
2829
import org.junit.Test
2930
import org.junit.runner.RunWith
3031
import kotlin.test.assertEquals
@@ -71,6 +72,7 @@ class PerfettoHelperTest {
7172
fun stopAllPerfettoProcesses_bundled() = validateStopAllPerfettoProcesses(unbundled = false)
7273

7374
@Test
75+
@Ignore("b/281077239")
7476
fun stopAllPerfettoProcesses_unbundled() {
7577
// Only check ABI support for unbundled, as bundled test doesn't use any unbundled binaries
7678
Assume.assumeTrue(PerfettoHelper.isAbiSupported())

benchmark/benchmark-common/src/androidTest/java/androidx/benchmark/PerfettoTraceTest.kt

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import kotlin.test.assertFailsWith
2626
import kotlin.test.assertNotNull
2727
import kotlin.test.fail
2828
import org.junit.Assume.assumeTrue
29+
import org.junit.Ignore
2930
import org.junit.Test
3031
import org.junit.runner.RunWith
3132

@@ -35,6 +36,7 @@ import org.junit.runner.RunWith
3536
@SdkSuppress(minSdkVersion = 23)
3637
class PerfettoTraceTest {
3738
@Test
39+
@Ignore("b/281077239")
3840
fun record_basic() {
3941
assumeTrue(PerfettoHelper.isAbiSupported())
4042
var perfettoTrace: PerfettoTrace? = null
@@ -52,6 +54,7 @@ class PerfettoTraceTest {
5254
}
5355
}
5456
@Test
57+
@Ignore("b/281077239")
5558
fun record_reentrant() {
5659
assumeTrue(PerfettoHelper.isAbiSupported())
5760
var perfettoTrace: PerfettoTrace? = null

benchmark/benchmark-common/src/androidTest/java/androidx/benchmark/perfetto/AtraceTagTest.kt

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import androidx.test.ext.junit.runners.AndroidJUnit4
2121
import androidx.test.filters.SdkSuppress
2222
import androidx.test.filters.SmallTest
2323
import org.junit.Assume
24+
import org.junit.Ignore
2425
import org.junit.Test
2526
import org.junit.runner.RunWith
2627
import kotlin.test.assertContains
@@ -34,6 +35,7 @@ class AtraceTagTest {
3435
private val shellSessionRooted = Shell.isSessionRooted()
3536

3637
@Test
38+
@Ignore("b/281077239")
3739
fun atraceListCategories_readable() {
3840
val results = Shell.executeScriptCaptureStdout("atrace --list_categories")
3941
assertNotEquals("", results)
@@ -59,6 +61,7 @@ class AtraceTagTest {
5961
}
6062

6163
@Test
64+
@Ignore("b/281077239")
6265
fun atraceListCategories_unsupported() {
6366
val actualSupportedTags = getActualSupportedTags()
6467

@@ -68,6 +71,7 @@ class AtraceTagTest {
6871
}
6972

7073
@Test
74+
@Ignore("b/281077239")
7175
fun atraceListCategories_supported() {
7276
val actualSupportedTags = getActualSupportedTags()
7377
val expectedSupportedTags = AtraceTag.supported(rooted = shellSessionRooted)

benchmark/benchmark-junit4/src/androidTest/java/androidx/benchmark/junit4/BenchmarkRuleNotUsedTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package androidx.benchmark.junit4
1818

1919
import androidx.test.ext.junit.runners.AndroidJUnit4
2020
import androidx.test.filters.SmallTest
21+
import org.junit.Ignore
2122
import org.junit.Rule
2223
import org.junit.Test
2324
import org.junit.runner.RunWith
@@ -35,6 +36,7 @@ public class BenchmarkRuleNotUsedTest {
3536
* Now, this test passes to enable other tests to be written without using the BenchmarkRule.
3637
*/
3738
@Test
39+
@Ignore("b/281077239")
3840
public fun testWithoutMeasurement() {
3941
}
4042
}

benchmark/benchmark-junit4/src/androidTest/java/androidx/benchmark/junit4/BenchmarkRuleTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package androidx.benchmark.junit4
1919
import androidx.test.ext.junit.runners.AndroidJUnit4
2020
import androidx.test.filters.LargeTest
2121
import org.junit.Assert
22+
import org.junit.Ignore
2223
import org.junit.Rule
2324
import org.junit.Test
2425
import org.junit.runner.RunWith
@@ -31,6 +32,7 @@ public class BenchmarkRuleTest {
3132
public val benchmarkRule: BenchmarkRule = BenchmarkRule(enableReport = false)
3233

3334
@Test
35+
@Ignore("b/280041271")
3436
public fun runWithTimingDisabled() {
3537
benchmarkRule.measureRepeated {
3638
runWithTimingDisabled {

benchmark/benchmark-macro/src/androidTest/java/androidx/benchmark/macro/PerfettoTraceRuleTest.kt

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import androidx.test.filters.LargeTest
2626
import androidx.tracing.trace
2727
import org.junit.Assert.assertEquals
2828
import org.junit.Assert.assertNotNull
29+
import org.junit.Ignore
2930
import org.junit.Rule
3031
import org.junit.Test
3132
import org.junit.rules.RuleChain
@@ -72,11 +73,13 @@ class PerfettoTraceRuleTest {
7273
)
7374

7475
@Test
76+
@Ignore("b/280041271")
7577
fun simple() {
7678
trace(UNIQUE_SLICE_NAME) {}
7779
}
7880

7981
@Test(expected = IllegalStateException::class)
82+
@Ignore("b/280041271")
8083
fun exception() {
8184
// trace works even if test throws
8285
trace(UNIQUE_SLICE_NAME) {}

benchmark/benchmark-macro/src/androidTest/java/androidx/benchmark/macro/ProfileInstallBroadcastTest.kt

+5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import androidx.test.ext.junit.runners.AndroidJUnit4
2323
import androidx.test.filters.MediumTest
2424
import androidx.test.filters.SdkSuppress
2525
import kotlin.test.assertNull
26+
import org.junit.Ignore
2627
import org.junit.Rule
2728
import org.junit.Test
2829
import org.junit.runner.RunWith
@@ -36,23 +37,27 @@ class ProfileInstallBroadcastTest {
3637

3738
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.N)
3839
@Test
40+
@Ignore("b/280041271")
3941
fun installProfile() {
4042
assertNull(ProfileInstallBroadcast.installProfile(Packages.TARGET))
4143
}
4244

4345
@Test
46+
@Ignore("b/280041271")
4447
fun skipFileOperation() {
4548
assertNull(ProfileInstallBroadcast.skipFileOperation(Packages.TARGET, "WRITE_SKIP_FILE"))
4649
assertNull(ProfileInstallBroadcast.skipFileOperation(Packages.TARGET, "DELETE_SKIP_FILE"))
4750
}
4851

4952
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.N)
5053
@Test
54+
@Ignore("b/280041271")
5155
fun saveProfile() {
5256
assertNull(ProfileInstallBroadcast.saveProfile(Packages.TARGET))
5357
}
5458

5559
@Test
60+
@Ignore("b/280041271")
5661
fun dropShaderCache() {
5762
assertNull(ProfileInstallBroadcast.dropShaderCache(Packages.TARGET))
5863
}

benchmark/benchmark-macro/src/androidTest/java/androidx/benchmark/macro/StartupTimingMetricTest.kt

+3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ import org.junit.runner.RunWith
4848
class StartupTimingMetricTest {
4949
@MediumTest
5050
@Test
51+
@Ignore("b/258335082")
5152
fun noResults() {
5253
assumeTrue(isAbiSupported())
5354
val packageName = "fake.package.fiction.nostartups"
@@ -170,12 +171,14 @@ class StartupTimingMetricTest {
170171

171172
@LargeTest
172173
@Test
174+
@Ignore("b/258335082")
173175
fun startup_fullyDrawn_immediate() {
174176
validateStartup_fullyDrawn(delayMs = 0)
175177
}
176178

177179
@LargeTest
178180
@Test
181+
@Ignore("b/258335082")
179182
fun startup_fullyDrawn_delayed() {
180183
validateStartup_fullyDrawn(delayMs = 100)
181184
}

benchmark/benchmark-macro/src/androidTest/java/androidx/benchmark/macro/perfetto/AndroidxTracingTraceTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import org.junit.After
3434
import org.junit.Assert.assertTrue
3535
import org.junit.Assume.assumeTrue
3636
import org.junit.Before
37+
import org.junit.Ignore
3738
import org.junit.Rule
3839
import org.junit.Test
3940
import org.junit.runner.RunWith
@@ -58,6 +59,7 @@ class AndroidxTracingTraceTest {
5859

5960
@LargeTest
6061
@Test
62+
@Ignore("b/281077239")
6163
fun captureAndValidateTrace() {
6264
assumeTrue(isAbiSupported())
6365

compose/foundation/foundation-layout/src/androidAndroidTest/kotlin/androidx/compose/foundation/layout/SizeTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ import org.junit.After
5353
import org.junit.Assert.assertEquals
5454
import org.junit.Assert.assertTrue
5555
import org.junit.Before
56+
import org.junit.Ignore
5657
import org.junit.Test
5758
import org.junit.runner.RunWith
5859
import androidx.test.ext.junit.runners.AndroidJUnit4
@@ -1837,6 +1838,7 @@ class SizeTest : LayoutTest() {
18371838
}
18381839

18391840
@Test
1841+
@Ignore("b/280662278")
18401842
fun testModifiers_doNotCauseUnnecessaryRemeasure() {
18411843
var first by mutableStateOf(true)
18421844
var totalMeasures = 0

compose/foundation/foundation-layout/src/androidAndroidTest/kotlin/androidx/compose/foundation/layout/WindowInsetsAnimationTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import androidx.test.filters.SdkSuppress
3131
import java.util.concurrent.TimeUnit
3232
import org.junit.After
3333
import org.junit.Before
34+
import org.junit.Ignore
3435
import org.junit.Rule
3536
import org.junit.Test
3637

@@ -57,6 +58,7 @@ class WindowInsetsAnimationTest {
5758
@SdkSuppress(minSdkVersion = 22) // b/266742122
5859
@OptIn(ExperimentalLayoutApi::class)
5960
@Test
61+
@Ignore("b/266742122")
6062
fun imeAnimationWhenShowingIme() {
6163
val imeAnimationSourceValues = mutableListOf<Int>()
6264
val imeAnimationTargetValues = mutableListOf<Int>()

compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/AlertDialogScreenshotTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import androidx.test.ext.junit.runners.AndroidJUnit4
3232
import androidx.test.filters.LargeTest
3333
import androidx.test.filters.SdkSuppress
3434
import androidx.test.screenshot.AndroidXScreenshotTestRule
35+
import org.junit.Ignore
3536
import org.junit.Rule
3637
import org.junit.Test
3738
import org.junit.runner.RunWith
@@ -75,6 +76,7 @@ class AlertDialogScreenshotTest {
7576
}
7677

7778
@Test
79+
@Ignore("b/281080230")
7880
fun stackedButtons() {
7981
rule.setContent {
8082
AlertDialog(

compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/DividerScreenshotTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import androidx.test.filters.MediumTest
3232
import androidx.test.filters.SdkSuppress
3333
import androidx.test.screenshot.AndroidXScreenshotTestRule
3434
import org.junit.Assume.assumeFalse
35+
import org.junit.Ignore
3536
import org.junit.Rule
3637
import org.junit.Test
3738
import org.junit.runner.RunWith
@@ -64,6 +65,7 @@ class DividerScreenshotTest {
6465
}
6566

6667
@Test
68+
@Ignore("b/272301182")
6769
fun darkTheme() {
6870
assumeFalse("See b/272301182", Build.VERSION.SDK_INT == 33)
6971

compose/material3/material3/src/androidAndroidTest/kotlin/androidx/compose/material3/NavigationBarScreenshotTest.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,4 +265,4 @@ private fun DefaultNavigationBar(
265265
}
266266
}
267267

268-
private const val Tag = "NavigationBar"
268+
private const val Tag = "NavigationBar"

dynamicanimation/dynamicanimation/src/androidTest/java/androidx/dynamicanimation/tests/SpringTests.java

+2
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public void run() {
126126
* Test that spring animation can work with a single property without an object.
127127
*/
128128
@Test
129+
@Ignore("b/280665072")
129130
public void testFloatValueHolder() {
130131
final FloatValueHolder floatValueHolder = new FloatValueHolder(0f);
131132
DynamicAnimation.OnAnimationUpdateListener updateListener =
@@ -354,6 +355,7 @@ public void run() {
354355
*/
355356
@LargeTest
356357
@Test
358+
@Ignore("b/280665072")
357359
public void testStiffness() {
358360
float[] dampingRatios = {0.3f, 0.5f, 1f, 5f};
359361
final float[] stiffness = {50f, 500f, 1500f, 5000f};

0 commit comments

Comments
 (0)