Home
last modified time | relevance | path

Searched refs:Strictness (Results 1 – 25 of 27) sorted by relevance

12

/external/mockito/src/main/java/org/mockito/internal/session/
DDefaultMockitoSessionBuilder.java6 import org.mockito.quality.Strictness;
12 private Strictness strictness;
21 public MockitoSessionBuilder strictness(Strictness strictness) { in strictness()
30Strictness effectiveStrictness = this.strictness == null ? Strictness.STRICT_STUBS : this.strictne… in startMocking()
/external/mockito/src/main/java/org/mockito/internal/junit/
DDefaultStubbingLookupListener.java7 import org.mockito.quality.Strictness;
22 private Strictness currentStrictness;
25 DefaultStubbingLookupListener(Strictness strictness) { in DefaultStubbingLookupListener()
30 if (currentStrictness != Strictness.STRICT_STUBS) { in onStubbingLookup()
63 void setCurrentStrictness(Strictness currentStrictness) { in setCurrentStrictness()
DJUnitRule.java11 import org.mockito.quality.Strictness;
27 public JUnitRule(MockitoLogger logger, Strictness strictness) { in JUnitRule()
73 return new JUnitRule(logger, Strictness.LENIENT);
76 public MockitoRule strictness(Strictness strictness) {
DUniversalTestListener.java6 import org.mockito.quality.Strictness;
19 private Strictness currentStrictness;
25 public UniversalTestListener(Strictness initialStrictness, MockitoLogger logger) { in UniversalTestListener()
81 public void setStrictness(Strictness strictness) { in setStrictness()
DStrictStubsRunnerTestListener.java5 import org.mockito.quality.Strictness;
12 …LookupListener stubbingLookupListener = new DefaultStubbingLookupListener(Strictness.STRICT_STUBS);
/external/mockito/src/test/java/org/mockitousage/junitrule/
DMutableStrictJUnitRuleTest.java10 import org.mockito.quality.Strictness;
41 @Rule public MockitoRule mockito = MockitoJUnit.rule().strictness(Strictness.LENIENT);
50 mockito.strictness(Strictness.STRICT_STUBS); in unused_stub_with_strictness()
57 @Rule public MockitoRule mockito = MockitoJUnit.rule().strictness(Strictness.STRICT_STUBS);
66 mockito.strictness(Strictness.LENIENT); in unused_stub_with_lenient()
DLenientJUnitRuleTest.java6 import org.mockito.quality.Strictness;
23 @Rule public MockitoRule mockitoRule = new JUnitRule(explosiveLogger, Strictness.LENIENT);
DStubbingWarningsMultiThreadingTest.java6 import org.mockito.quality.Strictness;
21 @Rule public SafeJUnitRule rule = new SafeJUnitRule(new JUnitRule(logger, Strictness.WARN));
DStrictJUnitRuleTest.java7 import org.mockito.quality.Strictness;
23 …@Rule public SafeJUnitRule rule = new SafeJUnitRule(MockitoJUnit.rule().strictness(Strictness.STRI…
DStubbingWarningsJUnitRuleTest.java6 import org.mockito.quality.Strictness;
20 @Rule public SafeJUnitRule rule = new SafeJUnitRule(new JUnitRule(logger, Strictness.WARN));
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStrictStubbingEndToEndTest.java14 import org.mockito.quality.Strictness;
79 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
93 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
107 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
147 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
DStubbingWarningsTest.java8 import org.mockito.quality.Strictness;
20 MockitoSession mockito = new DefaultMockitoSession(this, Strictness.WARN, logger);
DStrictStubbingTest.java11 import org.mockito.quality.Strictness;
23 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
/external/mockito/src/main/java/org/mockito/junit/
DMockitoJUnit.java8 import org.mockito.quality.Strictness;
28 return new JUnitRule(new ConsoleMockitoLogger(), Strictness.WARN); in rule()
DMockitoRule.java12 import org.mockito.quality.Strictness;
158 MockitoRule strictness(Strictness strictness); in strictness()
DMockitoJUnitRunner.java23 import org.mockito.quality.Strictness;
/external/mockito/src/main/java/org/mockito/session/
DMockitoSessionBuilder.java7 import org.mockito.quality.Strictness;
52 MockitoSessionBuilder strictness(Strictness strictness); in strictness()
/external/clang/utils/analyzer/
DSATestBuild.py534 def runCmpResults(Dir, Strictness = 0): argument
585 if Strictness >= 2 and NumDiffs > 0:
588 elif Strictness >= 1 and ReportsInRef != ReportsInNew:
637 def testProject(ID, ProjectBuildMode, IsReferenceBuild=False, Dir=None, Strictness = 0): argument
656 runCmpResults(Dir, Strictness)
663 def testAll(IsReferenceBuild = False, UpdateSVN = False, Strictness = 0): argument
685 testProject(I[0], int(I[1]), IsReferenceBuild, None, Strictness)
712 Strictness = Args.strictness variable
719 testAll(IsReference, UpdateSVN, Strictness)
/external/mockito/src/test/java/org/mockito/internal/session/
DDefaultMockitoSessionBuilderTest.java7 import org.mockito.quality.Strictness;
28 … new DefaultMockitoSessionBuilder().strictness(Strictness.LENIENT).startMocking().finishMocking(); in creates_sessions()
/external/mockito/src/main/java/org/mockito/internal/framework/
DDefaultMockitoSession.java11 import org.mockito.quality.Strictness;
18 …public DefaultMockitoSession(Object testClassInstance, Strictness strictness, MockitoLogger logger… in DefaultMockitoSession()
/external/mockito/src/test/java/org/mockitousage/session/
DMockitoSessionTest.java11 import org.mockito.quality.Strictness;
85 … MockitoSession mockito = Mockito.mockitoSession().strictness(Strictness.LENIENT).startMocking();
/external/mockito/src/main/java/org/mockito/exceptions/misusing/
DPotentialStubbingProblem.java9 import org.mockito.quality.Strictness;
DUnnecessaryStubbingException.java12 import org.mockito.quality.Strictness;
/external/mockito/src/main/java/org/mockito/quality/
DStrictness.java38 public enum Strictness { enum
/external/mockito/src/main/java/org/mockito/
DMockitoSession.java9 import org.mockito.quality.Strictness;

12