Remove fass assertions from tests
Assertions are very flaky, don't provide any immediately useful information in the current state and going to be replace soon anyways Test: atest FlickerTests Change-Id: Id8f7649b818237bc16051d808ef46ca875669faa
This commit is contained in:
@@ -71,24 +71,6 @@ class EnterPipTest(testSpec: FlickerTestParameter) : PipTransition(testSpec) {
|
||||
}
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
fun runPresubmitAssertion() {
|
||||
flickerRule.checkPresubmitAssertions()
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
fun runPostsubmitAssertion() {
|
||||
flickerRule.checkPostsubmitAssertions()
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
fun runFlakyAssertion() {
|
||||
flickerRule.checkFlakyAssertions()
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@FlakyTest(bugId = 206753786)
|
||||
@Test
|
||||
|
||||
@@ -78,24 +78,6 @@ class ExitPipViaIntentTest(testSpec: FlickerTestParameter) : ExitPipToAppTransit
|
||||
}
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
fun runPresubmitAssertion() {
|
||||
flickerRule.checkPresubmitAssertions()
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
fun runPostsubmitAssertion() {
|
||||
flickerRule.checkPostsubmitAssertions()
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
fun runFlakyAssertion() {
|
||||
flickerRule.checkFlakyAssertions()
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@FlakyTest(bugId = 206753786)
|
||||
@Test
|
||||
|
||||
@@ -67,24 +67,6 @@ class ExitPipWithDismissButtonTest(testSpec: FlickerTestParameter) : ExitPipTran
|
||||
}
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
fun runPresubmitAssertion() {
|
||||
flickerRule.checkPresubmitAssertions()
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
fun runPostsubmitAssertion() {
|
||||
flickerRule.checkPostsubmitAssertions()
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
fun runFlakyAssertion() {
|
||||
flickerRule.checkFlakyAssertions()
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@FlakyTest(bugId = 206753786)
|
||||
@Test
|
||||
@@ -110,4 +92,4 @@ class ExitPipWithDismissButtonTest(testSpec: FlickerTestParameter) : ExitPipTran
|
||||
repetitions = 5)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@ package com.android.server.wm.flicker.close
|
||||
|
||||
import android.app.Instrumentation
|
||||
import android.platform.test.annotations.Presubmit
|
||||
import androidx.test.filters.FlakyTest
|
||||
import androidx.test.platform.app.InstrumentationRegistry
|
||||
import com.android.server.wm.flicker.FlickerBuilderProvider
|
||||
import com.android.server.wm.flicker.FlickerTestParameter
|
||||
@@ -194,22 +193,4 @@ abstract class CloseAppTransition(protected val testSpec: FlickerTestParameter)
|
||||
open fun launcherLayerReplacesApp() {
|
||||
testSpec.replacesLayer(testApp.component, LAUNCHER_COMPONENT)
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
fun runPresubmitAssertion() {
|
||||
flickerRule.checkPresubmitAssertions()
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
fun runPostsubmitAssertion() {
|
||||
flickerRule.checkPostsubmitAssertions()
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
fun runFlakyAssertion() {
|
||||
flickerRule.checkFlakyAssertions()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,24 +94,6 @@ class ChangeAppRotationTest(
|
||||
}
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
fun runPresubmitAssertion() {
|
||||
flickerRule.checkPresubmitAssertions()
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
fun runPostsubmitAssertion() {
|
||||
flickerRule.checkPostsubmitAssertions()
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
fun runFlakyAssertion() {
|
||||
flickerRule.checkFlakyAssertions()
|
||||
}
|
||||
|
||||
/**
|
||||
* Windows maybe recreated when rotated. Checks that the focus does not change or if it does,
|
||||
* focus returns to [testApp]
|
||||
@@ -194,4 +176,4 @@ class ChangeAppRotationTest(
|
||||
.getConfigRotationTests(repetitions = 5)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user