Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DRunOnCloneProfileTargetPreparerTest.java21 import static com.android.tradefed.targetprep.RunOnWorkProfileTargetPreparer.SKIP_TESTS_REASON_KEY;
125 verify(mTestInfo.properties()).put(eq(SKIP_TESTS_REASON_KEY), any()); in setUp_apiDoesNotSupportCloneUser_setsArgumentToSkipTests()
145 verify(mTestInfo.properties()).put(eq(SKIP_TESTS_REASON_KEY), any()); in setUp_deviceDoesNotSupportCloneUser_setsArgumentToSkipTests()
293 verify(mTestInfo.properties()).put(eq(SKIP_TESTS_REASON_KEY), any()); in setUp_doesNotSupportAdditionalUsers_doesNotChangeTestUser()
327 verify(mTestInfo.properties()).put(eq(SKIP_TESTS_REASON_KEY), any()); in setUp_cloneUserTypeNotSupportedOnDevice_setsArgumentToSkipTests()
348 verify(mTestInfo.properties(), never()).put(eq(SKIP_TESTS_REASON_KEY), any()); in setUp_doesNotSupportAdditionalUsers_alreadyHasCloneProfile_doesNotSkipTests()
DRunOnPrivateProfileTargetPreparerTest.java21 import static com.android.tradefed.targetprep.RunOnWorkProfileTargetPreparer.SKIP_TESTS_REASON_KEY;
281 verify(mTestInfo.properties()).put(eq(SKIP_TESTS_REASON_KEY), any()); in setUp_doesNotSupportAdditionalUsers_doesNotChangeTestUser()
317 verify(mTestInfo.properties()).put(eq(SKIP_TESTS_REASON_KEY), any()); in setUp_privateUserTypeNotSupportedOnDevice_setsArgumentToSkipTests()
340 verify(mTestInfo.properties(), never()).put(eq(SKIP_TESTS_REASON_KEY), any()); in setUp_doesNotSupportAdditionalUsers_alreadyHasPrivateProfile_doesNotSkipTests()
DRunOnWorkProfileTargetPreparerTest.java21 import static com.android.tradefed.targetprep.RunOnWorkProfileTargetPreparer.SKIP_TESTS_REASON_KEY;
367 verify(mTestInfo.properties()).put(eq(SKIP_TESTS_REASON_KEY), any()); in setUp_doesNotSupportManagedUsers_setsArgumentToSkipTests()
377 verify(mTestInfo.properties()).put(eq(SKIP_TESTS_REASON_KEY), any()); in setUp_doesNotSupportAdditionalUsers_doesNotChangeTestUser()
418 verify(mTestInfo.properties(), never()).put(eq(SKIP_TESTS_REASON_KEY), any()); in setUp_doesNotSupportAdditionalUsers_alreadyHasWorkProfile_doesNotSkipTests()
DRunOnSecondaryUserTargetPreparerTest.java378 .put(eq(RunOnSecondaryUserTargetPreparer.SKIP_TESTS_REASON_KEY), any()); in setUp_doesNotSupportAdditionalUsers_setsArgumentToSkipTests()
412 .put(eq(RunOnSecondaryUserTargetPreparer.SKIP_TESTS_REASON_KEY), any()); in setUp_doesNotSupportAdditionalUsers_alreadyHasSecondaryUser_doesNotSkipTests()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DRunOnSecondaryUserTargetPreparer.java56 @VisibleForTesting static final String SKIP_TESTS_REASON_KEY = "skip-tests-reason"; field in RunOnSecondaryUserTargetPreparer
162 String value = testInfo.properties().remove(SKIP_TESTS_REASON_KEY); in tearDown()
188 testInfo.properties().put(SKIP_TESTS_REASON_KEY, reason.replace(" ", "\\ ")); in assumeTrue()
DProfileTargetPreparer.java47 @VisibleForTesting static final String SKIP_TESTS_REASON_KEY = "skip-tests-reason"; field in ProfileTargetPreparer
290 String value = testInfo.properties().remove(SKIP_TESTS_REASON_KEY); in tearDown()
314 testInfo.properties().put(SKIP_TESTS_REASON_KEY, reason.replace(" ", "\\ ")); in checkTrueOrSkipOnDevice()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationTest.java110 private static final String SKIP_TESTS_REASON_KEY = "skip-tests-reason"; field in InstrumentationTest
868 if (testInfo != null && testInfo.properties().containsKey(SKIP_TESTS_REASON_KEY)) { in run()
870 SKIP_TESTS_REASON_KEY, testInfo.properties().get(SKIP_TESTS_REASON_KEY)); in run()