Uses of Class
org.mockito.quality.Strictness
-
Packages that use Strictness Package Description org.mockito Mockito is a mock library for java - seeMockitoclass for usage.org.mockito.internal Internal classes, not to be used by clients.org.mockito.internal.creation Mock object creation.org.mockito.internal.creation.settings org.mockito.internal.framework org.mockito.internal.junit JUnit integration support classes.org.mockito.internal.session org.mockito.internal.stubbing Stubbing logic.org.mockito.junit Mockito JUnit integration ; rule and runners.org.mockito.junit.jupiter org.mockito.mock Mock settings related classes.org.mockito.quality Mocking quality related classes.org.mockito.session org.mockito.stubbing Stubbing related classes. -
-
Uses of Strictness in org.mockito
Methods in org.mockito with parameters of type Strictness Modifier and Type Method Description voidMockitoSession. setStrictness(Strictness strictness)Changes the strictness of thisMockitoSession.MockSettingsMockSettings. strictness(Strictness strictness)Specifies strictness level for the mock. -
Uses of Strictness in org.mockito.internal
Methods in org.mockito.internal with parameters of type Strictness Modifier and Type Method Description StubberMockitoCore. stubber(Strictness strictness) -
Uses of Strictness in org.mockito.internal.creation
Methods in org.mockito.internal.creation with parameters of type Strictness Modifier and Type Method Description MockSettingsMockSettingsImpl. strictness(Strictness strictness) -
Uses of Strictness in org.mockito.internal.creation.settings
Fields in org.mockito.internal.creation.settings declared as Strictness Modifier and Type Field Description protected StrictnessCreationSettings. strictnessMethods in org.mockito.internal.creation.settings that return Strictness Modifier and Type Method Description StrictnessCreationSettings. getStrictness() -
Uses of Strictness in org.mockito.internal.framework
Methods in org.mockito.internal.framework with parameters of type Strictness Modifier and Type Method Description voidDefaultMockitoSession. setStrictness(Strictness strictness)Constructors in org.mockito.internal.framework with parameters of type Strictness Constructor Description DefaultMockitoSession(java.util.List<java.lang.Object> testClassInstances, java.lang.String name, Strictness strictness, MockitoLogger logger) -
Uses of Strictness in org.mockito.internal.junit
Fields in org.mockito.internal.junit declared as Strictness Modifier and Type Field Description private StrictnessDefaultStubbingLookupListener. currentStrictnessprivate StrictnessUniversalTestListener. currentStrictnessprotected StrictnessJUnitSessionStore. strictnessMethods in org.mockito.internal.junit with parameters of type Strictness Modifier and Type Method Description (package private) voidDefaultStubbingLookupListener. setCurrentStrictness(Strictness currentStrictness)Enables resetting the strictness to desired level(package private) voidJUnitSessionStore. setStrictness(Strictness strictness)voidUniversalTestListener. setStrictness(Strictness strictness)MockitoRuleJUnitRule. strictness(Strictness strictness)MockitoTestRuleJUnitTestRule. strictness(Strictness strictness)Constructors in org.mockito.internal.junit with parameters of type Strictness Constructor Description DefaultStubbingLookupListener(Strictness strictness)JUnitRule(MockitoLogger logger, Strictness strictness)JUnitSessionStore(MockitoLogger logger, Strictness strictness)JUnitTestRule(MockitoLogger logger, Strictness strictness, java.lang.Object testInstance)UniversalTestListener(Strictness initialStrictness, MockitoLogger logger) -
Uses of Strictness in org.mockito.internal.session
Fields in org.mockito.internal.session declared as Strictness Modifier and Type Field Description private StrictnessDefaultMockitoSessionBuilder. strictnessMethods in org.mockito.internal.session with parameters of type Strictness Modifier and Type Method Description MockitoSessionBuilderDefaultMockitoSessionBuilder. strictness(Strictness strictness) -
Uses of Strictness in org.mockito.internal.stubbing
Fields in org.mockito.internal.stubbing declared as Strictness Modifier and Type Field Description private StrictnessInvocationContainerImpl. mockStrictnessprivate StrictnessOngoingStubbingImpl. strictnessprivate StrictnessStubbedInvocationMatcher. strictnessprivate StrictnessStubberImpl. strictnessprivate StrictnessDoAnswerStyleStubbing. stubbingStrictnessMethods in org.mockito.internal.stubbing that return Strictness Modifier and Type Method Description static StrictnessStrictnessSelector. determineStrictness(Stubbing stubbing, MockCreationSettings mockSettings, Strictness testLevelStrictness)Determines the actual strictness in the following importance order: 1st - strictness configured when declaring stubbing; 2nd - strictness configured at mock level; 3rd - strictness configured at test level (rule, mockito session)StrictnessStubbedInvocationMatcher. getStrictness()(package private) StrictnessDoAnswerStyleStubbing. getStubbingStrictness()Methods in org.mockito.internal.stubbing with parameters of type Strictness Modifier and Type Method Description StubbedInvocationMatcherInvocationContainerImpl. addAnswer(Answer<?> answer, boolean isConsecutive, Strictness stubbingStrictness)Adds new stubbed answer and returns the invocation matcher the answer was added to.voidInvocationContainerImpl. addAnswer(Answer<?> answer, Strictness stubbingStrictness)static StrictnessStrictnessSelector. determineStrictness(Stubbing stubbing, MockCreationSettings mockSettings, Strictness testLevelStrictness)Determines the actual strictness in the following importance order: 1st - strictness configured when declaring stubbing; 2nd - strictness configured at mock level; 3rd - strictness configured at test level (rule, mockito session)(package private) voidDoAnswerStyleStubbing. setAnswers(java.util.List<Answer<?>> answers, Strictness stubbingStrictness)voidInvocationContainerImpl. setAnswersForStubbing(java.util.List<Answer<?>> answers, Strictness strictness)Sets the answers declared with 'doAnswer' style.voidOngoingStubbingImpl. setStrictness(Strictness strictness)Constructors in org.mockito.internal.stubbing with parameters of type Strictness Constructor Description StubbedInvocationMatcher(Answer answer, MatchableInvocation invocation, Strictness strictness)StubberImpl(Strictness strictness) -
Uses of Strictness in org.mockito.junit
Methods in org.mockito.junit with parameters of type Strictness Modifier and Type Method Description MockitoRuleMockitoRule. strictness(Strictness strictness)The strictness, especially "strict stubs" (STRICT_STUBS) helps debugging and keeping tests clean.MockitoTestRuleMockitoTestRule. strictness(Strictness strictness)Equivalent toMockitoRule.strictness(Strictness). -
Uses of Strictness in org.mockito.junit.jupiter
Fields in org.mockito.junit.jupiter declared as Strictness Modifier and Type Field Description private StrictnessMockitoExtension. strictnessMethods in org.mockito.junit.jupiter that return Strictness Modifier and Type Method Description Strictnessstrictness()Configure the strictness used in this test.Constructors in org.mockito.junit.jupiter with parameters of type Strictness Constructor Description MockitoExtension(Strictness strictness) -
Uses of Strictness in org.mockito.mock
Methods in org.mockito.mock that return Strictness Modifier and Type Method Description StrictnessMockCreationSettings. getStrictness()Sets strictness level for the mock, e.g. -
Uses of Strictness in org.mockito.quality
Methods in org.mockito.quality that return Strictness Modifier and Type Method Description static StrictnessStrictness. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Strictness[]Strictness. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of Strictness in org.mockito.session
Methods in org.mockito.session with parameters of type Strictness Modifier and Type Method Description MockitoSessionBuilderMockitoSessionBuilder. strictness(Strictness strictness)Configures strictness ofMockitoSessioninstance. -
Uses of Strictness in org.mockito.stubbing
Methods in org.mockito.stubbing that return Strictness Modifier and Type Method Description StrictnessStubbing. getStrictness()Informs about theStrictnesslevel of this stubbing.
-