Home
last modified time | relevance | path

Searched refs:expect (Results 1 – 7 of 7) sorted by relevance

/platform_testing/libraries/motion/tests/src/platform/test/motion/golden/
DJsonGoldenSerializerTest.kt36 @get:Rule val expect: Expect = Expect.create() constant in platform.test.motion.golden.JsonGoldenSerializerTest
38 expect in assertConversions()
44 expect in assertConversions()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/foldable/
DUnfoldAnimationTestingUtils.kt79 fun assertIconMovedTowardsTheCenter(old: Icon, new: Icon, expect: Expect, axis: Axis) { in <lambda>()
84 expect.withMessage("Icon: ${old.name} didn't move towards the center").that(oldPosition) in <lambda>()
/platform_testing/libraries/sts-common-util/host-side/tests/src/com/android/sts/common/
DNativePocTest.java175 exceptionRule.expect(AssumptionViolatedException.class); in testPocTimeout()
222 exceptionRule.expect(AssumptionViolatedException.class); in testBadBitness()
231 exceptionRule.expect(AssertionError.class); in testAsserter()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DProfileTest.java183 exceptionThrown.expect(IllegalArgumentException.class); in testTimestampedProfileWithRepeatThrows()
196 exceptionThrown.expect(IllegalArgumentException.class); in testProfileWithInvalidScenarioThrows()
DProfileSuiteTest.java103 mExpectedException.expect(InitializationError.class); in testRejectInvalidTests_notScenarios()
111 mExpectedException.expect(InitializationError.class); in testRejectInvalidTests_notSupportedRunner()
119 mExpectedException.expect(InitializationError.class); in testRejectInvalidTests_badRunnerBuilder()
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/
DAudioTestHarnessImplTests.java198 mExceptionRule.expect( in capture_throwsProperStatusException_failureToOpenCapturer()
216 mExceptionRule.expect( in capture_throwsProperStatusException_failureToStartCapturer()
/platform_testing/libraries/health/composers/host/tests/src/android/host/test/composer/
DIterateTestBase.java140 illegalArgumentExceptionThrown.expect(IllegalArgumentException.class); in testInvalidOrderThrows()