Index

$ A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages

$

$init(String, CallbackHandler) - Method in class mockit.MockLoginContextTest.MockLoginContext
 

A

abort() - Method in class mockit.MockLoginContextTest.TestLoginModule
 
AbstractBase() - Constructor for class mockit.MockUpForSingleClassInstanceTest.AbstractBase
 
accessCurrentMockedInstanceFromInsideMockMethodForAnyInstanceOfTheMockedClass() - Method in class mockit.MockUpForSingleClassInstanceTest
 
accessCurrentMockedInstanceFromInsideMockMethodForSingleMockedInstance() - Method in class mockit.MockUpForSingleClassInstanceTest
 
afterBase() - Method in class mockit.integration.junit4.BaseJUnit4DecoratorTest
 
afterBase() - Method in class otherTests.testng.BaseTestNGDecoratorTest
 
afterClass() - Static method in class mockit.integration.junit4.BaseJUnit4DecoratorTest
 
afterTest() - Method in class mockit.integration.junit4.JUnit4DecoratorTest
 
afterTest() - Method in class otherTests.testng.TestNGDecoratorTest
 
alwaysTrue() - Static method in class mockit.integration.junit4.AnotherDependency
 
alwaysTrue() - Static method in class mockit.integration.junit4.Dependency
 
AnotherDependency - Class in mockit.integration.junit4
 
AnotherDependency() - Constructor for class mockit.integration.junit4.AnotherDependency
 
anotherMethodToBeMocked(String, boolean, List) - Method in class mockit.MockInvocationProceedTest.ClassToBeMocked
 
applyAndUseFakesAgain() - Method in class otherTests.testng.TestNGDecoratorTest
 
applyAndUseSomeFakes() - Method in class otherTests.testng.TestNGDecoratorTest
 
applyFakes() - Static method in class mockit.integration.junit4.ThirdJUnit4DecoratorTest
 
applyMockupWithGivenSubclassInstance() - Method in class mockit.MockUpForSingleClassInstanceTest
 
assertBranchingPoints(int, int, int) - Method in class integration.tests.CoverageTest
 
assertCreated(BaseEntity, String, Object...) - Method in class petclinic.util.TestDatabase
Verifies that a given entity was properly inserted into the database, including the generation of its integer identifier.
assertFieldIgnored(String) - Method in class integration.tests.CoverageTest
 
assertInstanceFieldCovered(String) - Static method in class integration.tests.CoverageTest
 
assertInstanceFieldUncovered(String) - Static method in class integration.tests.CoverageTest
 
assertInstanceFieldUncovered(String, Object...) - Static method in class integration.tests.CoverageTest
 
assertLine(int, int, int, int...) - Method in class integration.tests.CoverageTest
 
assertLines(int, int, int) - Method in class integration.tests.CoverageTest
 
assertStaticFieldCovered(String) - Static method in class integration.tests.CoverageTest
 
assertStaticFieldUncovered(String) - Static method in class integration.tests.CoverageTest
 
attemptToProceedIntoInterfaceImplementation() - Method in class mockit.MockAnnotationsTest
 
attemptToSetUpMockForClassLackingAMatchingRealMethod() - Method in class mockit.MockAnnotationsTest
 

B

BaseClass - Class in otherTests
The Class BaseClass.
BaseClass() - Constructor for class otherTests.BaseClass
 
BaseClassToBeMocked() - Constructor for class mockit.MockInvocationProceedTest.BaseClassToBeMocked
 
baseInt - Variable in class otherTests.BaseClass
The base int.
BaseJUnit4DecoratorTest - Class in mockit.integration.junit4
 
BaseJUnit4DecoratorTest() - Constructor for class mockit.integration.junit4.BaseJUnit4DecoratorTest
 
BaseJUnit4DecoratorTest.FakeClass0 - Class in mockit.integration.junit4
 
BaseJUnit4DecoratorTest.FakeClass1 - Class in mockit.integration.junit4
 
BaseJUnit4DecoratorTest.RealClass0 - Class in mockit.integration.junit4
 
BaseJUnit4DecoratorTest.RealClass1 - Class in mockit.integration.junit4
 
baseMethod(int) - Method in class mockit.MockInvocationProceedTest.BaseClassToBeMocked
 
baseSet - Variable in class otherTests.BaseClass
The base set.
baseString - Variable in class otherTests.BaseClass
The base string.
BaseTestNGDecoratorTest - Class in otherTests.testng
 
BaseTestNGDecoratorTest() - Constructor for class otherTests.testng.BaseTestNGDecoratorTest
 
BaseTestNGDecoratorTest.FakeClass1 - Class in otherTests.testng
 
BaseTestNGDecoratorTest.SimpleComponent - Class in otherTests.testng
 
beforeBase() - Method in class mockit.integration.junit4.BaseJUnit4DecoratorTest
 
beforeBase() - Method in class otherTests.testng.BaseTestNGDecoratorTest
 
beforeClass() - Static method in class mockit.integration.junit4.BaseJUnit4DecoratorTest
 
beforeClassThatRunsFirst() - Static method in class mockit.integration.junit4.JUnit4DecoratorTest
 
beforeClassThatRunsSecond() - Static method in class mockit.integration.junit4.JUnit4DecoratorTest
 

C

cannotProceedFromMockMethodIntoNativeMethod() - Method in class mockit.MockInvocationProceedTest
 
cascadeFistTime() - Method in class otherTests.testng.TestNGSharedMockFieldTest
 
cascadeSecondTime() - Method in class otherTests.testng.TestNGSharedMockFieldTest
 
checkCounter() - Method in class otherTests.testng.ParallelExecutionTest
 
checkNoMockingOfParametersWhenUsingDataProvider(TestNGDecoratorTest.Temp) - Method in class otherTests.testng.TestNGDecoratorTest
 
classFakedInSecondTestClassMustNotBeFakedForThisTestClass() - Method in class mockit.integration.junit4.JUnit4DecoratorTest
 
ClassToBeMocked() - Constructor for class mockit.MockInvocationProceedTest.ClassToBeMocked
 
ClassToBeMocked(String) - Constructor for class mockit.MockInvocationProceedTest.ClassToBeMocked
 
ClassWithObjectOverrides - Class in mockit
The Class ClassWithObjectOverrides.
ClassWithObjectOverrides(String) - Constructor for class mockit.ClassWithObjectOverrides
Instantiates a new class with object overrides.
Client - Class in otherTests.multicast
 
Client(String) - Constructor for class otherTests.multicast.Client
 
clone() - Method in class mockit.ClassWithObjectOverrides
 
Collaborator - Class in mockit.integration
 
Collaborator() - Constructor for class mockit.integration.Collaborator
 
Collaborator() - Constructor for class otherTests.testng.TestNGSharedMockFieldTest.Collaborator
 
commit() - Method in class mockit.MockLoginContextTest.TestLoginModule
 
concurrentMock() - Method in class mockit.MockAnnotationsTest
 
CoverageTest - Class in integration.tests
 
CoverageTest() - Constructor for class integration.tests.CoverageTest
 
create() - Method in class petclinic.visits.VisitData
 
create(String) - Method in class petclinic.owners.OwnerData
 
create(String) - Method in class petclinic.visits.VisitData
 
create(String, String...) - Method in class petclinic.vets.VetData
 
create(String, Date, String) - Method in class petclinic.pets.PetData
 
create(Owner, String, Date, String) - Method in class petclinic.pets.PetData
 
createData1() - Method in class otherTests.testng.TestNGDecoratorTest
 
createTest() - Method in class mockit.integration.junit4.JUnit4CustomRunnerTest.CustomRunner
 
CustomRunner(Class) - Constructor for class mockit.integration.junit4.JUnit4CustomRunnerTest.CustomRunner
 

D

data() - Method in class otherTests.testng.TestNGParametersTest
 
db - Variable in class petclinic.util.TestDatabase
 
Dependency - Class in mockit.integration.junit4
 
Dependency() - Constructor for class mockit.integration.junit4.Dependency
 
disallowConcurrentLogins() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
Disallow concurrent logins.
disallowConcurrentLogins() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
Disallow concurrent logins.
disallowLoggingIntoRevokedAccount() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
Disallow logging into revoked account.
disallowLoggingIntoRevokedAccount() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
Disallow logging into revoked account.
dispatch() - Method in class otherTests.multicast.Message
Sends the message contents to all clients, notifying the status listener about the corresponding events as they occur.
doSomething() - Method in class mockit.integration.Collaborator
 
doSomething() - Method in interface mockit.MockAnnotationsTest.AnInterface
 
doSomething() - Static method in class mockit.MockUpForSingleClassInstanceTest.AClass
 
doSomething() - Method in interface otherTests.testng.TestNGSharedMockFieldTest.BaseType
 
doSomething() - Method in interface otherTests.testng.TestNGSharedMockFieldTest.Dependency
 
doSomething(int) - Method in class mockit.integration.MockedClass
 
doSomething(int) - Method in class mockit.MockUpForSingleClassInstanceTest.AbstractBase
 
doSomething(int) - Method in class otherTests.TestedClass
Do something.
doSomething(String, T) - Method in class mockit.MockUpForSingleClassInstanceTest.GenericAbstractBase
 
doSomethingElse() - Method in class mockit.MockUpForSingleClassInstanceTest.AbstractBase
 
doSomethingElse() - Method in interface otherTests.testng.TestNGSharedMockFieldTest.Dependency
 
doSomethingElse(int) - Method in class mockit.integration.MockedClass
 
DynamicMockingInBeforeMethodTest - Class in otherTests.testng
 
DynamicMockingInBeforeMethodTest() - Constructor for class otherTests.testng.DynamicMockingInBeforeMethodTest
 

E

equals(Object) - Method in class mockit.ClassWithObjectOverrides
 
exerciseTestedObjectWithValuesInjectedFromMockFields() - Method in class mockit.TestedClassWithConstructorDI4Test
Exercise tested object with values injected from mock fields.
exerciseTestedObjectWithValuesInjectedFromMockParameters(Callable, Callable) - Method in class mockit.TestedClassWithConstructorDI4Test
Exercise tested object with values injected from mock parameters.
expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_1(Collaborator) - Method in class mockit.integration.junit4.JUnit4ViolatedExpectationsTest
 
expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_1(Collaborator) - Method in class otherTests.testng.TestNGViolatedExpectationsTest
 
expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_2(Collaborator) - Method in class mockit.integration.junit4.JUnit4ViolatedExpectationsTest
 
expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_2(Collaborator) - Method in class otherTests.testng.TestNGViolatedExpectationsTest
 
expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_3(Collaborator) - Method in class otherTests.testng.TestNGViolatedExpectationsTest
 
expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_4(Collaborator) - Method in class mockit.integration.junit4.JUnit4ViolatedExpectationsTest
 
expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_4(Collaborator) - Method in class otherTests.testng.TestNGViolatedExpectationsTest
 
expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_5(Collaborator) - Method in class mockit.integration.junit4.JUnit4ViolatedExpectationsTest
 
expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_5(Collaborator) - Method in class otherTests.testng.TestNGViolatedExpectationsTest
 
expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_6(Collaborator) - Method in class mockit.integration.junit4.JUnit4ViolatedExpectationsTest
 
expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_6(Collaborator) - Method in class otherTests.testng.TestNGViolatedExpectationsTest
 

F

FakeClass0() - Constructor for class mockit.integration.junit4.BaseJUnit4DecoratorTest.FakeClass0
 
FakeClass1() - Constructor for class mockit.integration.junit4.BaseJUnit4DecoratorTest.FakeClass1
 
FakeClass1() - Constructor for class otherTests.testng.BaseTestNGDecoratorTest.FakeClass1
 
FakeClass2() - Constructor for class mockit.integration.junit4.JUnit4DecoratorTest.FakeClass2
 
FakeClass2() - Constructor for class otherTests.testng.TestNGDecoratorTest.FakeClass2
 
FakeClass3() - Constructor for class mockit.integration.junit4.SecondJUnit4DecoratorTest.FakeClass3
 
FakeClass4() - Constructor for class mockit.integration.junit4.ThirdJUnit4DecoratorTest.FakeClass4
 
fileData - Static variable in class integration.tests.CoverageTest
 
finalize() - Method in class mockit.ClassWithObjectOverrides
 
findCoverageData() - Method in class integration.tests.CoverageTest
 
findOne(String, Object...) - Method in class petclinic.util.TestDatabase
Finds one entity of the desired type.
findOrCreate(String, Date, String) - Method in class petclinic.pets.PetData
 
firstTest() - Method in class otherTests.testng.TestedAndInjectablesTest
 

G

GenericAbstractBase() - Constructor for class mockit.MockUpForSingleClassInstanceTest.GenericAbstractBase
 
getAddress() - Method in class otherTests.multicast.Client
 
getClassName() - Method in class otherTests.testng.TestNGDecoratorTest.FakeClass2
 
getInfo() - Method in class otherTests.testng.BaseTestNGDecoratorTest.FakeClass1
 
getInfo() - Method in class otherTests.testng.BaseTestNGDecoratorTest.SimpleComponent
 
getLineWidth() - Method in class mockit.MockUpForSingleClassInstanceTest.AClassMockUp
 
getMockInstanceFromInsideMockMethodForNonStaticMockedMethod() - Method in class mockit.MockUpForSingleClassInstanceTest
 
getMockInstanceFromMockupForAbstractClass() - Method in class mockit.MockUpForSingleClassInstanceTest
 
getMockInstanceFromMockupForAbstractJREClass() - Method in class mockit.MockUpForSingleClassInstanceTest
 
getNumericValue() - Method in class mockit.MockUpForSingleClassInstanceTest.AClass
 
getSomeOtherValue() - Method in class mockit.MockUpForSingleClassInstanceTest.AClass
 
getSubject() - Method in class mockit.MockLoginContextTest.MockLoginContext
 
getTextValue() - Method in class mockit.MockUpForSingleClassInstanceTest.AClass
 
getUnrecordedResultFromCascadedInstance() - Method in class otherTests.testng.TestNGCascadingTest
 
getValue() - Method in class mockit.integration.junit4.BaseJUnit4DecoratorTest.FakeClass0
 
getValue() - Method in class mockit.integration.junit4.BaseJUnit4DecoratorTest.FakeClass1
 
getValue() - Method in class mockit.integration.junit4.BaseJUnit4DecoratorTest.RealClass0
 
getValue() - Method in class mockit.integration.junit4.BaseJUnit4DecoratorTest.RealClass1
 
getValue() - Method in class mockit.integration.junit4.JUnit4DecoratorTest.FakeClass2
 
getValue() - Method in class mockit.integration.junit4.JUnit4DecoratorTest.RealClass2
 
getValue() - Method in class mockit.integration.junit4.SecondJUnit4DecoratorTest.FakeClass3
 
getValue() - Method in class mockit.integration.junit4.SecondJUnit4DecoratorTest.RealClass3
 
getValue() - Method in class mockit.integration.junit4.ThirdJUnit4DecoratorTest.FakeClass4
 
getValue() - Method in class mockit.integration.junit4.ThirdJUnit4DecoratorTest.RealClass4
 
getValue() - Method in class mockit.integration.MockedClass
 
getValue() - Method in class mockit.MockUpForSingleClassInstanceTest.AbstractBase
 

H

handle(Callback[]) - Method in class mockit.MockAnnotationsTest.MockCallbackHandler
 
hashCode() - Method in class mockit.ClassWithObjectOverrides
 

I

initialize(Subject, CallbackHandler, Map, Map) - Method in class mockit.MockLoginContextTest.TestLoginModule
 
injectNullsThroughConstructorParametersAndIntoRequiredField() - Method in class mockit.TestedClassWithConstructorDI4Test
Inject nulls through constructor parameters and into required field.
integration.tests - package integration.tests
 
interrupt() - Method in class mockit.MockAnnotationsTest.MockThread
 

J

java8testing - package java8testing
 
jmockit.loginExample.domain.userLogin - package jmockit.loginExample.domain.userLogin
 
JUnit38StyleTest - Class in otherTests
The Class JUnit38StyleTest.
JUnit38StyleTest() - Constructor for class otherTests.JUnit38StyleTest
 
JUnit4CustomRunnerTest - Class in mockit.integration.junit4
 
JUnit4CustomRunnerTest() - Constructor for class mockit.integration.junit4.JUnit4CustomRunnerTest
 
JUnit4CustomRunnerTest.CustomRunner - Class in mockit.integration.junit4
 
JUnit4DecoratorTest - Class in mockit.integration.junit4
 
JUnit4DecoratorTest() - Constructor for class mockit.integration.junit4.JUnit4DecoratorTest
 
JUnit4DecoratorTest.FakeClass2 - Class in mockit.integration.junit4
 
JUnit4DecoratorTest.RealClass2 - Class in mockit.integration.junit4
 
JUnit4ParametersTest - Class in mockit
The Class JUnit4ParametersTest.
JUnit4ParametersTest(int, int) - Constructor for class mockit.JUnit4ParametersTest
Instantiates a new j unit 4 parameters test.
JUnit4Test - Class in otherTests
The Class JUnit4Test.
JUnit4Test() - Constructor for class otherTests.JUnit4Test
 
JUnit4ViolatedExpectationsTest - Class in mockit.integration.junit4
 
JUnit4ViolatedExpectationsTest() - Constructor for class mockit.integration.junit4.JUnit4ViolatedExpectationsTest
 

L

login() - Method in class mockit.MockLoginContextTest.MockLoginContext
 
login() - Method in class mockit.MockLoginContextTest.TestLoginModule
 
LoginServiceIntegrationTest - Class in jmockit.loginExample.domain.userLogin
Equivalent to LoginServiceNGTest, but with minimal mocking and no redundant tests.
LoginServiceIntegrationTest() - Constructor for class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
 
LoginServiceNGTest - Class in jmockit.loginExample.domain.userLogin
A small TestNG test suite for a single class (LoginService), based on this article.
LoginServiceNGTest() - Constructor for class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
 
logout() - Method in class mockit.MockLoginContextTest.TestLoginModule
 

M

Message - Class in otherTests.multicast
 
Message(Client[], String, StatusListener) - Constructor for class otherTests.multicast.Message
 
messageDisplayedByClient(Client) - Method in interface otherTests.multicast.StatusListener
 
messageReadByClient(Client) - Method in interface otherTests.multicast.StatusListener
 
messageSent(Client) - Method in interface otherTests.multicast.StatusListener
 
method(int[], Long, String[][], Long[]) - Method in class mockit.MockAnnotationsTest.MockForNonGenericSubInterface
 
method(int[], T, String[][], T[]) - Method in interface mockit.MockAnnotationsTest.GenericInterface
 
method(Long) - Method in class mockit.MockAnnotationsTest.MockForNonGenericSubInterface
 
method(T) - Method in interface mockit.MockAnnotationsTest.GenericInterface
 
methodToBeMocked() - Method in class mockit.MockInvocationProceedTest.ClassToBeMocked
 
methodToBeMocked(int) - Method in class mockit.MockInvocationProceedTest.BaseClassToBeMocked
 
methodToBeMocked(int, Object...) - Method in class mockit.MockInvocationProceedTest.ClassToBeMocked
 
mockAbstractClassWithMockForAbstractMethodHavingInvocationParameter() - Method in class mockit.MockAnnotationsTest
 
MockAnnotationsTest - Class in mockit
 
MockAnnotationsTest() - Constructor for class mockit.MockAnnotationsTest
 
MockAnnotationsTest.AnInterface - Interface in mockit
 
MockAnnotationsTest.GenericInterface<T> - Interface in mockit
 
MockAnnotationsTest.MockCallbackHandler - Class in mockit
 
MockAnnotationsTest.MockForNonGenericSubInterface - Class in mockit
 
MockAnnotationsTest.MockThread - Class in mockit
 
MockAnnotationsTest.NonGenericSubInterface - Interface in mockit
 
MockCallbackHandler() - Constructor for class mockit.MockAnnotationsTest.MockCallbackHandler
 
MockDependencyTest - Class in mockit.integration.junit4
 
MockDependencyTest() - Constructor for class mockit.integration.junit4.MockDependencyTest
 
MockedClass - Class in mockit.integration
 
MockedClass() - Constructor for class mockit.integration.MockedClass
 
MockForNonGenericSubInterface() - Constructor for class mockit.MockAnnotationsTest.MockForNonGenericSubInterface
 
mockGenericClassWithMockUpHavingInvocationParameter() - Method in class mockit.MockAnnotationsTest
 
mockGenericInterfaceWithMockUpHavingInvocationParameter() - Method in class mockit.MockAnnotationsTest
 
MockInvocationProceedTest - Class in mockit
 
MockInvocationProceedTest() - Constructor for class mockit.MockInvocationProceedTest
 
MockInvocationProceedTest.BaseClassToBeMocked - Class in mockit
 
MockInvocationProceedTest.ClassToBeMocked - Class in mockit
 
mockit - package mockit
 
mockit.integration - package mockit.integration
 
mockit.integration.junit4 - package mockit.integration.junit4
 
mockJREClassWithStubs() - Method in class mockit.MockLoginContextTest
 
mockJREInterface() - Method in class mockit.MockAnnotationsTest
 
mockJREInterfaceWithMockUp() - Method in class mockit.MockAnnotationsTest
 
mockJREMethodAndConstructorUsingAnnotatedMockClass() - Method in class mockit.MockLoginContextTest
 
mockJREMethodAndConstructorWithMockUpClass() - Method in class mockit.MockLoginContextTest
 
MockLoginContext() - Constructor for class mockit.MockLoginContextTest.MockLoginContext
 
MockLoginContextTest - Class in mockit
 
MockLoginContextTest() - Constructor for class mockit.MockLoginContextTest
 
MockLoginContextTest.MockLoginContext - Class in mockit
 
MockLoginContextTest.TestLoginModule - Class in mockit
 
mockMethodOfGenericInterfaceWithArrayAndGenericTypeArgument() - Method in class mockit.MockAnnotationsTest
 
mockMethodOfSubInterfaceWithGenericTypeArgument() - Method in class mockit.MockAnnotationsTest
 
mockNativeMethodInClassWithoutRegisterNatives() - Method in class mockit.MockAnnotationsTest
 
mockNativeMethodInClassWithRegisterNatives() - Method in class mockit.MockAnnotationsTest
 
mockNonPublicInterfaceWithMockUpHavingInvocationParameter() - Method in class mockit.MockAnnotationsTest
 
mockPublicInterfaceWithMockUpHavingInvocationParameter() - Method in class mockit.MockAnnotationsTest
 
mockStaticInitializer() - Method in class mockit.MockAnnotationsTest
 
MockThread() - Constructor for class mockit.MockAnnotationsTest.MockThread
 
mockupAffectingOneInstanceButNotOthersOfSameClass() - Method in class mockit.MockUpForSingleClassInstanceTest
 
mockUpAffectsInstancesOfSpecifiedSubclassAndNotOfBaseClass() - Method in class mockit.MockAnnotationsTest
 
MockUpForSingleClassInstanceTest - Class in mockit
 
MockUpForSingleClassInstanceTest() - Constructor for class mockit.MockUpForSingleClassInstanceTest
 
MockUpForSingleClassInstanceTest.AbstractBase - Class in mockit
 
MockUpForSingleClassInstanceTest.AClass - Class in mockit
 
MockUpForSingleClassInstanceTest.AClassMockUp - Class in mockit
 
MockUpForSingleClassInstanceTest.GenericAbstractBase<T,N> - Class in mockit
 
mockWithNoExpectationsPassingMockInstance() - Method in class mockit.MockAnnotationsTest
 
multipleMockupsOfSameTypeWithOwnMockInstanceEach() - Method in class mockit.MockUpForSingleClassInstanceTest
 
MyBusinessServiceTest - Class in tutorial.domain
The Class MyBusinessServiceTest.
MyBusinessServiceTest() - Constructor for class tutorial.domain.MyBusinessServiceTest
 

N

name - Variable in class mockit.MockInvocationProceedTest.BaseClassToBeMocked
 
nativeMethod() - Static method in class mockit.MockInvocationProceedTest.ClassToBeMocked
 
notRevokeSecondAccountAfterTwoFailedAttemptsOnFirstAccount() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
Not revoke second account after two failed attempts on first account.
notRevokeSecondAccountAfterTwoFailedAttemptsOnFirstAccount() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
Not revoke second account after two failed attempts on first account.
notSetAccountLoggedInIfPasswordDoesNotMatch() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
This test is also redundant, as it exercises the same path as the previous one.

O

otherTests - package otherTests
 
otherTests.multicast - package otherTests.multicast
 
otherTests.testng - package otherTests.testng
 
OwnerData - Class in petclinic.owners
Utility class for creation of Owner data in the test database, to be used in integration tests.
OwnerData() - Constructor for class petclinic.owners.OwnerData
 

P

parallelExecution() - Method in class otherTests.testng.ParallelExecutionTest
 
ParallelExecutionTest - Class in otherTests.testng
 
ParallelExecutionTest() - Constructor for class otherTests.testng.ParallelExecutionTest
 
parameters() - Static method in class mockit.JUnit4ParametersTest
Parameters.
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
 
PetData - Class in petclinic.pets
Utility class for creation of Pet data in the test database, to be used in integration tests.
PetData() - Constructor for class petclinic.pets.PetData
 
preventAllWritesToMockedBufferedWritersFromSUT() - Method in class otherTests.testng.TestNGSharedMockFieldTest
 
proceedConditionallyFromMockMethod() - Method in class mockit.MockInvocationProceedTest
 
proceedConditionallyFromMockMethodIntoConstructor() - Method in class mockit.MockInvocationProceedTest
 
proceedConditionallyFromMockMethodIntoJREConstructor() - Method in class mockit.MockInvocationProceedTest
 
proceedFromMockMethodIntoConstructor() - Method in class mockit.MockInvocationProceedTest
 
proceedFromMockMethodIntoMethodInheritedFromBaseClass() - Method in class mockit.MockInvocationProceedTest
 
proceedFromMockMethodWhichThrowsCheckedException() - Method in class mockit.MockInvocationProceedTest
 
proceedFromMockMethodWithoutParameters() - Method in class mockit.MockInvocationProceedTest
 
proceedFromMockMethodWithParameters() - Method in class mockit.MockInvocationProceedTest
 
proceedIntoRealImplementationsOfMockedMethods() - Method in class mockit.MockLoginContextTest
 

R

RealClass0() - Constructor for class mockit.integration.junit4.BaseJUnit4DecoratorTest.RealClass0
 
RealClass1() - Constructor for class mockit.integration.junit4.BaseJUnit4DecoratorTest.RealClass1
 
RealClass2() - Constructor for class mockit.integration.junit4.JUnit4DecoratorTest.RealClass2
 
RealClass3() - Constructor for class mockit.integration.junit4.SecondJUnit4DecoratorTest.RealClass3
 
RealClass4() - Constructor for class mockit.integration.junit4.ThirdJUnit4DecoratorTest.RealClass4
 
realClassesFakedInBaseClassMustStillBeFakedHere() - Method in class mockit.integration.junit4.ThirdJUnit4DecoratorTest
 
realClassesFakedInOtherTestClassesMustNotBeFakedHere() - Method in class mockit.integration.junit4.ThirdJUnit4DecoratorTest
 
realClassesFakedInPreviousTestClassMustNoLongerBeFaked() - Method in class mockit.integration.junit4.SecondJUnit4DecoratorTest
 
recordAndReplayExpectationsOnSharedMocks() - Method in class otherTests.testng.TestNGSharedMockFieldTest
 
recordAndReplayExpectationsOnSharedMocksAgain() - Method in class otherTests.testng.TestNGSharedMockFieldTest
 
recordAndVerifyExpectationsOnMockedInterface() - Method in class otherTests.testng.TestedAndInjectablesTest
 
recordCommonExpectations() - Method in class mockit.TestedClassWithConstructorDI4Test
Record common expectations.
recordExpectationsOnDynamicallyMockedClass() - Method in class otherTests.testng.DynamicMockingInBeforeMethodTest
 
recordValueForCascadedInstance() - Method in class otherTests.testng.TestNGCascadingInSetupTest
 
refresh(BaseEntity) - Method in class petclinic.util.TestDatabase
Refreshes the persistent state of a given entity from the database, so that a test can verify that persistent state was modified as expected.
resetBackToInitialStateAfterSuccessfulLogin() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
Reset back to initial state after successful login.
run(IHookCallBack, ITestResult) - Method in class otherTests.testng.BaseTestNGDecoratorTest
 

S

sameAnonymousMockupAppliedMultipleTimesWithDifferentTargetInstances() - Method in class mockit.MockUpForSingleClassInstanceTest
 
sameAnonymousMockupAppliedMultipleTimesWithoutTargetInstanceButWithMockInstanceCreatedFromMockup() - Method in class mockit.MockUpForSingleClassInstanceTest
 
samePublicMockupAppliedMultipleTimes() - Method in class mockit.MockUpForSingleClassInstanceTest
 
SecondJUnit4DecoratorTest - Class in mockit.integration.junit4
 
SecondJUnit4DecoratorTest() - Constructor for class mockit.integration.junit4.SecondJUnit4DecoratorTest
 
SecondJUnit4DecoratorTest.FakeClass3 - Class in mockit.integration.junit4
 
SecondJUnit4DecoratorTest.RealClass3 - Class in mockit.integration.junit4
 
secondTest() - Method in class otherTests.testng.TestedAndInjectablesTest
 
setAccountToLoggedInWhenPasswordMatches() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
Sets the account to logged in when password matches.
setAccountToLoggedInWhenPasswordMatches() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
This test is redundant, as it exercises the same path as the last test.
setAccountToRevokedAfterThreeFailedLoginAttempts() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
Sets the account to revoked after three failed login attempts.
setAccountToRevokedAfterThreeFailedLoginAttempts() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
Sets the account to revoked after three failed login attempts.
setUp() - Method in class mockit.integration.junit4.JUnit4CustomRunnerTest
 
setUp() - Method in class otherTests.JUnit38StyleTest
 
setUp() - Method in class otherTests.testng.TestedAndInjectablesTest
 
setUpAndUseFakesAgain() - Method in class mockit.integration.junit4.JUnit4DecoratorTest
 
setUpAndUseSomeFakes() - Method in class mockit.integration.junit4.JUnit4DecoratorTest
 
setUpFakes() - Static method in class mockit.integration.junit4.SecondJUnit4DecoratorTest
 
setUpMockForConstructor() - Method in class mockit.MockAnnotationsTest
 
setUpMockForJREClass() - Method in class mockit.MockAnnotationsTest
 
setUpMockForStaticMethod() - Method in class mockit.MockAnnotationsTest
 
setUpMockForSubclassConstructor() - Method in class mockit.MockAnnotationsTest
 
setUpMocksContainingExpectations() - Method in class mockit.MockAnnotationsTest
 
setUpMocksForClassHierarchy() - Method in class mockit.MockAnnotationsTest
 
setUpMocksFromInnerMockClassWithMockConstructor() - Method in class mockit.MockAnnotationsTest
 
setUpMockWithInvocationsExpectationButFailIt() - Method in class mockit.MockAnnotationsTest
 
setUpMockWithMaxInvocationsExpectationButFailIt() - Method in class mockit.MockAnnotationsTest
 
setUpMockWithMinInvocationsExpectationButFailIt() - Method in class mockit.MockAnnotationsTest
 
setUpOneAccountToBeFound() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
Sets the up one account to be found.
setUpReentrantMock() - Method in class mockit.MockAnnotationsTest
 
setUpSuiteWideFakes() - Static method in class mockit.integration.junit4.TestSuiteWithBeforeClass
 
SimpleComponent() - Constructor for class otherTests.testng.BaseTestNGDecoratorTest.SimpleComponent
 
staticMethodToBeMocked() - Static method in class mockit.MockInvocationProceedTest.ClassToBeMocked
 
StatusListener - Interface in otherTests.multicast
 
stubbedOutAnnotatedMethodInMockedClass() - Method in class mockit.MockAnnotationsTest
 
stubOutStaticInitializer() - Method in class mockit.MockAnnotationsTest
 
stubOutStaticInitializerWithEmptyMockClass() - Method in class mockit.MockAnnotationsTest
 
SUT - Annotation Type in petclinic.util
Designates a field containing an object to be tested, which gets automatically created before any @Test method as needed; any fields of the object for other dependencies to be injected are also automatically created or resolved.

T

tearDown() - Method in class otherTests.testng.TestedAndInjectablesTest
 
tearDownTestMethod() - Method in class otherTests.testng.TestNGExpectationsTest
 
Temp() - Constructor for class otherTests.testng.TestNGDecoratorTest.Temp
 
TestDatabase - Class in petclinic.util
Base test utility class for domain-specific "EntityXData" classes, which allow each test to create the required data in the test database.
TestDatabase() - Constructor for class petclinic.util.TestDatabase
 
TestedAndInjectablesTest - Class in otherTests.testng
 
TestedAndInjectablesTest() - Constructor for class otherTests.testng.TestedAndInjectablesTest
 
TestedClass - Class in otherTests
The Class TestedClass.
TestedClass(MockedClass) - Constructor for class otherTests.TestedClass
Instantiates a new tested class.
TestedClass(TestedClassWithConstructorDI4Test.GenericClass, List, Callable...) - Constructor for class mockit.TestedClassWithConstructorDI4Test.TestedClass
Instantiates a new tested class.
TestedClassWithConstructorDI4Test - Class in mockit
The Class TestedClassWithConstructorDI4Test.
TestedClassWithConstructorDI4Test() - Constructor for class mockit.TestedClassWithConstructorDI4Test
 
TestedClassWithConstructorDI4Test.TestedClass - Class in mockit
The Class TestedClass.
TestLoginModule() - Constructor for class mockit.MockLoginContextTest.TestLoginModule
 
TestNGCascadingInSetupTest - Class in otherTests.testng
 
TestNGCascadingInSetupTest() - Constructor for class otherTests.testng.TestNGCascadingInSetupTest
 
TestNGCascadingTest - Class in otherTests.testng
 
TestNGCascadingTest() - Constructor for class otherTests.testng.TestNGCascadingTest
 
TestNGDecoratorTest - Class in otherTests.testng
 
TestNGDecoratorTest() - Constructor for class otherTests.testng.TestNGDecoratorTest
 
TestNGDecoratorTest.FakeClass2 - Class in otherTests.testng
 
TestNGDecoratorTest.Temp - Class in otherTests.testng
 
TestNGExpectationsTest - Class in otherTests.testng
 
TestNGExpectationsTest() - Constructor for class otherTests.testng.TestNGExpectationsTest
 
TestNGParametersTest - Class in otherTests.testng
 
TestNGParametersTest(String, String) - Constructor for class otherTests.testng.TestNGParametersTest
 
TestNGSharedMockFieldTest - Class in otherTests.testng
 
TestNGSharedMockFieldTest() - Constructor for class otherTests.testng.TestNGSharedMockFieldTest
 
TestNGSharedMockFieldTest.BaseType - Interface in otherTests.testng
 
TestNGSharedMockFieldTest.Collaborator - Class in otherTests.testng
 
TestNGSharedMockFieldTest.Dependency - Interface in otherTests.testng
 
TestNGSharedMockFieldTest.SubType - Interface in otherTests.testng
 
TestNGViolatedExpectationsTest - Class in otherTests.testng
 
TestNGViolatedExpectationsTest() - Constructor for class otherTests.testng.TestNGViolatedExpectationsTest
 
testSomething() - Method in class otherTests.testng.DynamicMockingInBeforeMethodTest
 
testSomething() - Method in class otherTests.testng.TestNGExpectationsTest
 
testSomething(String, String) - Method in class otherTests.testng.TestNGParametersTest
 
testSomethingElse() - Method in class otherTests.testng.DynamicMockingInBeforeMethodTest
 
testSomethingElse() - Method in class otherTests.testng.TestNGExpectationsTest
 
TestSuiteWithBeforeClass - Class in mockit.integration.junit4
 
TestSuiteWithBeforeClass() - Constructor for class mockit.integration.junit4.TestSuiteWithBeforeClass
 
testUseClassMockedInPreviousJUnit4TestClass() - Method in class otherTests.JUnit38StyleTest
Test use class mocked in previous J unit 4 test class.
TestUtil - Annotation Type in petclinic.util
Designates a field containing a test utility object, which will be initialized before any @Test or @Before method is executed.
TestUtils - Class in java8testing
The Class TestUtils.
TestUtils() - Constructor for class java8testing.TestUtils
 
testWithoutParameters() - Method in class otherTests.testng.TestNGParametersTest
 
ThirdJUnit4DecoratorTest - Class in mockit.integration.junit4
 
ThirdJUnit4DecoratorTest() - Constructor for class mockit.integration.junit4.ThirdJUnit4DecoratorTest
 
ThirdJUnit4DecoratorTest.FakeClass4 - Class in mockit.integration.junit4
 
ThirdJUnit4DecoratorTest.RealClass4 - Class in mockit.integration.junit4
 
throwExceptionIfAccountNotFound() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
Throw exception if account not found.
throwExceptionIfAccountNotFound() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
Throw exception if account not found.
toString() - Method in class mockit.ClassWithObjectOverrides
 
tutorial.domain - package tutorial.domain
 

U

useArgumentMatchingFields(JUnit4Test.AnotherClass) - Method in class otherTests.JUnit4Test
Use argument matching fields.
useArgumentMatchingMethods(JUnit4Test.AnotherClass) - Method in class otherTests.JUnit4Test
Use argument matching methods.
useClassScopedFakeDefinedForThisClass() - Method in class mockit.integration.junit4.SecondJUnit4DecoratorTest
 
useClassScopedFakeDefinedForThisClass() - Method in class mockit.integration.junit4.ThirdJUnit4DecoratorTest
 
useClassScopedMockDefinedByBaseClass() - Method in class mockit.integration.junit4.JUnit4DecoratorTest
 
UseDependencyTest - Class in mockit.integration.junit4
 
UseDependencyTest() - Constructor for class mockit.integration.junit4.UseDependencyTest
 
useExpectationResultRecordedOnCascadedInstance(ITestContext) - Method in class otherTests.testng.TestNGCascadingTest
 
useExpectationResultRecordedOnCascadedInstanceFromSetupMethod() - Method in class otherTests.testng.TestNGCascadingInSetupTest
 
useFieldSetThroughDirectClassInitializationRatherThanBeforeClassMethod() - Method in class mockit.integration.junit4.UseDependencyTest
 
useFieldSetThroughDirectInstanceInitializationRatherThanBeforeMethod() - Method in class mockit.integration.junit4.UseDependencyTest
 
useMockedBufferedWriter() - Method in class otherTests.testng.TestNGSharedMockFieldTest
 
useMockedDependencies() - Method in class mockit.integration.junit4.MockDependencyTest
 
useMockedDependency() - Method in class mockit.integration.junit4.UseDependencyTest
 
useMockedInstance() - Method in class otherTests.JUnit4Test
Use mocked instance.
useMockedJREClassesDuringTestedObjectCreation(File) - Method in class mockit.TestedClassWithConstructorDI4Test
Use mocked JRE classes during tested object creation.
useParameters(Runnable) - Method in class mockit.JUnit4ParametersTest
Use parameters.
usingDataProvider(int, String) - Method in class otherTests.testng.TestNGParametersTest
 

V

validatePublicVoidNoArgMethods(Class, boolean, List) - Method in class mockit.integration.junit4.JUnit4CustomRunnerTest.CustomRunner
 
verifyDataCoverage(int, int, int) - Static method in class integration.tests.CoverageTest
 
verifyThatDynamicallyMockedClassIsStillMocked() - Method in class otherTests.testng.DynamicMockingInBeforeMethodTest
 
VetData - Class in petclinic.vets
Utility class for creation of Vet data in the test database, to be used in integration tests.
VetData() - Constructor for class petclinic.vets.VetData
 
VisitData - Class in petclinic.visits
Utility class for creation of Visit data in the test database, to be used in integration tests.
VisitData() - Constructor for class petclinic.visits.VisitData
 

W

withAnnotatedParameters(Runnable, Dependency) - Method in class mockit.integration.junit4.JUnit4CustomRunnerTest
 
withNonAnnotatedParameters(Runnable, Dependency) - Method in class mockit.integration.junit4.JUnit4CustomRunnerTest
 
$ A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages