Searched refs:isTest (Results 1 – 8 of 8) sorted by relevance
51 when(mDescription.isTest()).thenReturn(false); in testEvaluate_withNonTestDescription_throwsException()68 when(mDescription.isTest()).thenReturn(true); in testEvaluate_withSkipAnnotation_gracefullyExits()81 when(mDescription.isTest()).thenReturn(true); in testEvaluate_withNoLogVerifiers_gracefullyExits()91 when(mDescription.isTest()).thenReturn(true); in testEvaluate_withStatementThrowsException_setupDoneButNoVerification()104 when(mDescription.isTest()).thenReturn(true); in testEvaluate_withLogVerifierThrowsException_throwsSameException()127 when(mDescription.isTest()).thenReturn(true); in testEvaluate_withSuccessfulExecution()
92 NetworkTraceHandler(bool isTest = false) : mIsTest(isTest) {} in mIsTest() argument
88 if (!description.isTest()) { in throwIfNotTest()
81 if (!description.isTest()) { in apply()
142 when(mMockDescription.isTest()).thenReturn(false); in testIfNotTest_withNonTestDescription_throwsException()
157 if (!description.isTest()) { in apply()
160 AccountEntry(Phone phone, boolean isEmergency, boolean isTest) { in AccountEntry() argument163 mIsTestAccount = isTest; in AccountEntry()170 mAccount = registerPstnPhoneAccount(isEmergency, isTest); in AccountEntry()
145 private @Nullable CredentialManager getCredentialManager(Context context, boolean isTest) { in getCredentialManager() argument146 if (isTest) { in getCredentialManager()