Searched refs:SKIP_TESTS_REASON_KEY (Results 1 – 7 of 7) sorted by relevance
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | RunOnCloneProfileTargetPreparerTest.java | 21 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()
|
D | RunOnPrivateProfileTargetPreparerTest.java | 21 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()
|
D | RunOnWorkProfileTargetPreparerTest.java | 21 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()
|
D | RunOnSecondaryUserTargetPreparerTest.java | 378 .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/ |
D | RunOnSecondaryUserTargetPreparer.java | 56 @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()
|
D | ProfileTargetPreparer.java | 47 @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/ |
D | InstrumentationTest.java | 110 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()
|