Home
last modified time | relevance | path

Searched refs:ConfigurationAccess (Results 1 – 8 of 8) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/annotation/
DDeprecatedAnnotationEngineApiTest.java15 import org.mockito.internal.configuration.ConfigurationAccess;
25 ConfigurationAccess.getConfig().overrideAnnotationEngine(null); in goBackToDefaultConfiguration()
46 ConfigurationAccess.getConfig().overrideAnnotationEngine(defaultEngine); in shouldInjectMocksIfThereIsNoUserDefinedEngine()
62 ConfigurationAccess.getConfig().overrideAnnotationEngine(customizedEngine); in shouldRespectUsersEngine()
/external/mockito/src/test/java/org/mockito/exceptions/base/
DMockitoSerializationIssueTest.java9 import org.mockito.internal.configuration.ConfigurationAccess;
20 ConfigurationAccess.getConfig().overrideCleansStackTrace(true); in should_filter_out_test_class_from_stacktrace_when_clean_flag_is_true()
33 ConfigurationAccess.getConfig().overrideCleansStackTrace(false); in should_keep_executing_class_in_stacktrace_when_clean_flag_is_false()
/external/mockito/src/test/java/org/mockito/internal/exceptions/stacktrace/
DConditionalStackTraceFilterTest.java10 import org.mockito.internal.configuration.ConfigurationAccess;
21 ConfigurationAccess.getConfig().overrideCleansStackTrace(false); in shouldNotFilterWhenConfigurationSaysNo()
35 ConfigurationAccess.getConfig().overrideCleansStackTrace(true); in shouldFilterWhenConfigurationSaysYes()
/external/mockito/src/test/java/org/mockitoutil/
DTestBase.java13 import org.mockito.internal.configuration.ConfigurationAccess;
36 ConfigurationAccess.getConfig().overrideCleansStackTrace(false); in cleanUpConfigInAnyCase()
37 ConfigurationAccess.getConfig().overrideDefaultAnswer(null); in cleanUpConfigInAnyCase()
52 ConfigurationAccess.getConfig().overrideCleansStackTrace(true); in makeStackTracesClean()
/external/mockito/src/test/java/org/mockitousage/configuration/
DClassCacheVersusClassReloadingTest.java9 import org.mockito.internal.configuration.ConfigurationAccess;
56 ConfigurationAccess.getConfig().overrideEnableClassCache(false);
/external/mockito/src/test/java/org/mockito/internal/configuration/
DGlobalConfigurationTest.java22 ConfigurationAccess.getConfig().overrideAnnotationEngine(new CustomAnnotationEngine()); in returns_mockito_configuration_annotation_engine_if_non_default()
49 ConfigurationAccess.getConfig().overrideAnnotationEngine(null); in reset_annotation_engine()
DConfigurationAccess.java9 public class ConfigurationAccess { class
DClassPathLoaderTest.java16 ConfigurationAccess.getConfig().overrideDefaultAnswer(new Answer<Object>() { in shouldReadConfigurationClassFromClassPath()