/external/mockito/src/main/java/org/mockito/internal/junit/ |
D | JUnitRule.java | 22 private Strictness strictness; field in JUnitRule 28 public JUnitRule(MockitoLogger logger, Strictness strictness) { in JUnitRule() argument 30 this.strictness = strictness; in JUnitRule() 39 .strictness(strictness) in apply() 62 return strictness(Strictness.LENIENT); 65 public MockitoRule strictness(Strictness strictness) { 66 this.strictness = strictness; 70 session.setStrictness(strictness);
|
D | UniversalTestListener.java | 84 public void setStrictness(Strictness strictness) { in setStrictness() argument 85 this.currentStrictness = strictness; in setStrictness() 86 this.stubbingLookupListener.setCurrentStrictness(strictness); in setStrictness()
|
D | DefaultStubbingLookupListener.java | 30 DefaultStubbingLookupListener(Strictness strictness) { in DefaultStubbingLookupListener() argument 31 this.currentStrictness = strictness; in DefaultStubbingLookupListener()
|
/external/mockito/src/main/java/org/mockito/internal/session/ |
D | DefaultMockitoSessionBuilder.java | 24 private Strictness strictness; field in DefaultMockitoSessionBuilder 52 public MockitoSessionBuilder strictness(Strictness strictness) { in strictness() argument 53 this.strictness = strictness; in strictness() 76 …Strictness effectiveStrictness = this.strictness == null ? Strictness.STRICT_STUBS : this.strictne… in startMocking()
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/ |
D | OngoingStubbingImpl.java | 19 private Strictness strictness; field in OngoingStubbingImpl 31 invocationContainer.addAnswer(answer, strictness); in thenAnswer() 51 public void setStrictness(Strictness strictness) { in setStrictness() argument 52 this.strictness = strictness; in setStrictness()
|
D | StubbedInvocationMatcher.java | 24 private final Strictness strictness; field in StubbedInvocationMatcher 27 …ic StubbedInvocationMatcher(Answer answer, MatchableInvocation invocation, Strictness strictness) { in StubbedInvocationMatcher() argument 29 this.strictness = strictness; in StubbedInvocationMatcher() 61 return strictness; in getStrictness()
|
D | StubberImpl.java | 28 private final Strictness strictness; field in StubberImpl 30 public StubberImpl(Strictness strictness) { in StubberImpl() argument 31 this.strictness = strictness; in StubberImpl() 46 MockUtil.getInvocationContainer(mock).setAnswersForStubbing(answers, strictness); in when()
|
D | InvocationContainerImpl.java | 106 public void setAnswersForStubbing(List<Answer<?>> answers, Strictness strictness) { in setAnswersForStubbing() argument 107 doAnswerStyleStubbing.setAnswers(answers, strictness); in setAnswersForStubbing()
|
/external/mockito/src/main/java/org/mockito/internal/framework/ |
D | DefaultMockitoSession.java | 25 …ockitoSession(List<Object> testClassInstances, String name, Strictness strictness, MockitoLogger l… in DefaultMockitoSession() argument 28 listener = new UniversalTestListener(strictness, logger); in DefaultMockitoSession() 41 public void setStrictness(Strictness strictness) { in setStrictness() argument 42 listener.setStrictness(strictness); in setStrictness()
|
/external/mockito/src/test/java/org/mockitousage/strictness/ |
D | StrictnessWhenRuleStrictnessIsUpdatedTest.java | 6 package org.mockitousage.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()
|
D | StrictnessWithRulesTest.java | 6 package org.mockitousage.strictness; 25 @Rule public MockitoRule rule = MockitoJUnit.rule().strictness(Strictness.STRICT_STUBS);
|
D | StrictnessPerMockTest.java | 6 package org.mockitousage.strictness; 41 …mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STUBS).startMockin… in before()
|
D | StrictnessPerStubbingTest.java | 6 package org.mockitousage.strictness; 38 …mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STUBS).startMockin… in before()
|
D | StrictnessPerStubbingWithRunnerTest.java | 6 package org.mockitousage.strictness;
|
/external/mockito/src/test/java/org/mockitousage/junitrule/ |
D | MutableStrictJUnitRuleTest.java | 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/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/extended/ |
D | StaticMockitoSessionBuilder.java | 127 public StaticMockitoSessionBuilder strictness(Strictness strictness) { in strictness() argument 128 instanceSessionBuilder = instanceSessionBuilder.strictness(strictness); in strictness()
|
D | StaticMockitoSession.java | 47 public void setStrictness(Strictness strictness) { in setStrictness() argument 48 instanceSession.setStrictness(strictness); in setStrictness()
|
/external/mockito/src/test/java/org/mockito/internal/session/ |
D | DefaultMockitoSessionBuilderTest.java | 39 …new DefaultMockitoSessionBuilder().initMocks(null, null).strictness(null).startMocking().finishMoc… in creates_sessions() 40 new DefaultMockitoSessionBuilder().strictness(null).startMocking().finishMocking(); in creates_sessions() 45 … new DefaultMockitoSessionBuilder().strictness(Strictness.LENIENT).startMocking().finishMocking(); in creates_sessions() 74 .strictness(WARN) in uses_logger_and_strictness()
|
/external/mockito/src/test/java/org/mockitousage/stubbing/ |
D | StrictStubbingEndToEndTest.java | 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/junit/ |
D | MockitoRule.java | 150 MockitoRule strictness(Strictness strictness); in strictness() method
|
/external/llvm-project/clang/utils/analyzer/ |
D | SATestBuild.py | 217 strictness: int = 0 variable in TestInfo 238 regenerate: bool, strictness: bool): 244 self.strictness = strictness 255 self.regenerate, self.strictness)) 313 self.strictness = test_info.strictness 344 passed = run_cmp_results(project_dir, self.strictness) 763 def run_cmp_results(directory: str, strictness: int = 0) -> bool: 824 if strictness >= 2 and num_diffs > 0: 828 elif strictness >= 1 and reports_in_ref != reports_in_new:
|
/external/mockito/src/main/java/org/mockito/session/ |
D | MockitoSessionBuilder.java | 97 MockitoSessionBuilder strictness(Strictness strictness); in strictness() method
|
/external/mockito/src/main/java/org/mockito/ |
D | MockitoSession.java | 105 void setStrictness(Strictness strictness); in setStrictness() argument
|
/external/mockito/src/test/java/org/mockitousage/session/ |
D | MockitoSessionTest.java | 120 … MockitoSession mockito = Mockito.mockitoSession().strictness(Strictness.LENIENT).startMocking(); 194 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
|
/external/dexmaker/dexmaker-mockito-inline-extended-tests/src/main/java/com/android/dx/mockito/inline/extended/tests/ |
D | StaticMockitoSession.java | 55 MockitoSession session = mockitoSession().strictness(Strictness.LENIENT) in lenientUnnecessaryStubbing()
|