Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AALOAD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
AASTORE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ABSTRACT - Static variable in class mockit.asm.jvmConstants.Access
 
accept(ClassVisitor) - Method in class mockit.asm.classes.ClassReader
Makes the given visitor visit the Java class of this Class Reader.
acceptsAdditionalCallPoints(int) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
acceptsAdditionalCallPoints(int, int) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
access - Variable in class mockit.asm.AnnotatedReader
The access flags of the class, field, or method currently being parsed.
Access - Class in mockit.asm.jvmConstants
Defines the JVM and ASM-specific access flags for classes, fields, methods, and method parameters.
accessFlags - Variable in class mockit.asm.metadata.ClassMetadataReader.FieldInfo
 
accessFlags - Variable in class mockit.asm.metadata.ClassMetadataReader.MethodInfo
 
AccountLoginLimitReachedException - Exception Class in jmockit.loginExample.domain.userLogin
 
AccountLoginLimitReachedException() - Constructor for exception class jmockit.loginExample.domain.userLogin.AccountLoginLimitReachedException
 
ACONST_NULL - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
active() - Static method in class mockit.coverage.CodeCoverage
 
ActiveInvocations - Class in mockit.internal.expectations
 
add(boolean, Type) - Method in class mockit.internal.expectations.state.CascadingTypes
 
addArgMatcher(ArgumentMatcher<?>) - Method in class mockit.internal.expectations.TestOnlyPhase
 
addBranchingPoint(Label, Label) - Method in class mockit.coverage.lines.LineCoverageData
 
addCapturedInstance(Object, Object) - Method in class mockit.internal.expectations.state.ExecutingTest
 
addCapturedInstanceForInjectableMock(Object, Object) - Method in class mockit.internal.expectations.state.ExecutingTest
 
addCaptureTransformer(CaptureTransformer<?>) - Method in class mockit.internal.state.MockFixture
 
addClassfile(Class<?>, byte[]) - Static method in class mockit.internal.state.CachedClassfiles
 
addConvertedValue() - Method in class mockit.internal.expectations.invocation.ReturnTypeConversion
 
addDelegatedResult(Delegate<?>) - Method in class mockit.internal.expectations.invocation.InvocationResults
 
addFake(String, MockUp<?>) - Method in class mockit.internal.faking.FakeClasses
 
addFake(MockUp<?>) - Method in class mockit.internal.faking.FakeClasses
 
addFake(MockUp<?>, Object) - Method in class mockit.internal.faking.FakeClasses
 
addField(String, String, boolean) - Method in class mockit.coverage.dataItems.PerFileDataCoverage
 
addHandler(Label, Label, Label, String) - Method in class mockit.asm.exceptionHandling.ExceptionHandling
 
addInvokeDynamicReference(String, String, MethodHandle, Object...) - Method in class mockit.asm.classes.ClassWriter
 
addLine(int) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
addNormalType(String) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
Adds the given internal name to ConstantPoolGeneration.typeTable and returns its index.
addPet(Pet) - Method in class petclinic.owners.Owner
 
addRedefinedClass(ClassDefinition) - Method in class mockit.internal.state.MockFixture
 
addRedefinedClass(String, ClassDefinition) - Method in class mockit.internal.state.MockFixture
 
addRedefinedClassWithNativeMethods(String) - Method in class mockit.internal.state.MockFixture
 
addResult(Object) - Static method in class mockit.internal.expectations.ActiveInvocations
 
addReturnValue(Object) - Method in class mockit.internal.expectations.invocation.InvocationResults
 
addReturnValueResult(Object) - Method in class mockit.internal.expectations.invocation.InvocationResults
 
addReturnValues(Object...) - Method in class mockit.internal.expectations.invocation.InvocationResults
 
addSequenceOfReturnValues(Object[]) - Method in class mockit.internal.expectations.RecordPhase
 
addSuperClass(String, String) - Static method in class mockit.internal.util.ClassLoad
 
addThrowable(Throwable) - Method in class mockit.internal.expectations.invocation.InvocationResults
 
addTransformedClass(ClassIdentification, byte[]) - Method in class mockit.internal.state.MockFixture
 
addUninitializedType(String, int) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
Adds the given "uninitialized" type to ConstantPoolGeneration.typeTable and returns its index.
addVisit(Visit) - Method in class petclinic.pets.Pet
 
afterAll(ExtensionContext) - Method in class mockit.integration.junit5.JMockitExtension
 
afterEach(ExtensionContext) - Method in class mockit.integration.junit5.JMockitExtension
 
afterInvocation(IInvokedMethod, ITestResult) - Method in class mockit.integration.testng.TestNGRunnerDecorator
 
afterTestExecution(ExtensionContext) - Method in class mockit.integration.junit5.JMockitExtension
 
allFields - Variable in class mockit.coverage.dataItems.PerFileDataCoverage
 
ALOAD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
AlwaysTrueMatcher - Class in mockit.internal.expectations.argumentMatching
 
AnAnnotation - Annotation Type in integrationTests
The Interface AnAnnotation.
AnEnum - Enum in integrationTests
The Enum AnEnum.
ANEWARRAY - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
AnInterface - Interface in integrationTests
The Interface AnInterface.
AnnotatedReader - Class in mockit.asm
A bytecode reader for reading common elements (signature, annotations) of a class, field, or method.
AnnotatedReader(byte[]) - Constructor for class mockit.asm.AnnotatedReader
 
AnnotatedReader(AnnotatedReader) - Constructor for class mockit.asm.AnnotatedReader
 
ANNOTATION - Static variable in class mockit.asm.jvmConstants.Access
 
AnnotationReader - Class in mockit.asm.annotations
 
AnnotationReader(BytecodeReader) - Constructor for class mockit.asm.annotations.AnnotationReader
 
AnnotationReflection - Class in mockit.internal.reflection
 
annotations - Variable in class mockit.asm.BaseWriter
The runtime visible annotations of this class/field/method.
annotations - Variable in class mockit.asm.metadata.ClassMetadataReader
 
annotations - Variable in class mockit.asm.metadata.ClassMetadataReader.FieldInfo
 
annotations - Variable in class mockit.asm.metadata.ClassMetadataReader.MethodInfo
 
Annotations - Enum constant in enum mockit.asm.metadata.ClassMetadataReader.Attribute
 
AnnotationVisitor - Class in mockit.asm.annotations
A visitor to visit a Java annotation, in the following order: (visit | visitEnum | visitAnnotation | visitArray)* visitEnd.
AnnotationVisitor(ConstantPoolGeneration, String) - Constructor for class mockit.asm.annotations.AnnotationVisitor
 
AnotherValue - Enum constant in enum integrationTests.AnEnum
The Another value.
any - Variable in class mockit.Expectations
Matches any Object reference received by a parameter of a reference type.
any - Variable in class mockit.FullVerifications
Matches any Object reference received by a parameter of a reference type.
any - Variable in class mockit.Verifications
Matches any Object reference received by a parameter of a reference type.
any - Variable in class mockit.VerificationsInOrder
Matches any Object reference received by a parameter of a reference type.
any() - Static method in class mockit.internal.expectations.ActiveInvocations
 
ANY_BOOLEAN - Static variable in class mockit.internal.expectations.argumentMatching.AlwaysTrueMatcher
 
ANY_BYTE - Static variable in class mockit.internal.expectations.argumentMatching.AlwaysTrueMatcher
 
ANY_CHAR - Static variable in class mockit.internal.expectations.argumentMatching.AlwaysTrueMatcher
 
ANY_DOUBLE - Static variable in class mockit.internal.expectations.argumentMatching.AlwaysTrueMatcher
 
ANY_FLOAT - Static variable in class mockit.internal.expectations.argumentMatching.AlwaysTrueMatcher
 
ANY_INT - Static variable in class mockit.internal.expectations.argumentMatching.AlwaysTrueMatcher
 
ANY_LONG - Static variable in class mockit.internal.expectations.argumentMatching.AlwaysTrueMatcher
 
ANY_SHORT - Static variable in class mockit.internal.expectations.argumentMatching.AlwaysTrueMatcher
 
ANY_STRING - Static variable in class mockit.internal.expectations.argumentMatching.AlwaysTrueMatcher
 
ANY_VALUE - Static variable in class mockit.internal.expectations.argumentMatching.AlwaysTrueMatcher
 
anyBoolean - Variable in class mockit.Expectations
Matches any boolean or Boolean value received by a parameter of that type.
anyBoolean - Variable in class mockit.FullVerifications
Matches any boolean or Boolean value received by a parameter of that type.
anyBoolean - Variable in class mockit.Verifications
Matches any boolean or Boolean value received by a parameter of that type.
anyBoolean - Variable in class mockit.VerificationsInOrder
Matches any boolean or Boolean value received by a parameter of that type.
anyBoolean() - Static method in class mockit.internal.expectations.ActiveInvocations
 
anyByte - Variable in class mockit.Expectations
Matches any byte or Byte value received by a parameter of that type.
anyByte - Variable in class mockit.FullVerifications
Matches any byte or Byte value received by a parameter of that type.
anyByte - Variable in class mockit.Verifications
Matches any byte or Byte value received by a parameter of that type.
anyByte - Variable in class mockit.VerificationsInOrder
Matches any byte or Byte value received by a parameter of that type.
anyByte() - Static method in class mockit.internal.expectations.ActiveInvocations
 
anyChar - Variable in class mockit.Expectations
Matches any char or Character value received by a parameter of that type.
anyChar - Variable in class mockit.FullVerifications
Matches any char or Character value received by a parameter of that type.
anyChar - Variable in class mockit.Verifications
Matches any char or Character value received by a parameter of that type.
anyChar - Variable in class mockit.VerificationsInOrder
Matches any char or Character value received by a parameter of that type.
anyChar() - Static method in class mockit.internal.expectations.ActiveInvocations
 
anyDouble - Variable in class mockit.Expectations
Matches any double or Double value received by a parameter of that type.
anyDouble - Variable in class mockit.FullVerifications
Matches any double or Double value received by a parameter of that type.
anyDouble - Variable in class mockit.Verifications
Matches any double or Double value received by a parameter of that type.
anyDouble - Variable in class mockit.VerificationsInOrder
Matches any double or Double value received by a parameter of that type.
anyDouble() - Static method in class mockit.internal.expectations.ActiveInvocations
 
anyFloat - Variable in class mockit.Expectations
Matches any float or Float value received by a parameter of that type.
anyFloat - Variable in class mockit.FullVerifications
Matches any float or Float value received by a parameter of that type.
anyFloat - Variable in class mockit.Verifications
Matches any float or Float value received by a parameter of that type.
anyFloat - Variable in class mockit.VerificationsInOrder
Matches any float or Float value received by a parameter of that type.
anyFloat() - Static method in class mockit.internal.expectations.ActiveInvocations
 
anyInt - Variable in class mockit.Expectations
Matches any int or Integer value received by a parameter of that type.
anyInt - Variable in class mockit.FullVerifications
Matches any int or Integer value received by a parameter of that type.
anyInt - Variable in class mockit.Verifications
Matches any int or Integer value received by a parameter of that type.
anyInt - Variable in class mockit.VerificationsInOrder
Matches any int or Integer value received by a parameter of that type.
anyInt() - Static method in class mockit.internal.expectations.ActiveInvocations
 
anyLong - Variable in class mockit.Expectations
Matches any long or Long value received by a parameter of that type.
anyLong - Variable in class mockit.FullVerifications
Matches any long or Long value received by a parameter of that type.
anyLong - Variable in class mockit.Verifications
Matches any long or Long value received by a parameter of that type.
anyLong - Variable in class mockit.VerificationsInOrder
Matches any long or Long value received by a parameter of that type.
anyLong() - Static method in class mockit.internal.expectations.ActiveInvocations
 
anyShort - Variable in class mockit.Expectations
Matches any short or Short value received by a parameter of that type.
anyShort - Variable in class mockit.FullVerifications
Matches any short or Short value received by a parameter of that type.
anyShort - Variable in class mockit.Verifications
Matches any short or Short value received by a parameter of that type.
anyShort - Variable in class mockit.VerificationsInOrder
Matches any short or Short value received by a parameter of that type.
anyShort() - Static method in class mockit.internal.expectations.ActiveInvocations
 
anyString - Variable in class mockit.Expectations
Matches any String value received by a parameter of this type.
anyString - Variable in class mockit.FullVerifications
Matches any String value received by a parameter of this type.
anyString - Variable in class mockit.Verifications
Matches any String value received by a parameter of this type.
anyString - Variable in class mockit.VerificationsInOrder
Matches any String value received by a parameter of this type.
anyString() - Static method in class mockit.internal.expectations.ActiveInvocations
 
append(char) - Method in class mockit.internal.expectations.argumentMatching.ArgumentMismatch
 
append(double) - Method in class mockit.internal.expectations.argumentMatching.ArgumentMismatch
 
append(int) - Method in class mockit.internal.expectations.argumentMatching.ArgumentMismatch
 
append(CharSequence) - Method in class mockit.internal.expectations.argumentMatching.ArgumentMismatch
 
append(String) - Method in class mockit.internal.util.MethodFormatter
 
appendAllBefore(StringBuilder, LineElement) - Method in class mockit.coverage.reporting.parsing.LineElement
 
appendFormatted(Object[]) - Method in class mockit.internal.expectations.argumentMatching.ArgumentMismatch
 
appendFormatted(String, Object, ArgumentMatcher<?>) - Method in class mockit.internal.expectations.argumentMatching.ArgumentMismatch
 
appendUntilNextCodeElement(StringBuilder) - Method in class mockit.coverage.reporting.parsing.LineElement
 
apply() - Method in class mockit.internal.faking.CaptureOfFakedImplementations
 
areCapturedClasses(Class<?>, Class<?>) - Method in class mockit.internal.capturing.CaptureTransformer
 
areCapturedClasses(Class<?>, Class<?>) - Method in class mockit.internal.state.MockFixture
 
areEqual(Object, Object) - Static method in class mockit.internal.expectations.argumentMatching.EqualityMatcher
 
areEqualWhenNonNull(Object, Object) - Static method in class mockit.internal.expectations.argumentMatching.EqualityMatcher
 
areMatchingTypes(Type, Type) - Method in class mockit.internal.reflection.GenericTypeReflection
 
ARETURN - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ArgumentCapturing - Class in mockit.internal.expectations.transformation
 
ArgumentMatcher<M> - Interface in mockit.internal.expectations.argumentMatching
An argument matcher for the recording/verification of expectations.
ArgumentMismatch - Class in mockit.internal.expectations.argumentMatching
 
ArgumentMismatch() - Constructor for class mockit.internal.expectations.argumentMatching.ArgumentMismatch
 
arguments - Variable in class mockit.internal.expectations.invocation.ExpectedInvocation
 
argumentsWithExtraFirstValue(Object[], Object) - Static method in class mockit.internal.reflection.ParameterReflection
 
ARRAY_OF - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
Constant to be added to a type to get a type with one more dimension.
ArrayElementType - Interface in mockit.asm.jvmConstants
Types for the argument of a NEWARRAY instruction.
ARRAYLENGTH - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ArrayType - Class in mockit.asm.types
 
asDeprecated(int) - Static method in class mockit.asm.jvmConstants.Access
 
assignNewInstancesToMockFields(Object) - Method in class mockit.internal.expectations.mocking.FieldTypeRedefinitions
 
assignNewInstancesToTestedFields(Object, boolean, List<? extends InjectionProvider>) - Method in class mockit.internal.injection.TestedClassInstantiations
 
assignNewInstancesToTestedFieldsFromBaseClasses(Object) - Method in class mockit.internal.injection.TestedClassInstantiations
 
asSynthetic(int) - Static method in class mockit.asm.jvmConstants.Access
 
ASTORE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ATHROW - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
attributeIndex - Variable in class mockit.asm.constantPool.AttributeWriter
The index of the constant pool item that contains the name of the associated attribute.
AttributeWriter - Class in mockit.asm.constantPool
 
AttributeWriter(ConstantPoolGeneration) - Constructor for class mockit.asm.constantPool.AttributeWriter
 
AttributeWriter(ConstantPoolGeneration, String) - Constructor for class mockit.asm.constantPool.AttributeWriter
 
AutoBoxing - Class in mockit.internal.util
 
availableDuringSetup() - Element in annotation type mockit.Tested
Indicates whether the tested class gets instantiated and initialized before the execution of test setup methods (ie, those annotated as @Before or @BeforeMethod), or after them.

B

BALOAD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
BASE - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
Kind of the types that are not relative to an input stack map frame.
BASE_KIND - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
Mask to get the kind of base types.
BASE_VALUE - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
Mask to get the value of base types.
BaseClassModifier - Class in mockit.internal
 
BaseClassModifier(ClassReader) - Constructor for class mockit.internal.BaseClassModifier
 
BaseEntity - Class in petclinic.util
Base class for all entity types, containing the id property, which is automatically generated.
BaseEntity() - Constructor for class petclinic.util.BaseEntity
 
BaseInvocation - Class in mockit.internal
Base class for encapsulating state and logic needed by both the Mocking and Faking APIs, but which should not go into Invocation in order to keep the published API clean.
BaseInvocation(Object, Object[], int) - Constructor for class mockit.internal.BaseInvocation
 
BaseSubclassGenerator - Class in mockit.internal.classGeneration
 
BaseSubclassGenerator(Class<?>, ClassReader, Type, String, boolean) - Constructor for class mockit.internal.classGeneration.BaseSubclassGenerator
 
BaseVerificationPhase - Class in mockit.internal.expectations
 
BaseWriter - Class in mockit.asm
 
BaseWriter() - Constructor for class mockit.asm.BaseWriter
 
BaseWriter(ConstantPoolGeneration, int) - Constructor for class mockit.asm.BaseWriter
 
BASTORE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
BeanExporter - Class in mockit.internal.injection
 
beforeAll(ExtensionContext) - Method in class mockit.integration.junit5.JMockitExtension
 
beforeEach(ExtensionContext) - Method in class mockit.integration.junit5.JMockitExtension
 
beforeInvocation(IInvokedMethod, ITestResult) - Method in class mockit.integration.testng.TestNGRunnerDecorator
 
beforeTestExecution(ExtensionContext) - Method in class mockit.integration.junit5.JMockitExtension
 
BOOLEAN - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
The BOOLEAN type.
BOOLEAN - Static variable in interface mockit.asm.jvmConstants.ArrayElementType
 
BooleanExpressions - Class in integrationTests
The Class BooleanExpressions.
BooleanExpressions() - Constructor for class integrationTests.BooleanExpressions
 
BootstrapMethodItem - Class in mockit.asm.constantPool
 
BootstrapMethodItem(int, int, int) - Constructor for class mockit.asm.constantPool.BootstrapMethodItem
Initializes the new item with the given index, position and hash code.
BranchCoverageData - Class in mockit.coverage.lines
Coverage data gathered for a branch inside a line of source code.
branchExecuted(int, int, int) - Static method in class mockit.coverage.TestRun
 
BRIDGE - Static variable in class mockit.asm.jvmConstants.Access
 
BSM - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
The type of BootstrapMethod items.
BusinessService - Class in java8testing
The Class BusinessService.
BusinessService(Collaborator) - Constructor for class java8testing.BusinessService
Instantiates a new business service.
BYTE - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
The BYTE type.
BYTE - Static variable in interface mockit.asm.jvmConstants.ArrayElementType
 
BytecodeReader - Class in mockit.asm.util
 
BytecodeReader(byte[]) - Constructor for class mockit.asm.util.BytecodeReader
 
BytecodeReader(BytecodeReader) - Constructor for class mockit.asm.util.BytecodeReader
 
ByteVector - Class in mockit.asm.util
A dynamically extensible vector of bytes.
ByteVector() - Constructor for class mockit.asm.util.ByteVector
Constructs a new ByteVector with a default initial size.
ByteVector(int) - Constructor for class mockit.asm.util.ByteVector
Constructs a new ByteVector with the given initial size.

C

CachedClassfiles - Class in mockit.internal.state
Holds a map of internal class names to the corresponding class files (bytecode arrays), for the classes that have already been loaded during the test run.
calculate(int, int) - Static method in class mockit.coverage.CoveragePercentage
 
CallPoint - Class in mockit.coverage
 
CALOAD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
CaptureMatcher<T> - Class in mockit.internal.expectations.argumentMatching
 
CaptureMatcher(List<T>) - Constructor for class mockit.internal.expectations.argumentMatching.CaptureMatcher
 
captureNewInstance(Object, Object) - Method in class mockit.internal.expectations.mocking.CaptureOfNewInstances
 
captureNewInstanceForApplicableMockField(Object) - Method in class mockit.internal.expectations.mocking.FieldTypeRedefinitions
Returns true iff the mock instance concrete class is not mocked in some test, i.e. it's a class which only appears in the code under test.
CaptureOfFakedImplementations - Class in mockit.internal.faking
 
CaptureOfFakedImplementations(MockUp<?>, Type) - Constructor for class mockit.internal.faking.CaptureOfFakedImplementations
 
CaptureOfImplementations<M> - Class in mockit.internal.capturing
 
CaptureOfImplementations() - Constructor for class mockit.internal.capturing.CaptureOfImplementations
 
captureOfNewInstances - Variable in class mockit.internal.expectations.mocking.TypeRedefinitions
 
CaptureOfNewInstances - Class in mockit.internal.expectations.mocking
 
CaptureOfNewInstances.Capture - Class in mockit.internal.expectations.mocking
 
CaptureTransformer<M> - Class in mockit.internal.capturing
 
Capturing - Annotation Type in mockit
Indicates a mock field or a mock parameter for which all classes extending/implementing the mocked type will also get mocked.
CascadingTypeRedefinition - Class in mockit.internal.expectations.mocking
 
CascadingTypeRedefinition(String, Type) - Constructor for class mockit.internal.expectations.mocking.CascadingTypeRedefinition
 
CascadingTypes - Class in mockit.internal.expectations.state
 
CASTORE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
CFGAnalysis - Class in mockit.asm.controlFlow
The control flow graph analysis algorithm, used to compute the maximum stack size for a method or constructor.
CFGAnalysis(ConstantPoolGeneration, String, ByteVector, boolean) - Constructor for class mockit.asm.controlFlow.CFGAnalysis
 
CHAR - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
The CHAR type.
CHAR - Static variable in interface mockit.asm.jvmConstants.ArrayElementType
 
CHECKCAST - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
checkConstantPoolMaxSize() - Method in class mockit.asm.constantPool.ConstantPoolGeneration
 
CLASS - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
classDesc - Variable in class mockit.internal.BaseClassModifier
 
ClassesNotLoaded - Class in mockit.coverage.modification
Finds and loads all classes that should also be measured, but were not loaded until now.
ClassesNotLoaded(ClassModification) - Constructor for class mockit.coverage.modification.ClassesNotLoaded
 
ClassFile - Class in mockit.internal
 
ClassFile.NotFoundException - Exception Class in mockit.internal
 
ClassIdentification - Class in mockit.internal
Identifies a class by its loader and name rather than by the Class object, which isn't available during initial class transformation.
ClassIdentification(ClassLoader, String) - Constructor for class mockit.internal.ClassIdentification
 
ClassInDefaultPackage - Class in Unnamed Package
The Class ClassInDefaultPackage.
ClassInDefaultPackage() - Constructor for class ClassInDefaultPackage
 
ClassInDefaultPackage.NestedEnum - Enum in Unnamed Package
The Enum NestedEnum.
ClassInfo - Class in mockit.asm.classes
Holds additional information about a classfile: ClassInfo.signature, ClassInfo.superName, ClassInfo.interfaces, ClassInfo.hostClassName.
ClassInfo() - Constructor for class mockit.asm.classes.ClassInfo
 
ClassInRegularPackage - Class in integrationTests
The Class ClassInRegularPackage.
ClassInRegularPackage() - Constructor for class integrationTests.ClassInRegularPackage
 
ClassInRegularPackage.NestedEnum - Enum in integrationTests
The Enum NestedEnum.
ClassLoad - Class in mockit.internal.util
 
ClassLoadedByCustomLoaderOnly - Class in integrationTests
The Class ClassLoadedByCustomLoaderOnly.
ClassLoadedByCustomLoaderOnly(String) - Constructor for class integrationTests.ClassLoadedByCustomLoaderOnly
Instantiates a new class loaded by custom loader only.
ClassLoadingBridge - Class in mockit.internal
 
ClassLoadingBridge(String) - Constructor for class mockit.internal.ClassLoadingBridge
The instance is stored in a place directly accessible through the Java SE API, so that it can be recovered from any class loader.
ClassMatcher - Class in mockit.internal.expectations.argumentMatching
 
ClassMemberItem - Class in mockit.asm.constantPool
 
ClassMemberItem(int) - Constructor for class mockit.asm.constantPool.ClassMemberItem
 
ClassMetadataReader - Class in mockit.asm.metadata
 
ClassMetadataReader(byte[]) - Constructor for class mockit.asm.metadata.ClassMetadataReader
 
ClassMetadataReader(byte[], EnumSet<ClassMetadataReader.Attribute>) - Constructor for class mockit.asm.metadata.ClassMetadataReader
 
ClassMetadataReader.AnnotationInfo - Class in mockit.asm.metadata
 
ClassMetadataReader.Attribute - Enum in mockit.asm.metadata
 
ClassMetadataReader.FieldInfo - Class in mockit.asm.metadata
 
ClassMetadataReader.MethodInfo - Class in mockit.asm.metadata
 
ClassModification - Class in mockit.coverage.modification
 
ClassModification() - Constructor for class mockit.coverage.modification.ClassModification
 
ClassNaming - Class in mockit.internal.util
 
ClassNotExercised - Class in integrationTests
The Class ClassNotExercised.
ClassNotExercised() - Constructor for class integrationTests.ClassNotExercised
 
classOrMemberAccess - Variable in class mockit.asm.BaseWriter
The access flags of this class, field, or method.
ClassReader - Class in mockit.asm.classes
A Java class parser to make a ClassVisitor visit an existing class.
ClassReader(byte[]) - Constructor for class mockit.asm.classes.ClassReader
Initializes a new class reader with the given bytecode array for a classfile.
ClassVersion - Interface in mockit.asm.jvmConstants
Constants for JVM classfile versions corresponding to major versions of Java.
ClassVisitor - Class in mockit.asm.classes
A visitor to visit a Java class, in the following order:
visit (visitAnnotation)* (visitInnerClass | visitField | visitMethod)* visitEnd.
ClassVisitor() - Constructor for class mockit.asm.classes.ClassVisitor
 
ClassWithFields - Class in integrationTests.data
 
ClassWithFields() - Constructor for class integrationTests.data.ClassWithFields
 
ClassWithFieldsAccessedByMultipleTests - Class in integrationTests.data
 
ClassWithFieldsAccessedByMultipleTests() - Constructor for class integrationTests.data.ClassWithFieldsAccessedByMultipleTests
 
ClassWithInstanceFields - Class in integrationTests.data
 
ClassWithInstanceFields() - Constructor for class integrationTests.data.ClassWithInstanceFields
 
ClassWithNestedClasses - Class in integrationTests
The Class ClassWithNestedClasses.
ClassWithNestedClasses() - Constructor for class integrationTests.ClassWithNestedClasses
 
ClassWithNestedClasses.NestedClass - Class in integrationTests
The Class NestedClass.
ClassWithReferenceToNestedClass - Class in integrationTests
The Class ClassWithReferenceToNestedClass.
ClassWriter - Class in mockit.asm.classes
A ClassVisitor that generates classes in bytecode form, that is, a byte array conforming to the Java class file format.
ClassWriter(ClassReader) - Constructor for class mockit.asm.classes.ClassWriter
Initializes a new class writer, applying the following two optimizations that are useful for "mostly add" bytecode transformations: The constant pool from the original class is copied as is in the new class, which saves time.
cleanUp() - Method in class mockit.internal.expectations.mocking.CaptureOfNewInstances
 
cleanUp() - Method in class mockit.internal.expectations.mocking.FieldTypeRedefinitions
 
cleanUp() - Method in class mockit.internal.expectations.mocking.TypeRedefinitions
 
cleanUpAfterProceed() - Method in class mockit.internal.BaseInvocation
 
cleanUpAfterProceed() - Method in class mockit.internal.faking.FakeInvocation
 
cleanUpAllMocks() - Static method in class mockit.integration.TestRunnerDecorator
 
cleanUpMocksFromPreviousTest() - Static method in class mockit.integration.TestRunnerDecorator
 
cleanUpMocksFromPreviousTestClass() - Static method in class mockit.integration.TestRunnerDecorator
 
clear() - Method in class mockit.coverage.data.CoverageData
 
clear() - Method in class mockit.internal.expectations.state.CascadingTypes
 
clear() - Method in class mockit.internal.injection.full.FullInjection
 
clearCurrentTestInstance() - Static method in class mockit.internal.state.TestRun
 
clearFieldTypeRedefinitions() - Static method in class mockit.integration.TestRunnerDecorator
 
clearLastInstance() - Method in class mockit.internal.expectations.mocking.InstanceFactory
 
clearNoMockingZone() - Static method in class mockit.internal.state.TestRun
 
clearProceedingState() - Method in class mockit.internal.expectations.state.ExecutingTest
 
clearRegularAndInjectableMocks() - Method in class mockit.internal.expectations.state.ExecutingTest
 
clearTestedObjects() - Method in class mockit.internal.injection.TestedClassInstantiations
 
clearTestedObjectsCreatedDuringSetup() - Static method in class mockit.integration.TestRunnerDecorator
 
clearTestedObjectsCreatedDuringSetup() - Method in class mockit.internal.injection.TestedClassInstantiations
 
clearTestedObjectsIfAny() - Static method in class mockit.integration.TestRunnerDecorator
 
code - Variable in class mockit.asm.classes.ClassWriter
The class bytecode from which this class writer will generate a new/modified class.
code - Variable in class mockit.asm.util.BytecodeReader
The class to be parsed.
CodeCoverage - Class in mockit.coverage
 
CodeCoverage() - Constructor for class mockit.coverage.CodeCoverage
 
codeIndex - Variable in class mockit.asm.util.BytecodeReader
The next index at BytecodeReader.code to be read.
Collaborator - Class in java8testing
The Class Collaborator.
Collaborator() - Constructor for class java8testing.Collaborator
 
completeControlFlowGraphWithExceptionHandlerBlocks() - Method in class mockit.asm.exceptionHandling.ExceptionHandling
 
completeControlFlowGraphWithExceptionHandlerBlocksFromComputedFrames() - Method in class mockit.asm.exceptionHandling.ExceptionHandling
 
computeFlag(int, int) - Static method in class mockit.asm.jvmConstants.Access
 
computeForArrayType(String) - Static method in class mockit.internal.util.DefaultValues
 
computeForReturnType(String) - Static method in class mockit.internal.util.DefaultValues
 
computeForType(Class<?>) - Static method in class mockit.internal.util.DefaultValues
 
computeForType(String) - Static method in class mockit.internal.util.DefaultValues
 
computeForWrapperType(Type) - Static method in class mockit.internal.util.DefaultValues
 
computeMaxStackSize() - Method in class mockit.asm.controlFlow.CFGAnalysis
Control flow analysis algorithm: while the block stack is not empty, pop a block from this stack, update the max stack size, compute the true (non relative) begin stack size of the successors of this block, and push these successors onto the stack (unless they have already been pushed onto the stack).
computeMaxStackSizeFromComputedFrames() - Method in class mockit.asm.controlFlow.CFGAnalysis
Fix point algorithm: mark the first basic block as 'changed' (i.e. put it in the 'changed' list) and, while there are changed basic blocks, choose one, mark it as unchanged, and update its successors (which can be changed in the process).
concludeTestMethodExecution(SavePoint, Throwable, boolean) - Static method in class mockit.integration.TestRunnerDecorator
 
ConcreteSubclass<T> - Class in mockit.internal.classGeneration
Generates a concrete subclass for an abstract base class.
ConcreteSubclass(Class<?>) - Constructor for class mockit.internal.classGeneration.ConcreteSubclass
 
Configuration - Class in mockit.coverage
 
CONSTANT - Static variable in class ClassInDefaultPackage
The Constant CONSTANT.
CONSTANT - Static variable in class integrationTests.ClassInRegularPackage
The Constant CONSTANT.
ConstantPoolGeneration - Class in mockit.asm.constantPool
Allows the constant pool for a classfile to be created from scratch, when that classfile itself is being generated or modified from an existing class file.
ConstantPoolGeneration() - Constructor for class mockit.asm.constantPool.ConstantPoolGeneration
 
ConstantPoolTypes - Interface in mockit.asm.jvmConstants
Constants for types of items in the constant pool of a class.
CONSTRUCTOR - Static variable in class mockit.asm.jvmConstants.Access
 
ConstructorInjection - Class in mockit.internal.injection.constructor
 
ConstructorInjection(InjectionState, FullInjection, Constructor<?>) - Constructor for class mockit.internal.injection.constructor.ConstructorInjection
 
ConstructorReflection - Class in mockit.internal.reflection
 
ConstructorSearch - Class in mockit.internal.injection.constructor
 
ConstructorSearch(InjectionState, TestedClass, boolean) - Constructor for class mockit.internal.injection.constructor.ConstructorSearch
 
containsBranches() - Method in class mockit.coverage.lines.LineCoverageData
 
containsCallPoints() - Method in class mockit.coverage.lines.LineSegmentData
 
containsRedefinedClass(Class<?>) - Method in class mockit.internal.state.MockFixture
 
containsReference(List<?>, Object) - Static method in class mockit.internal.util.Utilities
 
CONVERSATION_CLASS - Static variable in class mockit.internal.injection.InjectionPoint
 
convertFromString(Class<?>, String) - Static method in class mockit.internal.util.TypeConversion
 
convertToLegalJavaIdentifierIfNeeded(String) - Static method in class mockit.internal.injection.InjectionPoint
 
copy(byte[], int, int, Item[]) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
 
copyDefaultReturnValue(ExpectedInvocation) - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
copyFakeStates(Object, Object) - Method in class mockit.internal.faking.FakeStates
 
copyOriginalImplementationWithInjectedInterceptionCode() - Method in class mockit.internal.BaseClassModifier
 
CoverageData - Class in mockit.coverage.data
Coverage data captured for all source files exercised during a test run.
CoverageData() - Constructor for class mockit.coverage.data.CoverageData
 
CoveragePercentage - Class in mockit.coverage
 
CoverageReport - Class in mockit.coverage.reporting
 
CoverageReport(String, boolean, String[], CoverageData, boolean) - Constructor for class mockit.coverage.reporting.CoverageReport
 
cp - Variable in class mockit.asm.BaseWriter
The dynamically generated constant pool of the class being built/modified.
cp - Variable in class mockit.asm.constantPool.AttributeWriter
 
create() - Method in class mockit.internal.expectations.mocking.InstanceFactory
 
create(boolean, boolean) - Method in class mockit.internal.injection.TestedObjectCreation
 
create(Class<?>) - Static method in class mockit.internal.expectations.argumentMatching.ClassMatcher
 
create(Object, Object[], String, int, String, String, String) - Static method in class mockit.internal.faking.FakeInvocation
 
create(String) - Static method in class mockit.asm.types.ArrayType
 
create(String) - Static method in class mockit.asm.types.MethodType
Returns the Java type corresponding to the given method descriptor.
create(String) - Static method in class mockit.asm.types.ObjectType
 
create(Pet, Visit) - Method in class petclinic.visits.VisitMaintenance
 
createAndVisitFirstFrame(Frame, String, String, int) - Method in class mockit.asm.controlFlow.StackMapTableWriter
Creates and visits the first (implicit) frame.
createClassReader(ClassLoader, String) - Static method in class mockit.internal.ClassFile
 
createDynamicItem(int, String, String, int) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
 
createFromInternalName(String) - Static method in class mockit.asm.types.ReferenceType
Returns the object or array type corresponding to the given internal name.
createFromTypeDescriptor(String) - Static method in class mockit.asm.types.ReferenceType
Returns the Java type corresponding to the given type descriptor.
createIfFileExists(List<File>, String) - Static method in class mockit.coverage.reporting.sourceFiles.InputFile
 
createImplementation(Class<T>, Type) - Method in class mockit.internal.faking.FakedImplementationClass
 
createImplementation(Type[]) - Method in class mockit.internal.faking.FakedImplementationClass
 
createInstancesForAnnotatedParameters(Object, Method, Object[]) - Static method in class mockit.integration.TestRunnerDecorator
 
createInstancesForTestedFields(Object) - Static method in class mockit.integration.TestRunnerDecorator
 
createInstancesForTestedFieldsBeforeSetup(Object) - Static method in class mockit.integration.TestRunnerDecorator
 
createInstancesForTestedFieldsFromBaseClasses(Object) - Static method in class mockit.integration.TestRunnerDecorator
 
createMarkerAttributes(int) - Method in class mockit.asm.BaseWriter
 
createMethodBodyGenerator(ClassReader) - Method in class mockit.internal.classGeneration.ConcreteSubclass
 
createMethodBodyGenerator(ClassReader) - Method in class mockit.internal.classGeneration.ImplementationClass
 
createModifier(ClassLoader, ClassReader, Class<?>, Void) - Method in class mockit.internal.faking.CaptureOfFakedImplementations
 
createModifier(ClassLoader, ClassReader, Class<?>, M) - Method in class mockit.internal.capturing.CaptureOfImplementations
 
createModifier(ClassLoader, ClassReader, Class<?>, MockedType) - Method in class mockit.internal.expectations.mocking.CaptureOfNewInstances
 
createOrReuseInstance(TestedClass, Injector, InjectionProvider, String) - Method in class mockit.internal.injection.full.FullInjection
 
createOrUpdate(Owner) - Method in class petclinic.owners.OwnerMaintenance
 
createOrUpdateOwner() - Method in class petclinic.owners.OwnerScreen
 
createOrUpdatePet() - Method in class petclinic.pets.PetScreen
 
createOrUpdateVisit() - Method in class petclinic.visits.VisitScreen
 
createPet(Owner, Pet) - Method in class petclinic.pets.PetMaintenance
 
createReaderFromLastRedefinitionIfAny(Class<?>) - Static method in class mockit.internal.ClassFile
 
createReaderOrGetFromCache(Class<?>) - Static method in class mockit.internal.ClassFile
 
createTestedParameters(Object, List<? extends InjectionProvider>) - Method in class mockit.internal.injection.TestedParameters
 
currentClasses - Variable in class mockit.coverage.reporting.parsing.FileParser
 
cw - Variable in class mockit.asm.classes.WrappingClassVisitor
The class visitor to which this visitor must delegate method calls.
cw - Variable in class mockit.asm.methods.MethodWriter
The class writer to which this method must be added.

D

D2F - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
D2I - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
D2L - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DADD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DALOAD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DASTORE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
Database - Class in petclinic.util
Provides access to the application database, allowing transient instances of entity classes to be persisted, and persistent instances to be recovered or removed from the database.
Database - Class in tutorial.persistence
This class is a static facade for persistence operations.
Database() - Constructor for class petclinic.util.Database
 
dataCoverageInfo - Variable in class mockit.coverage.data.FileCoverageData
 
DataCoverageOutput - Class in mockit.coverage.reporting.dataCoverage
 
DataCoverageOutput(PerFileDataCoverage) - Constructor for class mockit.coverage.reporting.dataCoverage.DataCoverageOutput
 
DCMPG - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DCMPL - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DCONST_0 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DCONST_1 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DDIV - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
deactivate() - Method in class mockit.internal.capturing.CaptureTransformer
 
declaredType - Variable in class mockit.internal.injection.InjectionProvider
 
Deencapsulation - Class in mockit
Provides utility methods that enable access to ("de-encapsulate") otherwise non-accessible fields.
defaultValueForPrimitiveType(Class<?>) - Static method in class mockit.internal.util.DefaultValues
 
DefaultValues - Class in mockit.internal.util
Provides default values for each type, typically used for returning default values according to method return types.
Delegate<T> - Interface in mockit
An empty interface to be used with the Expectations.result field or the Invocations#with(Delegate) method, allowing test code to define varying invocation results or argument matching rules, respectively.
desc - Variable in class mockit.asm.metadata.ClassMetadataReader.FieldInfo
 
desc - Variable in class mockit.asm.metadata.ClassMetadataReader.MethodInfo
 
desc - Variable in class mockit.asm.util.MethodHandle
The descriptor of the method designated by this handle.
DIM - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
Mask to get the dimension of a frame type.
discardStartupFakes() - Method in class mockit.internal.faking.FakeClasses
 
discardTestLevelMockedTypes() - Static method in class mockit.integration.TestRunnerDecorator
 
DLOAD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DMUL - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DNEG - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
doBusinessOperationXyz() - Method in class tutorial.domain.MyBusinessService
 
doInSynchronizedBlock() - Method in class integrationTests.otherControlStructures.SynchronizedBlocks
 
doInSynchronizedBlockWithParameter(boolean) - Method in class integrationTests.otherControlStructures.SynchronizedBlocks
 
doProceed(Object[]) - Method in class mockit.internal.BaseInvocation
 
doSomething() - Static method in class integrationTests.ClassWithNestedClasses
Do something.
doSomething() - Static method in class integrationTests.ClassWithReferenceToNestedClass
Do something.
doSomething() - Method in interface integrationTests.InterfaceWithExecutableCode
Do something.
doSomething(int) - Method in class java8testing.Collaborator
Do something.
doSomething(int, String) - Method in class integrationTests.ClassNotExercised
Do something.
doSomething(ClassInDefaultPackage.NestedEnum) - Method in class ClassInDefaultPackage
Do something.
doSomething(ClassInRegularPackage.NestedEnum) - Method in class integrationTests.ClassInRegularPackage
Do something.
doSomething(String, boolean) - Method in interface integrationTests.AnInterface
Do something.
DOUBLE - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
The DOUBLE type.
DOUBLE - Static variable in interface mockit.asm.jvmConstants.ArrayElementType
 
DOUBLE - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
DoubleItem - Class in mockit.asm.constantPool
 
DoubleItem(int) - Constructor for class mockit.asm.constantPool.DoubleItem
 
DREM - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DRETURN - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DSTORE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DSUB - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DUP - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DUP_X1 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DUP_X2 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DUP2 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DUP2_X1 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DUP2_X2 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
DYNAMIC - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
DynamicItem - Class in mockit.asm.constantPool
 
DynamicItem(int) - Constructor for class mockit.asm.constantPool.DynamicItem
 

E

Edge - Class in mockit.asm.controlFlow
An edge in the control flow graph of a method body.
Edge(int, Label) - Constructor for class mockit.asm.controlFlow.Edge
 
ELEMENT_OF - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
Constant to be added to a type to get a type with one less dimension.
empty - Variable in class mockit.coverage.lines.LineSegmentData
 
EmptyProxy - Interface in mockit.internal.reflection
This marker interface exists only to guarantee that JMockit can get the bytecode definition of each Proxy class it creates through java.lang.reflect.Proxy.
EmptyProxy.Impl - Class in mockit.internal.reflection
 
endCurrentReplayIfAny() - Static method in class mockit.internal.expectations.RecordAndReplayExecution
 
endInvocations() - Static method in class mockit.internal.expectations.ActiveInvocations
 
ensureThatClassIsInitialized(Class<?>) - Static method in class mockit.internal.state.TestRun
 
ensureThatMemberIsAccessible(AccessibleObject) - Static method in class mockit.internal.util.Utilities
 
enterNoMockingZone() - Static method in class mockit.internal.state.TestRun
 
EntityX - Class in tutorial.domain
 
EntityX() - Constructor for class tutorial.domain.EntityX
 
EntityX(int, String, String) - Constructor for class tutorial.domain.EntityX
 
ENUM - Static variable in class mockit.asm.jvmConstants.Access
 
EqualityMatcher - Class in mockit.internal.expectations.argumentMatching
 
equals(Object) - Method in class mockit.asm.types.PrimitiveType
 
equals(Object) - Method in class mockit.asm.types.ReferenceType
 
equals(Object) - Method in class mockit.asm.util.MethodHandle
 
equals(Object) - Method in class mockit.internal.ClassIdentification
 
equals(Object) - Method in class mockit.internal.injection.InjectionPoint
 
equals(Object) - Method in class petclinic.util.BaseEntity
 
errorForMissingExpectations(ExpectedInvocation, List<ExpectedInvocation>) - Method in class mockit.internal.expectations.invocation.InvocationConstraints
 
errorForMissingInvocation(List<ExpectedInvocation>) - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
errorForMissingInvocations(int, List<ExpectedInvocation>) - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
errorForUnexpectedInvocation() - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
errorForUnexpectedInvocation(Object[]) - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
errorForUnexpectedInvocations(Object[], int) - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
eval1(boolean, boolean, int) - Method in class integrationTests.BooleanExpressions
Eval 1.
eval2(boolean, boolean, int) - Method in class integrationTests.BooleanExpressions
Eval 2.
eval3(boolean, boolean, boolean) - Method in class integrationTests.BooleanExpressions
Eval 3.
eval4(boolean, boolean, boolean) - Method in class integrationTests.BooleanExpressions
Eval 4.
eval5(boolean, boolean, boolean) - Method in class integrationTests.BooleanExpressions
Eval 5.
evaluateOverride(Object, String, Object[]) - Static method in class mockit.internal.util.ObjectMethods
 
EXCEPTION - Static variable in class mockit.asm.controlFlow.Edge
Denotes a control flow graph edge corresponding to an exception handler.
ExceptionHandling - Class in mockit.asm.exceptionHandling
 
ExceptionHandling(ConstantPoolGeneration) - Constructor for class mockit.asm.exceptionHandling.ExceptionHandling
 
execute(int) - Method in class mockit.asm.controlFlow.Frame
Simulates the action of the given zero-operand instruction on the output stack frame.
execute(int, TypeOrMemberItem) - Method in class mockit.asm.controlFlow.Frame
Simulates the action of the given instruction on the output stack frame.
executeInitializationMethodsIfAny(Class<?>, Object) - Method in class mockit.internal.injection.LifecycleMethods
 
ExecutingTest - Class in mockit.internal.expectations.state
 
ExecutingTest() - Constructor for class mockit.internal.expectations.state.ExecutingTest
 
ExecutionMode - Enum in mockit.internal.expectations
 
exitNoMockingZone() - Static method in class mockit.internal.state.TestRun
 
Expectations - Class in mockit
Used to record expectations on mocked types and their instances.
Expectations() - Constructor for class mockit.Expectations
Registers one or more expectations recorded on available mocked types and/or mocked instances, as written inside the instance initialization body of an anonymous subclass.
Expectations(Object...) - Constructor for class mockit.Expectations
Same as Expectations(), except that one or more objects will be partially mocked according to the expectations recorded in the expectation block.
ExpectationsTransformer - Class in mockit.internal.expectations.transformation
 
ExpectationsTransformer() - Constructor for class mockit.internal.expectations.transformation.ExpectationsTransformer
 
ExpectedInvocation - Class in mockit.internal.expectations.invocation
 
ExpectedInvocation(Object, int, String, String, boolean, String, Object[]) - Constructor for class mockit.internal.expectations.invocation.ExpectedInvocation
 
ExpectedInvocation(Object, String, String, String, Object[]) - Constructor for class mockit.internal.expectations.invocation.ExpectedInvocation
 
extractArguments(int, Object[]) - Static method in class mockit.internal.ClassLoadingBridge
 
extractArgumentType(int) - Static method in class mockit.internal.expectations.transformation.ArgumentCapturing
 
extractNames(Class<?>) - Static method in class mockit.internal.util.ParameterNameExtractor
 

F

F2D - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
F2I - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
F2L - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
FADD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
FakeBeanFactory - Class in mockit.integration.springframework
If applied, this fake will take over calls to AbstractBeanFactory.getBean(String) and AbstractBeanFactory.getBean(String, Class) in any implementation class, returning instead a @Tested or @Injectable object with the given field name, or a dependency object injected at any level into a @Tested object.
FakeBeanFactory() - Constructor for class mockit.integration.springframework.FakeBeanFactory
 
FakeBridge - Class in mockit.internal.faking
 
FakeClasses - Class in mockit.internal.faking
 
FakeClasses() - Constructor for class mockit.internal.faking.FakeClasses
 
FakeClasses.MockUpInstances - Class in mockit.internal.faking
 
FakeClasses.SavePoint - Class in mockit.internal.faking
 
FakeClassSetup - Class in mockit.internal.faking
 
FakeClassSetup(Class<?>, Class<?>, Type, MockUp<?>) - Constructor for class mockit.internal.faking.FakeClassSetup
 
FakedImplementationClass<T> - Class in mockit.internal.faking
 
FakedImplementationClass(MockUp<?>) - Constructor for class mockit.internal.faking.FakedImplementationClass
 
FakeFrameworkMethod - Class in mockit.integration.junit4
Startup fake that modifies the JUnit 4.5+ test runner so that it calls back to JMockit immediately after every test executes.
FakeFrameworkMethod() - Constructor for class mockit.integration.junit4.FakeFrameworkMethod
 
FakeInvocation - Class in mockit.internal.faking
An invocation to a fake method.
FakeMethodBridge - Class in mockit.internal.faking
 
FakeRunNotifier - Class in mockit.integration.junit4
Startup fake which works in conjunction with JUnit4TestRunnerDecorator to provide JUnit 4.5+ integration.
FakeRunNotifier() - Constructor for class mockit.integration.junit4.FakeRunNotifier
 
fakeStates - Variable in class mockit.internal.faking.FakeClasses
 
FakeStates - Class in mockit.internal.faking
Holds state associated with fake class containing annotated fakes.
FakeStates() - Constructor for class mockit.internal.faking.FakeStates
 
FALOAD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
FASTORE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
FCMPG - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
FCMPL - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
FCONST_0 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
FCONST_1 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
FCONST_2 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
FDIV - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
field - Variable in class mockit.internal.expectations.mocking.MockedType
 
FIELD_REF - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
fieldAssigned(Object, String, String) - Static method in class mockit.coverage.TestRun
 
fieldAssigned(String, String) - Static method in class mockit.coverage.TestRun
 
FieldData - Class in mockit.coverage.dataItems
 
FieldData() - Constructor for class mockit.coverage.dataItems.FieldData
 
FieldInjection - Class in mockit.internal.injection.field
 
FieldInjection(InjectionState, FullInjection) - Constructor for class mockit.internal.injection.field.FieldInjection
 
FIELDORMETH - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
fieldRead(Object, String, String) - Static method in class mockit.coverage.TestRun
 
fieldRead(String, String) - Static method in class mockit.coverage.TestRun
 
FieldReader - Class in mockit.asm.fields
 
FieldReader(ClassReader, ClassVisitor) - Constructor for class mockit.asm.fields.FieldReader
 
FieldReflection - Class in mockit.internal.reflection
 
FieldToInject - Class in mockit.internal.injection.field
 
FieldToInject(Field) - Constructor for class mockit.internal.injection.field.FieldToInject
 
FieldTypeRedefinitions - Class in mockit.internal.expectations.mocking
 
FieldTypeRedefinitions(Class<?>) - Constructor for class mockit.internal.expectations.mocking.FieldTypeRedefinitions
 
FieldVisitor - Class in mockit.asm.fields
A visitor to visit a Java field, in the following order: (BaseWriter.visitAnnotation(java.lang.String))* BaseWriter.visitEnd().
FieldVisitor(ClassWriter, int, String, String, String, Object) - Constructor for class mockit.asm.fields.FieldVisitor
Initializes a new field visitor.
FileCoverageData - Class in mockit.coverage.data
Coverage data gathered for the lines, branching points, and fields of a single source file.
FileCoverageReport - Class in mockit.coverage.reporting.sourceFiles
Generates an HTML page containing line-by-line coverage information for a single source file.
FileCoverageReport(String, InputFile, FileCoverageData, boolean) - Constructor for class mockit.coverage.reporting.sourceFiles.FileCoverageReport
 
FileParser - Class in mockit.coverage.reporting.parsing
 
FileParser() - Constructor for class mockit.coverage.reporting.parsing.FileParser
 
fillLastModifiedTimesForAllClassFiles() - Method in class mockit.coverage.data.CoverageData
 
fillOutDependenciesRecursively(Object, TestedClass) - Method in class mockit.internal.injection.Injector
 
filter() - Method in class mockit.internal.util.StackTrace
 
filterStackTrace(Throwable) - Static method in class mockit.internal.util.StackTrace
 
FINAL - Static variable in class mockit.asm.jvmConstants.Access
 
find(int, String, Object...) - Method in class petclinic.util.Database
Finds one or more persistent entities of a certain type in the application database, up to a given maximum number of entities.
find(Class<E>, Object) - Static method in class tutorial.persistence.Database
 
find(String) - Static method in class jmockit.loginExample.domain.userAccount.UserAccount
 
find(String, Object...) - Method in class petclinic.util.Database
Finds one or more persistent entities of a certain type in the application database.
find(String, Object...) - Static method in class tutorial.persistence.Database
 
findAll() - Method in class petclinic.vets.VetMaintenance
 
findById(int) - Method in class petclinic.owners.OwnerMaintenance
 
findById(int) - Method in class petclinic.pets.PetMaintenance
 
findById(int) - Method in class petclinic.visits.VisitMaintenance
 
findById(Class<E>, int) - Method in class petclinic.util.Database
Finds an entity in the application database given its class and unique id.
findByLastName(String) - Method in class petclinic.owners.OwnerMaintenance
Finds the owners whose last name starts with the given name.
findByPetId(int) - Method in class petclinic.visits.VisitMaintenance
 
findCompatibleMethod(Class<?>, String, Class<?>[]) - Static method in class mockit.internal.reflection.MethodReflection
 
findConstructorToUse() - Method in class mockit.internal.injection.constructor.ConstructorSearch
 
findInstanceFactory(Type) - Method in class mockit.internal.state.MockFixture
 
findLifecycleMethods(Class<?>) - Method in class mockit.internal.injection.LifecycleMethods
 
findNextBranchingPoint() - Method in class mockit.coverage.reporting.parsing.LineElement
 
findNextInjectableForInjectionPoint(TestedClass) - Method in class mockit.internal.injection.InjectionProviders
 
findNonPrivateHandlerMethod(Object) - Static method in class mockit.internal.reflection.MethodReflection
 
findOwners() - Method in class petclinic.owners.OwnerScreen
 
findPetTypes() - Method in class petclinic.pets.PetMaintenance
Finds all pet types.
findPreviouslyAppliedMockUps(MockUp<?>) - Method in class mockit.internal.faking.FakeClasses
 
findRealMember() - Method in class mockit.internal.BaseInvocation
 
findRealMember() - Method in class mockit.internal.faking.FakeInvocation
 
findTestedAndInjectableMembers(Class<?>) - Method in class mockit.internal.injection.TestedClassInstantiations
 
findWord(String) - Method in class mockit.coverage.reporting.parsing.LineElement
 
finishCurrentTestExecution() - Static method in class mockit.internal.state.TestRun
 
finishExecution() - Method in class mockit.internal.expectations.state.ExecutingTest
 
fireTestRunFinished(Invocation, Result) - Static method in class mockit.integration.junit4.FakeRunNotifier
 
fireTestRunStarted(Invocation, Description) - Static method in class mockit.integration.junit4.FakeRunNotifier
 
fireTestStarted(Invocation, Description) - Static method in class mockit.integration.junit4.FakeRunNotifier
 
First - Enum constant in enum ClassInDefaultPackage.NestedEnum
The First.
First - Enum constant in enum integrationTests.ClassInRegularPackage.NestedEnum
The First.
firstName - Variable in class petclinic.util.Person
 
FLOAD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
FLOAT - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
The FLOAT type.
FLOAT - Static variable in interface mockit.asm.jvmConstants.ArrayElementType
 
FLOAT - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
FloatItem - Class in mockit.asm.constantPool
 
FloatItem(int) - Constructor for class mockit.asm.constantPool.FloatItem
 
FMUL - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
FNEG - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ForStatements - Class in integrationTests.loops
 
ForStatements() - Constructor for class integrationTests.loops.ForStatements
 
Frame - Class in mockit.asm.controlFlow
Information about the input and output stack map frames of a basic block.
FrameTypeMask - Interface in mockit.asm.controlFlow
 
FREM - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
FRETURN - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
FSTORE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
FSUB - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
fullInjection - Variable in class mockit.internal.injection.Injector
 
FullInjection - Class in mockit.internal.injection.full
Responsible for recursive injection of dependencies into a @Tested(fullyInitialized = true) object.
FullInjection(InjectionState, Class<?>, String) - Constructor for class mockit.internal.injection.full.FullInjection
 
FullVerifications - Class in mockit
Same as Verifications, but checking that all invocations from code under test are explicitly verified, except for those already verified through other means.
FullVerifications() - Constructor for class mockit.FullVerifications
Begins full verification on the mocked types/instances that can potentially be invoked from code under test.
FullVerifications(Object...) - Constructor for class mockit.FullVerifications
Same as FullVerifications(), but restricting the verification to the specified mocked types and/or mocked instances.
fullyInitialized() - Element in annotation type mockit.Tested
Indicates that each non-final field of the tested object that is eligible for injection should be assigned a value, which can be an available @Injectable or @Tested value of a type assignable to the field type, or a real (unmocked) instance of the field type.

G

gatherCoverageData() - Method in class mockit.coverage.modification.ClassesNotLoaded
 
generate() - Method in class mockit.coverage.reporting.CoverageReport
 
generate() - Method in class mockit.coverage.reporting.packages.IndexPage
 
generate() - Method in class mockit.coverage.reporting.sourceFiles.FileCoverageReport
 
generateCallToInvocationHandler() - Method in class mockit.internal.BaseClassModifier
 
generateCastFromObject(MethodVisitor, JavaType) - Static method in class mockit.internal.util.TypeConversionBytecode
 
generateCastOrUnboxing(MethodVisitor, JavaType, int) - Static method in class mockit.internal.util.TypeConversionBytecode
 
generateCastToObject(MethodVisitor, JavaType) - Static method in class mockit.internal.util.TypeConversionBytecode
 
generateClass() - Method in class mockit.internal.classGeneration.ImplementationClass
 
generateCodeToCreateArrayOfObject(int) - Method in class mockit.internal.BaseClassModifier
 
generateCodeToFillArrayElement(int, Object) - Method in class mockit.internal.BaseClassModifier
 
generateCodeToFillArrayWithParameterValues(JavaType[], int, int) - Method in class mockit.internal.BaseClassModifier
 
generateCodeToObtainInstanceOfClassLoadingBridge(ClassLoadingBridge) - Method in class mockit.internal.BaseClassModifier
 
generateCodeToPassThisOrNullIfStaticMethod() - Method in class mockit.internal.BaseClassModifier
 
GeneratedClasses - Class in mockit.internal.util
 
generatedClassName - Variable in class mockit.internal.classGeneration.ImplementationClass
 
generateDirectCallToHandler(String, int, String, String, String) - Method in class mockit.internal.BaseClassModifier
 
generateDirectCallToHandler(String, int, String, String, String, ExecutionMode) - Method in class mockit.internal.BaseClassModifier
 
generateEmptyImplementation() - Method in class mockit.internal.BaseClassModifier
 
generateEmptyImplementation(String) - Method in class mockit.internal.BaseClassModifier
 
generateInterceptionCode() - Method in class mockit.internal.BaseClassModifier
 
generateMethodImplementation(String, int, String, String, String, String[]) - Method in class mockit.internal.classGeneration.BaseSubclassGenerator
 
generateMethodImplementation(String, int, String, String, String, String[]) - Method in class mockit.internal.expectations.mocking.SubclassGenerationModifier
 
generateReturnWithObjectAtTopOfTheStack(String) - Method in class mockit.internal.BaseClassModifier
 
genericTypeMap - Variable in class mockit.internal.classGeneration.MockedTypeInfo
 
GenericTypeReflection - Class in mockit.internal.reflection
 
GenericTypeReflection(Class<?>, Type) - Constructor for class mockit.internal.reflection.GenericTypeReflection
 
GenericTypeReflection(Class<?>, Type, boolean) - Constructor for class mockit.internal.reflection.GenericTypeReflection
 
GenericTypeReflection.GenericSignature - Class in mockit.internal.reflection
 
getAccess() - Method in class mockit.asm.classes.ClassReader
Returns the class's access flags.
getAccessFlags() - Method in class mockit.asm.metadata.ClassMetadataReader
 
getAddress() - Method in class petclinic.owners.Owner
 
getAnnotatedDeclaredMethod(Class<?>, Class<? extends Annotation>) - Static method in class mockit.internal.util.Utilities
 
getAnnotatedMethod(Class<?>, Class<? extends Annotation>) - Static method in class mockit.internal.util.Utilities
 
getAnnotations() - Method in class mockit.asm.metadata.ClassMetadataReader
 
getAnnotations() - Method in class mockit.internal.injection.field.FieldToInject
 
getAnnotations() - Method in class mockit.internal.injection.InjectionProvider
 
getAnnotationsSize() - Method in class mockit.asm.BaseWriter
 
getArgSizeComputingIfNeeded(String) - Method in class mockit.asm.constantPool.TypeOrMemberItem
Recovers the stack size variation from this constant pool item, computing and storing it if needed.
getArgumentsAndReturnSizes(String) - Static method in class mockit.asm.types.JavaType
Computes the size of the arguments and of the return value of a method.
getArgumentTypes(String) - Static method in class mockit.asm.types.JavaType
Returns the Java types corresponding to the argument types of the given method descriptor.
getArgumentTypesFromArgumentValues(Object...) - Static method in class mockit.internal.reflection.ParameterReflection
 
getArgumentValues() - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
getArrayElementType(PrimitiveType) - Static method in class mockit.asm.types.PrimitiveType
Maps a PrimitiveType to the corresponding ArrayElementType.
getArrayField() - Method in class integrationTests.data.ClassWithInstanceFields
 
getBean(Class<T>) - Method in class mockit.integration.springframework.TestWebApplicationContext
 
getBean(Class<T>) - Method in class mockit.internal.injection.BeanExporter
 
getBean(String) - Method in class mockit.integration.springframework.TestWebApplicationContext
 
getBean(String) - Method in class mockit.internal.injection.BeanExporter
 
getBean(String, Class<T>) - Method in class mockit.integration.springframework.TestWebApplicationContext
 
getBean(Invocation, Class<T>) - Static method in class mockit.integration.springframework.FakeBeanFactory
 
getBean(Invocation, String) - Static method in class mockit.integration.springframework.FakeBeanFactory
 
getBean(Invocation, String, Class<T>) - Static method in class mockit.integration.springframework.FakeBeanFactory
 
getBeanExporter() - Method in class mockit.internal.injection.TestedClassInstantiations
 
getBirthDate() - Method in class petclinic.pets.Pet
 
getBranchData(int) - Method in class mockit.coverage.lines.LineCoverageData
 
getBranchData(int, int) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
getBranches() - Method in class mockit.coverage.lines.LineCoverageData
 
getBSMCodeIndex(int) - Method in class mockit.asm.classes.ClassReader
 
getBytecode() - Method in class mockit.asm.classes.ClassReader
Returns the bytecode array of the Java classfile that was read.
getByteField() - Method in class integrationTests.data.ClassWithInstanceFields
 
getCallPoints() - Method in class mockit.coverage.lines.LineSegmentData
 
getCaptureOfImplementationsIfApplicable(Class<?>) - Method in class mockit.internal.capturing.CaptureTransformer
 
getCaptureOfNewInstances() - Method in class mockit.internal.expectations.mocking.TypeRedefinitions
 
getCapturesForAllBaseTypes() - Method in class mockit.internal.expectations.mocking.CaptureOfNewInstances
 
getCascadingTypes() - Method in class mockit.internal.expectations.state.ExecutingTest
 
getCharField() - Method in class integrationTests.data.ClassWithInstanceFields
 
getCity() - Method in class petclinic.owners.Owner
 
getClassDesc() - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
getClassfile(Class<?>) - Static method in class mockit.internal.state.CachedClassfiles
 
getClassfile(ClassLoader, String) - Static method in class mockit.internal.state.CachedClassfiles
 
getClassfile(String) - Static method in class mockit.internal.state.CachedClassfiles
 
getClassFile(Class<?>) - Static method in class mockit.internal.ClassFile
 
getClassFile(ClassLoader, String) - Static method in class mockit.internal.ClassFile
 
getClassFile(String) - Static method in class mockit.internal.ClassFile
 
getClassFileLocationPath(Class<?>) - Static method in class mockit.internal.util.Utilities
 
getClassFileLocationPath(CodeSource) - Static method in class mockit.internal.util.Utilities
 
getClassForType(JavaType) - Static method in class mockit.internal.util.TypeDescriptor
 
getClassIfLoaded(String) - Static method in class mockit.internal.startup.Startup
 
getClassLoaderWithAccess(Class<?>) - Static method in class mockit.internal.util.ClassLoad
 
getClassName() - Method in class mockit.asm.types.ArrayType
 
getClassName() - Method in class mockit.asm.types.JavaType
Returns the binary name of the class corresponding to this type.
getClassName() - Method in class mockit.asm.types.MethodType
 
getClassName() - Method in class mockit.asm.types.ObjectType
 
getClassName() - Method in class mockit.asm.types.PrimitiveType
 
getClassName() - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
getClassOfDeclaredType() - Method in class mockit.internal.expectations.mocking.MockedType
 
getClassOfDeclaredType() - Method in class mockit.internal.injection.field.FieldToInject
 
getClassOfDeclaredType() - Method in class mockit.internal.injection.InjectionProvider
 
getClassType() - Method in class mockit.internal.expectations.mocking.MockedType
 
getClassType(Type) - Static method in class mockit.internal.util.Utilities
 
getClassVersion() - Method in class mockit.asm.classes.ClassWriter
 
getCollaborator() - Method in class java8testing.BusinessService
Gets the collaborator.
getConstantPoolGeneration() - Method in class mockit.asm.BaseWriter
Returns the constant pool generation helper object used by this writer.
getConstOpcode() - Method in class mockit.asm.types.JavaType
 
getConstOpcode() - Method in class mockit.asm.types.PrimitiveType
 
getConstOpcode() - Method in class mockit.asm.types.ReferenceType
 
getConstructorDescriptor(Constructor<?>) - Static method in class mockit.asm.types.JavaType
Returns the descriptor corresponding to the given constructor.
getContents() - Method in class mockit.coverage.reporting.ListOfCallPoints
 
getCorrespondingPrimitiveTypeIfWrapperType(String) - Static method in class mockit.asm.types.PrimitiveType
 
getCoveragePercentage() - Method in class mockit.coverage.data.FileCoverageData
 
getCoveragePercentage() - Method in interface mockit.coverage.data.PerFileCoverage
 
getCoveragePercentage() - Method in class mockit.coverage.dataItems.PerFileDataCoverage
 
getCoveragePercentage() - Method in class mockit.coverage.lines.PerFileLineCoverage
 
getCoveredItems() - Method in class mockit.coverage.data.FileCoverageData
 
getCoveredItems() - Method in interface mockit.coverage.data.PerFileCoverage
 
getCoveredItems() - Method in class mockit.coverage.dataItems.PerFileDataCoverage
 
getCoveredItems() - Method in class mockit.coverage.lines.PerFileLineCoverage
 
getCurrentBlock() - Method in class mockit.asm.methods.MethodWriter
 
getCurrentlyPendingClass() - Method in class mockit.coverage.reporting.parsing.FileParser
 
getCurrentRecordAndReplay() - Method in class mockit.internal.expectations.state.ExecutingTest
 
getCurrentTestClass() - Static method in class mockit.internal.state.TestRun
 
getCurrentTestInstance() - Static method in class mockit.internal.state.TestRun
 
getCustomerEmail() - Method in class tutorial.domain.EntityX
 
getData() - Method in class mockit.asm.util.ByteVector
Returns the byte ByteVector.data.
getDate() - Method in class petclinic.visits.Visit
 
getDeclaredClass() - Method in class mockit.internal.injection.TestedClass
 
getDeclaredField(Class<?>, String, boolean) - Static method in class mockit.internal.reflection.FieldReflection
 
getDeclaredType() - Method in class mockit.internal.injection.InjectionProvider
 
getDefaultValueForReturnType() - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
getDepth() - Method in class mockit.internal.util.StackTrace
 
getDesc() - Method in class mockit.asm.constantPool.TypeOrMemberItem
 
getDescription() - Method in class mockit.internal.injection.constructor.ConstructorSearch
 
getDescription() - Method in class petclinic.visits.Visit
 
getDescriptor() - Method in class mockit.asm.types.JavaType
Returns the descriptor corresponding to this Java type.
getDimensions() - Method in class mockit.asm.types.ArrayType
Returns the number of dimensions of this array type.
getDoubleField() - Method in class integrationTests.data.ClassWithInstanceFields
 
getElement(int) - Method in class mockit.internal.util.StackTrace
 
getElementType() - Method in class mockit.asm.types.ArrayType
Returns the type of the elements of this array type.
getExecutableLineCount() - Method in class mockit.coverage.lines.PerFileLineCoverage
 
getExecutingTest() - Static method in class mockit.internal.state.TestRun
 
getExecutionCount() - Method in class mockit.coverage.lines.LineSegmentData
 
getExecutionCount(int) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
getFake(String, Object) - Method in class mockit.internal.faking.FakeClasses
 
getFake(String, Object) - Static method in class mockit.internal.state.TestRun
 
getFakeClasses() - Static method in class mockit.internal.state.TestRun
 
getFakeStates() - Static method in class mockit.internal.state.TestRun
 
getField(Class<?>, Class<T>) - Static method in class mockit.Deencapsulation
Gets the value of a non-accessible static field defined in a given class, assuming there is only one field declared in the given class whose type can receive values of the specified field type.
getField(Class<?>, Class<T>, Object) - Static method in class mockit.internal.reflection.FieldReflection
 
getField(Class<?>, String) - Static method in class mockit.Deencapsulation
Gets the value of a non-accessible static field defined in a given class.
getField(Class<?>, String, Object) - Static method in class mockit.internal.reflection.FieldReflection
 
getField(Object, Class<T>) - Static method in class mockit.Deencapsulation
Gets the value of a non-accessible (eg private) field from a given object, assuming there is only one field declared in the class of the given object whose type can receive values of the specified field type.
getField(Object, String) - Static method in class mockit.Deencapsulation
Gets the value of a non-accessible (eg private) field from a given object.
GETFIELD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
getFields() - Method in class mockit.asm.metadata.ClassMetadataReader
 
getFieldTypeRedefinitions() - Static method in class mockit.internal.state.TestRun
 
getFieldValue(Field, Object) - Static method in class mockit.internal.reflection.FieldReflection
 
getFileData(int) - Method in class mockit.coverage.data.CoverageData
 
getFileData(String) - Method in class mockit.coverage.data.CoverageData
 
getFileToFileData() - Method in class mockit.coverage.data.CoverageData
 
getFinalField() - Method in class integrationTests.data.ClassWithInstanceFields
 
getFirst() - Method in class mockit.asm.controlFlow.Label
Returns the first label of the series to which this label belongs.
getFirstFrame() - Method in class mockit.asm.controlFlow.CFGAnalysis
 
getFirstName() - Method in class petclinic.util.Person
 
getFloatField() - Method in class integrationTests.data.ClassWithInstanceFields
 
getFrame() - Method in class mockit.asm.controlFlow.Label
Returns the Label.frame this basic block belongs to, if any.
getGeneratedBytecode() - Method in class mockit.internal.classGeneration.ImplementationClass
 
getGlobalDependency(InjectionPoint) - Static method in class mockit.internal.injection.InjectionState
 
getHashCode() - Method in class mockit.asm.constantPool.Item
Returns the Item.hashCode value.
getId() - Method in class jmockit.loginExample.domain.userAccount.UserAccount
 
getId() - Method in class petclinic.util.BaseEntity
 
getId() - Method in class tutorial.domain.EntityX
 
getInitialElement() - Method in class mockit.coverage.reporting.parsing.LineParser
 
getInjectableParameters() - Method in class mockit.internal.expectations.mocking.ParameterTypeRedefinitions
 
getInnerValue() - Method in class mockit.internal.expectations.argumentMatching.HamcrestAdapter
 
getInstance2() - Method in class integrationTests.data.ClassWithFields
 
getInstance3() - Method in class integrationTests.data.ClassWithFields
 
getInstanceField1() - Method in class integrationTests.data.ClassWithFieldsAccessedByMultipleTests
 
getInstanceField2() - Method in class integrationTests.data.ClassWithFieldsAccessedByMultipleTests
 
getInstanceFieldData(String) - Method in class mockit.coverage.dataItems.PerFileDataCoverage
 
getInstanceMap() - Method in class mockit.internal.expectations.BaseVerificationPhase
 
getInstanceMap() - Method in class mockit.internal.expectations.RecordPhase
 
getInstanceMap() - Method in class mockit.internal.expectations.TestOnlyPhase
 
getInstantiatedDependency(TestedClass, InjectionPoint) - Method in class mockit.internal.injection.InjectionState
 
getInterfaces() - Method in class mockit.asm.metadata.ClassMetadataReader
 
getInternalClassName() - Method in class mockit.asm.classes.ClassWriter
 
getInternalName() - Method in class mockit.asm.types.ReferenceType
Returns the internal name of the class corresponding to this object or array type.
getInternalName(int) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
 
getInternalName(Class<?>) - Static method in class mockit.asm.types.JavaType
Returns the internal name of the given class.
getIntField() - Method in class integrationTests.data.ClassWithInstanceFields
 
getInvocationCause() - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
getInvocationCount() - Method in class mockit.Invocation
Returns the current invocation count.
getInvocationIndex() - Method in class mockit.Invocation
Returns the index for the current invocation.
getInvokedArguments() - Method in class mockit.Invocation
Returns the actual argument values passed in the invocation to the target method/constructor.
getInvokedInstance() - Method in class mockit.Invocation
Returns the instance on which the current invocation was made, or null for a static method invocation.
getInvokedMember() - Method in class mockit.Invocation
Returns the Method or Constructor object corresponding to the target method or constructor, respectively.
getItem(int) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
 
getLabelForCurrentBasicBlock() - Method in class mockit.asm.controlFlow.CFGAnalysis
 
getLabelForFirstBasicBlock() - Method in class mockit.asm.controlFlow.CFGAnalysis
 
getLastInstance() - Method in class mockit.internal.expectations.mocking.InstanceFactory
 
getLastName() - Method in class petclinic.owners.OwnerScreen
 
getLastName() - Method in class petclinic.util.Person
 
getLength() - Method in class mockit.asm.util.ByteVector
Returns the ByteVector.length of this vector, in bytes.
getLineCount() - Method in class mockit.coverage.lines.PerFileLineCoverage
 
getLineCoverageData() - Method in class mockit.coverage.data.FileCoverageData
 
getLineData(int) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
getLoadedClass() - Method in class mockit.internal.ClassIdentification
 
getLoadOpcode() - Method in class mockit.asm.types.JavaType
 
getLoadOpcode() - Method in class mockit.asm.types.PrimitiveType
 
getLoadOpcode() - Method in class mockit.asm.types.ReferenceType
 
getLongField() - Method in class integrationTests.data.ClassWithInstanceFields
 
getMarkerAttributeCount() - Method in class mockit.asm.BaseWriter
 
getMarkerAttributesSize() - Method in class mockit.asm.BaseWriter
 
getMatchers() - Method in class mockit.internal.expectations.invocation.InvocationArguments
 
getMaxInstancesToCapture() - Method in class mockit.internal.expectations.mocking.MockedType
 
getMember() - Method in class mockit.internal.reflection.RealMethodOrConstructor
 
getMergedType(int, int) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
Returns the index of the common super type of the two given types.
getMethodDescriptor(Method) - Static method in class mockit.asm.types.JavaType
Returns the descriptor corresponding to the given method.
getMethodNameAndDescription() - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
getMethods() - Method in class mockit.asm.metadata.ClassMetadataReader
 
getMock(String, String, Object, String, Class<?>) - Static method in class mockit.internal.expectations.state.MockedTypeCascade
 
getMock(String, String, Object, String, String) - Static method in class mockit.internal.expectations.state.MockedTypeCascade
 
getMockedClass(Object) - Static method in class mockit.internal.util.GeneratedClasses
 
getMockedClasses() - Method in class mockit.internal.state.MockFixture
 
getMockedClassOrInterfaceType(Class<?>) - Static method in class mockit.internal.util.GeneratedClasses
 
getMockInstance() - Method in class mockit.MockUp
Returns the mock instance exclusively associated with this mock-up instance.
getName() - Method in class mockit.asm.constantPool.TypeOrMemberItem
 
getName() - Method in class mockit.internal.injection.InjectionProvider
 
getName() - Method in class petclinic.pets.Pet
 
getName() - Method in class petclinic.pets.PetType
 
getName() - Method in class petclinic.vets.Specialty
 
getName(String, String, int) - Static method in class mockit.internal.state.ParameterNames
 
getName(TestMethod, int) - Static method in class mockit.internal.state.ParameterNames
 
getNameForGeneratedClass(Class<?>, String) - Static method in class mockit.internal.util.GeneratedClasses
 
getNameFromJNDILookup(String) - Static method in class mockit.internal.injection.InjectionPoint
 
getNewInstancesMatchingVerifiedConstructorInvocation() - Method in class mockit.internal.expectations.BaseVerificationPhase
 
getNext() - Method in class mockit.asm.constantPool.Item
Returns the Item.next item, if any.
getNext() - Method in class mockit.coverage.reporting.parsing.LineElement
 
getNextCodeElement() - Method in class mockit.coverage.reporting.parsing.LineElement
 
getNrOfSpecialties() - Method in class petclinic.vets.Vet
 
getNumber() - Method in class mockit.coverage.reporting.parsing.LineParser
 
getNumberOfBranchingSourcesAndTargets() - Method in class mockit.coverage.lines.LineCoverageData
 
getNumberOfBranchingSourcesAndTargets(int) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
getNumberOfCoveredBranchingSourcesAndTargets() - Method in class mockit.coverage.lines.LineCoverageData
 
getNumberOfCoveredSegments() - Method in class mockit.coverage.lines.LineCoverageData
 
getNumberOfSegments() - Method in class mockit.coverage.lines.LineCoverageData
 
getNumberOfSegments(int) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
getOffset() - Method in class mockit.asm.constantPool.UninitializedTypeTableItem
 
getOpcode(int) - Method in class mockit.asm.types.JavaType
Returns a JVM instruction opcode adapted to this Java type.
getOpcode(int) - Method in class mockit.asm.types.MethodType
 
getOpcode(int) - Method in class mockit.asm.types.PrimitiveType
 
getOpcode(int) - Method in class mockit.asm.types.ReferenceType
 
getOrAddFile(String, String) - Method in class mockit.coverage.data.CoverageData
 
getOrChooseOutputDirectory(String) - Static method in class mockit.coverage.Configuration
 
getOrChooseOutputDirectory(String, String) - Static method in class mockit.coverage.Configuration
 
getOrCreateLineData(int) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
getOrCreateRecordAndReplay() - Method in class mockit.internal.expectations.state.ExecutingTest
 
getOrCreateRecordAndReplayForRunningTest() - Static method in class mockit.internal.state.TestRun
 
getOwner() - Method in class petclinic.owners.OwnerScreen
 
getOwner() - Method in class petclinic.pets.Pet
 
getOwnerInstancesWithUnreadAssignments() - Method in class mockit.coverage.dataItems.InstanceFieldData
 
getOwners() - Method in class petclinic.owners.OwnerScreen
 
getParameterAnnotations(int) - Method in class mockit.internal.util.TestMethod
 
getParameterClass(int) - Method in class mockit.internal.util.TestMethod
 
getParameterCount() - Method in class mockit.internal.util.TestMethod
 
getParameterCount(Method) - Static method in class mockit.internal.reflection.ParameterReflection
 
getParameterRedefinitions() - Method in class mockit.internal.expectations.state.ExecutingTest
 
getParameterType() - Method in class mockit.internal.expectations.argumentMatching.ArgumentMismatch
 
getParameterType(int) - Method in class mockit.internal.util.TestMethod
 
getParameterTypes() - Method in class mockit.internal.util.MethodFormatter
 
getParameterTypes(String) - Static method in class mockit.internal.util.TypeDescriptor
 
getParameterValue(int) - Method in class mockit.internal.util.TestMethod
 
getPercentage(String) - Method in class mockit.coverage.data.CoverageData
Computes the coverage percentage over a subset of the available source files.
getPet() - Method in class petclinic.pets.PetScreen
 
getPet() - Method in class petclinic.visits.Visit
 
getPet() - Method in class petclinic.visits.VisitScreen
 
getPet(String) - Method in class petclinic.owners.Owner
Return the Pet with the given name, or null if none found for this Owner.
getPets() - Method in class petclinic.owners.Owner
 
getPrevious() - Method in class mockit.internal.BaseInvocation
 
getPreviousRecordAndReplay() - Method in class mockit.internal.expectations.state.ExecutingTest
 
getPrimitiveType(int) - Static method in class mockit.asm.types.PrimitiveType
 
getPrimitiveType(Class<?>) - Static method in class mockit.internal.util.AutoBoxing
 
getProperty(String) - Static method in class mockit.coverage.Configuration
 
getProperty(String, String) - Static method in class mockit.coverage.Configuration
 
getProviderByTypeAndOptionallyName(String, TestedClass) - Method in class mockit.internal.injection.InjectionProviders
 
getQualifiedName(Annotation[]) - Static method in class mockit.internal.injection.InjectionPoint
 
getReadCount() - Method in class mockit.coverage.dataItems.FieldData
 
getRealMember() - Method in class mockit.internal.BaseInvocation
 
getRecordAndReplayForRunningTest() - Static method in class mockit.internal.state.TestRun
 
getRecordAndReplayForVerifications() - Method in class mockit.internal.expectations.state.ExecutingTest
 
getRecordAndReplayForVerifications() - Static method in class mockit.internal.state.TestRun
 
getRecordPhase() - Method in class mockit.internal.expectations.RecordAndReplayExecution
 
getRedefinedClassfile(Class<?>) - Method in class mockit.internal.state.MockFixture
 
getRedundantTests() - Method in class mockit.coverage.testRedundancy.TestCoverage
 
getRepetitionCount() - Method in class mockit.coverage.CallPoint
 
getReturnType(String) - Static method in class mockit.asm.types.JavaType
Returns the Java type corresponding to the return type of the given method descriptor.
getReturnType(String) - Static method in class mockit.internal.util.TypeDescriptor
 
getReturnTypeDesc(String) - Static method in class mockit.internal.util.DefaultValues
 
getSignatureWithResolvedReturnType() - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
getSize() - Method in class mockit.asm.annotations.AnnotationVisitor
Returns the size of this annotation list.
getSize() - Method in class mockit.asm.constantPool.AttributeWriter
 
getSize() - Method in class mockit.asm.constantPool.ConstantPoolGeneration
 
getSize() - Method in class mockit.asm.controlFlow.StackMapTableWriter
 
getSize() - Method in class mockit.asm.exceptionHandling.ExceptionHandling
 
getSize() - Method in class mockit.asm.fields.FieldVisitor
Returns the size of this field.
getSize() - Method in class mockit.asm.methods.MethodWriter
Returns the size of the bytecode of this method.
getSize() - Method in class mockit.asm.SignatureWriter
 
getSize() - Method in class mockit.asm.types.JavaType
Returns the size of values of this type.
getSize() - Method in class mockit.asm.types.MethodType
 
getSize() - Method in class mockit.asm.types.PrimitiveType
 
getSize() - Method in class mockit.asm.types.ReferenceType
 
getSmallestPerFilePercentage() - Method in class mockit.coverage.data.CoverageData
Finds the source file with the smallest coverage percentage.
getSomeProperty() - Method in class tutorial.domain.EntityX
 
getSpecialties() - Method in class petclinic.vets.Vet
 
getStackTraceElement() - Method in class mockit.coverage.CallPoint
 
GETSTATIC - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
getStatic1() - Static method in class integrationTests.data.ClassWithFields
 
getStatic2() - Static method in class integrationTests.data.ClassWithFields
 
getStatic3() - Static method in class integrationTests.data.ClassWithFields
 
getStaticFieldData(String) - Method in class mockit.coverage.dataItems.PerFileDataCoverage
 
getSuccessor() - Method in class mockit.asm.controlFlow.Label
Returns this label's Label.successor, if any.
getSuperClass() - Method in class mockit.asm.metadata.ClassMetadataReader
 
getSuperClass(String) - Static method in class mockit.internal.util.ClassLoad
 
getSuperName() - Method in class mockit.asm.classes.ClassReader
Returns the internal of name of the super class.
getTargetClasses() - Method in class mockit.internal.expectations.mocking.TypeRedefinitions
 
getTelephone() - Method in class petclinic.owners.Owner
 
getTestedClassInstantiations() - Static method in class mockit.internal.state.TestRun
 
getTestedValue(TestedClass, InjectionPoint) - Method in class mockit.internal.injection.InjectionState
 
getTestId() - Static method in class mockit.internal.state.TestRun
 
getText() - Method in class mockit.coverage.reporting.parsing.LineElement
 
getThisClass() - Method in class mockit.asm.metadata.ClassMetadataReader
 
getTotal() - Method in class tutorial.domain.EntityX
 
getTotalItems() - Method in class mockit.coverage.data.FileCoverageData
 
getTotalItems() - Method in interface mockit.coverage.data.PerFileCoverage
 
getTotalItems() - Method in class mockit.coverage.dataItems.PerFileDataCoverage
 
getTotalItems() - Method in class mockit.coverage.lines.PerFileLineCoverage
 
getType() - Method in class mockit.asm.constantPool.Item
Returns the Item.type of this item.
getType() - Method in class mockit.asm.types.PrimitiveType
 
getType() - Method in class petclinic.pets.Pet
 
getType(int) - Static method in class mockit.asm.types.PrimitiveType
 
getType(String) - Static method in class mockit.asm.types.JavaType
Returns the Java type corresponding to the given type descriptor.
getTypeCode() - Method in class mockit.asm.types.PrimitiveType
 
getTypeOfInjectionPointFromVarargsParameter(Type) - Static method in class mockit.internal.injection.InjectionPoint
 
getTypes() - Method in class petclinic.pets.PetScreen
 
getUninitializedItemValue(int) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
 
getValue() - Method in class integrationTests.ClassLoadedByCustomLoaderOnly
Gets the value.
getValue() - Method in class mockit.asm.constantPool.ModuleItem
 
getValue() - Method in class mockit.asm.constantPool.PackageItem
 
getValue() - Method in class mockit.asm.constantPool.StringItem
 
getValue(Object) - Method in class mockit.internal.expectations.mocking.MockedType
 
getValue(Object) - Method in class mockit.internal.injection.InjectionProvider
 
getValues() - Method in class mockit.internal.expectations.invocation.InvocationArguments
 
getValueToInject(InjectionProvider) - Method in class mockit.internal.injection.InjectionState
 
getVersion() - Method in class mockit.asm.classes.ClassReader
Returns the classfile version of the class being read.
getVersion() - Method in class mockit.asm.metadata.ClassMetadataReader
 
getVets() - Method in class petclinic.vets.VetScreen
 
getVisit() - Method in class petclinic.visits.VisitScreen
 
getVisits() - Method in class petclinic.pets.Pet
 
getVisits() - Method in class petclinic.visits.VisitScreen
 
getWrapperType(Class<?>) - Static method in class mockit.internal.util.AutoBoxing
 
getWrapperTypeDesc() - Method in class mockit.asm.types.PrimitiveType
 
getWriteCount() - Method in class mockit.coverage.dataItems.FieldData
 
global() - Element in annotation type mockit.Tested
Indicates whether a single named instance of the tested class is to be created and used for the whole test run.
GOTO - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
GOTO_W - Static variable in interface mockit.asm.jvmConstants.Opcodes
 

H

HamcrestAdapter - Class in mockit.internal.expectations.argumentMatching
Adapts the org.hamcrest.Matcher interface to ArgumentMatcher.
HamcrestAdapter(Matcher<?>) - Constructor for class mockit.internal.expectations.argumentMatching.HamcrestAdapter
 
HANDLE_BASE - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
The base value for all CONSTANT_MethodHandle constant pool items.
handleMockFieldsForWholeTestClass(Object) - Static method in class mockit.integration.TestRunnerDecorator
 
handleTestExecutionException(ExtensionContext, Throwable) - Method in class mockit.integration.junit5.JMockitExtension
 
hasAnnotation(Class<? extends Annotation>) - Method in class mockit.internal.injection.InjectionProvider
 
hasAnnotation(String) - Method in class mockit.asm.metadata.ClassMetadataReader
 
hasAnnotation(String) - Method in class mockit.asm.metadata.ClassMetadataReader.FieldInfo
 
hasAnnotation(String) - Method in class mockit.asm.metadata.ClassMetadataReader.MethodInfo
 
hasEquivalentMatchers(InvocationArguments) - Method in class mockit.internal.expectations.invocation.InvocationArguments
 
hasFields() - Method in class mockit.coverage.dataItems.PerFileDataCoverage
 
hasHandlers() - Method in class mockit.asm.exceptionHandling.ExceptionHandling
 
hashCode() - Method in class mockit.asm.types.PrimitiveType
 
hashCode() - Method in class mockit.asm.types.ReferenceType
 
hashCode() - Method in class mockit.asm.util.MethodHandle
 
hashCode() - Method in class mockit.internal.ClassIdentification
 
hashCode() - Method in class mockit.internal.expectations.mocking.MockedType
 
hashCode() - Method in class mockit.internal.injection.InjectionPoint
 
hashCode() - Method in class petclinic.util.BaseEntity
 
hasLineData(int) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
hasMockUpsForSingleInstances() - Method in class mockit.internal.faking.FakeClasses.MockUpInstances
 
hasNamesForClass(String) - Static method in class mockit.internal.state.ParameterNames
 
hasStackMap() - Method in class mockit.asm.controlFlow.StackMapTableWriter
 
hasValidBranch(int, int) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
hostJREClassName - Static variable in class mockit.internal.ClassLoadingBridge
 
HOTSPOT_VM - Static variable in class mockit.internal.util.Utilities
 

I

I2B - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
I2C - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
I2D - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
I2F - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
I2L - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
I2S - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IADD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IALOAD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IAND - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IASTORE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ICONST_0 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ICONST_1 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ICONST_2 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ICONST_3 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ICONST_4 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ICONST_5 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ICONST_M1 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
id - Variable in class mockit.internal.ClassLoadingBridge
 
id - Variable in class petclinic.util.BaseEntity
 
IDIV - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IF_ACMPEQ - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IF_ACMPNE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IF_ICMPEQ - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IF_ICMPGE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IF_ICMPGT - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IF_ICMPLE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IF_ICMPLT - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IF_ICMPNE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IfElseStatements - Class in integrationTests
The Class IfElseStatements.
IfElseStatements() - Constructor for class integrationTests.IfElseStatements
 
IFEQ - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IFGE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IFGT - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IFLE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IFLT - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IFNE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IFNONNULL - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IFNULL - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IINC - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IINC_INSN - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
ILOAD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ILOAD_0 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IMETHOD_REF - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
ImplementationClass<T> - Class in mockit.internal.classGeneration
Allows the creation of new implementation classes for interfaces and abstract classes.
ImplementationClass(Class<?>) - Constructor for class mockit.internal.classGeneration.ImplementationClass
 
ImplementationClass(Class<?>, String) - Constructor for class mockit.internal.classGeneration.ImplementationClass
 
ImplementationClass(Type) - Constructor for class mockit.internal.classGeneration.ImplementationClass
 
implementationSignature - Variable in class mockit.internal.classGeneration.MockedTypeInfo
 
IMPLVAR - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
IMUL - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
incrementInvocationCount() - Method in class mockit.internal.expectations.invocation.InvocationConstraints
 
incrementRepetitionCount() - Method in class mockit.coverage.CallPoint
 
index - Variable in class mockit.asm.constantPool.Item
Index of this item in the constant pool.
index - Variable in class mockit.coverage.data.FileCoverageData
 
IndexPage - Class in mockit.coverage.reporting.packages
 
IndexPage(File, List<File>, Collection<String>, Map<String, List<String>>, Map<String, FileCoverageData>) - Constructor for class mockit.coverage.reporting.packages.IndexPage
 
INDYMETH - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
INEG - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
InequalityMatcher - Class in mockit.internal.expectations.argumentMatching
 
InequalityMatcher(Object) - Constructor for class mockit.internal.expectations.argumentMatching.InequalityMatcher
 
initializing - Static variable in class mockit.internal.startup.Startup
 
initialMockUp - Variable in class mockit.internal.faking.FakeClasses.MockUpInstances
 
INJECT_CLASS - Static variable in class mockit.internal.injection.InjectionPoint
 
injectable - Variable in class mockit.internal.expectations.mocking.MockedType
 
Injectable - Annotation Type in mockit
Indicates that the value of a mock field or mock parameter will be an isolated mocked instance, intended to be passed or injected into the code under test.
injectIntoEligibleFields(List<Field>, Object, TestedClass) - Method in class mockit.internal.injection.Injector
 
InjectionPoint - Class in mockit.internal.injection
 
InjectionPoint(Type) - Constructor for class mockit.internal.injection.InjectionPoint
 
InjectionPoint(Type, String) - Constructor for class mockit.internal.injection.InjectionPoint
 
InjectionPoint(Type, String, boolean) - Constructor for class mockit.internal.injection.InjectionPoint
 
InjectionPoint(Type, String, String) - Constructor for class mockit.internal.injection.InjectionPoint
 
InjectionPoint.KindOfInjectionPoint - Enum in mockit.internal.injection
 
InjectionProvider - Class in mockit.internal.injection
Provides type, name, and value(s) for an injection point, which is either a field to be injected or a parameter in the chosen constructor of a tested class.
InjectionProvider(Type, String) - Constructor for class mockit.internal.injection.InjectionProvider
 
injectionProviders - Variable in class mockit.internal.injection.InjectionState
 
InjectionProviders - Class in mockit.internal.injection
 
injectionState - Variable in class mockit.internal.injection.Injector
 
InjectionState - Class in mockit.internal.injection
Holds state used throughout the injection process while it's in progress for a given set of tested objects.
Injector - Class in mockit.internal.injection
 
Injector(InjectionState, FullInjection) - Constructor for class mockit.internal.injection.Injector
 
InputFile - Class in mockit.coverage.reporting.sourceFiles
 
insertListOfCallPoints(List<CallPoint>) - Method in class mockit.coverage.reporting.ListOfCallPoints
 
instance - Variable in class mockit.internal.expectations.invocation.ExpectedInvocation
 
instance() - Static method in class mockit.coverage.data.CoverageData
 
INSTANCE - Static variable in class mockit.coverage.testRedundancy.TestCoverage
 
INSTANCE - Static variable in class mockit.internal.expectations.argumentMatching.NonNullityMatcher
 
INSTANCE - Static variable in class mockit.internal.expectations.argumentMatching.NullityMatcher
 
INSTANCE - Static variable in class mockit.internal.reflection.MockInvocationHandler
 
INSTANCE - Static variable in class mockit.internal.state.CachedClassfiles
 
INSTANCE - Static variable in exception class mockit.internal.util.VisitInterruptedException
 
InstanceFactory - Class in mockit.internal.expectations.mocking
Factory for the creation of new mocked instances, and for obtaining/clearing the last instance created.
InstanceFieldData - Class in mockit.coverage.dataItems
 
InstanceFieldData() - Constructor for class mockit.coverage.dataItems.InstanceFieldData
 
instanceFieldsData - Variable in class mockit.coverage.dataItems.PerFileDataCoverage
 
INSTANCEOF - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
instanceOfClassThatParticipatesInClassLoading(Class<?>) - Static method in class mockit.internal.ClassLoadingBridge
 
instantiate(List<InjectionProvider>, TestedClass, boolean, boolean) - Method in class mockit.internal.injection.constructor.ConstructorInjection
 
instrumentation() - Static method in class mockit.internal.startup.Startup
 
INT - Static variable in interface mockit.asm.jvmConstants.ArrayElementType
 
INTEGER - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
The INTEGER type.
INTEGER - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
integers() - Element in annotation type integrationTests.AnAnnotation
Integers.
integrationTests - package integrationTests
 
integrationTests.data - package integrationTests.data
 
integrationTests.loops - package integrationTests.loops
 
integrationTests.otherControlStructures - package integrationTests.otherControlStructures
 
INTERFACE - Static variable in class mockit.asm.jvmConstants.Access
 
InterfaceImplementationGenerator - Class in mockit.internal.expectations.mocking
 
InterfaceImplementationGenerator(ClassReader, Type, String) - Constructor for class mockit.internal.expectations.mocking.InterfaceImplementationGenerator
 
interfaces - Variable in class mockit.asm.classes.ClassInfo
The internal names of the class's interfaces, if any.
InterfaceWithExecutableCode - Interface in integrationTests
The Interface InterfaceWithExecutableCode.
IntItem - Class in mockit.asm.constantPool
 
IntItem(int) - Constructor for class mockit.asm.constantPool.IntItem
 
Invocation - Class in mockit
A context object representing the current invocation to a mocked or faked method/constructor, to be passed as the first parameter of the corresponding delegate/fake method implementation.
Invocation(Object, Object[], int) - Constructor for class mockit.Invocation
For internal use only.
InvocationArguments - Class in mockit.internal.expectations.invocation
 
InvocationBlockModifier - Class in mockit.internal.expectations.transformation
 
InvocationConstraints - Class in mockit.internal.expectations.invocation
 
InvocationConstraints(boolean) - Constructor for class mockit.internal.expectations.invocation.InvocationConstraints
 
invocationCount - Variable in class mockit.internal.expectations.invocation.InvocationConstraints
 
InvocationResults - Class in mockit.internal.expectations.invocation
 
InvocationResults(ExpectedInvocation, InvocationConstraints) - Constructor for class mockit.internal.expectations.invocation.InvocationResults
 
invocations() - Element in annotation type mockit.Mock
Number of expected invocations of the mock method.
invoke(Class<?>, Object, String, Class<?>[], Object...) - Static method in class mockit.internal.reflection.MethodReflection
 
invoke(Class<?>, Object, String, Object...) - Static method in class mockit.internal.reflection.MethodReflection
 
invoke(Class<?>, String, Class<?>[], Object...) - Static method in class mockit.Deencapsulation
Invokes a non-accessible (eg private) static method with the given arguments.
invoke(Class<?>, String, Object...) - Static method in class mockit.Deencapsulation
Invokes a non-accessible (eg private) static method with the given arguments.
invoke(Object, Method, Object[]) - Method in class mockit.internal.expectations.mocking.MockedBridge
 
invoke(Object, Method, Object[]) - Method in class mockit.internal.faking.FakeBridge
 
invoke(Object, Method, Object[]) - Method in class mockit.internal.faking.FakeMethodBridge
 
invoke(Object, Method, Object...) - Static method in class mockit.internal.reflection.MethodReflection
 
invoke(Object, Method, Object[]) - Method in class mockit.internal.reflection.MockInvocationHandler
 
invoke(Object, String, Class<?>[], Object...) - Static method in class mockit.Deencapsulation
Invokes a non-accessible (eg private) instance method from a given class with the given arguments.
invoke(Object, String, Object...) - Static method in class mockit.Deencapsulation
Invokes a non-accessible (eg private) instance method from a given class with the given arguments.
invoke(String, String, Object...) - Static method in class mockit.Deencapsulation
Invokes a non-accessible (eg private) static method with the given arguments.
INVOKE_DYNAMIC - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
invokeAccessible(Constructor<T>, Object...) - Static method in class mockit.internal.reflection.ConstructorReflection
 
INVOKEDYNAMIC - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
invokeExplosively(Invocation, Object, Object...) - Method in class mockit.integration.junit4.FakeFrameworkMethod
 
INVOKEINTERFACE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
invokePublicIfAvailable(Class<?>, Object, String, Class<?>[], Object...) - Static method in class mockit.internal.reflection.MethodReflection
 
INVOKESPECIAL - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
INVOKESTATIC - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
INVOKEVIRTUAL - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
invokeWithCheckedThrows(Class<?>, Object, String, Class<?>[], Object...) - Static method in class mockit.internal.reflection.MethodReflection
 
invokeWithCheckedThrows(Object, Method, Object...) - Static method in class mockit.internal.reflection.MethodReflection
 
IOR - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IREM - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IRETURN - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
isAbstract() - Method in class mockit.asm.metadata.ClassMetadataReader.FieldInfo
 
isAbstract() - Method in class mockit.asm.metadata.ClassMetadataReader.MethodInfo
 
isAnonymousClass(Class<?>) - Static method in class mockit.internal.util.ClassNaming
This method was created to work around an issue in the standard Class.isAnonymousClass() method, which causes a sibling nested class to be loaded when called on a nested class.
isAnonymousClass(String) - Static method in class mockit.internal.util.ClassNaming
 
isBlankLine() - Method in class mockit.coverage.reporting.parsing.LineParser
 
isBooleanField() - Method in class integrationTests.data.ClassWithInstanceFields
 
isBoxing(String, String, String) - Static method in class mockit.internal.util.TypeConversionBytecode
 
isBranchingElement() - Method in class mockit.coverage.reporting.parsing.LineElement
 
isCaptured(Object) - Method in class mockit.internal.state.MockFixture
 
isClassFromSameModuleOrSystemAsTestedClass(Class<?>) - Method in class mockit.internal.injection.TestedClass
 
isClassLoaderWithNoDirectAccess(ClassLoader) - Static method in class mockit.internal.util.ClassLoad
 
isCode() - Method in class mockit.coverage.reporting.parsing.LineElement
 
isComment() - Method in class mockit.coverage.reporting.parsing.LineElement
 
isConstructor() - Method in class mockit.asm.metadata.ClassMetadataReader.MethodInfo
 
isConstructor() - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
isConstructor(int) - Static method in class mockit.asm.jvmConstants.Access
 
isCovered() - Method in class mockit.coverage.dataItems.FieldData
 
isCovered() - Method in class mockit.coverage.lines.LineSegmentData
 
isCovered(String) - Method in class mockit.coverage.dataItems.PerFileDataCoverage
 
isDebug() - Method in class mockit.asm.controlFlow.Label
 
isDeprecated(int) - Static method in class mockit.asm.jvmConstants.Access
 
isEmpty() - Method in class mockit.coverage.data.CoverageData
 
isEmpty() - Method in class mockit.coverage.lines.BranchCoverageData
 
isEmpty() - Method in class mockit.coverage.lines.LineSegmentData
 
isExternallyGeneratedSubclass(String) - Static method in class mockit.internal.util.GeneratedClasses
 
isFieldWithCoverageData(String) - Method in class mockit.coverage.dataItems.PerFileDataCoverage
 
isGeneratedClass(String) - Static method in class mockit.internal.util.GeneratedClasses
 
isGeneratedImplementationClass(Class<?>) - Static method in class mockit.internal.util.GeneratedClasses
 
isGeneratedImplementationClassName(String) - Static method in class mockit.internal.util.GeneratedClasses
 
ISHL - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ISHR - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
isInComments() - Method in class mockit.coverage.reporting.parsing.LineParser
 
isInjectableMock(Object) - Method in class mockit.internal.expectations.state.ExecutingTest
 
isInsideNoMockingZone() - Static method in class mockit.internal.state.TestRun
 
isInstance1() - Method in class integrationTests.data.ClassWithFields
Indicates whether ClassWithFields.instance1 is true or false.
isInstanceMethodWithStandardBehavior(Object, String) - Static method in class mockit.internal.expectations.state.ExecutingTest
 
isInstanceOfMockedClass(Object) - Method in class mockit.internal.state.MockFixture
 
isInstantiableType(Class<?>) - Static method in class mockit.internal.injection.full.FullInjection
 
isInvocationCountLessThanMinimumExpected() - Method in class mockit.internal.expectations.invocation.InvocationConstraints
 
isInvocationCountMoreThanMaximumExpected() - Method in class mockit.internal.expectations.invocation.InvocationConstraints
 
isJava6OrNewer() - Method in class mockit.asm.classes.ClassWriter
 
isKeyword(String) - Method in class mockit.coverage.reporting.parsing.LineElement
 
isLoggedIn() - Method in class jmockit.loginExample.domain.userAccount.UserAccount
 
isMatch(Object[], Map<Object, Object>) - Method in class mockit.internal.expectations.invocation.InvocationArguments
 
isMatch(Object, String, String) - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
isMatch(Object, String, String, Map<Object, Object>) - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
isMatch(ExpectedInvocation) - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
isMethod() - Method in class mockit.asm.metadata.ClassMetadataReader.MethodInfo
 
isMethodFromObject(String, String) - Static method in class mockit.internal.util.ObjectMethods
 
isMethodInSuperclass(Object, String) - Method in class mockit.internal.BaseInvocation
 
isMethodToBeIgnored(int) - Method in enum mockit.internal.expectations.ExecutionMode
 
isNew() - Method in class petclinic.util.BaseEntity
 
isPrimitiveWrapper(String) - Static method in class mockit.internal.util.TypeConversionBytecode
 
isProceedingIntoRealImplementation() - Method in class mockit.internal.expectations.state.ExecutingTest
 
isReachable() - Method in class mockit.asm.controlFlow.Label
 
isRequired() - Method in class mockit.internal.injection.field.FieldToInject
 
isRequired() - Method in class mockit.internal.injection.InjectionProvider
 
isResolved() - Method in class mockit.asm.controlFlow.Label
 
isRevoked() - Method in class jmockit.loginExample.domain.userAccount.UserAccount
 
isSameLineInTestCode(CallPoint) - Method in class mockit.coverage.CallPoint
 
isSameTestMethod(CallPoint) - Method in class mockit.coverage.CallPoint
 
isShouldIgnoreMockingCallbacks() - Method in class mockit.internal.expectations.state.ExecutingTest
 
isStatic() - Method in class mockit.asm.metadata.ClassMetadataReader.FieldInfo
 
isStatic() - Method in class mockit.asm.metadata.ClassMetadataReader.MethodInfo
 
isStaticField1() - Static method in class integrationTests.data.ClassWithFieldsAccessedByMultipleTests
 
isStaticField2() - Static method in class integrationTests.data.ClassWithFieldsAccessedByMultipleTests
 
isStillMocked(Object, String) - Method in class mockit.internal.state.MockFixture
 
isStoringFrame() - Method in class mockit.asm.controlFlow.Label
 
isSubclassOfUnmockable(Class<?>) - Static method in class mockit.internal.expectations.MockingFilters
 
isSynthetic() - Method in class mockit.asm.metadata.ClassMetadataReader.FieldInfo
 
isSynthetic() - Method in class mockit.asm.metadata.ClassMetadataReader.MethodInfo
 
isSynthetic(int) - Static method in class mockit.asm.jvmConstants.Access
 
isSynthetic(int, int) - Static method in class mockit.asm.jvmConstants.Access
 
isTarget() - Method in class mockit.asm.controlFlow.Label
 
isTerminated() - Static method in class mockit.coverage.TestRun
 
ISTORE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ISTORE_0 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
ISUB - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
isUnboxing(int, String, String) - Static method in class mockit.internal.util.TypeConversionBytecode
 
isUnmockedInstance(Object) - Method in class mockit.internal.expectations.state.ExecutingTest
 
isWithCallPoints() - Method in class mockit.coverage.data.CoverageData
 
isWrapperOfPrimitiveType(Class<?>) - Static method in class mockit.internal.util.AutoBoxing
 
Item - Class in mockit.asm.constantPool
A constant pool item of a given type.
items - Variable in class mockit.asm.util.BytecodeReader
The start index of each constant pool item in BytecodeReader.code, plus one.
iterator() - Method in class mockit.coverage.reporting.parsing.LineElement
 
ITFMETH - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
IUSHR - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
IXOR - Static variable in interface mockit.asm.jvmConstants.Opcodes
 

J

JAVA_LANG - Static variable in class mockit.internal.reflection.MethodReflection
 
JAVA8 - Static variable in class mockit.internal.util.Utilities
 
java8testing - package java8testing
 
JavaType - Class in mockit.asm.types
A Java field or method type.
jmockit.loginExample.domain.userAccount - package jmockit.loginExample.domain.userAccount
 
jmockit.loginExample.domain.userLogin - package jmockit.loginExample.domain.userLogin
 
JMockitExtension - Class in mockit.integration.junit5
 
JMockitExtension() - Constructor for class mockit.integration.junit5.JMockitExtension
 
jumpTargetLine - Variable in class mockit.asm.controlFlow.Label
Line number of label which is the target of a JMP instruction.
JUnitListener - Class in mockit.coverage.testRedundancy
 
JUnitListener(TestCoverage) - Constructor for class mockit.coverage.testRedundancy.JUnitListener
 
JVMInstruction - Class in mockit.asm.jvmConstants
JVMInstruction.InstructionType - Interface in mockit.asm.jvmConstants
Constants that subdivide the 220 instruction opcodes in 18 types of instructions.

K

KIND - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
Mask to get the kind of a frame type.
kindOfInjectionPoint(AccessibleObject) - Static method in class mockit.internal.injection.InjectionPoint
 
kindOfTopLevelType - Variable in class mockit.coverage.data.FileCoverageData
 

L

L2D - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
L2F - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
L2I - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
Label - Class in mockit.asm.controlFlow
A label represents a position in the bytecode of a method.
Label() - Constructor for class mockit.asm.controlFlow.Label
 
LABEL - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
LABELW - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
LADD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LALOAD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LAND - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
lastName - Variable in class petclinic.util.Person
 
LASTORE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LCMP - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LCONST_0 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LCONST_1 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LDC - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LDC_INSN - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
LDC_W - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LDC2_W - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LDCW_INSN - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
LDIV - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LenientEqualityMatcher - Class in mockit.internal.expectations.argumentMatching
 
LenientEqualityMatcher(Object, Map<Object, Object>) - Constructor for class mockit.internal.expectations.argumentMatching.LenientEqualityMatcher
 
lifecycleMethods - Variable in class mockit.internal.injection.InjectionState
 
LifecycleMethods - Class in mockit.internal.injection
 
line - Variable in class mockit.asm.controlFlow.Label
The line number corresponding to this label, if known.
LineCoverageData - Class in mockit.coverage.lines
Coverage data gathered for a single executable line of code in a source file.
lineCoverageInfo - Variable in class mockit.coverage.data.FileCoverageData
 
LineCoverageOutput - Class in mockit.coverage.reporting.lineCoverage
 
LineCoverageOutput(PrintWriter, PerFileLineCoverage, boolean) - Constructor for class mockit.coverage.reporting.lineCoverage.LineCoverageOutput
 
LineElement - Class in mockit.coverage.reporting.parsing
 
lineExecuted(int, int) - Static method in class mockit.coverage.TestRun
 
lineParser - Variable in class mockit.coverage.reporting.parsing.FileParser
 
LineParser - Class in mockit.coverage.reporting.parsing
Parses a source line into one or more consecutive segments, identifying which ones contain Java code and which ones contain only comments.
LineParser() - Constructor for class mockit.coverage.reporting.parsing.LineParser
 
LineSegmentData - Class in mockit.coverage.lines
 
LineSegmentData() - Constructor for class mockit.coverage.lines.LineSegmentData
 
ListOfCallPoints - Class in mockit.coverage.reporting
 
ListOfCallPoints() - Constructor for class mockit.coverage.reporting.ListOfCallPoints
 
LLOAD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LMUL - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LNEG - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
loadByInternalName(String) - Static method in class mockit.internal.util.ClassLoad
 
loadClass(ClassLoader, String) - Static method in class mockit.internal.util.ClassLoad
 
loadClass(String) - Static method in class mockit.internal.util.ClassLoad
 
loadClassAtStartup(String) - Static method in class mockit.internal.util.ClassLoad
 
loader - Variable in class mockit.internal.ClassIdentification
 
loadFromLoader(ClassLoader, String) - Static method in class mockit.internal.util.ClassLoad
 
LOCAL - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
Kind of the types that are relative to the local variable types of an input stack map frame.
login(String, String) - Method in class jmockit.loginExample.domain.userLogin.LoginService
 
LoginService - Class in jmockit.loginExample.domain.userLogin
 
LoginService() - Constructor for class jmockit.loginExample.domain.userLogin.LoginService
 
LONG - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
The LONG type.
LONG - Static variable in interface mockit.asm.jvmConstants.ArrayElementType
 
LONG - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
LongItem - Class in mockit.asm.constantPool
 
LongItem(int) - Constructor for class mockit.asm.constantPool.LongItem
 
LongValueItem - Class in mockit.asm.constantPool
 
LOOK_INSN - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
LOOKUPSWITCH - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LOR - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LREM - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LRETURN - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LSHL - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LSHR - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LSTORE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LSUB - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LUSHR - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
LXOR - Static variable in interface mockit.asm.jvmConstants.Opcodes
 

M

main(String[]) - Static method in class mockit.coverage.CodeCoverage
 
makeSureAllSubtypesAreModified(Class<?>, boolean, M) - Method in class mockit.internal.capturing.CaptureOfImplementations
 
MANA_INSN - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
markAsDebug() - Method in class mockit.asm.controlFlow.Label
 
markAsProceedingIntoRealImplementation() - Method in class mockit.internal.expectations.state.ExecutingTest
 
markAsProceedingIntoRealImplementation(BaseInvocation) - Method in class mockit.internal.expectations.state.ExecutingTest
 
markAsTarget() - Method in class mockit.asm.controlFlow.Label
 
markAsUnreachable() - Method in class mockit.coverage.lines.LineSegmentData
 
markLastLineSegmentAsEmpty(int) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
markLineAsReachable(int) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
matchedArgument(int, String) - Static method in class mockit.internal.expectations.ActiveInvocations
 
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.AlwaysTrueMatcher
 
matches(Object) - Method in interface mockit.internal.expectations.argumentMatching.ArgumentMatcher
Evaluates the matcher for the given argument.
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.CaptureMatcher
 
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.ClassMatcher
 
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.EqualityMatcher
 
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.HamcrestAdapter
 
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.InequalityMatcher
 
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.LenientEqualityMatcher
 
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.NonNullityMatcher
 
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.NullityMatcher
 
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.NumericEqualityMatcher
 
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.PatternMatcher
 
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.ReflectiveMatcher
 
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.SamenessMatcher
 
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.StringContainmentMatcher
 
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.StringPrefixMatcher
 
matches(Object) - Method in class mockit.internal.expectations.argumentMatching.StringSuffixMatcher
 
matchInstance - Variable in class mockit.internal.expectations.invocation.ExpectedInvocation
 
maxInstances() - Element in annotation type mockit.Capturing
Max instances.
maxInvocations() - Element in annotation type mockit.Mock
Maximum number of expected invocations of the mock method, if positive.
maxTimes - Variable in class mockit.Expectations
A non-negative value assigned to this field will be taken as the maximum number of times that invocations matching the current expectation should occur during replay.
maxTimes - Variable in class mockit.FullVerifications
A non-negative value assigned to this field will be taken as the maximum number of times that invocations matching the current expectation should occur during replay.
maxTimes - Variable in class mockit.Verifications
A non-negative value assigned to this field will be taken as the maximum number of times that invocations matching the current expectation should occur during replay.
maxTimes - Variable in class mockit.VerificationsInOrder
A non-negative value assigned to this field will be taken as the maximum number of times that invocations matching the current expectation should occur during replay.
maxTimes(int) - Static method in class mockit.internal.expectations.ActiveInvocations
 
MB - Static variable in class mockit.internal.expectations.mocking.MockedBridge
 
MB - Static variable in class mockit.internal.faking.FakeBridge
 
MB - Static variable in class mockit.internal.faking.FakeMethodBridge
 
member - Variable in class mockit.internal.reflection.RealMethodOrConstructor
 
merge(CoverageData) - Method in class mockit.coverage.data.CoverageData
 
mergeInformation(PerFileDataCoverage) - Method in class mockit.coverage.dataItems.PerFileDataCoverage
 
mergeInformation(PerFileLineCoverage) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
METHOD_HANDLE - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
METHOD_REF - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
METHOD_TYPE - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
methodAccess - Variable in class mockit.internal.BaseClassModifier
 
methodAnnotationsVisitor - Variable in class mockit.internal.BaseClassModifier
 
methodContainingAnonymousClass(int) - Static method in class integrationTests.ClassWithNestedClasses
Method containing anonymous class.
methodDesc - Variable in class mockit.internal.BaseClassModifier
 
MethodFormatter - Class in mockit.internal.util
 
MethodFormatter(String) - Constructor for class mockit.internal.util.MethodFormatter
 
MethodFormatter(String, String) - Constructor for class mockit.internal.util.MethodFormatter
 
MethodFormatter(String, String, boolean) - Constructor for class mockit.internal.util.MethodFormatter
 
MethodHandle - Class in mockit.asm.util
A reference to a method.
MethodHandle(int, String, String, String) - Constructor for class mockit.asm.util.MethodHandle
Initializes a new method handle.
MethodHandle.Tag - Interface in mockit.asm.util
 
MethodHandleItem - Class in mockit.asm.constantPool
 
MethodHandleItem(int) - Constructor for class mockit.asm.constantPool.MethodHandleItem
 
methodName - Variable in class mockit.internal.BaseClassModifier
 
MethodReader - Class in mockit.asm.methods
 
MethodReader(ClassReader, ClassVisitor) - Constructor for class mockit.asm.methods.MethodReader
 
MethodReflection - Class in mockit.internal.reflection
 
MethodType - Class in mockit.asm.types
 
MethodVisitor - Class in mockit.asm.methods
MethodVisitor() - Constructor for class mockit.asm.methods.MethodVisitor
 
MethodVisitor(ConstantPoolGeneration, int) - Constructor for class mockit.asm.methods.MethodVisitor
 
methodWithTooManyConditionsForPathAnalysis(int, int, boolean) - Method in class integrationTests.BooleanExpressions
Method with too many conditions for path analysis.
MethodWriter - Class in mockit.asm.methods
A MethodVisitor that generates methods in bytecode form.
MethodWriter(ClassWriter, int, String, String, String, String[], boolean) - Constructor for class mockit.asm.methods.MethodWriter
Initializes this MethodWriter.
minInvocations - Variable in class mockit.internal.expectations.invocation.InvocationConstraints
 
minInvocations() - Element in annotation type mockit.Mock
Minimum number of expected invocations of the mock method, starting from 0 (zero, which is the default).
minTimes - Variable in class mockit.Expectations
A positive value assigned to this field will be taken as the minimum number of times that invocations matching the current expectation should occur during replay.
minTimes - Variable in class mockit.FullVerifications
A positive value assigned to this field will be taken as the minimum number of times that invocations matching the current expectation should occur during replay.
minTimes - Variable in class mockit.Verifications
A positive value assigned to this field will be taken as the minimum number of times that invocations matching the current expectation should occur during replay.
minTimes - Variable in class mockit.VerificationsInOrder
A positive value assigned to this field will be taken as the minimum number of times that invocations matching the current expectation should occur during replay.
minTimes(int) - Static method in class mockit.internal.expectations.ActiveInvocations
 
MissingInvocation - Exception Class in mockit.internal.expectations.invocation
Thrown to indicate that one or more expected invocations still had not occurred by the end of the test.
MissingInvocation(String) - Constructor for exception class mockit.internal.expectations.invocation.MissingInvocation
 
Mock - Annotation Type in mockit
Used inside a fake class to indicate a fake method whose implementation will temporarily replace the implementation of one or more matching "real" methods or constructors (these are the "faked" methods/constructors).
Mocked - Annotation Type in mockit
Indicates an instance field of a test class as being a mock field, or a parameter of a test method as a mock parameter; in either case, the declared type of the field/parameter is a mocked type, whose instances are mocked instances.
MockedBridge - Class in mockit.internal.expectations.mocking
 
MockedType - Class in mockit.internal.expectations.mocking
 
MockedType(Field) - Constructor for class mockit.internal.expectations.mocking.MockedType
 
MockedTypeCascade - Class in mockit.internal.expectations.state
 
mockedTypeInfo - Variable in class mockit.internal.classGeneration.BaseSubclassGenerator
 
MockedTypeInfo - Class in mockit.internal.classGeneration
 
MockedTypeInfo(Type) - Constructor for class mockit.internal.classGeneration.MockedTypeInfo
 
mockFixture() - Static method in class mockit.internal.state.TestRun
 
MockFixture - Class in mockit.internal.state
Holds data about redefined/transformed classes, with methods to add/remove and query such data.
MockingFilters - Class in mockit.internal.expectations
 
MockInvocationHandler - Class in mockit.internal.reflection
Handles invocations to all kinds of mock implementations created for interfaces and annotation types through any of the mocking APIs.
MockInvocationHandler() - Constructor for class mockit.internal.reflection.MockInvocationHandler
 
mockit - package mockit
Provides the classes and annotations used when writing tests with the JMockit APIs.
mockit.asm - package mockit.asm
 
mockit.asm.annotations - package mockit.asm.annotations
 
mockit.asm.classes - package mockit.asm.classes
 
mockit.asm.constantPool - package mockit.asm.constantPool
 
mockit.asm.controlFlow - package mockit.asm.controlFlow
 
mockit.asm.exceptionHandling - package mockit.asm.exceptionHandling
 
mockit.asm.fields - package mockit.asm.fields
 
mockit.asm.jvmConstants - package mockit.asm.jvmConstants
 
mockit.asm.metadata - package mockit.asm.metadata
 
mockit.asm.methods - package mockit.asm.methods
 
mockit.asm.types - package mockit.asm.types
 
mockit.asm.util - package mockit.asm.util
 
mockit.coverage - package mockit.coverage
 
mockit.coverage.data - package mockit.coverage.data
 
mockit.coverage.dataItems - package mockit.coverage.dataItems
 
mockit.coverage.lines - package mockit.coverage.lines
 
mockit.coverage.modification - package mockit.coverage.modification
 
mockit.coverage.reporting - package mockit.coverage.reporting
 
mockit.coverage.reporting.dataCoverage - package mockit.coverage.reporting.dataCoverage
 
mockit.coverage.reporting.lineCoverage - package mockit.coverage.reporting.lineCoverage
 
mockit.coverage.reporting.packages - package mockit.coverage.reporting.packages
 
mockit.coverage.reporting.parsing - package mockit.coverage.reporting.parsing
 
mockit.coverage.reporting.sourceFiles - package mockit.coverage.reporting.sourceFiles
 
mockit.coverage.testRedundancy - package mockit.coverage.testRedundancy
 
mockit.integration - package mockit.integration
 
mockit.integration.junit4 - package mockit.integration.junit4
Provides integration with JUnit 4.x test runners, for version 4.5 or newer.
mockit.integration.junit5 - package mockit.integration.junit5
Provides integration with JUnit 5.x test runners, which provides the following benefits to test code: Expected invocations specified through the Mocking API are automatically verified before the execution of a test is completed. Fake classes applied with the Faking API from inside a method annotated as a @Test or a @Before method are discarded right after the execution of the test method or the whole test, respectively. Test methods accept mock parameters, whose values are mocked instances automatically created by JMockit and passed by the test runner when the test method is executed.
mockit.integration.springframework - package mockit.integration.springframework
Provides integration with Spring Framework's bean factories.
mockit.integration.testng - package mockit.integration.testng
Provides integration with TestNG test runners, for version 6.2 or newer.
mockit.internal - package mockit.internal
Contains the classes that implement the internal mechanisms of the toolkit, and as such are not intended for direct use in client code.
mockit.internal.capturing - package mockit.internal.capturing
 
mockit.internal.classGeneration - package mockit.internal.classGeneration
 
mockit.internal.expectations - package mockit.internal.expectations
 
mockit.internal.expectations.argumentMatching - package mockit.internal.expectations.argumentMatching
 
mockit.internal.expectations.invocation - package mockit.internal.expectations.invocation
 
mockit.internal.expectations.mocking - package mockit.internal.expectations.mocking
 
mockit.internal.expectations.state - package mockit.internal.expectations.state
 
mockit.internal.expectations.transformation - package mockit.internal.expectations.transformation
 
mockit.internal.faking - package mockit.internal.faking
 
mockit.internal.injection - package mockit.internal.injection
 
mockit.internal.injection.constructor - package mockit.internal.injection.constructor
 
mockit.internal.injection.field - package mockit.internal.injection.field
 
mockit.internal.injection.full - package mockit.internal.injection.full
 
mockit.internal.reflection - package mockit.internal.reflection
 
mockit.internal.startup - package mockit.internal.startup
 
mockit.internal.state - package mockit.internal.state
 
mockit.internal.util - package mockit.internal.util
 
MockUp<T> - Class in mockit
A base class used in the creation of a fake for an external type, which is usually a class from some library or component used from the internal codebase of the system under test (SUT).
MockUp() - Constructor for class mockit.MockUp
Applies the fake methods defined in the concrete subclass to the class or interface specified through the type parameter.
MockUp(Class<?>) - Constructor for class mockit.MockUp
Applies the mock methods defined in the mock-up subclass to the given class/interface.
MockUp(T) - Constructor for class mockit.MockUp
Applies the mock methods defined in the mock-up subclass to the type specified through the type parameter, but only affecting the given instance.
modifyClass(String, ProtectionDomain, byte[]) - Method in class mockit.coverage.modification.ClassModification
 
MODULE - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
ModuleItem - Class in mockit.asm.constantPool
 
ModuleItem(int, int, String) - Constructor for class mockit.asm.constantPool.ModuleItem
 
MONITORENTER - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
MONITOREXIT - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
moveArgMatcher(int, int) - Static method in class mockit.internal.expectations.ActiveInvocations
 
MULTIANEWARRAY - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
MultiThreadedCode - Class in integrationTests
The Class MultiThreadedCode.
MultiThreadedCode() - Constructor for class integrationTests.MultiThreadedCode
 
mw - Variable in class mockit.asm.methods.WrappingMethodVisitor
The method writer to which this visitor must delegate method calls.
mw - Variable in class mockit.internal.BaseClassModifier
 
MyBusinessService - Class in tutorial.domain
This class makes use of several idioms which would prevent unit testing with more "conventional" mocking tools.
MyBusinessService(EntityX) - Constructor for class tutorial.domain.MyBusinessService
 

N

N - Static variable in interface integrationTests.InterfaceWithExecutableCode
 
name - Variable in class mockit.asm.metadata.ClassMetadataReader.AnnotationInfo
 
name - Variable in class mockit.asm.metadata.ClassMetadataReader.FieldInfo
 
name - Variable in class mockit.asm.metadata.ClassMetadataReader.MethodInfo
 
name - Variable in class mockit.asm.util.MethodHandle
The name of the method designated by this handle.
name - Variable in class mockit.internal.ClassIdentification
 
name - Variable in class mockit.internal.injection.InjectionPoint
 
name - Variable in class mockit.internal.injection.InjectionProvider
 
NAME_TYPE - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
NameAndTypeItem - Class in mockit.asm.constantPool
 
NameAndTypeItem(int) - Constructor for class mockit.asm.constantPool.NameAndTypeItem
 
nameOfTestedClass - Variable in class mockit.internal.injection.TestedClass
 
NATIVE - Static variable in class mockit.asm.jvmConstants.Access
 
NestedClass() - Constructor for class integrationTests.ClassWithNestedClasses.NestedClass
Instantiates a new nested class.
NEW - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
NEWARRAY - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
newClass(String) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
Adds a class reference to the constant pool of the class being built.
newClassItem(String) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
Adds a class reference to the constant pool of the class being built.
newConstItem(Object) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
Adds a number or string constant to the constant pool of the class being built.
newDouble(double) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
Adds a double to the constant pool of the class being built.
newEmptyProxy(ClassLoader, Type...) - Static method in class mockit.internal.reflection.EmptyProxy.Impl
 
newFieldItem(String, String, String) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
Adds a field reference to the constant pool of the class being built.
newFloat(float) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
Adds a float to the constant pool of the class being built.
newInstanceUsingCompatibleConstructor(Class<?>, String) - Static method in class mockit.internal.reflection.ConstructorReflection
 
newInstanceUsingDefaultConstructor(Class<T>) - Static method in class mockit.internal.reflection.ConstructorReflection
 
newInstanceUsingDefaultConstructorIfAvailable(Class<T>) - Static method in class mockit.internal.reflection.ConstructorReflection
 
newInstanceUsingPublicConstructorIfAvailable(Class<T>, Class<?>[], Object...) - Static method in class mockit.internal.reflection.ConstructorReflection
 
newInstanceUsingPublicDefaultConstructor(Class<T>) - Static method in class mockit.internal.reflection.ConstructorReflection
 
newInteger(int) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
Adds an integer to the constant pool of the class being built.
newLong(long) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
Adds a long to the constant pool of the class being built.
newMethodHandleItem(MethodHandle) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
Adds a method handle to the constant pool of the class being built.
newMethodItem(String, String, String, boolean) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
Adds a method reference to the constant pool of the class being built.
newMockedInstance(Class<?>) - Static method in class mockit.internal.reflection.MockInvocationHandler
 
newUninitializedInstance(Class<T>) - Static method in class mockit.internal.reflection.ConstructorReflection
 
newUTF8(String) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
Adds an UTF8 string to the constant pool of the class being built.
NO_ARGS - Static variable in class mockit.internal.util.Utilities
 
NO_PARAMETERS - Static variable in class mockit.internal.reflection.ParameterReflection
 
NOARG - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
nonBlockingOperation() - Static method in class integrationTests.MultiThreadedCode
Non blocking operation.
NonNullityMatcher - Class in mockit.internal.expectations.argumentMatching
 
NOP - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
NotAnnotated - Enum constant in enum mockit.internal.injection.InjectionPoint.KindOfInjectionPoint
 
notToBeMocked(Object, String) - Static method in class mockit.internal.ClassLoadingBridge
 
NULL - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
The NULL type.
NULL - Static variable in class mockit.internal.injection.InjectionProvider
 
NullityMatcher - Class in mockit.internal.expectations.argumentMatching
 
NumericEqualityMatcher - Class in mockit.internal.expectations.argumentMatching
Matches a decimal argument against another within a given margin of error.
NumericEqualityMatcher(double, double) - Constructor for class mockit.internal.expectations.argumentMatching.NumericEqualityMatcher
 

O

OBJECT - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
Base kind of the base reference types.
OBJECT - Static variable in class mockit.internal.util.ClassLoad
 
objectIdentity(Object) - Static method in class mockit.internal.util.ObjectMethods
 
ObjectMethods - Class in mockit.internal.util
 
ObjectType - Class in mockit.asm.types
 
OneValue - Enum constant in enum integrationTests.AnEnum
The One value.
onExecutionFinish() - Method in class mockit.integration.testng.TestNGRunnerDecorator
 
onExecutionStart() - Method in class mockit.integration.testng.TestNGRunnerDecorator
 
onTearDown() - Method in class mockit.MockUp
An empty method that can be overridden in a mock-up subclass that wants to be notified whenever the mock-up is automatically torn down.
Opcodes - Interface in mockit.asm.jvmConstants
Defines the JVM opcodes.
Optional - Enum constant in enum mockit.internal.injection.InjectionPoint.KindOfInjectionPoint
 
output - Variable in class mockit.coverage.reporting.packages.IndexPage
 
OutputFile - Class in mockit.coverage.reporting
 
OutputFile(File) - Constructor for class mockit.coverage.reporting.OutputFile
 
OutputFile(String, String) - Constructor for class mockit.coverage.reporting.OutputFile
 
owner - Variable in class mockit.asm.util.MethodHandle
The internal name of the class that owns the method designated by this handle.
Owner - Class in petclinic.owners
A pet owner.
Owner() - Constructor for class petclinic.owners.Owner
 
OwnerMaintenance - Class in petclinic.owners
A domain service class for Owner-related business operations.
OwnerMaintenance() - Constructor for class petclinic.owners.OwnerMaintenance
 
OwnerScreen - Class in petclinic.owners
An application service class that handles Owner-related operations from the owner screen.
OwnerScreen() - Constructor for class petclinic.owners.OwnerScreen
 

P

PACKAGE - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
PackageItem - Class in mockit.asm.constantPool
 
PackageItem(int, int, String) - Constructor for class mockit.asm.constantPool.PackageItem
 
ParameterNameExtractor - Class in mockit.internal.util
 
ParameterNames - Class in mockit.internal.state
 
parameterProviders - Variable in class mockit.internal.injection.constructor.ConstructorSearch
 
ParameterReflection - Class in mockit.internal.reflection
 
parameters - Variable in class mockit.asm.metadata.ClassMetadataReader.MethodInfo
 
Parameters - Enum constant in enum mockit.asm.metadata.ClassMetadataReader.Attribute
 
ParameterTypeRedefinitions - Class in mockit.internal.expectations.mocking
 
ParameterTypeRedefinitions(TestMethod, Object[]) - Constructor for class mockit.internal.expectations.mocking.ParameterTypeRedefinitions
 
parent - Variable in class mockit.internal.injection.InjectionProvider
 
parent - Variable in class mockit.internal.injection.TestedClass
 
parseCurrentLine(String) - Method in class mockit.coverage.reporting.parsing.FileParser
 
parseSignature(String) - Method in class mockit.internal.reflection.GenericTypeReflection
 
Partial - Enum constant in enum mockit.internal.expectations.ExecutionMode
 
PartialMocking - Class in mockit.internal.expectations.mocking
 
PartialMocking() - Constructor for class mockit.internal.expectations.mocking.PartialMocking
 
passwordMatches(String) - Method in class jmockit.loginExample.domain.userAccount.UserAccount
 
PatternMatcher - Class in mockit.internal.expectations.argumentMatching
 
PatternMatcher(String) - Constructor for class mockit.internal.expectations.argumentMatching.PatternMatcher
 
percentageColor(int, int) - Static method in class mockit.coverage.CoveragePercentage
 
PerFileCoverage - Interface in mockit.coverage.data
 
PerFileDataCoverage - Class in mockit.coverage.dataItems
 
PerFileDataCoverage() - Constructor for class mockit.coverage.dataItems.PerFileDataCoverage
 
PerFileLineCoverage - Class in mockit.coverage.lines
 
PerFileLineCoverage() - Constructor for class mockit.coverage.lines.PerFileLineCoverage
 
performBusinessOperation(int) - Method in class java8testing.BusinessService
Perform business operation.
PerInstance - Enum constant in enum mockit.internal.expectations.ExecutionMode
 
persist(Object) - Static method in class tutorial.persistence.Database
 
PERSISTENCE_UNIT_CLASS - Static variable in class mockit.internal.injection.InjectionPoint
 
Person - Class in petclinic.util
A person having a first and a last name.
Person() - Constructor for class petclinic.util.Person
 
Pet - Class in petclinic.pets
A pet.
Pet() - Constructor for class petclinic.pets.Pet
 
petclinic - package petclinic
A re-creation of the Spring PetClinic Sample Application, using Java EE 7 for UI controllers and business classes.
petclinic.owners - package petclinic.owners
 
petclinic.pets - package petclinic.pets
 
petclinic.util - package petclinic.util
 
petclinic.vets - package petclinic.vets
 
petclinic.visits - package petclinic.visits
 
PetMaintenance - Class in petclinic.pets
A domain service class for Pet-related business operations.
PetMaintenance() - Constructor for class petclinic.pets.PetMaintenance
 
PetScreen - Class in petclinic.pets
An application service class that handles Pet-related operations from the pet screen.
PetScreen() - Constructor for class petclinic.pets.PetScreen
 
PetType - Class in petclinic.pets
The type of a Pet (for example, "Dog").
PetType() - Constructor for class petclinic.pets.PetType
 
POP - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
POP2 - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
position - Variable in class mockit.asm.controlFlow.Label
The position of this label in the code, if known.
postProcessTestInstance(Object, ExtensionContext) - Method in class mockit.integration.junit5.JMockitExtension
 
premain(String, Instrumentation) - Static method in class mockit.internal.startup.Startup
User-specified fakes will applied at this time, if the "fakes" system property is set to the fully qualified class names.
prepareForNextTest() - Static method in class mockit.integration.TestRunnerDecorator
 
prepareForNextTest() - Static method in class mockit.internal.state.TestRun
 
prepareForVerification(Object[], List<ArgumentMatcher<?>>) - Method in class mockit.internal.expectations.invocation.InvocationArguments
 
prepareToProceed() - Method in class mockit.internal.BaseInvocation
 
prepareToProceed() - Method in class mockit.internal.faking.FakeInvocation
 
prepareToProceedFromNonRecursiveMock() - Method in class mockit.internal.faking.FakeInvocation
 
PrimitiveType - Class in mockit.asm.types
 
print(Appendable) - Method in class mockit.internal.util.StackTrace
 
PRIVATE - Static variable in class mockit.asm.jvmConstants.Access
 
proceed(Object...) - Method in class mockit.Invocation
Allows execution to proceed into the real implementation of the target method/constructor.
produceResult(Object, Object[]) - Method in class mockit.internal.expectations.invocation.InvocationResults
 
PROTECTED - Static variable in class mockit.asm.jvmConstants.Access
 
PUBLIC - Static variable in class mockit.asm.jvmConstants.Access
 
put(ByteVector) - Method in class mockit.asm.annotations.AnnotationVisitor
Puts the annotations of this annotation writer list into the given byte vector.
put(ByteVector) - Method in class mockit.asm.BaseWriter
 
put(ByteVector) - Method in class mockit.asm.constantPool.AttributeWriter
 
put(ByteVector) - Method in class mockit.asm.constantPool.ConstantPoolGeneration
 
put(ByteVector) - Method in class mockit.asm.controlFlow.StackMapTableWriter
 
put(ByteVector) - Method in class mockit.asm.exceptionHandling.ExceptionHandling
 
put(ByteVector) - Method in class mockit.asm.fields.FieldVisitor
Puts the content of this field into the given byte vector.
put(ByteVector) - Method in class mockit.asm.methods.MethodWriter
Puts the bytecode of this method in the given byte vector.
put(ByteVector) - Method in class mockit.asm.SignatureWriter
 
put(ByteVector, int) - Method in class mockit.asm.constantPool.AttributeWriter
 
put(ByteVector, int, boolean) - Method in class mockit.asm.controlFlow.Label
Puts a reference to this label in the bytecode of a method.
put(ByteVector, List<? extends BaseWriter>) - Static method in class mockit.asm.BaseWriter
 
put(ByteVector, AnnotationVisitor[]) - Static method in class mockit.asm.annotations.AnnotationVisitor
Puts the given annotation lists into the given byte vector.
put11(int, int) - Method in class mockit.asm.util.ByteVector
Puts two bytes into this byte vector.
put12(int, int) - Method in class mockit.asm.util.ByteVector
Puts a byte and a short into this byte vector.
putAccess(ByteVector, int) - Method in class mockit.asm.BaseWriter
 
putAnnotations(ByteVector) - Method in class mockit.asm.BaseWriter
 
putByte(int) - Method in class mockit.asm.util.ByteVector
Puts a byte into this byte vector.
putByteArray(byte[], int, int) - Method in class mockit.asm.util.ByteVector
Puts an array of bytes into this byte vector.
putByteVector(ByteVector) - Method in class mockit.asm.util.ByteVector
 
PUTFIELD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
putInt(int) - Method in class mockit.asm.util.ByteVector
Puts an int into this byte vector.
putLong(long) - Method in class mockit.asm.util.ByteVector
Puts a long into this byte vector.
putMarkerAttributes(ByteVector) - Method in class mockit.asm.BaseWriter
 
putMaxStackAndLocals(ByteVector) - Method in class mockit.asm.controlFlow.StackMapTableWriter
 
putShort(int) - Method in class mockit.asm.util.ByteVector
Puts a short into this byte vector.
PUTSTATIC - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
putUTF8(String) - Method in class mockit.asm.util.ByteVector
Puts an UTF8 string into this byte vector.

Q

qualified - Variable in class mockit.internal.injection.InjectionPoint
 

R

RANDOM - Static variable in interface integrationTests.InterfaceWithExecutableCode
The n.
readAnnotationAttribute(Object, String) - Static method in class mockit.internal.reflection.AnnotationReflection
 
readAnnotationAttributeIfAvailable(Object, String) - Static method in class mockit.internal.reflection.AnnotationReflection
 
readAnnotations(BaseWriter) - Method in class mockit.asm.AnnotatedReader
 
readAnnotationValues(AnnotationVisitor) - Method in class mockit.asm.AnnotatedReader
 
readAttribute(String) - Method in class mockit.asm.AnnotatedReader
Attempts to read the next attribute, provided it's one recognizable by the implementing subclass.
readAttribute(String) - Method in class mockit.asm.classes.ClassReader
 
readAttribute(String) - Method in class mockit.asm.fields.FieldReader
 
readAttribute(String) - Method in class mockit.asm.methods.MethodReader
 
readAttributes() - Method in class mockit.asm.AnnotatedReader
 
readBoolean(int) - Method in class mockit.asm.util.BytecodeReader
 
readBytesFromClassFile(Class<?>) - Static method in class mockit.internal.ClassFile
 
readBytesFromClassFile(String) - Static method in class mockit.internal.ClassFile
 
readChar(int) - Method in class mockit.asm.util.BytecodeReader
 
readClass() - Method in class mockit.asm.util.BytecodeReader
Reads the class name from the constant pool, incrementing BytecodeReader.codeIndex by 2.
readConst(int) - Method in class mockit.asm.util.BytecodeReader
Reads a numeric or string constant pool item in BytecodeReader.code.
readConstItem() - Method in class mockit.asm.util.BytecodeReader
Reads the index of a constant item in BytecodeReader.code, incrementing BytecodeReader.codeIndex by 2.
readConstItem(int) - Method in class mockit.asm.util.BytecodeReader
 
readDataFromFile(File) - Static method in class mockit.coverage.data.CoverageData
Reads a serialized CoverageData object from the given file (normally, a "coverage.ser" file generated at the end of a previous test run).
readDouble() - Method in class mockit.asm.util.BytecodeReader
 
readDouble(int) - Method in class mockit.asm.util.BytecodeReader
 
readFields() - Method in class mockit.asm.fields.FieldReader
Reads each field and makes the given visitor visit it.
readFloat() - Method in class mockit.asm.util.BytecodeReader
 
readFloat(int) - Method in class mockit.asm.util.BytecodeReader
 
readInt() - Method in class mockit.asm.util.BytecodeReader
Reads a signed int value in BytecodeReader.code, incrementing BytecodeReader.codeIndex by 4.
readInt(int) - Method in class mockit.asm.util.BytecodeReader
Reads a signed int value in BytecodeReader.code.
readItem() - Method in class mockit.asm.util.BytecodeReader
Reads an item index in BytecodeReader.code, incrementing BytecodeReader.codeIndex by 2.
readItem(int) - Method in class mockit.asm.util.BytecodeReader
 
readLong() - Method in class mockit.asm.util.BytecodeReader
Reads a signed long value in BytecodeReader.code, incrementing BytecodeReader.codeIndex by 8.
readLong(int) - Method in class mockit.asm.util.BytecodeReader
Reads a signed long value in BytecodeReader.code.
readMethodHandle() - Method in class mockit.asm.util.BytecodeReader
 
readMethodHandleItem(int) - Method in class mockit.asm.util.BytecodeReader
 
readMethods() - Method in class mockit.asm.methods.MethodReader
Reads each method and constructor in the class, making the class reader's visitor visit it.
readNamedAnnotationValues(int, AnnotationVisitor) - Method in class mockit.asm.annotations.AnnotationReader
Reads the values of a named annotation and makes the given visitor visit them.
readNonnullClass() - Method in class mockit.asm.util.BytecodeReader
Reads a class descriptor in BytecodeReader.code, incrementing BytecodeReader.codeIndex by 2.
readNonnullClass(int) - Method in class mockit.asm.util.BytecodeReader
 
readNonnullUTF8() - Method in class mockit.asm.util.BytecodeReader
Reads the index of an UTF8 item in BytecodeReader.code, incrementing BytecodeReader.codeIndex by 2.
readNonnullUTF8(int) - Method in class mockit.asm.util.BytecodeReader
Reads the index of an UTF8 item in BytecodeReader.code.
readShort() - Method in class mockit.asm.util.BytecodeReader
Reads a signed short value in BytecodeReader.code, incrementing BytecodeReader.codeIndex by 2.
readShort(int) - Method in class mockit.asm.util.BytecodeReader
Reads a signed short value in BytecodeReader.code.
readSignedByte() - Method in class mockit.asm.util.BytecodeReader
Reads a signed byte value in BytecodeReader.code, incrementing BytecodeReader.codeIndex by 1.
readString(int) - Method in class mockit.asm.util.BytecodeReader
Reads a string in BytecodeReader.strings at the given index.
readUnsignedByte() - Method in class mockit.asm.util.BytecodeReader
Reads an unsigned byte value in BytecodeReader.code, incrementing BytecodeReader.codeIndex by 1.
readUnsignedByte(int) - Method in class mockit.asm.util.BytecodeReader
Reads an unsigned byte value in BytecodeReader.code.
readUnsignedShort() - Method in class mockit.asm.util.BytecodeReader
Reads an unsigned short value in BytecodeReader.code, incrementing BytecodeReader.codeIndex by 2.
readUnsignedShort(int) - Method in class mockit.asm.util.BytecodeReader
Reads an unsigned short value in BytecodeReader.code.
readUTF8() - Method in class mockit.asm.util.BytecodeReader
Reads an UTF8 string constant pool item in BytecodeReader.code, incrementing BytecodeReader.codeIndex by 2.
readUTF8(int) - Method in class mockit.asm.util.BytecodeReader
Reads an UTF8 string constant pool item in BytecodeReader.code.
readVersion(byte[]) - Static method in class mockit.asm.metadata.ClassMetadataReader
 
RealMethodOrConstructor - Class in mockit.internal.reflection
 
RealMethodOrConstructor(Class<?>, String) - Constructor for class mockit.internal.reflection.RealMethodOrConstructor
 
RealMethodOrConstructor(Class<?>, String, String) - Constructor for class mockit.internal.reflection.RealMethodOrConstructor
 
RealMethodOrConstructor(String, String) - Constructor for class mockit.internal.reflection.RealMethodOrConstructor
 
RECORD_OR_REPLAY_LOCK - Static variable in class mockit.internal.expectations.RecordAndReplayExecution
 
RecordAndReplayExecution - Class in mockit.internal.expectations
 
RecordAndReplayExecution() - Constructor for class mockit.internal.expectations.RecordAndReplayExecution
 
RecordAndReplayExecution(Expectations, Object...) - Constructor for class mockit.internal.expectations.RecordAndReplayExecution
 
recordNewItemCoveredByTestIfApplicable(int) - Method in class mockit.coverage.testRedundancy.TestCoverage
 
recordOrReplay(Object, int, String, String, String, int, Object[]) - Static method in class mockit.internal.expectations.RecordAndReplayExecution
Only to be called from generated bytecode or from the Mocking Bridge.
RecordPhase - Class in mockit.internal.expectations
 
redefineClass(Class<?>, byte[]) - Method in class mockit.internal.capturing.CaptureOfImplementations
 
redefineClass(Class<?>, byte[]) - Method in class mockit.internal.expectations.mocking.CaptureOfNewInstances
 
redefineClass(Class<?>, byte[]) - Method in class mockit.internal.faking.CaptureOfFakedImplementations
 
redefineClass(Class<?>, Class<?>, M) - Method in class mockit.internal.capturing.CaptureOfImplementations
 
redefineClasses(ClassDefinition...) - Method in class mockit.internal.state.MockFixture
 
redefineMethods() - Method in class mockit.internal.faking.FakeClassSetup
 
redefineMethods(Class<?>, byte[]) - Static method in class mockit.internal.startup.Startup
 
redefineMethods(ClassDefinition...) - Static method in class mockit.internal.startup.Startup
 
redefineMethods(Map<Class<?>, byte[]>) - Method in class mockit.internal.state.MockFixture
 
redefineMethods(ClassIdentification, byte[]) - Static method in class mockit.internal.startup.Startup
 
redefineType() - Method in class mockit.internal.expectations.mocking.CascadingTypeRedefinition
 
redefineTypes(Object[]) - Method in class mockit.internal.expectations.mocking.PartialMocking
 
ReferenceType - Class in mockit.asm.types
 
reflection - Variable in class mockit.internal.injection.TestedClass
 
ReflectiveMatcher - Class in mockit.internal.expectations.argumentMatching
 
ReflectiveMatcher(Delegate<?>) - Constructor for class mockit.internal.expectations.argumentMatching.ReflectiveMatcher
 
register(String, String, String, String[]) - Static method in class mockit.internal.state.ParameterNames
 
registerAssignmentToInstanceField(Object, String) - Method in class mockit.coverage.dataItems.PerFileDataCoverage
 
registerAssignmentToStaticField(String) - Method in class mockit.coverage.dataItems.PerFileDataCoverage
 
registerExecution(int, int, CallPoint) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
registerExecution(int, CallPoint) - Method in class mockit.coverage.lines.PerFileLineCoverage
 
registerInstanceFactoryForMockedType(Class<?>, InstanceFactory) - Method in class mockit.internal.state.MockFixture
 
registerLoadedClass(Class<?>) - Static method in class mockit.internal.util.ClassLoad
 
registerMock(MockedType, Object) - Method in class mockit.internal.expectations.state.ExecutingTest
 
registerMockedClass(Class<?>) - Method in class mockit.internal.state.MockFixture
 
registerReadOfInstanceField(Object, String) - Method in class mockit.coverage.dataItems.PerFileDataCoverage
 
registerReadOfStaticField(String) - Method in class mockit.coverage.dataItems.PerFileDataCoverage
 
Regular - Enum constant in enum mockit.internal.expectations.ExecutionMode
 
remove(Object) - Static method in class tutorial.persistence.Database
 
remove(BaseEntity) - Method in class petclinic.util.Database
Removes a given persistent entity from the application database.
removeClassState(Class<?>, String) - Method in class mockit.internal.faking.FakeStates
 
replacementInstance - Variable in class mockit.internal.expectations.invocation.ExpectedInvocation
 
requestNewOwner() - Method in class petclinic.owners.OwnerScreen
 
requestNewPet() - Method in class petclinic.pets.PetScreen
 
requestNewVisit() - Method in class petclinic.visits.VisitScreen
 
Required - Enum constant in enum mockit.internal.injection.InjectionPoint.KindOfInjectionPoint
 
resolveInterface(Class<?>) - Method in class mockit.internal.injection.InjectionState
 
resolveParameter(ParameterContext, ExtensionContext) - Method in class mockit.integration.junit5.JMockitExtension
 
resolveSignature(String, String) - Method in class mockit.internal.reflection.GenericTypeReflection
 
resolveTypeVariable(TypeVariable<?>) - Method in class mockit.internal.reflection.GenericTypeReflection
 
restoreConsumedInjectionProviders(List<InjectionProvider>) - Method in class mockit.internal.injection.InjectionProviders
 
result - Variable in class mockit.Expectations
A value assigned to this field will be taken as the result for the expectation that is being recorded.
retransformClass(Class<?>) - Static method in class mockit.internal.startup.Startup
 
RETURN - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
returns(Object, Object, Object...) - Method in class mockit.Expectations
Specifies that the previously recorded method invocation will return a given sequence of values during replay.
returnsNegatedInput(boolean) - Method in class integrationTests.BooleanExpressions
Returns negated input.
returnsNegatedInputFromLocalVariable(boolean) - Method in class integrationTests.BooleanExpressions
Returns negated input from local variable.
returnsResultPreviouslyComputedFromInput(boolean, int) - Method in class integrationTests.BooleanExpressions
Returns result previously computed from input.
returnsTrivialResultFromInputAfterIfElse(boolean, int) - Method in class integrationTests.BooleanExpressions
Returns trivial result from input after if else.
ReturnTypeConversion - Class in mockit.internal.expectations.invocation
 
ReturnTypeConversion(ExpectedInvocation, InvocationResults, Class<?>, Object) - Constructor for class mockit.internal.expectations.invocation.ReturnTypeConversion
 
returnValue() - Method in interface integrationTests.AnInterface
Return value.
rollback() - Method in class mockit.internal.faking.FakeClasses.SavePoint
 
rollback() - Method in class mockit.internal.state.SavePoint
 
roundUpLength() - Method in class mockit.asm.util.ByteVector
 

S

SALOAD - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
same(M) - Method in interface mockit.internal.expectations.argumentMatching.ArgumentMatcher
Indicates whether this matcher instance is functionally the same as another one of the same type.
same(AlwaysTrueMatcher) - Method in class mockit.internal.expectations.argumentMatching.AlwaysTrueMatcher
 
same(CaptureMatcher<T>) - Method in class mockit.internal.expectations.argumentMatching.CaptureMatcher
 
same(ClassMatcher) - Method in class mockit.internal.expectations.argumentMatching.ClassMatcher
 
same(EqualityMatcher) - Method in class mockit.internal.expectations.argumentMatching.EqualityMatcher
 
same(HamcrestAdapter) - Method in class mockit.internal.expectations.argumentMatching.HamcrestAdapter
 
same(NonNullityMatcher) - Method in class mockit.internal.expectations.argumentMatching.NonNullityMatcher
 
same(NullityMatcher) - Method in class mockit.internal.expectations.argumentMatching.NullityMatcher
 
same(NumericEqualityMatcher) - Method in class mockit.internal.expectations.argumentMatching.NumericEqualityMatcher
 
same(PatternMatcher) - Method in class mockit.internal.expectations.argumentMatching.PatternMatcher
 
same(ReflectiveMatcher) - Method in class mockit.internal.expectations.argumentMatching.ReflectiveMatcher
 
same(SamenessMatcher) - Method in class mockit.internal.expectations.argumentMatching.SamenessMatcher
 
same(SubstringMatcher) - Method in class mockit.internal.expectations.argumentMatching.StringContainmentMatcher
 
same(SubstringMatcher) - Method in class mockit.internal.expectations.argumentMatching.StringPrefixMatcher
 
same(SubstringMatcher) - Method in class mockit.internal.expectations.argumentMatching.StringSuffixMatcher
 
SamenessMatcher - Class in mockit.internal.expectations.argumentMatching
 
SamenessMatcher(Object) - Constructor for class mockit.internal.expectations.argumentMatching.SamenessMatcher
 
SASTORE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
satisfiesGenericSignature(String) - Method in class mockit.internal.reflection.GenericTypeReflection.GenericSignature
 
satisfiesSignature(String) - Method in class mockit.internal.reflection.GenericTypeReflection.GenericSignature
 
save(BaseEntity) - Method in class petclinic.util.Database
Saves the state of a given entity to the application database, whether it is new (still transient, with no id) or already persisted (with an id).
saveConsumedInjectionProviders() - Method in class mockit.internal.injection.InjectionProviders
 
saveGlobalDependency(InjectionPoint, Object) - Static method in class mockit.internal.injection.InjectionState
 
saveInstantiatedDependency(InjectionPoint, Object) - Method in class mockit.internal.injection.InjectionState
 
SavePoint - Class in mockit.internal.state
 
SavePoint() - Constructor for class mockit.internal.faking.FakeClasses.SavePoint
 
SavePoint() - Constructor for class mockit.internal.state.SavePoint
 
SBYTE - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
searchTypeInClasspath(String) - Static method in class mockit.internal.util.ClassLoad
 
searchTypeInClasspath(String, boolean) - Static method in class mockit.internal.util.ClassLoad
 
Second - Enum constant in enum ClassInDefaultPackage.NestedEnum
The Second.
Second - Enum constant in enum integrationTests.ClassInRegularPackage.NestedEnum
The Second.
selectOwner(int) - Method in class petclinic.owners.OwnerScreen
 
selectOwner(int) - Method in class petclinic.pets.PetScreen
 
selectPet(int) - Method in class petclinic.pets.PetScreen
 
selectPet(int) - Method in class petclinic.visits.VisitScreen
 
selectVisit(int) - Method in class petclinic.visits.VisitScreen
 
SERVLET_CLASS - Static variable in class mockit.internal.injection.InjectionPoint
 
set(double) - Method in class mockit.asm.constantPool.DoubleItem
Sets the value of this item.
set(float) - Method in class mockit.asm.constantPool.FloatItem
Sets the value of this item.
set(int, String, String, int) - Method in class mockit.asm.constantPool.DynamicItem
Sets the type, name, desc, and index of the constant or invoke dynamic item.
set(int, String, String, String) - Method in class mockit.asm.constantPool.ClassMemberItem
Sets the values of this field/method item.
set(String, String) - Method in class mockit.asm.constantPool.NameAndTypeItem
Sets the name and type descriptor of this item.
set(MethodHandle) - Method in class mockit.asm.constantPool.MethodHandleItem
Sets the type and hash code of this method handle item.
setAddress(String) - Method in class petclinic.owners.Owner
 
setArrayField(int[]) - Method in class integrationTests.data.ClassWithInstanceFields
 
setAttribute(String) - Method in class mockit.asm.constantPool.AttributeWriter
 
setBirthDate(Date) - Method in class petclinic.pets.Pet
 
setBooleanField(boolean) - Method in class integrationTests.data.ClassWithInstanceFields
 
setByteField(byte) - Method in class integrationTests.data.ClassWithInstanceFields
 
setCharField(char) - Method in class integrationTests.data.ClassWithInstanceFields
 
setCity(String) - Method in class petclinic.owners.Owner
 
setCurrentTestClass(Class<?>) - Static method in class mockit.internal.state.TestRun
 
setCurrentTestMethod(Method) - Method in class mockit.coverage.testRedundancy.TestCoverage
 
setCustomerEmail(String) - Method in class tutorial.domain.EntityX
 
setDate(Date) - Method in class petclinic.visits.Visit
 
setDescription(String) - Method in class petclinic.visits.Visit
 
setDoubleField(double) - Method in class integrationTests.data.ClassWithInstanceFields
 
setExpectedArgumentType(int, int) - Static method in class mockit.internal.expectations.ActiveInvocations
 
setExpectedArgumentType(int, String) - Static method in class mockit.internal.expectations.ActiveInvocations
 
setExpectedType(Class<?>) - Method in class mockit.internal.expectations.argumentMatching.CaptureMatcher
 
setField(Class<?>, Object) - Static method in class mockit.Deencapsulation
Sets the value of a non-accessible static field on a given class.
setField(Class<?>, Object, String, Object) - Static method in class mockit.internal.reflection.FieldReflection
 
setField(Class<?>, String, Object) - Static method in class mockit.Deencapsulation
Sets the value of a non-accessible static field on a given class.
setField(Object, Object) - Static method in class mockit.Deencapsulation
Sets the value of a non-accessible field on a given object.
setField(Object, String, Object) - Static method in class mockit.Deencapsulation
Sets the value of a non-accessible field on a given object.
setFieldTypeRedefinitions(FieldTypeRedefinitions) - Static method in class mockit.internal.state.TestRun
 
setFieldValue(Field, Object, Object) - Static method in class mockit.internal.reflection.FieldReflection
 
setFirstName(String) - Method in class petclinic.util.Person
 
setFloatField(float) - Method in class integrationTests.data.ClassWithInstanceFields
 
setId(Integer) - Method in class petclinic.util.BaseEntity
 
setInjectionProvider(InjectionProvider) - Method in class mockit.internal.injection.full.FullInjection
 
setInstance1(boolean) - Method in class integrationTests.data.ClassWithFields
 
setInstance2(Boolean) - Method in class integrationTests.data.ClassWithFields
 
setInstance3(double) - Method in class integrationTests.data.ClassWithFields
 
setInstanceField1(long) - Method in class integrationTests.data.ClassWithFieldsAccessedByMultipleTests
 
setInstanceField2(long) - Method in class integrationTests.data.ClassWithFieldsAccessedByMultipleTests
 
setIntField(int) - Method in class integrationTests.data.ClassWithInstanceFields
 
setLastName(String) - Method in class petclinic.owners.OwnerScreen
 
setLastName(String) - Method in class petclinic.util.Person
 
setLength(int) - Method in class mockit.asm.util.ByteVector
Sets the ByteVector.length of this vector, in bytes.
setLimits(int, int) - Method in class mockit.internal.expectations.invocation.InvocationConstraints
 
setLoggedIn(boolean) - Method in class jmockit.loginExample.domain.userAccount.UserAccount
 
setLongField(long) - Method in class integrationTests.data.ClassWithInstanceFields
 
setMatchers(List<ArgumentMatcher<?>>) - Method in class mockit.internal.expectations.invocation.InvocationArguments
 
setMaxStack(int) - Method in class mockit.asm.controlFlow.StackMapTableWriter
 
setName(String) - Method in class petclinic.pets.Pet
 
setName(String) - Method in class petclinic.pets.PetType
 
setName(String) - Method in class petclinic.vets.Specialty
 
setNext(AnnotationVisitor) - Method in class mockit.asm.annotations.AnnotationVisitor
Sets the visitor to the AnnotationVisitor.next annotation.
setNext(Item[]) - Method in class mockit.asm.constantPool.Item
 
setNext(Edge) - Method in class mockit.asm.controlFlow.Edge
Sets the Edge.next edge.
setOwner(Owner) - Method in class petclinic.pets.Pet
 
setParameterRedefinitions(ParameterTypeRedefinitions) - Method in class mockit.internal.expectations.state.ExecutingTest
 
setParameterValue(int, Object) - Method in class mockit.internal.util.TestMethod
 
setPassword(String) - Method in class jmockit.loginExample.domain.userAccount.UserAccount
 
setPet(Pet) - Method in class petclinic.visits.Visit
 
setPrevious(BaseInvocation) - Method in class mockit.internal.BaseInvocation
 
setRecordAndReplay(RecordAndReplayExecution) - Method in class mockit.internal.expectations.state.ExecutingTest
 
setRevoked(boolean) - Method in class jmockit.loginExample.domain.userAccount.UserAccount
 
setRunningIndividualTest(Object) - Static method in class mockit.internal.state.TestRun
 
setShortField(short) - Method in class integrationTests.data.ClassWithInstanceFields
 
setShouldIgnoreMockingCallbacks(boolean) - Method in class mockit.internal.expectations.state.ExecutingTest
 
setSomeProperty(String) - Method in class tutorial.domain.EntityX
 
setStatic1(int) - Static method in class integrationTests.data.ClassWithFields
 
setStatic2(String) - Static method in class integrationTests.data.ClassWithFields
 
setStatic3(long) - Static method in class integrationTests.data.ClassWithFields
 
setStaticField1(boolean) - Static method in class integrationTests.data.ClassWithFieldsAccessedByMultipleTests
 
setStaticField2(boolean) - Static method in class integrationTests.data.ClassWithFieldsAccessedByMultipleTests
 
setSuccessors(Edge) - Method in class mockit.asm.controlFlow.Label
 
setTelephone(String) - Method in class petclinic.owners.Owner
 
setTestedClassInstantiations(TestedClassInstantiations) - Static method in class mockit.internal.state.TestRun
 
setTotal(BigDecimal) - Method in class tutorial.domain.EntityX
 
setType(PetType) - Method in class petclinic.pets.Pet
 
setTypeOfInjectionPoint(Type, InjectionPoint.KindOfInjectionPoint) - Method in class mockit.internal.injection.InjectionProviders
 
setUseClassLoadingBridge(ClassLoader) - Method in class mockit.internal.BaseClassModifier
 
setValue(int) - Method in class mockit.asm.constantPool.FloatItem
 
setValue(int) - Method in class mockit.asm.constantPool.IntItem
 
setValue(long) - Method in class mockit.asm.constantPool.LongValueItem
 
setValuesAndMatchers(Object[], List<ArgumentMatcher<?>>) - Method in class mockit.internal.expectations.invocation.InvocationArguments
 
setValuesWithNoMatchers(Object[]) - Method in class mockit.internal.expectations.invocation.InvocationArguments
 
setWithCallPoints(boolean) - Method in class mockit.coverage.data.CoverageData
 
SHORT - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
The SHORT type.
SHORT - Static variable in interface mockit.asm.jvmConstants.ArrayElementType
 
SHORT - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
shortField - Variable in class integrationTests.data.ClassWithInstanceFields
 
shouldConsiderClassesNotLoaded() - Method in class mockit.coverage.modification.ClassModification
 
shouldPrepareForNextTest - Variable in class mockit.integration.TestRunnerDecorator
A "volatile boolean" is as good as a java.util.concurrent.atomic.AtomicBoolean here, since we only need the basic get/set operations.
shouldProceedIntoConstructor() - Method in class mockit.internal.faking.FakeInvocation
 
shouldProceedIntoRealImplementation(Object, String) - Method in class mockit.internal.expectations.state.ExecutingTest
 
showVetList() - Method in class petclinic.vets.VetScreen
 
showVisits() - Method in class petclinic.visits.VisitScreen
 
signature - Variable in class mockit.asm.AnnotatedReader
The generic type signature of the class/field/method, if it has one.
signature - Variable in class mockit.asm.classes.ClassInfo
The generic signature of the class.
signature - Variable in class mockit.asm.metadata.ClassMetadataReader.FieldInfo
 
signature - Variable in class mockit.asm.metadata.ClassMetadataReader.MethodInfo
 
Signature - Enum constant in enum mockit.asm.metadata.ClassMetadataReader.Attribute
 
SignatureWriter - Class in mockit.asm
 
SignatureWriter(ConstantPoolGeneration, String) - Constructor for class mockit.asm.SignatureWriter
 
simplyReturnsInput(boolean) - Method in class integrationTests.BooleanExpressions
Simply returns input.
SIPUSH - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
SIZE - Static variable in class mockit.asm.jvmConstants.JVMInstruction
The stack size variation corresponding to each JVM instruction.
sourceClass - Variable in class mockit.internal.classGeneration.ImplementationClass
 
sourceFileName - Variable in class mockit.asm.classes.ClassInfo
The name of the source file from which the class was compiled, if available.
Specialty - Class in petclinic.vets
A Vet's specialty (for example, "Dentistry").
Specialty() - Constructor for class petclinic.vets.Specialty
 
STACK - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
Kind of the types that are relative to the stack of an input stack map frame.
StackMapTableWriter - Class in mockit.asm.controlFlow
Writes the "StackMapTable" method attribute (or "StackMap" for classfiles older than Java 6).
StackMapTableWriter(ConstantPoolGeneration, boolean, int, String) - Constructor for class mockit.asm.controlFlow.StackMapTableWriter
 
StackTrace - Class in mockit.internal.util
Provides utility methods to extract and filter stack trace information.
StackTrace(Throwable) - Constructor for class mockit.internal.util.StackTrace
 
startModifiedMethodVersion(int, String, String, String, String[]) - Method in class mockit.internal.BaseClassModifier
Just creates a new MethodWriter which will write out the method bytecode when visited.
Startup - Class in mockit.internal.startup
This is the "agent class" that initializes the JMockit "Java agent", provided the JVM is initialized with
startVerifications(boolean, Object[]) - Method in class mockit.internal.expectations.RecordAndReplayExecution
 
STATIC - Static variable in class mockit.asm.jvmConstants.Access
 
StaticFieldData - Class in mockit.coverage.dataItems
 
StaticFieldData() - Constructor for class mockit.coverage.dataItems.StaticFieldData
 
staticFieldsData - Variable in class mockit.coverage.dataItems.PerFileDataCoverage
 
STRING - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
StringContainmentMatcher - Class in mockit.internal.expectations.argumentMatching
 
StringContainmentMatcher(CharSequence) - Constructor for class mockit.internal.expectations.argumentMatching.StringContainmentMatcher
 
StringItem - Class in mockit.asm.constantPool
 
StringItem(int, int, String) - Constructor for class mockit.asm.constantPool.StringItem
 
StringPrefixMatcher - Class in mockit.internal.expectations.argumentMatching
 
StringPrefixMatcher(CharSequence) - Constructor for class mockit.internal.expectations.argumentMatching.StringPrefixMatcher
 
StringSuffixMatcher - Class in mockit.internal.expectations.argumentMatching
 
StringSuffixMatcher(CharSequence) - Constructor for class mockit.internal.expectations.argumentMatching.StringSuffixMatcher
 
stubOutClassInitialization() - Element in annotation type mockit.Mocked
Indicates whether static initialization code in the mocked class should be stubbed out or not.
SubclassGenerationModifier - Class in mockit.internal.expectations.mocking
 
SubclassGenerationModifier(Class<?>, Type, ClassReader, String, boolean) - Constructor for class mockit.internal.expectations.mocking.SubclassGenerationModifier
 
SUPER - Static variable in class mockit.asm.jvmConstants.Access
 
superClassName - Variable in class mockit.internal.BaseClassModifier
 
superName - Variable in class mockit.asm.classes.ClassInfo
The internal name of the super class.
supportsParameter(ParameterContext, ExtensionContext) - Method in class mockit.integration.junit5.JMockitExtension
 
SWAP - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
SwitchStatements - Class in integrationTests.otherControlStructures
 
SwitchStatements() - Constructor for class integrationTests.otherControlStructures.SwitchStatements
 
SynchronizedBlocks - Class in integrationTests.otherControlStructures
 
SynchronizedBlocks() - Constructor for class integrationTests.otherControlStructures.SynchronizedBlocks
 
SYNTHETIC - Static variable in class mockit.asm.jvmConstants.Access
 

T

TABL_INSN - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
TABLESWITCH - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
tag - Variable in class mockit.asm.util.MethodHandle
The kind of method designated by this handle.
TAG_GETFIELD - Static variable in interface mockit.asm.util.MethodHandle.Tag
 
TAG_GETSTATIC - Static variable in interface mockit.asm.util.MethodHandle.Tag
 
TAG_INVOKEINTERFACE - Static variable in interface mockit.asm.util.MethodHandle.Tag
 
TAG_INVOKESPECIAL - Static variable in interface mockit.asm.util.MethodHandle.Tag
 
TAG_INVOKESTATIC - Static variable in interface mockit.asm.util.MethodHandle.Tag
 
TAG_INVOKEVIRTUAL - Static variable in interface mockit.asm.util.MethodHandle.Tag
 
TAG_NEWINVOKESPECIAL - Static variable in interface mockit.asm.util.MethodHandle.Tag
 
TAG_PUTFIELD - Static variable in interface mockit.asm.util.MethodHandle.Tag
 
TAG_PUTSTATIC - Static variable in interface mockit.asm.util.MethodHandle.Tag
 
targetClass - Variable in class mockit.internal.injection.TestedClass
 
targetInstances - Variable in class mockit.internal.expectations.mocking.PartialMocking
 
targetType - Variable in class mockit.MockUp
Holds the class or generic type targeted by this fake instance.
TEST_ONLY_PHASE_LOCK - Static variable in class mockit.internal.expectations.RecordAndReplayExecution
 
testClass - Variable in class mockit.internal.injection.TestedClass
 
testClass - Variable in class mockit.internal.util.TestMethod
 
testClassDesc - Variable in class mockit.internal.util.TestMethod
 
TestCoverage - Class in mockit.coverage.testRedundancy
 
Tested - Annotation Type in mockit
Indicates a class to be tested, with optional automatic instantiation and/or automatic injection of dependencies.
TestedClass - Class in mockit.internal.injection
 
TestedClass(Type, Class<?>) - Constructor for class mockit.internal.injection.TestedClass
 
TestedClass(Type, Class<?>, TestedClass) - Constructor for class mockit.internal.injection.TestedClass
 
TestedClassInstantiations - Class in mockit.internal.injection
 
TestedClassInstantiations() - Constructor for class mockit.internal.injection.TestedClassInstantiations
 
TestedObjectCreation - Class in mockit.internal.injection
 
TestedObjectCreation(InjectionState, FullInjection, Class<?>) - Constructor for class mockit.internal.injection.TestedObjectCreation
 
TestedParameters - Class in mockit.internal.injection
 
TestedParameters(TestMethod) - Constructor for class mockit.internal.injection.TestedParameters
 
testFinished(Description) - Method in class mockit.coverage.testRedundancy.JUnitListener
 
TestMethod - Class in mockit.internal.util
 
TestMethod(Method, Object[]) - Constructor for class mockit.internal.util.TestMethod
 
testMethodDesc - Variable in class mockit.internal.util.TestMethod
 
TestNGRunnerDecorator - Class in mockit.integration.testng
Provides callbacks to be called by the TestNG 6.2+ test runner for each test execution.
TestNGRunnerDecorator() - Constructor for class mockit.integration.testng.TestNGRunnerDecorator
 
TestOnlyPhase - Class in mockit.internal.expectations
 
TestRun - Class in mockit.coverage
 
TestRun - Class in mockit.internal.state
A singleton which stores several data structures which in turn hold global state for individual test methods, test classes, and for the test run as a whole.
TestRunnerDecorator - Class in mockit.integration
Base class for "test runner decorators", which provide integration between JMockit and specific test runners from JUnit and TestNG.
TestRunnerDecorator() - Constructor for class mockit.integration.TestRunnerDecorator
 
testStarted(Description) - Method in class mockit.coverage.testRedundancy.JUnitListener
 
TestWebApplicationContext - Class in mockit.integration.springframework
A WebApplicationContext implementation which exposes the @Tested objects and their injected dependencies declared in the current test class.
TestWebApplicationContext() - Constructor for class mockit.integration.springframework.TestWebApplicationContext
 
times - Variable in class mockit.Expectations
A non-negative value assigned to this field will be taken as the exact number of times that invocations matching the current expectation should occur during replay.
times - Variable in class mockit.FullVerifications
A non-negative value assigned to this field will be taken as the exact number of times that invocations matching the current expectation should occur during replay.
times - Variable in class mockit.Verifications
A non-negative value assigned to this field will be taken as the exact number of times that invocations matching the current expectation should occur during replay.
times - Variable in class mockit.VerificationsInOrder
A non-negative value assigned to this field will be taken as the exact number of times that invocations matching the current expectation should occur during replay.
times(int) - Static method in class mockit.internal.expectations.ActiveInvocations
 
toByteArray() - Method in class mockit.asm.classes.ClassVisitor
Returns the bytecode of the class that was built with this class visitor.
toByteArray() - Method in class mockit.asm.classes.ClassWriter
Returns the bytecode of the class that was built with this class writer.
toByteArray() - Method in class mockit.asm.classes.WrappingClassVisitor
 
TOP - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
The TOP type.
TOP_IF_LONG_OR_DOUBLE - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
Flag used for LOCAL and STACK types.
toString() - Method in class mockit.asm.controlFlow.Label
 
toString() - Method in class mockit.asm.types.JavaType
Returns a string representation of this type.
toString() - Method in class mockit.coverage.reporting.parsing.LineElement
 
toString() - Method in class mockit.internal.expectations.argumentMatching.ArgumentMismatch
 
toString() - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
toString() - Method in class mockit.internal.expectations.invocation.InvocationArguments
 
toString() - Method in exception class mockit.internal.expectations.invocation.MissingInvocation
 
toString() - Method in exception class mockit.internal.expectations.invocation.UnexpectedInvocation
 
toString() - Method in class mockit.internal.injection.field.FieldToInject
 
toString() - Method in class mockit.internal.injection.full.FullInjection
 
toString() - Method in class mockit.internal.injection.InjectionProvider
 
toString() - Method in class mockit.internal.util.MethodFormatter
 
toString(Object) - Method in class mockit.internal.expectations.invocation.ExpectedInvocation
 
transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class mockit.coverage.CodeCoverage
 
transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class mockit.internal.capturing.CaptureTransformer
 
transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class mockit.internal.expectations.transformation.ExpectationsTransformer
 
transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class mockit.internal.state.CachedClassfiles
 
TryCatchFinallyStatements - Class in integrationTests.otherControlStructures
 
TryCatchFinallyStatements() - Constructor for class integrationTests.otherControlStructures.TryCatchFinallyStatements
 
tutorial.domain - package tutorial.domain
 
tutorial.persistence - package tutorial.persistence
 
type - Variable in class mockit.internal.injection.InjectionPoint
 
TYPE - Static variable in class mockit.asm.jvmConstants.JVMInstruction
The instruction types of all JVM opcodes, one value for each instruction opcode.
TYPE_INSN - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
TypeConversion - Class in mockit.internal.util
 
TypeConversionBytecode - Class in mockit.internal.util
 
TypeDescriptor - Class in mockit.internal.util
 
TypeOrMemberItem - Class in mockit.asm.constantPool
 
TypeRedefinitions - Class in mockit.internal.expectations.mocking
 

U

UnexpectedInvocation - Exception Class in mockit.internal.expectations.invocation
Thrown to indicate that one or more unexpected invocations occurred during the test.
UnexpectedInvocation(String) - Constructor for exception class mockit.internal.expectations.invocation.UnexpectedInvocation
 
UNINITIALIZED - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
Base kind of the uninitialized base types.
UNINITIALIZED_THIS - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
The UNINITIALIZED_THIS type.
UninitializedTypeTableItem - Class in mockit.asm.constantPool
 
UnreachableStatements - Class in integrationTests
The Class UnreachableStatements.
UnreachableStatements() - Constructor for class integrationTests.UnreachableStatements
 
updateCurrentBlockForFieldInstruction(int, TypeOrMemberItem, String) - Method in class mockit.asm.controlFlow.CFGAnalysis
 
updateCurrentBlockForIINCInstruction(int) - Method in class mockit.asm.controlFlow.CFGAnalysis
 
updateCurrentBlockForInvokeInstruction(TypeOrMemberItem, int, String) - Method in class mockit.asm.controlFlow.CFGAnalysis
 
updateCurrentBlockForJumpInstruction(int, Label) - Method in class mockit.asm.controlFlow.CFGAnalysis
 
updateCurrentBlockForJumpTarget(int, Label) - Method in class mockit.asm.controlFlow.CFGAnalysis
 
updateCurrentBlockForLabelBeforeNextInstruction(Label) - Method in class mockit.asm.controlFlow.CFGAnalysis
 
updateCurrentBlockForLDCInstruction(Item) - Method in class mockit.asm.controlFlow.CFGAnalysis
 
updateCurrentBlockForLocalVariableInstruction(int, int) - Method in class mockit.asm.controlFlow.CFGAnalysis
 
updateCurrentBlockForMULTIANEWARRAYInstruction(StringItem, int) - Method in class mockit.asm.controlFlow.CFGAnalysis
 
updateCurrentBlockForSingleIntOperandInstruction(int, int) - Method in class mockit.asm.controlFlow.CFGAnalysis
 
updateCurrentBlockForSwitchInstruction(Label, Label[]) - Method in class mockit.asm.controlFlow.CFGAnalysis
 
updateCurrentBlockForTypeInstruction(int, StringItem) - Method in class mockit.asm.controlFlow.CFGAnalysis
 
updateCurrentBlockForZeroOperandInstruction(int) - Method in class mockit.asm.controlFlow.CFGAnalysis
 
updateFakeState(Object, int) - Method in class mockit.internal.faking.FakeStates
 
updateFakeState(String, Object, int) - Static method in class mockit.internal.state.TestRun
 
updateMaxLocals(int) - Method in class mockit.asm.controlFlow.StackMapTableWriter
 
updatePet(Pet) - Method in class petclinic.pets.PetMaintenance
 
updateTestClassState(Object, Class<?>) - Static method in class mockit.integration.TestRunnerDecorator
 
useClassLoadingBridge - Variable in class mockit.internal.BaseClassModifier
 
UserAccount - Class in jmockit.loginExample.domain.userAccount
 
UserAccount(String, String) - Constructor for class jmockit.loginExample.domain.userAccount.UserAccount
 
UserAccountNotFoundException - Exception Class in jmockit.loginExample.domain.userLogin
 
UserAccountNotFoundException() - Constructor for exception class jmockit.loginExample.domain.userLogin.UserAccountNotFoundException
 
UserAccountRevokedException - Exception Class in jmockit.loginExample.domain.userLogin
 
UserAccountRevokedException() - Constructor for exception class jmockit.loginExample.domain.userLogin.UserAccountRevokedException
 
UTF8 - Static variable in interface mockit.asm.jvmConstants.ConstantPoolTypes
 
Utilities - Class in mockit.internal.util
Miscellaneous utility constants and methods.

V

V10 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V11 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V12 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V13 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V14 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V15 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V16 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V17 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V18 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V19 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V20 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V21 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V22 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V5 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V6 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V7 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V8 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
V9 - Static variable in interface mockit.asm.jvmConstants.ClassVersion
 
validateAsMockable(Class<?>) - Static method in class mockit.internal.expectations.MockingFilters
 
validateAsMockable(String) - Static method in class mockit.internal.expectations.MockingFilters
 
validatePublicVoidNoArg(Invocation, boolean, List<Throwable>) - Static method in class mockit.integration.junit4.FakeFrameworkMethod
 
value() - Element in annotation type integrationTests.AnAnnotation
Value.
value() - Element in annotation type mockit.Injectable
Specifies a literal value when the type of the injectable mock field/parameter is String, a primitive or wrapper type, a number type, or an enum type.
value() - Element in annotation type mockit.Tested
Specifies a literal value when the type of the tested field/parameter is String, a primitive or wrapper type, a number type, or an enum type.
VALUE - Static variable in interface mockit.asm.controlFlow.FrameTypeMask
Mask to get the value of a frame type.
valueOf(String) - Static method in enum ClassInDefaultPackage.NestedEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum integrationTests.AnEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum integrationTests.ClassInRegularPackage.NestedEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum mockit.asm.metadata.ClassMetadataReader.Attribute
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum mockit.internal.expectations.ExecutionMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum mockit.internal.injection.InjectionPoint.KindOfInjectionPoint
Returns the enum constant of this type with the specified name.
values() - Static method in enum ClassInDefaultPackage.NestedEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum integrationTests.AnEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum integrationTests.ClassInRegularPackage.NestedEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum mockit.asm.metadata.ClassMetadataReader.Attribute
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum mockit.internal.expectations.ExecutionMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum mockit.internal.injection.InjectionPoint.KindOfInjectionPoint
Returns an array containing the constants of this enum type, in the order they are declared.
VAR - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
VARARGS - Static variable in class mockit.asm.jvmConstants.Access
 
Verifications - Class in mockit
Used to verify a set of expectations on available mocked types and/or instances, against the invocations which actually occurred during the test.
Verifications() - Constructor for class mockit.Verifications
Begins a set of unordered expectation verifications, on the available mocked types and/or mocked instances.
VerificationsInOrder - Class in mockit
Same as Verifications, but checking that invocations from code under test occur in the same order as the verified expectations.
VerificationsInOrder() - Constructor for class mockit.VerificationsInOrder
Begins in-order verification on the mocked types/instances that were invoked while executing code under test.
verifyInitialization() - Static method in class mockit.internal.startup.Startup
 
verifyLowerLimit(ExpectedInvocation, int) - Method in class mockit.internal.expectations.invocation.InvocationConstraints
 
verifyUpperLimit(ExpectedInvocation, Object[], int) - Method in class mockit.internal.expectations.invocation.InvocationConstraints
 
Vet - Class in petclinic.vets
A veterinarian.
Vet() - Constructor for class petclinic.vets.Vet
 
VetMaintenance - Class in petclinic.vets
A domain service class for Vet-related business operations.
VetMaintenance() - Constructor for class petclinic.vets.VetMaintenance
 
VetScreen - Class in petclinic.vets
An application service class that handles Vet-related operations from the vet screen.
VetScreen() - Constructor for class petclinic.vets.VetScreen
 
visit(int, int, String, ClassInfo) - Method in class mockit.asm.classes.ClassVisitor
Visits the header of the class.
visit(int, int, String, ClassInfo) - Method in class mockit.asm.classes.ClassWriter
 
visit(int, int, String, ClassInfo) - Method in class mockit.asm.classes.WrappingClassVisitor
 
visit(int, int, String, ClassInfo) - Method in class mockit.internal.BaseClassModifier
 
visit(int, int, String, ClassInfo) - Method in class mockit.internal.classGeneration.BaseSubclassGenerator
 
visit(int, int, String, ClassInfo) - Method in class mockit.internal.expectations.mocking.InterfaceImplementationGenerator
 
Visit - Class in petclinic.visits
A visit from a pet and its owner to the clinic.
Visit() - Constructor for class petclinic.visits.Visit
Creates a new instance of Visit for the current date.
visitAnnotation(String) - Method in class mockit.asm.BaseWriter
Visits an annotation of the class/field/method being visited.
visitAnnotation(String) - Method in class mockit.asm.classes.WrappingClassVisitor
 
visitAnnotation(String) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitAnnotation(String) - Method in class mockit.internal.expectations.mocking.InterfaceImplementationGenerator
 
visitEnd() - Method in class mockit.asm.BaseWriter
Visits the end of the class/field/method being visited.
visitEnd() - Method in class mockit.internal.classGeneration.BaseSubclassGenerator
 
visitEnd() - Method in class mockit.internal.expectations.mocking.InterfaceImplementationGenerator
 
visitField(int, String, String, String, Object) - Method in class mockit.asm.classes.ClassVisitor
Visits a field of the class.
visitField(int, String, String, String, Object) - Method in class mockit.asm.classes.ClassWriter
 
visitField(int, String, String, String, Object) - Method in class mockit.asm.classes.WrappingClassVisitor
 
visitField(int, String, String, String, Object) - Method in class mockit.internal.classGeneration.BaseSubclassGenerator
 
visitField(int, String, String, String, Object) - Method in class mockit.internal.expectations.mocking.InterfaceImplementationGenerator
 
visitFieldInsn(int, String, String, String) - Method in class mockit.internal.expectations.transformation.InvocationBlockModifier
 
visitFieldInsn(int, String, String, String) - Method in class mockit.asm.methods.MethodVisitor
Visits a field access instruction, which loads or stores the value of a field of an object or a class.
visitFieldInsn(int, String, String, String) - Method in class mockit.asm.methods.MethodWriter
 
visitFieldInsn(int, String, String, String) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitFrame(Frame) - Method in class mockit.asm.controlFlow.StackMapTableWriter
Visits a frame that has been computed from scratch.
visitIincInsn(int, int) - Method in class mockit.asm.methods.MethodVisitor
Visits an IINC instruction.
visitIincInsn(int, int) - Method in class mockit.asm.methods.MethodWriter
 
visitIincInsn(int, int) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitInnerClass(String, String, String, int) - Method in class mockit.asm.classes.ClassVisitor
Visits information about an inner class, which is not necessarily a member of the class being visited.
visitInnerClass(String, String, String, int) - Method in class mockit.asm.classes.ClassWriter
 
visitInnerClass(String, String, String, int) - Method in class mockit.asm.classes.WrappingClassVisitor
 
visitInnerClass(String, String, String, int) - Method in class mockit.internal.classGeneration.BaseSubclassGenerator
 
visitInnerClass(String, String, String, int) - Method in class mockit.internal.expectations.mocking.InterfaceImplementationGenerator
 
visitInsn(int) - Method in class mockit.internal.expectations.transformation.InvocationBlockModifier
 
visitInsn(int) - Method in class mockit.asm.methods.MethodVisitor
Visits a zero operand instruction.
visitInsn(int) - Method in class mockit.asm.methods.MethodWriter
 
visitInsn(int) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
VisitInterruptedException - Exception Class in mockit.internal.util
 
visitIntInsn(int, int) - Method in class mockit.internal.expectations.transformation.InvocationBlockModifier
 
visitIntInsn(int, int) - Method in class mockit.asm.methods.MethodVisitor
Visits an instruction with a single int operand.
visitIntInsn(int, int) - Method in class mockit.asm.methods.MethodWriter
 
visitIntInsn(int, int) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitInvokeDynamicInsn(String, String, MethodHandle, Object...) - Method in class mockit.asm.methods.MethodVisitor
Visits an INVOKEDYNAMIC instruction.
visitInvokeDynamicInsn(String, String, MethodHandle, Object...) - Method in class mockit.asm.methods.MethodWriter
 
visitInvokeDynamicInsn(String, String, MethodHandle, Object...) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitJumpInsn(int, Label) - Method in class mockit.internal.expectations.transformation.InvocationBlockModifier
 
visitJumpInsn(int, Label) - Method in class mockit.asm.methods.MethodVisitor
Visits a jump instruction.
visitJumpInsn(int, Label) - Method in class mockit.asm.methods.MethodWriter
 
visitJumpInsn(int, Label) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitLabel(Label) - Method in class mockit.asm.methods.MethodVisitor
Visits a label, which designates the instruction that will be visited just after it.
visitLabel(Label) - Method in class mockit.asm.methods.MethodWriter
 
visitLabel(Label) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitLabel(Label) - Method in class mockit.internal.expectations.transformation.InvocationBlockModifier
 
visitLdcInsn(Object) - Method in class mockit.asm.methods.MethodVisitor
Visits a LDC instruction.
visitLdcInsn(Object) - Method in class mockit.asm.methods.MethodWriter
 
visitLdcInsn(Object) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitLdcInsn(Object) - Method in class mockit.internal.expectations.transformation.InvocationBlockModifier
 
visitLineNumber(int, Label) - Method in class mockit.asm.methods.MethodVisitor
Visits a line number within the body of the method.
visitLineNumber(int, Label) - Method in class mockit.asm.methods.MethodWriter
 
visitLineNumber(int, Label) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitLocalVariable(String, String, String, Label, Label, int) - Method in class mockit.asm.methods.MethodVisitor
Visits a local variable declaration.
visitLocalVariable(String, String, String, Label, Label, int) - Method in class mockit.asm.methods.MethodWriter
 
visitLocalVariable(String, String, String, Label, Label, int) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitLocalVariable(String, String, String, Label, Label, int) - Method in class mockit.internal.expectations.transformation.InvocationBlockModifier
 
visitLookupSwitchInsn(Label, int[], Label[]) - Method in class mockit.asm.methods.MethodVisitor
Visits a LOOKUPSWITCH instruction.
visitLookupSwitchInsn(Label, int[], Label[]) - Method in class mockit.asm.methods.MethodWriter
 
visitLookupSwitchInsn(Label, int[], Label[]) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitLookupSwitchInsn(Label, int[], Label[]) - Method in class mockit.internal.expectations.transformation.InvocationBlockModifier
 
VisitMaintenance - Class in petclinic.visits
A domain service class for Visit-related business operations.
VisitMaintenance() - Constructor for class petclinic.visits.VisitMaintenance
 
visitMaxStack(int) - Method in class mockit.asm.methods.MethodVisitor
Visits the maximum stack size of the method.
visitMaxStack(int) - Method in class mockit.asm.methods.MethodWriter
 
visitMaxStack(int) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitMethod(int, String, String, String, String[]) - Method in class mockit.asm.classes.ClassVisitor
Visits a method of the class.
visitMethod(int, String, String, String, String[]) - Method in class mockit.asm.classes.ClassWriter
 
visitMethod(int, String, String, String, String[]) - Method in class mockit.asm.classes.WrappingClassVisitor
 
visitMethod(int, String, String, String, String[]) - Method in class mockit.internal.classGeneration.BaseSubclassGenerator
 
visitMethod(int, String, String, String, String[]) - Method in class mockit.internal.expectations.mocking.InterfaceImplementationGenerator
 
visitMethodInsn(int, String, String, String, boolean) - Method in class mockit.internal.expectations.transformation.InvocationBlockModifier
 
visitMethodInsn(int, String, String, String, boolean) - Method in class mockit.asm.methods.MethodVisitor
Visits a method invocation instruction, which invokes a method or constructor.
visitMethodInsn(int, String, String, String, boolean) - Method in class mockit.asm.methods.MethodWriter
 
visitMethodInsn(int, String, String, String, boolean) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitMultiANewArrayInsn(String, int) - Method in class mockit.asm.methods.MethodVisitor
Visits a MULTIANEWARRAY instruction.
visitMultiANewArrayInsn(String, int) - Method in class mockit.asm.methods.MethodWriter
 
visitMultiANewArrayInsn(String, int) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitMultiANewArrayInsn(String, int) - Method in class mockit.internal.expectations.transformation.InvocationBlockModifier
 
visitParameterAnnotation(int, String) - Method in class mockit.asm.methods.MethodVisitor
Visits an annotation on a parameter of the method being visited.
visitParameterAnnotation(int, String) - Method in class mockit.asm.methods.MethodWriter
 
visitParameterAnnotation(int, String) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
VisitScreen - Class in petclinic.visits
An application service class that handles Visit-related operations from the visit screen.
VisitScreen() - Constructor for class petclinic.visits.VisitScreen
 
visitTableSwitchInsn(int, int, Label, Label...) - Method in class mockit.asm.methods.MethodVisitor
Visits a TABLESWITCH instruction.
visitTableSwitchInsn(int, int, Label, Label...) - Method in class mockit.asm.methods.MethodWriter
 
visitTableSwitchInsn(int, int, Label, Label...) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitTableSwitchInsn(int, int, Label, Label...) - Method in class mockit.internal.expectations.transformation.InvocationBlockModifier
 
visitTryCatchBlock(Label, Label, Label, String) - Method in class mockit.asm.methods.MethodVisitor
Visits a try..catch block.
visitTryCatchBlock(Label, Label, Label, String) - Method in class mockit.asm.methods.MethodWriter
 
visitTryCatchBlock(Label, Label, Label, String) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitTypeInsn(int, String) - Method in class mockit.internal.expectations.transformation.InvocationBlockModifier
 
visitTypeInsn(int, String) - Method in class mockit.asm.methods.MethodVisitor
Visits a type instruction, which takes the internal name of a class as parameter.
visitTypeInsn(int, String) - Method in class mockit.asm.methods.MethodWriter
 
visitTypeInsn(int, String) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
visitVarInsn(int, int) - Method in class mockit.internal.expectations.transformation.InvocationBlockModifier
 
visitVarInsn(int, int) - Method in class mockit.asm.methods.MethodVisitor
Visits a local variable instruction, which loads or stores the value of a local variable.
visitVarInsn(int, int) - Method in class mockit.asm.methods.MethodWriter
 
visitVarInsn(int, int) - Method in class mockit.asm.methods.WrappingMethodVisitor
 
VOID_TYPE - Static variable in class mockit.internal.BaseClassModifier
 

W

wasModified() - Method in class mockit.internal.BaseClassModifier
 
whichIsSuperClass(String, String) - Static method in class mockit.internal.util.ClassLoad
 
WhileStatements - Class in integrationTests.loops
 
WhileStatements() - Constructor for class integrationTests.loops.WhileStatements
 
WIDE - Static variable in interface mockit.asm.jvmConstants.Opcodes
 
WIDE_INSN - Static variable in interface mockit.asm.jvmConstants.JVMInstruction.InstructionType
 
with(Delegate<? super T>) - Method in class mockit.Expectations
Applies a custom argument matcher for a parameter in the current expectation.
with(Delegate<? super T>) - Method in class mockit.FullVerifications
Applies a custom argument matcher for a parameter in the current expectation.
with(Delegate<? super T>) - Method in class mockit.Verifications
Applies a custom argument matcher for a parameter in the current expectation.
with(Delegate<? super T>) - Method in class mockit.VerificationsInOrder
Applies a custom argument matcher for a parameter in the current expectation.
withAny(T) - Method in class mockit.Expectations
Same as Invocations.withEqual(Object), but matching any argument value of the appropriate type (null included).
withAny(T) - Method in class mockit.FullVerifications
Same as Invocations.withEqual(Object), but matching any argument value of the appropriate type (null included).
withAny(T) - Method in class mockit.Verifications
Same as Invocations.withEqual(Object), but matching any argument value of the appropriate type (null included).
withAny(T) - Method in class mockit.VerificationsInOrder
Same as Invocations.withEqual(Object), but matching any argument value of the appropriate type (null included).
withArgThat(Matcher<? super T>) - Method in class mockit.Expectations
Applies a Hamcrest argument matcher for a parameter in the current expectation.
withArgThat(Matcher<? super T>) - Method in class mockit.FullVerifications
Applies a Hamcrest argument matcher for a parameter in the current expectation.
withArgThat(Matcher<? super T>) - Method in class mockit.Verifications
Applies a Hamcrest argument matcher for a parameter in the current expectation.
withArgThat(Matcher<? super T>) - Method in class mockit.VerificationsInOrder
Applies a Hamcrest argument matcher for a parameter in the current expectation.
withCapture() - Method in class mockit.Verifications
Captures the argument value passed into the associated expectation parameter, for a matching invocation that occurred when the tested code was exercised.
withCapture(List<T>) - Method in class mockit.Expectations
Captures the argument value passed into the associated expectation parameter, for each invocation that matches the expectation when the tested code is exercised.
withCapture(List<T>) - Method in class mockit.FullVerifications
Captures the argument value passed into the associated expectation parameter, for each invocation that matches the expectation when the tested code is exercised.
withCapture(List<T>) - Method in class mockit.Verifications
Captures the argument value passed into the associated expectation parameter, for each invocation that matches the expectation when the tested code is exercised.
withCapture(List<T>) - Method in class mockit.VerificationsInOrder
Captures the argument value passed into the associated expectation parameter, for each invocation that matches the expectation when the tested code is exercised.
withCapture(T) - Method in class mockit.Verifications
Captures new instances of type T that were created by the code under test.
withEqual(double, double) - Method in class mockit.Expectations
Same as Invocations.withEqual(Object), but checking that a numeric invocation argument in the replay phase is sufficiently close to the given value.
withEqual(double, double) - Method in class mockit.FullVerifications
Same as Invocations.withEqual(Object), but checking that a numeric invocation argument in the replay phase is sufficiently close to the given value.
withEqual(double, double) - Method in class mockit.Verifications
Same as Invocations.withEqual(Object), but checking that a numeric invocation argument in the replay phase is sufficiently close to the given value.
withEqual(double, double) - Method in class mockit.VerificationsInOrder
Same as Invocations.withEqual(Object), but checking that a numeric invocation argument in the replay phase is sufficiently close to the given value.
withEqual(float, double) - Method in class mockit.Expectations
Same as Invocations.withEqual(Object), but checking that a numeric invocation argument in the replay phase is sufficiently close to the given value.
withEqual(float, double) - Method in class mockit.FullVerifications
Same as Invocations.withEqual(Object), but checking that a numeric invocation argument in the replay phase is sufficiently close to the given value.
withEqual(float, double) - Method in class mockit.Verifications
Same as Invocations.withEqual(Object), but checking that a numeric invocation argument in the replay phase is sufficiently close to the given value.
withEqual(float, double) - Method in class mockit.VerificationsInOrder
Same as Invocations.withEqual(Object), but checking that a numeric invocation argument in the replay phase is sufficiently close to the given value.
withEqual(T) - Method in class mockit.Expectations
When passed as argument for an expectation, creates a new matcher that will check if the given value is equal to the corresponding argument received by a matching invocation.
withEqual(T) - Method in class mockit.FullVerifications
When passed as argument for an expectation, creates a new matcher that will check if the given value is equal to the corresponding argument received by a matching invocation.
withEqual(T) - Method in class mockit.Verifications
When passed as argument for an expectation, creates a new matcher that will check if the given value is equal to the corresponding argument received by a matching invocation.
withEqual(T) - Method in class mockit.VerificationsInOrder
When passed as argument for an expectation, creates a new matcher that will check if the given value is equal to the corresponding argument received by a matching invocation.
withInstanceLike(T) - Method in class mockit.Expectations
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is an instance of the same class as the given object.
withInstanceLike(T) - Method in class mockit.FullVerifications
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is an instance of the same class as the given object.
withInstanceLike(T) - Method in class mockit.Verifications
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is an instance of the same class as the given object.
withInstanceLike(T) - Method in class mockit.VerificationsInOrder
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is an instance of the same class as the given object.
withInstanceOf(Class<T>) - Method in class mockit.Expectations
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is an instance of the given class.
withInstanceOf(Class<T>) - Method in class mockit.FullVerifications
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is an instance of the given class.
withInstanceOf(Class<T>) - Method in class mockit.Verifications
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is an instance of the given class.
withInstanceOf(Class<T>) - Method in class mockit.VerificationsInOrder
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is an instance of the given class.
withMatch(T) - Method in class mockit.Expectations
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase matches the given regular expression.
withMatch(T) - Method in class mockit.FullVerifications
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase matches the given regular expression.
withMatch(T) - Method in class mockit.Verifications
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase matches the given regular expression.
withMatch(T) - Method in class mockit.VerificationsInOrder
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase matches the given regular expression.
withNotEqual(T) - Method in class mockit.Expectations
Same as Invocations.withEqual(Object), but checking that the invocation argument in the replay phase is different from the given value.
withNotEqual(T) - Method in class mockit.FullVerifications
Same as Invocations.withEqual(Object), but checking that the invocation argument in the replay phase is different from the given value.
withNotEqual(T) - Method in class mockit.Verifications
Same as Invocations.withEqual(Object), but checking that the invocation argument in the replay phase is different from the given value.
withNotEqual(T) - Method in class mockit.VerificationsInOrder
Same as Invocations.withEqual(Object), but checking that the invocation argument in the replay phase is different from the given value.
withNotNull() - Method in class mockit.Expectations
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is not null.
withNotNull() - Method in class mockit.FullVerifications
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is not null.
withNotNull() - Method in class mockit.Verifications
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is not null.
withNotNull() - Method in class mockit.VerificationsInOrder
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is not null.
withNull() - Method in class mockit.Expectations
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is null.
withNull() - Method in class mockit.FullVerifications
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is null.
withNull() - Method in class mockit.Verifications
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is null.
withNull() - Method in class mockit.VerificationsInOrder
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is null.
withPrefix(T) - Method in class mockit.Expectations
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase starts with the given text.
withPrefix(T) - Method in class mockit.FullVerifications
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase starts with the given text.
withPrefix(T) - Method in class mockit.Verifications
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase starts with the given text.
withPrefix(T) - Method in class mockit.VerificationsInOrder
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase starts with the given text.
withSameInstance(T) - Method in class mockit.Expectations
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is the exact same instance as the one in the recorded/verified invocation.
withSameInstance(T) - Method in class mockit.FullVerifications
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is the exact same instance as the one in the recorded/verified invocation.
withSameInstance(T) - Method in class mockit.Verifications
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is the exact same instance as the one in the recorded/verified invocation.
withSameInstance(T) - Method in class mockit.VerificationsInOrder
Same as Invocations.withEqual(Object), but checking that an invocation argument in the replay phase is the exact same instance as the one in the recorded/verified invocation.
withSubstring(T) - Method in class mockit.Expectations
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase contains the given text as a substring.
withSubstring(T) - Method in class mockit.FullVerifications
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase contains the given text as a substring.
withSubstring(T) - Method in class mockit.Verifications
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase contains the given text as a substring.
withSubstring(T) - Method in class mockit.VerificationsInOrder
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase contains the given text as a substring.
withSuffix(T) - Method in class mockit.Expectations
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase ends with the given text.
withSuffix(T) - Method in class mockit.FullVerifications
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase ends with the given text.
withSuffix(T) - Method in class mockit.Verifications
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase ends with the given text.
withSuffix(T) - Method in class mockit.VerificationsInOrder
Same as Invocations.withEqual(Object), but checking that a textual invocation argument in the replay phase ends with the given text.
wrapInProviderIfNeeded(Type, Object) - Static method in class mockit.internal.injection.InjectionPoint
 
WrappingClassVisitor - Class in mockit.asm.classes
Same as ClassVisitor, except it always wraps a ClassWriter.
WrappingClassVisitor(ClassWriter) - Constructor for class mockit.asm.classes.WrappingClassVisitor
Constructs a new WrappingClassVisitor.
WrappingMethodVisitor - Class in mockit.asm.methods
Same as MethodVisitor, except it always wraps a MethodWriter.
WrappingMethodVisitor(MethodWriter) - Constructor for class mockit.asm.methods.WrappingMethodVisitor
Initializes a new wrapping Method Visitor.
wrapText(String, String) - Method in class mockit.coverage.reporting.parsing.LineElement
 
writeCommonFooter() - Method in class mockit.coverage.reporting.OutputFile
 
writeCommonHeader(String) - Method in class mockit.coverage.reporting.OutputFile
 
writeCoverageInfoIfLineStartsANewFieldDeclaration(FileParser) - Method in class mockit.coverage.reporting.dataCoverage.DataCoverageOutput
 
writeDataToFile(File) - Method in class mockit.coverage.data.CoverageData
 
writeLineWithCoverageInfo(LineParser) - Method in class mockit.coverage.reporting.lineCoverage.LineCoverageOutput
 
writeMetricsForFile(String, String) - Method in class mockit.coverage.reporting.packages.IndexPage
 
writeMismatchPhrase(ArgumentMismatch) - Method in class mockit.internal.expectations.argumentMatching.AlwaysTrueMatcher
 
writeMismatchPhrase(ArgumentMismatch) - Method in interface mockit.internal.expectations.argumentMatching.ArgumentMatcher
Writes a phrase to be part of an error message describing an argument mismatch.
writeMismatchPhrase(ArgumentMismatch) - Method in class mockit.internal.expectations.argumentMatching.CaptureMatcher
 
writeMismatchPhrase(ArgumentMismatch) - Method in class mockit.internal.expectations.argumentMatching.ClassMatcher
 
writeMismatchPhrase(ArgumentMismatch) - Method in class mockit.internal.expectations.argumentMatching.EqualityMatcher
 
writeMismatchPhrase(ArgumentMismatch) - Method in class mockit.internal.expectations.argumentMatching.HamcrestAdapter
 
writeMismatchPhrase(ArgumentMismatch) - Method in class mockit.internal.expectations.argumentMatching.InequalityMatcher
 
writeMismatchPhrase(ArgumentMismatch) - Method in class mockit.internal.expectations.argumentMatching.NonNullityMatcher
 
writeMismatchPhrase(ArgumentMismatch) - Method in class mockit.internal.expectations.argumentMatching.NullityMatcher
 
writeMismatchPhrase(ArgumentMismatch) - Method in class mockit.internal.expectations.argumentMatching.NumericEqualityMatcher
 
writeMismatchPhrase(ArgumentMismatch) - Method in class mockit.internal.expectations.argumentMatching.PatternMatcher
 
writeMismatchPhrase(ArgumentMismatch) - Method in class mockit.internal.expectations.argumentMatching.ReflectiveMatcher
 
writeMismatchPhrase(ArgumentMismatch) - Method in class mockit.internal.expectations.argumentMatching.SamenessMatcher
 
writeMismatchPhrase(ArgumentMismatch) - Method in class mockit.internal.expectations.argumentMatching.StringContainmentMatcher
 
writeMismatchPhrase(ArgumentMismatch) - Method in class mockit.internal.expectations.argumentMatching.StringPrefixMatcher
 
writeMismatchPhrase(ArgumentMismatch) - Method in class mockit.internal.expectations.argumentMatching.StringSuffixMatcher
 
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form