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.java14 import org.mockito.internal.configuration.ConfigurationAccess;
49 ConfigurationAccess.getConfig().overrideCleansStackTrace(false);
50 ConfigurationAccess.getConfig().overrideDefaultAnswer(null);
65 ConfigurationAccess.getConfig().overrideCleansStackTrace(true);
/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.java20 ConfigurationAccess.getConfig().overrideDefaultAnswer(new Answer<Object>() { in shouldReadConfigurationClassFromClassPath()