/external/mockito/src/main/java/org/mockito/internal/junit/ |
D | DefaultStubbingLookupListener.java | 12 import org.mockito.quality.Strictness; 27 private Strictness currentStrictness; 30 DefaultStubbingLookupListener(Strictness strictness) { in DefaultStubbingLookupListener() 35 …Strictness actualStrictness = determineStrictness(event.getStubbingFound(), event.getMockSettings(… in onStubbingLookup() 37 if (actualStrictness != Strictness.STRICT_STUBS) { in onStubbingLookup() 70 void setCurrentStrictness(Strictness currentStrictness) { in setCurrentStrictness()
|
D | JUnitRule.java | 13 import org.mockito.quality.Strictness; 22 private Strictness strictness; 28 public JUnitRule(MockitoLogger logger, Strictness strictness) { in JUnitRule() 62 return strictness(Strictness.LENIENT); 65 public MockitoRule strictness(Strictness strictness) {
|
D | UniversalTestListener.java | 10 import org.mockito.quality.Strictness; 23 private Strictness currentStrictness; 29 public UniversalTestListener(Strictness initialStrictness, MockitoLogger logger) { in UniversalTestListener() 84 public void setStrictness(Strictness strictness) { in setStrictness()
|
D | StrictStubsRunnerTestListener.java | 9 import org.mockito.quality.Strictness; 16 …LookupListener stubbingLookupListener = new DefaultStubbingLookupListener(Strictness.STRICT_STUBS);
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/ |
D | StrictnessSelector.java | 8 import org.mockito.quality.Strictness; 28 …public static Strictness determineStrictness(Stubbing stubbing, MockCreationSettings mockSettings,… in determineStrictness() 34 return Strictness.LENIENT; in determineStrictness()
|
D | InvocationContainerImpl.java | 15 import org.mockito.quality.Strictness; 35 private final Strictness mockStrictness; 41 this.mockStrictness = mockSettings.isLenient() ? Strictness.LENIENT : null; in InvocationContainerImpl() 54 public void addAnswer(Answer answer, Strictness stubbingStrictness) { in addAnswer() 66 …public StubbedInvocationMatcher addAnswer(Answer answer, boolean isConsecutive, Strictness stubbin… in addAnswer() 77 …Strictness effectiveStrictness = stubbingStrictness != null ? stubbingStrictness : this.mockStrict… in addAnswer() 106 public void setAnswersForStubbing(List<Answer<?>> answers, Strictness strictness) { in setAnswersForStubbing()
|
D | DoAnswerStyleStubbing.java | 7 import org.mockito.quality.Strictness; 20 private Strictness stubbingStrictness; 22 void setAnswers(List<Answer<?>> answers, Strictness stubbingStrictness) { in setAnswers() 40 Strictness getStubbingStrictness() { in getStubbingStrictness()
|
D | StubbedInvocationMatcher.java | 11 import org.mockito.quality.Strictness; 24 private final Strictness strictness; 27 …public StubbedInvocationMatcher(Answer answer, MatchableInvocation invocation, Strictness strictne… in StubbedInvocationMatcher() 60 public Strictness getStrictness() { in getStrictness()
|
D | OngoingStubbingImpl.java | 8 import org.mockito.quality.Strictness; 19 private Strictness strictness; 51 public void setStrictness(Strictness strictness) { in setStrictness()
|
D | DefaultLenientStubber.java | 8 import org.mockito.quality.Strictness; 61 ongoingStubbing.setStrictness(Strictness.LENIENT); in when() 66 return MOCKITO_CORE.stubber(Strictness.LENIENT); in stubber()
|
D | UnusedStubbingReporting.java | 7 import org.mockito.quality.Strictness; 20 return !stubbing.wasUsed() && stubbing.getStrictness() != Strictness.LENIENT; in shouldBeReported()
|
D | StubberImpl.java | 11 import org.mockito.quality.Strictness; 28 private final Strictness strictness; 30 public StubberImpl(Strictness strictness) { in StubberImpl()
|
/external/mockito/src/test/java/org/mockitousage/junitrule/ |
D | MutableStrictJUnitRuleTest.java | 14 import org.mockito.quality.Strictness; 45 @Rule public MockitoRule mockito = MockitoJUnit.rule().strictness(Strictness.LENIENT); 54 mockito.strictness(Strictness.STRICT_STUBS); in unused_stub_with_strictness() 61 @Rule public MockitoRule mockito = MockitoJUnit.rule().strictness(Strictness.STRICT_STUBS); 70 mockito.strictness(Strictness.LENIENT); in unused_stub_with_lenient()
|
/external/mockito/src/main/java/org/mockito/internal/session/ |
D | DefaultMockitoSessionBuilder.java | 11 import org.mockito.quality.Strictness; 24 private Strictness strictness; 52 public MockitoSessionBuilder strictness(Strictness strictness) { in strictness() 76 …Strictness effectiveStrictness = this.strictness == null ? Strictness.STRICT_STUBS : this.strictne… in startMocking()
|
/external/mockito/src/test/java/org/mockitousage/strictness/ |
D | StrictnessWhenRuleStrictnessIsUpdatedTest.java | 15 import org.mockito.quality.Strictness; 27 @Rule public MockitoRule rule = MockitoJUnit.rule().strictness(Strictness.LENIENT); 32 rule.strictness(Strictness.STRICT_STUBS); in strictness_per_mock() 52 rule.strictness(Strictness.STRICT_STUBS); in strictness_per_stubbing()
|
/external/mockito/src/test/java/org/mockitousage/stubbing/ |
D | StrictStubbingEndToEndTest.java | 18 import org.mockito.quality.Strictness; 83 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU… 97 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU… 111 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU… 151 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
|
/external/mockito/src/main/java/org/mockito/internal/framework/ |
D | DefaultMockitoSession.java | 15 import org.mockito.quality.Strictness; 25 …public DefaultMockitoSession(List<Object> testClassInstances, String name, Strictness strictness, … in DefaultMockitoSession() 41 public void setStrictness(Strictness strictness) { in setStrictness()
|
/external/clang/utils/analyzer/ |
D | SATestBuild.py | 534 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/mockitousage/session/ |
D | MockitoSessionTest.java | 15 import org.mockito.quality.Strictness; 120 … MockitoSession mockito = Mockito.mockitoSession().strictness(Strictness.LENIENT).startMocking(); 194 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU… 204 mockito.setStrictness(Strictness.LENIENT); in manual_mock_preserves_its_settings()
|
/external/mockito/src/main/java/org/mockito/stubbing/ |
D | Stubbing.java | 12 import org.mockito.quality.Strictness; 64 Strictness getStrictness(); in getStrictness()
|
/external/mockito/src/main/java/org/mockito/junit/ |
D | MockitoJUnit.java | 11 import org.mockito.quality.Strictness; 33 return new JUnitRule(new ConsoleMockitoLogger(), Strictness.WARN); in rule()
|
D | MockitoRule.java | 14 import org.mockito.quality.Strictness; 150 MockitoRule strictness(Strictness strictness); in strictness()
|
/external/mockito/src/test/java/org/mockito/internal/session/ |
D | DefaultMockitoSessionBuilderTest.java | 13 import org.mockito.quality.Strictness; 24 import static org.mockito.quality.Strictness.WARN; 45 … new DefaultMockitoSessionBuilder().strictness(Strictness.LENIENT).startMocking().finishMocking(); in creates_sessions()
|
/external/mockito/src/main/java/org/mockito/ |
D | MockitoSession.java | 14 import org.mockito.quality.Strictness; 105 void setStrictness(Strictness strictness); in setStrictness()
|
/external/mockito/src/main/java/org/mockito/session/ |
D | MockitoSessionBuilder.java | 11 import org.mockito.quality.Strictness; 97 MockitoSessionBuilder strictness(Strictness strictness); in strictness()
|