All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary
Class |
Description |
AbstractClassloaderExecutor |
|
AbstractClassTransformer |
|
AbstractCommonPowerMockRunner |
|
AbstractCommonTestSuiteChunkerImpl |
|
AbstractEasyMockLogPolicyBase |
A base class for EasyMock log policies.
|
AbstractJavaAssistMockTransformer |
|
AbstractMethodMocking |
Demonstrates that PowerMock can mock abstract methods.
|
AbstractMockCreator |
|
AbstractMockStrategyBase |
Base class that should be used by all mock strategies.
|
AbstractPowerMockTestListenerBase |
|
AbstractStaticInitializerExample |
|
AbstractTestClassExtractor |
Base class for all test class extractors.
|
AbstractTestSuiteChunkerImpl<T> |
Abstract base class for test suite chunking, i.e.
|
AgentInitialization |
|
AgentInitializationException |
The exception thrown when an agent fails to initialize in the target Java virtual machine.
|
AgentLoader |
|
AgentLoadException |
The exception thrown when an agent cannot be loaded into the target Java virtual machine.
|
AllFieldsMatcherStrategy |
|
AnnotatedClassDemo |
|
AnnotationDemo |
|
AnnotationEnabler |
Deprecated.
|
AnnotationEnabler |
Before each test method all fields annotated with
Mock , Mock , Mock
MockNice or MockStrict will have mock objects created for
them and injected to the fields.
|
AnnotationEnabler |
Deprecated.
|
AnnotationEnablerListener |
|
AnnotationGlobalMetadata |
|
AnnotationMockCreator |
|
AnnotationMockCreatorFactory |
|
AnnotationMockMetadata |
|
AnnotationMockScanner |
|
AnotherSomeObjectInterfaceImpl |
|
AppaleList |
|
ArgumentMatcherDemo |
|
ArrayMerger |
An array merger concatenates several arrays to one.
|
ArrayMergerImpl |
The default implementation of the ArrayMerger interface.
|
ArrayUtil |
|
Asserts |
|
AssignableFromFieldTypeMatcherStrategy |
|
AssignableToFieldTypeMatcherStrategy |
|
Assumes |
|
AttachNotSupportedException |
|
AttachProvider |
Attach provider class for attaching to a Java virtual machine.
|
BoxedWrapper |
The purpose of the Primitive Wrapper is to provide methods that deals with
translating wrapper types to its related primitive type.
|
BsdVirtualMachine |
|
ByteCodeFramework |
|
CandidateConstructorSearcher<T> |
This class search the best candidate in the given class to invoke constructor with given parameters.
|
ChildA |
|
ChildB |
|
ClassFinalModifierMockTransformer |
|
ClassInsideJavaPackage |
|
ClassloaderExecutor |
A ClassLoaderExecutor can run any code in any classloader.
|
ClassLoaderUtil |
|
ClassloaderWrapper |
|
ClassLocator |
|
ClassMarker |
Instance of this interface can be used to mark a class that it was created and loaded by PowerMock
|
ClassNotPreparedException |
The exception is thrown when a user tries to mock class which is't prepared, but should be.
|
ClassPathAdjuster |
This interface can be used to adjust the classpath used by powermock to locate
class files.
|
ClassPoolFactory |
|
ClassReplaceStrategy |
Specifies the replace strategy for a class.
|
ClassReplicaCreator |
This class takes care of creating a replica of a class.
|
ClassWithInnerMembers |
Class that is used to test that local and member class works with PowerMock.
|
ClassWithInnerMembers.InnerInterface |
|
ClassWithInnerMembers.MyInnerClass |
|
ClassWithInnerMembers.MyInnerClassWithPackageConstructorWithMultArgs |
|
ClassWithInnerMembers.MyInnerClassWithPrivateConstructorWithDiffMultArgs |
|
ClassWithInnerMembers.MyInnerClassWithPrivateConstructorWithMultArgs |
|
ClassWithInnerMembers.MyInnerClassWithProtectedConstructorWithMultArgs |
|
ClassWithInnerMembers.MyInnerClassWithPublicConstructorWithMultArgs |
|
ClassWithInnerMembers.StaticInnerClassWithConstructorArgument |
|
ClassWithNonPrivateInnerClass |
Demonstrates the ability to mock an inner class (if the inner class is not
private).
|
ClassWithPowerMockGeneratedConstructor |
Class that simulates a PowerMock generated constructor.
|
ClassWithPrivateInnerClass |
Used for demonstration of the ability to mock methods from a private inner
class.
|
ClassWithStatic |
|
ClassWrapper<T> |
An interface represents an abstraction of the class to be able to pass class to different byte-code instrumentation frameworks.
|
ClassWrapperFactory<T> |
An implementation should wrap original instance.
|
ComparatorFactory |
This comparator factory is used to create Comparators for
Whitebox which are used to find best candidates
for constructor and method invocation.
|
ComparatorFactory.ConstructorComparator |
|
ComparatorFactory.MethodComparator |
|
ComparatorFactory.ParametersComparator |
|
ConcreteClassGenerator |
This class takes care of creating a concrete sub-class implementing all
abstract methods in the parent.
|
ConditionalStateStackManipulation |
|
Configuration<T extends Configuration> |
The general interface for all types configurations that could be obtained via GlobalConfiguration .
|
ConfigurationBuilder<T extends Configuration<?>> |
|
ConfigurationBuilder.ConfigurationCreator |
|
ConfigurationFactory |
|
ConfigurationFactoryImpl |
|
ConfigurationMapper<T extends Configuration> |
|
ConfigurationMapper.ConfigurationKey |
|
ConfigurationMapper.PropertyWriter |
|
ConfigurationTestUtils |
|
ConfigurationType |
|
Constructor |
|
ConstructorArgsDemo |
|
ConstructorArgumentsVerification |
|
ConstructorAwareExpectationSetup<T> |
|
ConstructorExpectationSetup<T> |
|
ConstructorFinder |
|
ConstructorNotFoundException |
A run-time exception that may be thrown to indicate that a constructor was
not found.
|
ConstructorsMockTransformer |
Convert all constructors to public
|
CreationException |
|
DeepCloner |
The purpose of the deep cloner is to create a deep clone of an object.
|
DeepClonerSPI |
A deep-cloner must implement this interface.
|
DefaultBehavior |
Interface that provides the replay, verify and reset behavior for mock
objects and classes.
|
DefaultConstructorArgumentsVerification<T> |
|
DefaultConstructorExpectationSetup<T> |
|
DefaultFieldValueGenerator |
Fills the fields with default not-null values.
|
DefaultInjectFieldSearcher |
|
DefaultMethodExpectationSetup<T> |
|
DefaultMockCreator |
|
DefaultMockCreator.MockData<T> |
Class that encapsulate a mock and its corresponding invocation control.
|
DefaultMockStrategy |
|
DefaultMockTransformerChain |
|
DefaultMockTransformerChain.MockTransformerChainBuilder |
|
DefaultPrivatelyExpectedArguments |
|
DefaultPrivateMethodVerification |
|
DeferSupportingClassLoader |
Defers classloading of system classes to a delegate.
|
DefinalizingClassTransformer |
|
DefinalizingClassVisitor |
|
DelegatingPowerMockRunner |
|
DelegatingToConstructorsOngoingStubbing<T> |
Implementation of OngoingStubbing that delegates invocations to all supplied ctors
|
DependencyHolder |
Simple class used to demonstrate setter injection..
|
DependencyHolderQualifier |
Simple class used to demonstrate setter injection..
|
DomainObject |
|
DoNotClone |
Fields annotated with this annotation are not allowed to be cloned by a Deep Cloner implementation.
|
EasyMockAnnotationSupport |
This class works like as EasyMockSupport and is used to create and inject mocks to
annotated fields of an instance of test class.
|
EasyMockConfiguration |
Configuration information about EasyMock framework and which feature is supported by version of EasyMock in runtime.
|
EasyMockMethodInvocationControl<T> |
|
EasyMockNewInvocationControl<T> |
|
EnumWithConstructor |
|
EqualsWithGetClass |
Class that implements an equals method that contains a call to getClass();
|
EvilStaticInitializerExample |
Simple example of a class with a static initializer.
|
ExpectNewDemo |
|
ExpectNewOfFinalSystemClassDemo |
|
ExpectNewServiceUser |
|
ExpectNewWithMultipleCtorDemo |
|
ExpectVoidDemo |
|
FieldAnnotationMatcherStrategy |
|
FieldDefaulter |
A test listener that automatically set all instance fields to their default
values after each test method.
|
FieldInitializerDemo |
|
FieldMatcherStrategy |
Class that should be implemented by field matching strategies.
|
FieldMatchingStrategy |
Defines strategies for field matching.
|
FieldNameMatcherStrategy |
|
FieldNotFoundException |
A run-time exception that may be thrown to indicate that a field was not
found.
|
FieldTypeMatcherStrategy |
|
FilterPredicates |
|
FinalDemo |
|
ForMethodsJavaAssistTestClassTransformer |
|
Frame |
|
Frame.LocalVariable |
|
FromAllMethodsExceptJavaAssistTestClassTransformer |
|
GlobalConfiguration |
|
GlobalNotificationBuildSupport |
Core static utility to help modules, such as PowerMockRunner, that needs to
communicate with some 3rd-party framework in order to properly fire
events to PowerMockTestListener instances.
|
GlobalNotificationBuildSupport.Callback |
|
HashCodeInitializedInCtor |
|
HoldingFinalDemo |
|
HotSpotVirtualMachine |
|
IdentityHashSet<E> |
|
IgnorePackagesExtractor |
|
IndicateReloadClass |
|
InjectDemo |
|
InjectDependencyHolder |
Simple class used to demonstrate setter injection..
|
InjectDependencyHolderQualifier |
Simple class used to demonstrate setter injection..
|
InjectFieldSearcher |
|
InstrumentMockTransformer |
|
InterfaceA |
|
InterfaceB |
|
InterfaceC |
|
InterfaceComputation |
|
InterfaceMethodHierarchyUsage |
|
InterfaceWithStaticFinalField |
The purpose of the simple class is to demonstrate PowerMocks (possibly
future) ability to change static final fields in an interface.
|
InvocationControlAssertionError |
|
InvocationException |
|
InvocationFactory |
|
InvocationSubstitute<T> |
A class that can be used as a substitution instead of mocking a particular
class.
|
InvokeConstructor |
|
IOUtils |
|
ITarget |
|
ItemRepository |
|
ItemRepository.MyClass |
|
JavaAgentClassRegister |
This register contains information about which class has been modified by PowerMock Java Agent.
|
JavaAgentClassRegisterImpl |
|
JavaAgentFrameworkRegister |
Instance of class should set/clear an instance of the JavaAgentClassRegister
in Mockito Frameworks classes
|
JavaAgentFrameworkRegisterFactory |
Factory to create an instance of JavaAgentFrameworkRegister,
depends on which mocking framework is loaded in runtime.
|
JavaAgentFrameworkRegisterImpl |
Implementation of JavaAgentFrameworkRegister for EasyMock framework.
|
JavaAssistClassMarkerFactory |
|
JavaAssistClassMarkerFactory.InterfaceClassMarker |
The implementation of the ClassMarker which use an interface to mark type.
|
JavaAssistClassWrapperFactory |
|
JavaAssistClassWrapperFactory.JavaAssistClassWrapper |
|
JavaAssistTestClassTransformer |
|
JavassistMockClassLoader |
|
JavassistMockTransformerChainFactory |
|
JavaVersion |
|
JclMockPolicy |
A Jakarta Commons-Logging (JCL) mock policy.
|
JUnit4TestMethodChecker |
|
JUnit4TestSuiteChunker |
|
JUnit4TestSuiteChunkerImpl |
|
JUnitVersion |
|
Keys |
Holds various keys that may be put into the MockRepository to store state.
|
LinuxVirtualMachine |
|
ListMap<K,V> |
|
ListMap.SimpleEntry<K,V> |
|
Log4jMockPolicy |
A log4j mock policy.
|
LogPolicySupport |
A support class for mock policies dealing with logging frameworks.
|
MaxLocalsExtractor |
|
MaxLocalsExtractor.MaxLocalsMethodVisitor |
|
MemberMatcher |
Finds members in classes.
|
MemberModifier |
Contains various utilities for modifying members of classes such as
constructors, fields and methods.
|
MethodExceedingJvmLimit |
Example of class with method which after instrumentation is larger than JVM limit.
|
MethodInvocationControl |
The purpose of a method invocation control is to invoke a proxy to simulate a
method call.
|
MethodInvocationDemo |
|
MethodInvocationDemoGrandParent |
|
MethodInvocationDemoParent |
|
MethodInvocationException |
A run-time exception that may be thrown to indicate that a method invocation
failed.
|
MethodMaxLocals |
|
MethodMockTransformer |
|
MethodNotFoundException |
A run-time exception that may be thrown to indicate that a method was not
found.
|
MethodProxy |
|
MethodReplaceStrategy |
Specifies the replace strategy for a method.
|
MethodReplaceStrategyImpl |
|
MethodSignatures |
|
MethodSignatures.ByteBuddyMethodSignatureWriterWriter |
|
MethodSignatures.JavassistMethodSignatureWriterWriter |
|
MethodSignatureWriter<T> |
|
MethodSizeMockTransformer |
According to JVM specification method size must be lower than 65536 bytes.
|
MethodStubStrategy<T> |
Specifies the return value when stubbing a method.
|
MethodStubStrategyImpl<T> |
|
Mock |
This annotation can be placed on those fields in your test class that should
be mocked.
|
MockClassLoader |
The classloader loads and modified all classes except:
|
MockClassLoaderBuilder |
|
MockClassLoaderConfiguration |
The instance of the class provides information about classes which have to be mocked, loaded without modification
or defer to system class loader.
|
MockClassLoaderFactory |
|
MockCreator |
An implementer of interface is reasonable for creating of an mocked instance of specific type.
|
MockGateway |
All mock invocations are routed through this gateway.
|
MockGateway.NoMockito |
|
MockGetawayCall |
|
MockGetawayCall.ConstructorMockGetawayCall |
|
MockGetawayCall.ForType |
|
MockGetawayCall.WithArguments |
|
MockHandlerAdaptor<T> |
The class provides a access to method and data of MockHandler from the given mock instance.
|
MockingFrameworkReporter |
The instance of the interface is used to replace default mocking frameworks
exception message via message specific for PowerMock use-cases.
|
MockInvocation |
|
MockitoConfiguration |
|
MockitoMethodInvocationControl<T> |
|
MockitoNewInvocationControl<T> |
|
MockitoPowerMockReporter |
|
MockitoRealMethodInvocation |
|
MockitoVersion |
|
MockMakerLoader |
|
MockMetadata |
|
MockNice |
This annotation can be placed on those fields in your test class that should
be mocked in a nice manner (i.e.
|
MockPolicy |
A Mock Policy can be used to make it easier to unit test some code with
PowerMock in isolation from a certain framework.
|
MockPolicyClassLoadingSettings |
Contains class-loading related settings.
|
MockPolicyClassLoadingSettingsImpl |
|
MockPolicyInitializer |
A Mock Policy initializer takes care of initializing the behavior defined by
the mock policies.
|
MockPolicyInitializerImpl |
|
MockPolicyInterceptionSettings |
Contains interception related settings.
|
MockPolicyInterceptionSettingsImpl |
|
MockRepository |
Hold mock objects that should be used instead of the concrete implementation.
|
MockSelfDemo |
|
MockSelfDemoSubClass |
|
MockSelfDemoWithSubClass |
|
MockSelfPrivateFieldServiceClass |
A class that uses a private Service field and no setter.
|
MockSelfWithNoDefaultConstructorDemo |
|
MockStrategy |
|
MockStrict |
This annotation can be placed on those fields in your test class that should
be mocked in a strict manner (i.e.
|
MockTransformer<T> |
Interface that all mock transformers must implement.
|
MockTransformerChain |
|
MockTransformerChain.FilterPredicate |
|
MockTransformerChainFactory |
An implementation of interface should create a MockTransformerChain with full set of required transformers to enable all mocking features.
|
MockTypeValidator<T> |
|
MockTypeValidatorFactory |
|
MockTypeValidatorFactory.AbstractMockTypeValidator<T> |
|
MockTypeValidatorFactory.DefaultMockTypeValidator<T> |
|
MockTypeValidatorFactory.JavaAgentMockTypeValidator<T> |
|
MockTypeValidatorFactory.NullMockTypeValidator<T> |
|
MockWithStaticStateDemo |
|
MultiConstructor |
Mocking object construction with withAnyArguments() does not treat all
the object's constructors equally.
|
MyAbstractClass |
|
MyClass |
|
MyEnum |
|
NativeMockingSample |
The purpose of this class is to invoke a native method in a collaborator.
|
NativeResult |
|
NativeService |
The purpose of this class is to demonstrate that it's possible to mock native
methods using plain EasyMock class extensions.
|
NewDemo |
|
NewFileExample |
Used to demonstrate PowerMock's ability to mock new instance calls.
|
NewInvocationControl<T> |
|
NewInvocationControlAssertionError |
|
NiceDemo |
|
NiceMockStrategy |
|
NotificationBuilder |
Stateful class that, from information from JUnit and test-classes,
can build and send notifications to PowerMockTestNotifier.
|
NotificationBuilder.DetectedTestRunBehaviour |
|
NumberUtils |
|
OverloadedMethodsExample |
|
OverloadingDemo |
Demonstrates that PowerMock correctly invoke overloaded methods from the
MockGateway.
|
PackagePrivateClass |
This class demonstrates the ability for PowerMock to mock package private
classes.
|
PackagePrivateClassesMockTransformer |
Set class modifier to public to allow for mocking of package private
classes.
|
ParametersMatcher |
|
ParameterTypesMatcher |
|
Parent |
|
PartialMockingExample |
Simple partial mocking example that should need no byte-code manipulation.
|
PartialMockingWithConstructor |
|
PowerMock |
PowerMock extends EasyMock functionality with several new features such as
mocking static and private methods, mocking new instances and more.
|
PowerMock.EasyMockStateCleaner |
Clears the state in LastControl that deals with MocksControl.
|
PowerMockAgent |
This is the "agent class" that initializes the PowerMock "Java agent".
|
PowerMockAgentTestInitializer |
|
PowerMockCallRealMethod |
|
PowerMockClassloaderObjectFactory |
|
PowerMockClassRedefiner |
|
PowerMockClassTransformer |
|
PowerMockConfiguration |
The class provides list of setting for PowerMock.
|
PowerMockExpectedExceptionsExtractorImpl |
|
PowerMockExpressionEditor |
|
PowerMockIgnore |
This annotation tells PowerMock to defer the loading of classes with the
names supplied to PowerMockIgnore.value() to the system classloader.
|
PowerMockIgnoreDemo |
|
PowerMockIgnorePackagesExtractorImpl |
|
PowerMockInternalException |
|
PowerMockito |
PowerMockito extends Mockito functionality with several new features such as
mocking static and private methods and more.
|
PowerMockitoCore |
|
PowerMockitoInjectingAnnotationEngine |
The same as InjectingAnnotationEngine with the exception that it
doesn't create/injects mocks annotated with the standard annotations such as
Mock .
|
PowerMockitoSpyAnnotationEngine |
|
PowerMockitoStubber |
Setup stubbing for private or void methods in final class, final void
methods, or static (final) methods.
|
PowerMockitoStubberImpl |
Extension of the standard Mocktio stubber implementation that also support
PowerMockito created mocks.
|
PowerMockJUnit44RunnerDelegateImpl |
A JUnit4 test runner that only runs a specified set of test methods in a test
class.
|
PowerMockJUnit47RunnerDelegateImpl |
|
PowerMockJUnit49RunnerDelegateImpl |
|
PowerMockJUnit4MethodValidator |
A custom MethodValidator that makes sure that test methods not
annotated by the Test annotation works in JUnit 4.4 with the custom
JUnit-runner when the test class is extending TestCase .
|
PowerMockJUnit4RunListener |
|
PowerMockJUnitRunnerDelegate |
|
PowerMockListener |
The PowerMock listener annotation can be used to tell PowerMock which
listeners should be instantiated and invoked during a test.
|
PowerMockMaker |
A PowerMock implementation of the MockMaker.
|
PowerMockMaker.StaticMockHandler |
|
PowerMockModified |
Interface marker.
|
PowerMockObjectFactory |
The PowerMock object factory.
|
PowerMockPolicy |
This interface can be implemented to create policies for certain frameworks
to make it easier for users to test their code in isolation from these
frameworks.
|
PowerMockReporter |
The interface is used to provide a user well-defined exception description.
|
PowerMockReporterFactory |
|
PowerMockRule |
|
PowerMockRuleTestSuiteChunker |
|
PowerMockRunner |
|
PowerMockRunnerDelegate |
|
PowerMockRunnerDelegate.DefaultJUnitRunner |
|
PowerMockRunnerDelegate.SinceJUnit_4_5 |
Stuff that needs to be handled in a separate class, because it
deals with API that did not exist before JUnit-4.5.
|
PowerMockRunNotifier |
Wraps JUnit's RunNotifier to make sure that the PowerMock-specific
instances of PowerMockTestListener will also be informed.
|
PowerMockStatement |
|
PowerMockTestCase |
A PowerMock base class that may be used as a base class for all TestNG
test cases that uses PowerMock.
|
PowerMockTestListener |
This interface should be implemented by all PowerMock test listeners.
|
PowerMockTestNGMethodHandler |
|
PowerMockTestNotifier |
Implementors of this interface that must provide the ability to notify
PowerMock test listeners with the events as specified by the methods declared
in this interface.
|
PowerMockTestNotifierImpl |
Utility class that may be used by PowerMock test runners to notify listeners.
|
PowerMockUtils |
|
PrepareEverythingForTest |
This annotation tells PowerMock to prepare all classes (except certain system
and test related classes) for test.
|
PrepareForTest |
This annotation tells PowerMock to prepare certain classes for testing.
|
PrepareForTestExtractorImpl |
|
PrepareOnlyThisForTest |
This annotation tells PowerMock to prepare certain classes for testing.
|
PrimitiveAndWrapperDemo |
Used to demonstrate PowerMocks ability to deal with overloaded constructors
of primitive/wrapper types.
|
PrimitiveAndWrapperUser |
Used to demonstrate PowerMocks ability to deal with overloaded constructors
of primitive/wrapper types.
|
PrimitiveBoxing |
|
Primitives |
Simple utility that maps constant fields of CtClass to
their corresponding java class-objects for primitive types.
|
PrimitiveWrapper |
The purpose of the Primitive Wrapper is to provide methods that deals with
translating wrapper types to its related primitive type.
|
PrivateConstructorDemo |
Demonstrates the ability to invoke a test on a private constructor as well as
lazy initialization of private collaborators.
|
PrivateConstructorInstantiationDemo |
Class used to demonstrate the private constructor instantiation.
|
PrivateFinal |
A class used to test the functionality to mock private methods that are also
final.
|
PrivateFinalOverload |
A class used to test the functionality of capturing arguments when methods are overloaded and private and final.
|
PrivatelyExpectedArguments |
|
PrivateMethodDemo |
A class used to test the functionality to mock private methods.
|
PrivateMethodVerification |
|
PrivatePartialMockingExample |
Simple partial mocking example that should need no byte-code manipulation.
|
PropertiesFinder |
|
PropertiesFinder.ConfigurationSource |
|
PropertiesLoader |
|
ProxyFrameworks |
|
PublicConstructorDemo |
Demonstrates the ability to invoke a test on a private constructor as well as
lazy initialization of private collaborators.
|
PublicConstructorWithDependencyDemo |
This class is used to demonstrate that error messages are correct when a
constructor is not found.
|
ReallySimpleSwingDemo |
|
ReflectionInstantiator |
|
Result |
|
ResultCalculator |
|
RunnerTestSuiteChunker |
An interface that should be implemented by classes that performs test suite
chunking.
|
RuntimeAnnotation |
|
RuntimeExceptionProxy |
|
SafeExceptionRethrower |
|
SampleServlet |
|
Service |
A very simple service interface used as a dependency for various classes to
demonstrate different kinds of mocking.
|
SimpleClassWithADependency |
|
SimpleFramework |
|
SimpleFrameworkUser |
|
SimpleMix |
This class is used to demonstrate features such as static, final and partial
mocking as well as access internal state.
|
SimpleMixCollaborator |
|
SimpleMixConstruction |
|
SimpleMixUtilities |
|
SimplePrivateFieldServiceClass |
A class that uses a private Service field and no setter.
|
SimpleReturnExample |
|
SimpleReturnExampleUser |
|
SimpleStaticInitializerExample |
|
SimpleStaticService |
|
SimpleSwingDemo |
A basic swing application example.
|
SimpleThing |
|
SimpleThingCreator |
|
SimpleThingImpl |
|
SimpleVarArgsConstructorDemo |
|
SingleClassloaderExecutor |
|
Slf4jMockPolicy |
An slf4j mock policy.
|
Slf4jMockPolicy |
Sfl4j mock policy that injects a Mockito-created mock to be returned on calls to getLogger factory methods.
|
SolarisVirtualMachine |
|
SomeClassWithAMethod |
|
SomeClassWithAMethodParent |
|
SomeDependency |
|
SomeObjectInterface |
|
SomeObjectInterfaceImpl |
|
SpyObject |
|
StackTraceCleanerProvider |
|
StaticAndInstanceDemo |
Demonstrates how to mock both instance and static methods in the same test
|
StaticAndInstanceMethodWithSameName |
|
StaticAndInstanceMethodWithSameNameUser |
Demonstrates that PowerMock correctly methods that seam to be overloaded but
differ because one is static and one is instance.
|
StaticAndInstanceWithConstructorCodeDemo |
The purpose of this class is to be used to verify that the
http://code.google.com/p/powermock/issues/detail?id=4 is fixed.
|
StaticConstructorSuppressExtractorImpl |
Implementation of the TestClassesExtractor interface for classes that
should have their static initializers suppressed.
|
StaticExample |
Can be used to assert that partial mocking of static methods works.
|
StaticFinalFieldsMockTransformer |
Remove final from all static final fields.
|
StaticFinalNativeMethodMockTransformer |
|
StaticHelper |
|
StaticHoldingFinalDemo |
|
StaticInitializerExample |
|
StaticService |
Test class to demonstrate static, static+final, static+native and
static+final+native methods mocking.
|
StaticWithPrivateCtor |
|
StressSample |
|
StrictDemo |
|
StrictMockStrategy |
|
StringJoiner |
|
Stubber |
|
StupidAnonymous |
|
StupidNew |
|
SuppressCode |
|
SuppressConstructorDemo |
|
SuppressConstructorHeirarchyEvilGrandParent |
|
SuppressConstructorHierarchy |
|
SuppressConstructorHierarchyParent |
|
SuppressConstructorSubclassDemo |
|
SuppressEverything |
|
SuppressField |
|
SuppressMethod |
|
SuppressMethodExample |
|
SuppressMethodParent |
|
SuppressNonParentConstructorDemo |
|
SuppressSpecificConstructorDemo |
|
SuppressStaticInitializationFor |
Use this annotation to suppress static initializers (constructors) for one or
more classes.
|
SuppressStaticInitializerMockTransformer |
|
SystemClassUser |
Class used to demonstrate PowerMock's ability to mock system classes.
|
Target |
|
TestCaseEntry |
A test case entry consists of a test class and a list of test chunks that
should be executed for this entry.
|
TestChunk |
A test chunk consists of a list of methods that should be executed by a
particular classloader.
|
TestChunkImpl |
A test chunk consists of a list of methods that should be executed by a
particular classloader.
|
TestClassAwareTransformer |
|
TestClassesExtractor |
|
TestClassInstanceFactory |
|
TestClassTransformer<T,M> |
MockTransformer implementation that will make PowerMock test-class
enhancements for four purposes...
|
TestClassTransformerBuilder |
|
TestClassTransformerBuilder.RemovesTestMethodAnnotation |
|
TestClassTransformerBuilder.TestClassTransformerBuilderWithClue |
|
TestMethodResult |
|
TestMethodResultImpl |
|
TestNGMethodFilter |
Javassist method filter that ignores the toString, equals, finalize and
hashCode method otherwise the test output in Maven looks strange and
replayAll/verifyAll doesn't work as expected.
|
TestNGMockClassLoaderFactory |
|
TestSubjectInjector |
The class injects mocks created with Mock , Mock
to fields of objects which is annotated with TestSubject
|
TestSubjectInjector.InjectionTarget |
|
TestSuiteChunker |
|
TestSuiteResult |
|
TestSuiteResultImpl |
|
ThingToTest |
|
TooManyConstructorsFoundException |
A run-time exception that may be thrown to indicate that too many
constructors were found.
|
TooManyFieldsFoundException |
A run-time exception that may be thrown to indicate that too many fields were
found.
|
TooManyMethodsFoundException |
A run-time exception that may be thrown to indicate that too many methods
were found.
|
TransformerHelper |
|
TransformStrategy |
The enum provide information for MockTransformer have PowerMock is started via Runner(FactoryObject), Rule or JavaAgent
|
TypeUtils |
Utilities for types.
|
UnproxiedType |
|
UnproxiedTypeFactory |
|
UnproxiedTypeFactory.UnproxiedTypeImpl |
|
UseClassPathAdjuster |
Deprecated.
|
UseMe |
|
UseMeInterface |
|
ValueAliases |
|
VarArgsConstructorDemo |
|
Variable |
|
Variable.VariableAccess |
|
VerifyNoMoreInteractions |
Verifies no more interactions, delegates to Mockito if PowerMockito doesn't
find a supplied mock.
|
VersionComparator |
This code is copied from http://stackoverflow.com/questions/198431/how-do-you-compare-two-version-strings-in-java
|
VersionTokenizer |
This code is copied from http://stackoverflow.com/questions/198431/how-do-you-compare-two-version-strings-in-java
|
VirtualMachine |
A Java virtual machine.
|
VirtualMachineDescriptor |
Describes a Java virtual machine.
|
Whitebox |
Various utilities for accessing internals of a class.
|
WhiteboxImpl |
Various utilities for accessing internals of a class.
|
WildcardMatcher |
Wildcard matcher.
|
WindowsVirtualMachine |
|
WithAnyArguments<T> |
|
WithExpectedArguments<T> |
|
WithExpectedParameterTypes<T> |
|
WithOrWithoutExpectedArguments<T> |
|
WithOrWithoutVerifiedArguments |
|
WithoutExpectedArguments<T> |
|
WithoutVerifiedArguments |
|
WithVerifiedArguments |
|
WsUtil |
|