SYMBOL INDEX (5037 symbols across 880 files) FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/EasyMockConfiguration.java class EasyMockConfiguration (line 25) | public class EasyMockConfiguration { method EasyMockConfiguration (line 32) | private EasyMockConfiguration() { method getConfiguration (line 38) | public static EasyMockConfiguration getConfiguration() { method initTestSubjectSupported (line 42) | private void initTestSubjectSupported() { method initReallyEasyMock (line 51) | private void initReallyEasyMock() { method initInjectMocksSupported (line 60) | private void initInjectMocksSupported() { method isInjectMocksSupported (line 72) | public boolean isInjectMocksSupported() { method isReallyEasyMock (line 76) | public boolean isReallyEasyMock() { method isTestSubjectSupported (line 80) | public boolean isTestSubjectSupported() { FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/PowerMock.java class PowerMock (line 66) | public class PowerMock extends MemberModifier { method createMock (line 83) | public static synchronized T createMock(Class type, Method... m... method createMock (line 94) | public static synchronized T createMock(Class type) { method createMock (line 109) | public static T createMock(Class type, ConstructorArgs construc... method createMock (line 123) | public static T createMock(Class type, Object... constructorArg... method createStrictMock (line 138) | public static synchronized T createStrictMock(Class type, Metho... method createStrictMock (line 150) | public static synchronized T createStrictMock(Class type) { method createNiceMock (line 163) | public static synchronized T createNiceMock(Class type, Method.... method createNiceMock (line 175) | public static synchronized T createNiceMock(Class type) { method createStrictMock (line 190) | public static T createStrictMock(Class type, ConstructorArgs co... method createNiceMock (line 205) | public static T createNiceMock(Class type, ConstructorArgs cons... method createStrictMock (line 220) | public static T createStrictMock(Class type, Object... construc... method createNiceMock (line 237) | public static T createNiceMock(Class type, Object... constructo... method mockStatic (line 249) | public static synchronized void mockStatic(Class type, Method... me... method mockStatic (line 258) | public static synchronized void mockStatic(Class type) { method mockStaticStrict (line 268) | public static synchronized void mockStaticStrict(Class type, Method... method mockStaticStrict (line 277) | public static synchronized void mockStaticStrict(Class type) { method mockStaticNice (line 287) | public static synchronized void mockStaticNice(Class type, Method..... method mockStaticNice (line 296) | public static synchronized void mockStaticNice(Class type) { method createPartialMockForAllMethodsExcept (line 320) | public static synchronized T createPartialMockForAllMethodsExcept(... method createNicePartialMockForAllMethodsExcept (line 348) | public static synchronized T createNicePartialMockForAllMethodsExc... method createStrictPartialMockForAllMethodsExcept (line 376) | public static synchronized T createStrictPartialMockForAllMethodsE... method createPartialMockForAllMethodsExcept (line 396) | public static synchronized T createPartialMockForAllMethodsExcept(... method createNicePartialMockForAllMethodsExcept (line 420) | public static synchronized T createNicePartialMockForAllMethodsExc... method createStrictPartialMockForAllMethodsExcept (line 444) | public static synchronized T createStrictPartialMockForAllMethodsE... method createPartialMock (line 467) | public static synchronized T createPartialMock(Class type, Stri... method createStrictPartialMock (line 485) | public static synchronized T createStrictPartialMock(Class type... method createNicePartialMock (line 503) | public static synchronized T createNicePartialMock(Class type, ... method mockStaticPartial (line 517) | public static synchronized void mockStaticPartial(Class clazz, Stri... method mockStaticPartialStrict (line 531) | public static synchronized void mockStaticPartialStrict(Class clazz... method mockStaticPartialNice (line 545) | public static synchronized void mockStaticPartialNice(Class clazz, ... method mockStaticPartial (line 569) | public static synchronized void mockStaticPartial(Class clazz, Stri... method mockStaticPartialStrict (line 591) | public static synchronized void mockStaticPartialStrict(Class clazz... method mockStaticPartialNice (line 613) | public static synchronized void mockStaticPartialNice(Class clazz, ... method doMockSpecific (line 617) | static T doMockSpecific(Class type, MockStrategy mockStrategy, ... method createPartialMock (line 667) | public static synchronized T createPartialMock(Class type, Stri... method createPartialMock (line 702) | public static synchronized T createPartialMock(Class type, Clas... method createStrictPartialMock (line 725) | public static synchronized T createStrictPartialMock(Class type... method createStrictPartialMock (line 760) | public static synchronized T createStrictPartialMock(Class type... method createNicePartialMock (line 784) | public static synchronized T createNicePartialMock(Class type, ... method createNicePartialMock (line 819) | public static synchronized T createNicePartialMock(Class type, ... method createPartialMockAndInvokeDefaultConstructor (line 838) | public static T createPartialMockAndInvokeDefaultConstructor(Class... method createNicePartialMockAndInvokeDefaultConstructor (line 859) | public static T createNicePartialMockAndInvokeDefaultConstructor(C... method createStrictPartialMockAndInvokeDefaultConstructor (line 880) | public static T createStrictPartialMockAndInvokeDefaultConstructor... method createPartialMock (line 903) | public static T createPartialMock(Class type, String[] methodNa... method createStrictPartialMock (line 927) | public static T createStrictPartialMock(Class type, String[] me... method createNicePartialMock (line 951) | public static T createNicePartialMock(Class type, String[] meth... method createPartialMock (line 977) | public static T createPartialMock(Class type, String methodName... method createStrictPartialMock (line 1005) | public static T createStrictPartialMock(Class type, String meth... method createNicePartialMock (line 1033) | public static T createNicePartialMock(Class type, String method... method createPartialMock (line 1064) | public static T createPartialMock(Class type, String methodName... method createStrictPartialMock (line 1096) | public static T createStrictPartialMock(Class type, String meth... method createNicePartialMock (line 1128) | public static T createNicePartialMock(Class type, String method... method expectPrivate (line 1140) | public static synchronized IExpectationSetters expectPrivate(Cl... method expectPrivate (line 1149) | public static synchronized IExpectationSetters expectPrivate(Ob... method expectPrivate (line 1158) | @SuppressWarnings("all") method expectPrivate (line 1184) | public static synchronized IExpectationSetters expectPrivate(Ob... method expectPrivate (line 1200) | public static synchronized IExpectationSetters expectPrivate(Ob... method expectPrivate (line 1213) | public static synchronized IExpectationSetters expectPrivate(Ob... method expectPrivate (line 1242) | public static synchronized IExpectationSetters expectPrivate(Ob... method expectLastCall (line 1254) | public static synchronized IExpectationSetters expectLastCall() { method niceReplayAndVerify (line 1263) | public static synchronized void niceReplayAndVerify() { method isEasyMocked (line 1270) | private static boolean isEasyMocked(Object mock) { method replayAll (line 1299) | public static synchronized void replayAll(Object... additionalMocks) { method resetAll (line 1329) | public static synchronized void resetAll(Object... additionalMocks) { method reset (line 1340) | public static synchronized void reset(Class... classMocks) { method reset (line 1360) | public static synchronized void reset(Object... mocks) { method verifyAll (line 1413) | public static synchronized void verifyAll() { method replay (line 1426) | public static synchronized void replay(Object... mocks) { method verify (line 1469) | public static synchronized void verify(Object... objects) { method createMockAndExpectNew (line 1504) | public static synchronized T createMockAndExpectNew(Class type,... method createMockAndExpectNew (line 1523) | public static synchronized T createMockAndExpectNew(Class type,... method createNiceMockAndExpectNew (line 1538) | public static synchronized T createNiceMockAndExpectNew(Class t... method createNiceMockAndExpectNew (line 1560) | public static synchronized T createNiceMockAndExpectNew(Class t... method createStrictMockAndExpectNew (line 1578) | public static synchronized T createStrictMockAndExpectNew(Class... method createStrictMockAndExpectNew (line 1597) | public static synchronized T createStrictMockAndExpectNew(Class... method expectNew (line 1615) | public static synchronized IExpectationSetters expectNew(Class<... method doExpectNew (line 1620) | @SuppressWarnings("unchecked") method expectNew (line 1665) | public static synchronized IExpectationSetters expectNew(Class<... method expectNew (line 1681) | @SuppressWarnings("unchecked") method expectStrictNew (line 1697) | public static synchronized IExpectationSetters expectStrictNew(... method expectStrictNew (line 1715) | public static synchronized IExpectationSetters expectStrictNew(... method expectNiceNew (line 1730) | public static synchronized IExpectationSetters expectNiceNew(Cl... method expectNiceNew (line 1749) | public static synchronized IExpectationSetters expectNiceNew(Cl... method suppressConstructor (line 1759) | @Deprecated method suppressSpecificConstructor (line 1771) | @Deprecated method suppressConstructor (line 1782) | @Deprecated method suppressConstructor (line 1794) | @Deprecated method suppressField (line 1806) | @Deprecated method suppressField (line 1816) | @Deprecated method suppressField (line 1830) | @Deprecated method suppressMethod (line 1842) | @Deprecated method suppressMethod (line 1854) | @Deprecated method suppressMethod (line 1865) | @Deprecated method suppressMethod (line 1878) | @Deprecated method suppressMethod (line 1890) | @Deprecated method suppressMethod (line 1902) | @Deprecated method suppressMethod (line 1912) | @Deprecated method doMock (line 1917) | @SuppressWarnings("unchecked") method createReplicaType (line 1992) | private static Class createReplicaType(Class type, boolean i... method doCreateMock (line 2017) | private static T doCreateMock(Class type, ConstructorArgs const... method toSet (line 2037) | private static Set toSet(Method[] methods) { method mergeArgumentTypes (line 2041) | private static Class[] mergeArgumentTypes(Class firstArgumentTyp... method doExpectPrivate (line 2055) | @SuppressWarnings("unchecked") method replay (line 2062) | private static synchronized void replay(Class... types) { method verifyClass (line 2079) | private static synchronized void verifyClass(Class... types) { method isNiceReplayAndVerifyMode (line 2096) | private static boolean isNiceReplayAndVerifyMode() { class EasyMockStateCleaner (line 2104) | private static class EasyMockStateCleaner implements Runnable { method run (line 2106) | @Override method clearStateFromOtherClassLoaders (line 2112) | private void clearStateFromOtherClassLoaders() { method classloadersToClear (line 2127) | private Iterable classloadersToClear() { method classFoundInClassloader (line 2140) | private boolean classFoundInClassloader(Class cls, ClassLoader cl... FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/internal/invocationcontrol/EasyMockMethodInvocationControl.java class EasyMockMethodInvocationControl (line 30) | public class EasyMockMethodInvocationControl implements MethodInvocat... method EasyMockMethodInvocationControl (line 60) | public EasyMockMethodInvocationControl(MockInvocationHandler invocatio... method EasyMockMethodInvocationControl (line 79) | public EasyMockMethodInvocationControl(MockInvocationHandler invocatio... method isMocked (line 83) | @Override method invoke (line 88) | @Override method getMockType (line 93) | public MockType getMockType() { method replay (line 113) | @Override method verify (line 123) | public synchronized Object verify(Object... mocks) { method reset (line 132) | @Override FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/internal/invocationcontrol/EasyMockNewInvocationControl.java class EasyMockNewInvocationControl (line 29) | public class EasyMockNewInvocationControl implements NewInvocationCon... method EasyMockNewInvocationControl (line 35) | public EasyMockNewInvocationControl(InvocationSubstitute substitute... method invoke (line 43) | @Override method expectSubstitutionLogic (line 75) | @Override method replay (line 80) | @Override method verify (line 89) | public synchronized Object verify(Object... mocks) { method reset (line 97) | @Override FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/internal/invocationcontrol/NewInvocationControlAssertionError.java class NewInvocationControlAssertionError (line 7) | public class NewInvocationControlAssertionError { method throwAssertionErrorForNewSubstitutionFailure (line 8) | public static void throwAssertionErrorForNewSubstitutionFailure(Assert... FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/internal/mockstrategy/MockStrategy.java type MockStrategy (line 5) | public interface MockStrategy { method createMockControl (line 7) | IMocksControl createMockControl(Class type); FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/internal/mockstrategy/impl/AbstractMockStrategyBase.java class AbstractMockStrategyBase (line 12) | public abstract class AbstractMockStrategyBase implements MockStrategy { method AbstractMockStrategyBase (line 16) | public AbstractMockStrategyBase(MockType mockType) { method createMockControl (line 23) | @Override FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/internal/mockstrategy/impl/DefaultMockStrategy.java class DefaultMockStrategy (line 5) | public class DefaultMockStrategy extends AbstractMockStrategyBase { method DefaultMockStrategy (line 7) | public DefaultMockStrategy() { FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/internal/mockstrategy/impl/NiceMockStrategy.java class NiceMockStrategy (line 5) | public class NiceMockStrategy extends AbstractMockStrategyBase { method NiceMockStrategy (line 7) | public NiceMockStrategy() { FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/internal/mockstrategy/impl/StrictMockStrategy.java class StrictMockStrategy (line 5) | public class StrictMockStrategy extends AbstractMockStrategyBase { method StrictMockStrategy (line 7) | public StrictMockStrategy() { FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/mockpolicies/AbstractEasyMockLogPolicyBase.java class AbstractEasyMockLogPolicyBase (line 31) | abstract class AbstractEasyMockLogPolicyBase implements PowerMockPolicy { method applyClassLoadingPolicy (line 33) | @Override method applyInterceptionPolicy (line 38) | @Override method getLoggerMethodName (line 66) | protected abstract String getLoggerMethodName(); method getLoggerFactoryClassName (line 72) | protected abstract String getLoggerFactoryClassName(); method getLoggerClassToMock (line 79) | protected abstract String getLoggerClassToMock(); method getLogFrameworkName (line 86) | protected abstract String getLogFrameworkName(); method getFullyQualifiedNamesOfClassesToLoadByMockClassloader (line 92) | protected abstract String[] getFullyQualifiedNamesOfClassesToLoadByMoc... FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/mockpolicies/JclMockPolicy.java class JclMockPolicy (line 34) | public class JclMockPolicy extends AbstractEasyMockLogPolicyBase { method getFullyQualifiedNamesOfClassesToLoadByMockClassloader (line 39) | protected String[] getFullyQualifiedNamesOfClassesToLoadByMockClassloa... method getLogFrameworkName (line 43) | @Override method getLoggerClassToMock (line 48) | @Override method getLoggerFactoryClassName (line 53) | @Override method getLoggerMethodName (line 58) | @Override FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/mockpolicies/Log4jMockPolicy.java class Log4jMockPolicy (line 31) | public class Log4jMockPolicy extends AbstractEasyMockLogPolicyBase { method getFullyQualifiedNamesOfClassesToLoadByMockClassloader (line 38) | @Override method getLogFrameworkName (line 43) | @Override method getLoggerClassToMock (line 48) | @Override method getLoggerFactoryClassName (line 53) | @Override method getLoggerMethodName (line 58) | @Override FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/mockpolicies/Slf4jMockPolicy.java class Slf4jMockPolicy (line 32) | public class Slf4jMockPolicy extends AbstractEasyMockLogPolicyBase { method getFullyQualifiedNamesOfClassesToLoadByMockClassloader (line 34) | @Override method getLogFrameworkName (line 39) | @Override method getLoggerClassToMock (line 44) | @Override method getLoggerFactoryClassName (line 49) | @Override method getLoggerMethodName (line 54) | @Override FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/powermocklistener/AnnotationEnabler.java class AnnotationEnabler (line 29) | @Deprecated FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/extension/InjectFieldSearcher.java type InjectFieldSearcher (line 27) | public interface InjectFieldSearcher { method findField (line 28) | Field findField(Object instance, MockMetadata mockMetadata); FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/extension/agent/JavaAgentFrameworkRegisterImpl.java class JavaAgentFrameworkRegisterImpl (line 26) | public class JavaAgentFrameworkRegisterImpl implements JavaAgentFramewor... method set (line 27) | @Override method clear (line 32) | @Override FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/extension/listener/AnnotationEnabler.java class AnnotationEnabler (line 50) | @SuppressWarnings({"deprecation", "JavadocReference"}) method getMockAnnotations (line 54) | @SuppressWarnings("unchecked") method beforeTestMethod (line 59) | @Override method getEasyMockAnnotationSupport (line 79) | @SuppressWarnings("WeakerAccess") FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/extension/listener/AnnotationGlobalMetadata.java class AnnotationGlobalMetadata (line 28) | class AnnotationGlobalMetadata { method getQualifiedInjections (line 36) | public List getQualifiedInjections() { method getUnqualifiedInjections (line 40) | public List getUnqualifiedInjections() { method add (line 44) | public void add(List mocksMetadata) { method add (line 50) | private void add(MockMetadata mockMetadata) { method blockDuplicateQualifiers (line 62) | private void blockDuplicateQualifiers(String qualifier) { FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/extension/listener/AnnotationMockCreator.java type AnnotationMockCreator (line 25) | interface AnnotationMockCreator { method createMockInstance (line 26) | Object createMockInstance(final Class type, final Method[] methods); FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/extension/listener/AnnotationMockCreatorFactory.java class AnnotationMockCreatorFactory (line 29) | class AnnotationMockCreatorFactory { method createDefaultMockCreator (line 30) | public AnnotationMockCreator createDefaultMockCreator() { method createNiceMockCreator (line 39) | public AnnotationMockCreator createNiceMockCreator() { method createStrictMockCreator (line 48) | public AnnotationMockCreator createStrictMockCreator() { FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/extension/listener/AnnotationMockMetadata.java class AnnotationMockMetadata (line 27) | @SuppressWarnings("WeakerAccess") method AnnotationMockMetadata (line 37) | public AnnotationMockMetadata(Class annotation, ... method findQualifier (line 47) | private String findQualifier() { method getFieldName (line 63) | @Override method getQualifier (line 68) | @Override method getAnnotation (line 73) | @Override method getType (line 78) | @Override method getMethods (line 83) | @Override method getMethod (line 88) | private Method[] getMethod() throws Exception { method getMock (line 97) | @Override method setMock (line 102) | @Override method equals (line 107) | @Override method hashCode (line 120) | @Override FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/extension/listener/AnnotationMockScanner.java class AnnotationMockScanner (line 28) | class AnnotationMockScanner { method AnnotationMockScanner (line 31) | public AnnotationMockScanner(Class annotation) { method scan (line 35) | public List scan(Object instance) throws Exception { method getFields (line 47) | @SuppressWarnings("unchecked") FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/extension/listener/DefaultInjectFieldSearcher.java class DefaultInjectFieldSearcher (line 30) | @SuppressWarnings("unchecked") method findField (line 33) | @Override method filterByFieldName (line 54) | private Set filterByFieldName(final Set candidates, fina... method filterByType (line 61) | private Set filterByType(Set candidates, Class type) { method doFilterByType (line 68) | private Set doFilterByType(Set candidates, Class type) { method filterByQualifier (line 78) | private Set filterByQualifier(Set candidates, String qua... method doFilterByQualifier (line 85) | private Set doFilterByQualifier(Set candidates, String q... FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/extension/listener/EasyMockAnnotationSupport.java class EasyMockAnnotationSupport (line 38) | @SuppressWarnings({"WeakerAccess", "JavadocReference"}) method EasyMockAnnotationSupport (line 46) | public EasyMockAnnotationSupport(Object testInstance) { method injectMocks (line 53) | public void injectMocks() throws Exception { method injectStrictMocks (line 60) | protected void injectStrictMocks() throws Exception { method injectNiceMocks (line 64) | protected void injectNiceMocks() throws Exception { method injectDefaultMocks (line 68) | @SuppressWarnings("deprecation") method injectTestSubjectMocks (line 73) | @SuppressWarnings("unchecked") method inject (line 82) | protected void inject(Object injectCandidateInstance, Class getAnnotation(); method getType (line 33) | Class getType(); method getMethods (line 35) | Method[] getMethods(); method getMock (line 37) | Object getMock(); method setMock (line 39) | void setMock(Object mock); FILE: powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/extension/listener/TestSubjectInjector.java class TestSubjectInjector (line 34) | @SuppressWarnings({"deprecation", "WeakerAccess"}) method TestSubjectInjector (line 40) | public TestSubjectInjector(Object testInstance, AnnotationGlobalMetada... method injectTestSubjectMocks (line 46) | @SuppressWarnings("unchecked") method injectTestSubjectFields (line 60) | protected void injectTestSubjectFields(Object testSubject) throws Ille... method injectByType (line 66) | void injectByType(Set targetFields, Object testSubject) throws ... method findUniqueAssignable (line 81) | MockMetadata findUniqueAssignable(InjectionTarget target) { method injectByName (line 94) | Set injectByName(Set targetFields, Object targetObject) ... method getFieldByName (line 115) | private Field getFieldByName(Class clazz, String fieldName) { class InjectionTarget (line 125) | private static class InjectionTarget { method InjectionTarget (line 129) | public InjectionTarget(Field field) { method getField (line 134) | public Field getField() { method accepts (line 138) | public boolean accepts(MockMetadata mockMetadata) { method inject (line 142) | public void inject(Object targetObject, MockMetadata mockMetadata) t... FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/extension/agent/JavaAgentFrameworkRegisterImpl.java class JavaAgentFrameworkRegisterImpl (line 11) | public class JavaAgentFrameworkRegisterImpl implements JavaAgentFramewor... method set (line 17) | @Override method setToPowerMockito (line 22) | private void setToPowerMockito(JavaAgentClassRegister javaAgentClassRe... method getPowerMockCoreForCurrentClassLoader (line 29) | private MockCreator getPowerMockCoreForCurrentClassLoader() { method clear (line 38) | @Override FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/extension/listener/AnnotationEnabler.java class AnnotationEnabler (line 50) | @SuppressWarnings("deprecation") method beforeTestMethod (line 53) | @Override method injectSpiesAndInjectToSetters (line 60) | private void injectSpiesAndInjectToSetters(Object testInstance) { method injectCaptor (line 64) | private void injectCaptor(Object testInstance) throws Exception { method standardInject (line 72) | private void standardInject(Object testInstance) throws IllegalAccessE... method getMockAnnotations (line 105) | @SuppressWarnings("unchecked") method processAnnotationOn (line 111) | private Object processAnnotationOn(Captor annotation, Field field) { FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/ClassNotPreparedException.java class ClassNotPreparedException (line 7) | public class ClassNotPreparedException extends RuntimeException { method ClassNotPreparedException (line 9) | public ClassNotPreparedException(String message) { FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/PowerMockito.java class PowerMockito (line 52) | public class PowerMockito extends MemberModifier { method mockStatic (line 61) | public static synchronized void mockStatic(Class type, Class... ... method mockStatic (line 87) | public static void mockStatic(Class classMock, @SuppressWarnings("r... method mockStatic (line 114) | public static void mockStatic(Class classToMock, MockSettings mockS... method mock (line 125) | public static synchronized T mock(Class type) { method mock (line 150) | public static T mock(Class classToMock, @SuppressWarnings("rawt... method mock (line 180) | public static T mock(Class classToMock, MockSettings mockSettin... method spy (line 193) | @SuppressWarnings("unchecked") method spy (line 205) | public static synchronized void spy(Class type) { method verifyStatic (line 236) | public static synchronized void verifyStatic(Class mockedClass) { method verifyStatic (line 262) | public static synchronized void verifyStatic(Class mockedClass,... method verifyPrivate (line 271) | public static PrivateMethodVerification verifyPrivate(Object object) { method verifyPrivate (line 280) | public static PrivateMethodVerification verifyPrivate(Object object, V... method verifyPrivate (line 291) | public static PrivateMethodVerification verifyPrivate(Class clazz) ... method verifyPrivate (line 301) | public static PrivateMethodVerification verifyPrivate(Class clazz, ... method verifyNew (line 324) | @SuppressWarnings("unchecked") method verifyNew (line 348) | @SuppressWarnings("unchecked") method when (line 359) | public static OngoingStubbing when(Object instance, String meth... method when (line 368) | public static WithOrWithoutExpectedArguments when(Object instan... method when (line 377) | public static WithOrWithoutExpectedArguments when(Class cls,... method when (line 389) | public static OngoingStubbing when(Object instance, Object... a... method when (line 399) | public static OngoingStubbing when(Class clazz, String metho... method when (line 412) | public static OngoingStubbing when(Class klass, Object... ar... method when (line 421) | public static OngoingStubbing when(T methodCall) { method whenNew (line 429) | public static synchronized WithOrWithoutExpectedArguments whenN... method whenNew (line 437) | public static synchronized ConstructorExpectationSetup whenNew(... method whenNew (line 449) | @SuppressWarnings("unchecked") method verifyNoMoreInteractions (line 504) | public static void verifyNoMoreInteractions(Object... mocks) { method verifyZeroInteractions (line 529) | public static void verifyZeroInteractions(Object... mocks) { method doAnswer (line 558) | public static PowerMockitoStubber doAnswer(Answer answer) { method doThrow (line 578) | public static PowerMockitoStubber doThrow(Throwable toBeThrown) { method doCallRealMethod (line 619) | public static PowerMockitoStubber doCallRealMethod() { method doNothing (line 659) | public static PowerMockitoStubber doNothing() { method doReturn (line 709) | public static PowerMockitoStubber doReturn(Object toBeReturned) { method doReturn (line 763) | public static PowerMockitoStubber doReturn(Object toBeReturned, Object... FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/expectation/ConstructorAwareExpectationSetup.java class ConstructorAwareExpectationSetup (line 23) | public class ConstructorAwareExpectationSetup implements WithOrWithou... method ConstructorAwareExpectationSetup (line 28) | public ConstructorAwareExpectationSetup(Constructor ctor) { method withArguments (line 36) | @Override method withNoArguments (line 41) | @Override method setupExpectation (line 46) | private DefaultConstructorExpectationSetup setupExpectation() { FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/expectation/ConstructorExpectationSetup.java type ConstructorExpectationSetup (line 18) | public interface ConstructorExpectationSetup extends WithOrWithoutExp... FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/expectation/DefaultConstructorExpectationSetup.java class DefaultConstructorExpectationSetup (line 36) | public class DefaultConstructorExpectationSetup implements Constructo... method DefaultConstructorExpectationSetup (line 44) | public DefaultConstructorExpectationSetup(Class mockType) { method withArguments (line 51) | @Override method createNewSubstituteMock (line 57) | @SuppressWarnings({"unchecked", "rawtypes"}) method createNewInvocationControl (line 75) | private NewInvocationControl> createNewInvocationCo... method withAnyArguments (line 89) | @Override method createParamArgMatcher (line 110) | private Object createParamArgMatcher(Class paramType) { method withNoArguments (line 114) | @Override method withParameterTypes (line 119) | @Override method getMockCreator (line 125) | private DefaultMockCreator getMockCreator() {return mockCreator;} method createNewInvocationControl (line 127) | private NewInvocationControl> createNewInvocationCo... method setParameterTypes (line 131) | void setParameterTypes(Class[] parameterTypes) { FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/expectation/PowerMockitoStubber.java type PowerMockitoStubber (line 29) | public interface PowerMockitoStubber extends Stubber { method when (line 63) | void when(Class classMock); method when (line 94) | PrivatelyExpectedArguments when(T mock, Method method) throws Exce... method when (line 127) | void when(T mock, Object... arguments) throws Exception; method when (line 161) | void when(T mock, String methodToExpect, Object... arguments) thro... method when (line 192) | PrivatelyExpectedArguments when(Class classMock, Method method)... method when (line 223) | void when(Class classMock, Object... arguments) throws Exception; method when (line 256) | void when(Class classMock, String methodToExpect, Object... arg... FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/expectation/PrivatelyExpectedArguments.java type PrivatelyExpectedArguments (line 18) | public interface PrivatelyExpectedArguments { method withArguments (line 19) | void withArguments(Object firstArgument, Object... additionalArgum... method withNoArguments (line 21) | void withNoArguments() throws Exception; FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/expectation/WithAnyArguments.java type WithAnyArguments (line 20) | public interface WithAnyArguments { method withAnyArguments (line 22) | OngoingStubbing withAnyArguments() throws Exception; FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/expectation/WithExpectedArguments.java type WithExpectedArguments (line 21) | public interface WithExpectedArguments { method withArguments (line 23) | OngoingStubbing withArguments(Object firstArgument, Object... addit... FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/expectation/WithExpectedParameterTypes.java type WithExpectedParameterTypes (line 18) | public interface WithExpectedParameterTypes { method withParameterTypes (line 20) | WithExpectedArguments withParameterTypes(Class parameterType, Cl... FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/expectation/WithOrWithoutExpectedArguments.java type WithOrWithoutExpectedArguments (line 18) | public interface WithOrWithoutExpectedArguments extends WithExpectedA... FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/expectation/WithoutExpectedArguments.java type WithoutExpectedArguments (line 21) | public interface WithoutExpectedArguments { method withNoArguments (line 23) | OngoingStubbing withNoArguments() throws Exception; FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/expectation/reporter/MockitoPowerMockReporter.java class MockitoPowerMockReporter (line 25) | public class MockitoPowerMockReporter implements PowerMockReporter { method classNotPrepared (line 27) | @Override FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/PowerMockitoCore.java class PowerMockitoCore (line 40) | public class PowerMockitoCore { method doAnswer (line 46) | public PowerMockitoStubber doAnswer(final Answer answer) { method doThrow (line 55) | public PowerMockitoStubber doThrow(final Throwable toBeThrown) { method doCallRealMethod (line 64) | public PowerMockitoStubber doCallRealMethod() { method doNothing (line 73) | public PowerMockitoStubber doNothing() { method doReturn (line 82) | public PowerMockitoStubber doReturn(final Object toBeReturned) { method doAnswer (line 91) | public PowerMockitoStubber doAnswer(final Object toBeReturned, final O... method verifyNew (line 100) | public DefaultConstructorArgumentsVerification verifyNew(final ... method spy (line 113) | public T spy(final T object) { method doAnswer (line 121) | private PowerMockitoStubber doAnswer(final Callable callable) { FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/configuration/PowerMockitoInjectingAnnotationEngine.java class PowerMockitoInjectingAnnotationEngine (line 30) | public class PowerMockitoInjectingAnnotationEngine extends InjectingAnno... method process (line 32) | @SuppressWarnings("deprecation") method preLoadPluginLoader (line 45) | private void preLoadPluginLoader() { FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/configuration/PowerMockitoSpyAnnotationEngine.java class PowerMockitoSpyAnnotationEngine (line 33) | public class PowerMockitoSpyAnnotationEngine extends SpyAnnotationEngine { method process (line 35) | @SuppressWarnings("deprecation") FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/exceptions/StackTraceCleanerProvider.java class StackTraceCleanerProvider (line 22) | public class StackTraceCleanerProvider implements org.mockito.plugins.St... method getStackTraceCleaner (line 23) | @Override FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/expectation/DefaultMethodExpectationSetup.java class DefaultMethodExpectationSetup (line 25) | public class DefaultMethodExpectationSetup implements WithOrWithoutEx... method DefaultMethodExpectationSetup (line 31) | public DefaultMethodExpectationSetup(Object object, Method method) { method join (line 42) | private static Object[] join(Object o, Object[] array) { method withArguments (line 49) | @SuppressWarnings("unchecked") method withNoArguments (line 59) | @SuppressWarnings("unchecked") FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/expectation/DefaultPrivatelyExpectedArguments.java class DefaultPrivatelyExpectedArguments (line 23) | public class DefaultPrivatelyExpectedArguments implements PrivatelyExpec... method DefaultPrivatelyExpectedArguments (line 28) | public DefaultPrivatelyExpectedArguments(Object mock, Method method) { method withArguments (line 34) | @Override method withNoArguments (line 48) | @Override FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/expectation/DelegatingToConstructorsOngoingStubbing.java class DelegatingToConstructorsOngoingStubbing (line 31) | public class DelegatingToConstructorsOngoingStubbing implements Ongoi... method DelegatingToConstructorsOngoingStubbing (line 36) | public DelegatingToConstructorsOngoingStubbing(Constructor[] ctors,... method thenReturn (line 44) | @Override method thenReturn (line 55) | @Override method thenThrow (line 66) | @Override method thenThrow (line 77) | @Override method thenThrow (line 88) | @Override method thenCallRealMethod (line 99) | @Override method thenAnswer (line 110) | @Override method then (line 121) | @Override method getMock (line 132) | @Override class InvokeStubMethod (line 138) | private abstract class InvokeStubMethod { method invoke (line 139) | public OngoingStubbing invoke() { method performStubbing (line 159) | public abstract void performStubbing(OngoingStubbing when); FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/expectation/PowerMockitoStubberImpl.java class PowerMockitoStubberImpl (line 33) | public class PowerMockitoStubberImpl implements PowerMockitoStubber, Stu... method PowerMockitoStubberImpl (line 37) | public PowerMockitoStubberImpl(final Stubber stubber) {this.stubber = ... method when (line 39) | @Override method doThrow (line 53) | @Override method doThrow (line 56) | @Override method doThrow (line 59) | @Override method doAnswer (line 62) | @Override method doNothing (line 65) | @Override method doReturn (line 68) | @Override method doReturn (line 71) | @Override method doCallRealMethod (line 75) | @Override method when (line 78) | @Override method when (line 85) | @Override method when (line 93) | @Override method when (line 100) | @Override method when (line 108) | @Override method when (line 115) | @Override method when (line 123) | @Override method assertNotNull (line 131) | private void assertNotNull(Object object, String name) { FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/invocation/InvocationControlAssertionError.java class InvocationControlAssertionError (line 23) | public class InvocationControlAssertionError { method updateErrorMessageForVerifyNoMoreInteractions (line 32) | public static void updateErrorMessageForVerifyNoMoreInteractions(Asser... method updateErrorMessageForMethodInvocation (line 69) | public static void updateErrorMessageForMethodInvocation(AssertionErro... method throwAssertionErrorForNewSubstitutionFailure (line 79) | public static void throwAssertionErrorForNewSubstitutionFailure(Assert... method changeMessageContent (line 97) | private static String changeMessageContent(String message) { method removeFailureLocations (line 114) | private static StringBuilder removeFailureLocations(String message) { method removeAndReplaceText (line 126) | private static void removeAndReplaceText(StringBuilder builder, String... method isLastFinding (line 154) | private static boolean isLastFinding(int index) { method removeText (line 158) | private static void removeText(StringBuilder builder, String text) { FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/invocation/MockitoNewInvocationControl.java class MockitoNewInvocationControl (line 29) | public class MockitoNewInvocationControl implements NewInvocationCont... method MockitoNewInvocationControl (line 32) | public MockitoNewInvocationControl(InvocationSubstitute substitute) { method invoke (line 39) | @Override method expectSubstitutionLogic (line 62) | @Override method getSubstitute (line 67) | public InvocationSubstitute getSubstitute() { method replay (line 71) | @Override method verify (line 76) | public synchronized void verify(final VerificationMode verificationMod... method reset (line 80) | @SuppressWarnings("unchecked") method verifyNoMoreInteractions (line 87) | public void verifyNoMoreInteractions() { FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/mockcreation/AbstractMockCreator.java class AbstractMockCreator (line 5) | public abstract class AbstractMockCreator implements MockCreator { method validateType (line 9) | void validateType(Class type, boolean isStatic, boolean isSpy) { method createTypeValidator (line 13) | private MockTypeValidator createTypeValidator(Class type, bo... FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/mockcreation/DefaultMockCreator.java class DefaultMockCreator (line 33) | public class DefaultMockCreator extends AbstractMockCreator { method mock (line 37) | @SuppressWarnings("unchecked") method createMock (line 43) | @SuppressWarnings("unchecked") method doCreateMock (line 56) | private T doCreateMock(final Class type, final boolean isStatic... method registerAfterMethodRunner (line 75) | private void registerAfterMethodRunner() { method putMethodInvocationControlToRepository (line 84) | private void putMethodInvocationControlToRepository(final Class... method getMockType (line 92) | private Class getMockType(final Class type) { method isFinalJavaSystemClass (line 102) | private static boolean isFinalJavaSystemClass(Class type) { method createMethodInvocationControl (line 106) | @SuppressWarnings("unchecked") method cacheMockClass (line 115) | private void cacheMockClass(final Class mockClass) { class MockData (line 126) | private static class MockData { method MockData (line 131) | private MockData(MockitoMethodInvocationControl methodInvocationCont... method getMethodInvocationControl (line 136) | private MockitoMethodInvocationControl getMethodInvocationControl() { method getMock (line 140) | private T getMock() { FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/mockcreation/MockCreator.java type MockCreator (line 8) | public interface MockCreator { method createMock (line 9) | T createMock(Class type, boolean isStatic, boolean isSpy, Objec... FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/mockcreation/MockTypeValidator.java type MockTypeValidator (line 6) | public interface MockTypeValidator { method validate (line 7) | void validate(); FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/mockcreation/MockTypeValidatorFactory.java class MockTypeValidatorFactory (line 11) | public class MockTypeValidatorFactory { method createValidator (line 13) | public static MockTypeValidator createValidator(Class type, ... method isLoadedByBootstrap (line 24) | private static boolean isLoadedByBootstrap(Class type) { class DefaultMockTypeValidator (line 28) | private static class DefaultMockTypeValidator extends AbstractMockT... method DefaultMockTypeValidator (line 30) | DefaultMockTypeValidator(Class type) { method validate (line 34) | @Override method isModifiedByPowerMock (line 41) | private boolean isModifiedByPowerMock() { class JavaAgentMockTypeValidator (line 46) | private static class JavaAgentMockTypeValidator extends AbstractMoc... method JavaAgentMockTypeValidator (line 50) | private JavaAgentMockTypeValidator(Class type, JavaAgentClassRegi... method validate (line 55) | @Override method isModifiedByAgent (line 62) | private boolean isModifiedByAgent() { class AbstractMockTypeValidator (line 67) | private abstract static class AbstractMockTypeValidator implements ... method AbstractMockTypeValidator (line 71) | private AbstractMockTypeValidator(Class type) { method validate (line 76) | @Override class NullMockTypeValidator (line 81) | private static class NullMockTypeValidator implements MockTypeValid... method validate (line 82) | @Override FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/mockcreation/RuntimeExceptionProxy.java class RuntimeExceptionProxy (line 3) | public class RuntimeExceptionProxy extends RuntimeException { method RuntimeExceptionProxy (line 4) | public RuntimeExceptionProxy(Throwable t) { FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/stubbing/MockitoRealMethodInvocation.java class MockitoRealMethodInvocation (line 22) | public class MockitoRealMethodInvocation { method MockitoRealMethodInvocation (line 25) | private MockitoRealMethodInvocation() { method mockitoInvocationStarted (line 28) | public static void mockitoInvocationStarted() { method mockitoInvocationFinished (line 32) | public static void mockitoInvocationFinished() { method isHandledByMockito (line 36) | public static boolean isHandledByMockito() { FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/stubbing/PowerMockCallRealMethod.java class PowerMockCallRealMethod (line 25) | public class PowerMockCallRealMethod implements Answer { method answer (line 26) | @Override FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/verification/DefaultConstructorArgumentsVerification.java class DefaultConstructorArgumentsVerification (line 25) | public class DefaultConstructorArgumentsVerification implements Const... method DefaultConstructorArgumentsVerification (line 30) | @SuppressWarnings("unchecked") method withArguments (line 36) | @Override method invokeSubstitute (line 49) | private void invokeSubstitute(Object... arguments) throws Exception { method withNoArguments (line 57) | @Override FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/verification/DefaultPrivateMethodVerification.java class DefaultPrivateMethodVerification (line 26) | public class DefaultPrivateMethodVerification implements PrivateMethodVe... method DefaultPrivateMethodVerification (line 30) | public DefaultPrivateMethodVerification(Object objectToVerify) { method invoke (line 34) | @Override method invoke (line 40) | @Override method invoke (line 45) | @Override class VerificationArguments (line 50) | private class VerificationArguments implements WithOrWithoutVerifiedAr... method VerificationArguments (line 53) | public VerificationArguments(Method method) { method withArguments (line 61) | @Override method withNoArguments (line 71) | @Override FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/internal/verification/VerifyNoMoreInteractions.java class VerifyNoMoreInteractions (line 28) | public class VerifyNoMoreInteractions { method verifyNoMoreInteractions (line 30) | public static void verifyNoMoreInteractions(Object... objects) { method verifyNoMoreInteractions (line 50) | private static void verifyNoMoreInteractions(Class... types) { FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/invocation/InvocationFactory.java class InvocationFactory (line 34) | class InvocationFactory { method createInvocation (line 36) | Invocation createInvocation(final Object mock, final Method method, fi... method createRealMethod (line 44) | private RealMethodBehavior createRealMethod(final Object delegator, fi... FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/invocation/MockHandlerAdaptor.java class MockHandlerAdaptor (line 36) | public class MockHandlerAdaptor { method MockHandlerAdaptor (line 41) | MockHandlerAdaptor(final T mock) { method getMock (line 47) | public Object getMock() { method getMockSettings (line 51) | public MockCreationSettings getMockSettings() { method getMockHandler (line 55) | private MockHandler getMockHandler() { method performIntercept (line 59) | Object performIntercept(final Object mock, final Method method, Object... method createInvocation (line 80) | private Invocation createInvocation(final Object mock, final Method me... FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/invocation/MockitoMethodInvocationControl.java class MockitoMethodInvocationControl (line 35) | public class MockitoMethodInvocationControl implements MethodInvocati... method MockitoMethodInvocationControl (line 63) | public MockitoMethodInvocationControl(Object delegator, T mockInstance... method isMocked (line 69) | @Override method invoke (line 74) | @Override method isCanBeHandledByMockito (line 105) | private boolean isCanBeHandledByMockito(final Method method) { method hasBeenCaughtByMockitoProxy (line 110) | private boolean hasBeenCaughtByMockitoProxy() { method replay (line 114) | @Override method reset (line 119) | @Override method verifyNoMoreInteractions (line 124) | public void verifyNoMoreInteractions() { method toSet (line 136) | private Set toSet(Method... methods) { method hasDelegator (line 140) | private boolean hasDelegator() { method getMockHandlerAdaptor (line 144) | public MockHandlerAdaptor getMockHandlerAdaptor() { FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/mockmaker/MockMakerLoader.java class MockMakerLoader (line 25) | class MockMakerLoader { method load (line 26) | MockMaker load(final MockitoConfiguration mockitoConfiguration) { method doLoad (line 42) | private MockMaker doLoad(final ClassLoader loader, final String mockMa... FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/mockmaker/PowerMockMaker.java class PowerMockMaker (line 32) | public class PowerMockMaker implements MockMaker { method PowerMockMaker (line 35) | public PowerMockMaker() { method createMock (line 39) | @Override method getHandler (line 44) | @Override method instanceMockHandler (line 53) | private MockHandler instanceMockHandler(final Object mock) { method getRealMock (line 57) | private Object getRealMock(final Object mock) { method staticMockHandler (line 69) | private MockHandler staticMockHandler(final Class mock) { method resetMock (line 73) | @Override method isTypeMockable (line 78) | @Override method getMockMaker (line 83) | MockMaker getMockMaker() { method createStaticMockSettings (line 87) | @SuppressWarnings("unchecked") class StaticMockHandler (line 94) | private static class StaticMockHandler implements MockHandler { method StaticMockHandler (line 97) | private StaticMockHandler(final MockCreationSettings mockSett... method getMockSettings (line 101) | @Override method getInvocationContainer (line 106) | @Override method handle (line 111) | @Override FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/mockpolicies/Slf4jMockPolicy.java class Slf4jMockPolicy (line 40) | public class Slf4jMockPolicy implements PowerMockPolicy { method applyClassLoadingPolicy (line 49) | @Override method applyInterceptionPolicy (line 57) | @Override method initializeMockForThread (line 71) | private void initializeMockForThread(LogPolicySupport logPolicySupport) { method getLoggerClass (line 93) | private Class getLoggerClass(LogPolicySupport logPolicySupport) { FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/powermocklistener/AnnotationEnabler.java class AnnotationEnabler (line 26) | @Deprecated FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/verification/ConstructorArgumentsVerification.java type ConstructorArgumentsVerification (line 19) | public interface ConstructorArgumentsVerification { method withArguments (line 21) | void withArguments(Object argument, Object... additionalArguments) thr... method withNoArguments (line 23) | void withNoArguments() throws Exception; FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/verification/PrivateMethodVerification.java type PrivateMethodVerification (line 21) | public interface PrivateMethodVerification { method invoke (line 31) | @Deprecated method invoke (line 39) | WithOrWithoutVerifiedArguments invoke(Method method) throws Exception; method invoke (line 47) | void invoke(String methodToVerify, Object... arguments) throws Exception; FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/verification/WithOrWithoutVerifiedArguments.java type WithOrWithoutVerifiedArguments (line 19) | public interface WithOrWithoutVerifiedArguments extends WithVerifiedArgu... FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/verification/WithVerifiedArguments.java type WithVerifiedArguments (line 20) | public interface WithVerifiedArguments { method withArguments (line 21) | void withArguments(Object firstArgument, Object... additionalArguments... FILE: powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/verification/WithoutVerifiedArguments.java type WithoutVerifiedArguments (line 19) | public interface WithoutVerifiedArguments { method withNoArguments (line 20) | void withNoArguments() throws Exception; FILE: powermock-api/powermock-api-mockito2/src/test/java/org/powermock/api/mockito/PowerMockMockito2ApiTestSuite.java class PowerMockMockito2ApiTestSuite (line 14) | @RunWith(Suite.class) FILE: powermock-api/powermock-api-mockito2/src/test/java/org/powermock/api/mockito/internal/expectation/DefaultMethodExpectationSetupTestCase.java class DefaultMethodExpectationSetupTestCase (line 26) | public class DefaultMethodExpectationSetupTestCase { method testWithArguments_Multiple (line 30) | @Test(expected = MissingMethodInvocationException.class) method testWithArguments_Single (line 39) | @Test(expected = MissingMethodInvocationException.class) method testJoin (line 46) | @Test class CUT (line 56) | public static class CUT { method multiple (line 58) | public void multiple(Object a1, Object a2, Object a3) { method single (line 62) | public void single(Object a1) { FILE: powermock-api/powermock-api-mockito2/src/test/java/org/powermock/api/mockito/internal/mockcreation/MockCreatorTestCase.java class MockCreatorTestCase (line 14) | public class MockCreatorTestCase { method should_return_mock_name_when_settings_have_name (line 16) | @Test method should_return_class_name_when_settings_have_no_name (line 30) | @Test method createMock (line 43) | private List createMock(final MockSettings settings) throws NoSuchM... method getMockName (line 47) | private MockName getMockName(final List result) { FILE: powermock-api/powermock-api-mockito2/src/test/java/org/powermock/api/mockito/mockmaker/PowerMockMakerTestCase.java class PowerMockMakerTestCase (line 43) | public class PowerMockMakerTestCase { method should_delegate_calls_to_mock_maker_from_configuration (line 45) | @Test class DelegateMockMakerStub (line 80) | public static class DelegateMockMakerStub implements MockMaker { method DelegateMockMakerStub (line 84) | public DelegateMockMakerStub() { method createMock (line 88) | @Override method getHandler (line 93) | @Override method resetMock (line 98) | @Override method isTypeMockable (line 103) | @Override method getMock (line 118) | private Object getMock() { class TargetTest (line 123) | public static class TargetTest { method setUp (line 127) | @Before method tearDown (line 134) | @After method runTest (line 140) | @Test FILE: powermock-api/powermock-api-support/src/main/java/org/powermock/api/support/ClassLoaderUtil.java class ClassLoaderUtil (line 18) | public class ClassLoaderUtil { method loadClass (line 24) | @SuppressWarnings("unchecked") method loadClass (line 32) | @SuppressWarnings("unchecked") method hasClass (line 40) | @SuppressWarnings("unchecked") method loadClass (line 56) | public static Class loadClass(String className, ClassLoader cla... FILE: powermock-api/powermock-api-support/src/main/java/org/powermock/api/support/MethodProxy.java class MethodProxy (line 26) | public class MethodProxy { method proxy (line 31) | public static void proxy(Method method, InvocationHandler invocationHa... method proxy (line 40) | public static void proxy(Class declaringClass, String methodName, I... method assertInvocationHandlerNotNull (line 60) | private static void assertInvocationHandlerNotNull(InvocationHandler i... FILE: powermock-api/powermock-api-support/src/main/java/org/powermock/api/support/SafeExceptionRethrower.java class SafeExceptionRethrower (line 18) | public class SafeExceptionRethrower { method safeRethrow (line 20) | public static void safeRethrow(Throwable t) { method safeRethrow0 (line 24) | @SuppressWarnings("unchecked") FILE: powermock-api/powermock-api-support/src/main/java/org/powermock/api/support/Stubber.java class Stubber (line 25) | public class Stubber { method stubMethod (line 30) | public static void stubMethod(Method method, Object returnObject) { method stubMethod (line 38) | public static void stubMethod(Class declaringClass, String methodNa... FILE: powermock-api/powermock-api-support/src/main/java/org/powermock/api/support/SuppressCode.java class SuppressCode (line 26) | public class SuppressCode { method suppressConstructor (line 30) | public static synchronized void suppressConstructor(Constructor... ... method suppressSpecificConstructor (line 52) | public static synchronized void suppressSpecificConstructor(Class c... method suppressConstructor (line 62) | public static synchronized void suppressConstructor(Class... classe... method suppressConstructor (line 80) | public static synchronized void suppressConstructor(Class clazz, bo... method suppressField (line 99) | public static synchronized void suppressField(Field... fields) { method suppressField (line 108) | public static synchronized void suppressField(Class[] classes) { method suppressField (line 127) | public static synchronized void suppressField(Class clazz, String..... method suppressMethod (line 142) | public static synchronized void suppressMethod(Method... methods) { method suppressMethod (line 156) | public static synchronized void suppressMethod(Class cls, Class.... method suppressMethod (line 169) | public static synchronized void suppressMethod(Class[] classes) { method suppressMethod (line 185) | public static synchronized void suppressMethod(Class clazz, String ... method suppressMethod (line 204) | public static synchronized void suppressMethod(Class clazz, String[... method suppressMethod (line 218) | public static synchronized void suppressMethod(Class clazz, boolean... method suppressMethod (line 235) | public static synchronized void suppressMethod(Class clazz, String ... FILE: powermock-api/powermock-api-support/src/main/java/org/powermock/api/support/membermodification/MemberMatcher.java class MemberMatcher (line 40) | public class MemberMatcher { method methodsDeclaredIn (line 52) | public static Method[] methodsDeclaredIn(final Class cls, final Cla... method method (line 84) | public static Method method(Class declaringClass, String methodName... method method (line 111) | public static Method method(Class declaringClass, Class... param... method methods (line 130) | public static Method[] methods(Class clazz, String methodName, Stri... method methods (line 143) | public static Method[] methods(Method method, Method... additionalMeth... method methods (line 160) | public static Method[] methods(Class clazz, String[] methodNames) { method field (line 180) | public static Field field(Class declaringClass, String fieldName) { method fields (line 197) | public static Field[] fields(Class clazz, String firstFieldName, St... method fields (line 209) | public static Field[] fields(Class clazz) { method fields (line 222) | public static Field[] fields(Field field, Field... additionalFields) { method fields (line 237) | public static Field[] fields(Class clazz, String[] fieldNames) { method constructor (line 254) | @SuppressWarnings("unchecked") method constructor (line 272) | @SuppressWarnings("unchecked") method defaultConstructorIn (line 287) | @SuppressWarnings("unchecked") method constructorsDeclaredIn (line 301) | public static Constructor[] constructorsDeclaredIn(final Class c... method constructors (line 322) | public static Constructor[] constructors(Constructor constructor... method everythingDeclaredIn (line 335) | public static AccessibleObject[] everythingDeclaredIn(final Class c... method merge (line 346) | private static String[] merge(String first, String... additional) { method merge (line 350) | private static Method[] merge(Method first, Method... additional) { method merge (line 354) | private static Field[] merge(Field first, Field... additional) { method merge (line 358) | private static Constructor[] merge(Constructor first, Constructo... FILE: powermock-api/powermock-api-support/src/main/java/org/powermock/api/support/membermodification/MemberModifier.java class MemberModifier (line 35) | public class MemberModifier extends MemberMatcher { method suppress (line 41) | public static void suppress(Method method) { method suppress (line 49) | public static void suppress(Method[] methods) { method suppress (line 56) | public static void suppress(Constructor constructor) { method suppress (line 63) | public static void suppress(Constructor[] constructors) { method suppress (line 70) | public static void suppress(Field field) { method suppress (line 77) | public static void suppress(Field[] fields) { method suppress (line 84) | public static void suppress(AccessibleObject[] accessibleObjects) { method stub (line 104) | public static MethodStubStrategy stub(Method method) { method replace (line 111) | public static MethodReplaceStrategy replace(Method method) { FILE: powermock-api/powermock-api-support/src/main/java/org/powermock/api/support/membermodification/strategy/ClassReplaceStrategy.java type ClassReplaceStrategy (line 21) | public interface ClassReplaceStrategy { method with (line 31) | void with(Class cls); FILE: powermock-api/powermock-api-support/src/main/java/org/powermock/api/support/membermodification/strategy/MethodReplaceStrategy.java type MethodReplaceStrategy (line 24) | public interface MethodReplaceStrategy { method with (line 35) | void with(Method method); method with (line 43) | void with(InvocationHandler invocationHandler); FILE: powermock-api/powermock-api-support/src/main/java/org/powermock/api/support/membermodification/strategy/MethodStubStrategy.java type MethodStubStrategy (line 21) | public interface MethodStubStrategy { method andReturn (line 30) | @Deprecated method toReturn (line 39) | void toReturn(T returnValue); method toThrow (line 47) | void toThrow(Throwable throwable); FILE: powermock-api/powermock-api-support/src/main/java/org/powermock/api/support/membermodification/strategy/impl/MethodReplaceStrategyImpl.java class MethodReplaceStrategyImpl (line 26) | public class MethodReplaceStrategyImpl implements MethodReplaceStrategy { method MethodReplaceStrategyImpl (line 30) | public MethodReplaceStrategyImpl(Method method) { method with (line 37) | @Override method with (line 55) | @Override class MethodInvocationHandler (line 63) | private final class MethodInvocationHandler implements InvocationHandl... method MethodInvocationHandler (line 66) | public MethodInvocationHandler(Method methodDelegator) { method invoke (line 70) | @Override FILE: powermock-api/powermock-api-support/src/main/java/org/powermock/api/support/membermodification/strategy/impl/MethodStubStrategyImpl.java class MethodStubStrategyImpl (line 25) | public class MethodStubStrategyImpl implements MethodStubStrategy { method MethodStubStrategyImpl (line 29) | public MethodStubStrategyImpl(Method method) { method andReturn (line 36) | @Deprecated method toThrow (line 42) | @Override method toReturn (line 54) | @Override FILE: powermock-classloading/powermock-classloading-base/src/main/java/org/powermock/classloading/AbstractClassloaderExecutor.java class AbstractClassloaderExecutor (line 29) | public abstract class AbstractClassloaderExecutor implements Classloader... method execute (line 30) | @Override method execute (line 37) | @Override method assertArgumentNotNull (line 43) | private void assertArgumentNotNull(Object object, String argumentName) { method execute (line 49) | protected abstract Object execute(Object instance, Method method, Obje... method executeWithClassLoader (line 51) | Object executeWithClassLoader(Object instance, Method method, ClassLoa... method invokeWithClassLoader (line 59) | private Object invokeWithClassLoader(final ClassLoader classloader, fi... method cloneResult (line 71) | private Object cloneResult(Object result) {return result == null ? nul... method getResult (line 73) | private Object getResult(Method method, Object objectLoadedWithClasslo... method cloneArguments (line 83) | private Object[] cloneArguments(Object[] arguments, DeepClonerSPI deep... method createDeepCloner (line 92) | private DeepClonerSPI createDeepCloner(ClassLoader classLoader) { method doCreateDeepCloner (line 103) | private DeepClonerSPI doCreateDeepCloner(final ClassLoader classLoader... FILE: powermock-classloading/powermock-classloading-base/src/main/java/org/powermock/classloading/ClassloaderExecutor.java type ClassloaderExecutor (line 57) | public interface ClassloaderExecutor { method execute (line 59) | T execute(Callable callable); method execute (line 61) | void execute(Runnable runnable); FILE: powermock-classloading/powermock-classloading-base/src/main/java/org/powermock/classloading/SingleClassloaderExecutor.java class SingleClassloaderExecutor (line 22) | public class SingleClassloaderExecutor extends AbstractClassloaderExecut... method SingleClassloaderExecutor (line 27) | public SingleClassloaderExecutor(ClassLoader classloader) { method execute (line 31) | @Override FILE: powermock-classloading/powermock-classloading-base/src/main/java/org/powermock/classloading/spi/DeepClonerSPI.java type DeepClonerSPI (line 6) | public interface DeepClonerSPI { method clone (line 7) | T clone(T objectToClone); FILE: powermock-classloading/powermock-classloading-objenesis/src/main/java/org/powermock/classloading/DeepCloner.java class DeepCloner (line 45) | public class DeepCloner implements DeepClonerSPI { method DeepCloner (line 55) | public DeepCloner(ClassLoader classLoader) { method DeepCloner (line 63) | public DeepCloner() { method getDoNotClone (line 67) | private Class getDoNotClone(ClassLoader targetCL) { method clone (line 77) | @Override method clone (line 91) | public T clone(T objectToClone, boolean includeStandardJavaType) { method getType (line 97) | @SuppressWarnings("unchecked") method isClass (line 105) | private static boolean isClass(Object object) { method assertObjectNotNull (line 112) | private static void assertObjectNotNull(Object object) { method performClone (line 118) | @SuppressWarnings("unchecked") method cloneJavaReflectMethod (line 144) | private Object cloneJavaReflectMethod(Object source) { method isJavaReflectMethod (line 161) | private boolean isJavaReflectMethod(Class cls) { method isSunClass (line 165) | private boolean isSunClass(Class cls) { method isJavaReflectClass (line 169) | private boolean isJavaReflectClass(Class cls) { method isSerializableCandidate (line 173) | private boolean isSerializableCandidate(Class targetClass, Obje... method isImpliticlySerializable (line 180) | private static boolean isImpliticlySerializable(Class cls) { method isSerializable (line 184) | private static boolean isSerializable(Class cls) { method serializationClone (line 191) | private Object serializationClone(Object source) { method close (line 210) | private void close(Closeable closeable) { method cloneEnum (line 219) | @SuppressWarnings({ "unchecked", "rawtypes" }) method cloneFields (line 227) | @SuppressWarnings("unchecked") method isStandardJavaType (line 280) | private static boolean isStandardJavaType(Class targetClass) { method isStaticFinalModifier (line 284) | private static boolean isStaticFinalModifier(final Field field) { method isIterable (line 290) | private static boolean isIterable(final Object object) { method isIterable (line 294) | private static boolean isIterable(final Class cls) { method getEnumValue (line 298) | @SuppressWarnings({ "unchecked", "rawtypes" }) method instantiateArray (line 304) | private Object instantiateArray(ClassLoader targetCL, Class arrayCl... class UnsafeFieldWriter (line 332) | private static class UnsafeFieldWriter { method write (line 350) | public static void write(Field field, Object object, Object value) { FILE: powermock-classloading/powermock-classloading-objenesis/src/test/java/powermock/classloading/ObjenesisClassloaderExecutorTest.java class ObjenesisClassloaderExecutorTest (line 46) | @Ignore("Test are failed on JDK more that 1.6. On Travis we can run only... method loadsObjectGraphInSpecifiedClassloaderAndReturnsResultInOriginalClassloader (line 49) | @Test method loadsObjectGraphThatIncludesPrimitiveValuesInSpecifiedClassloaderAndReturnsResultInOriginalClassloader (line 72) | @Test method loadsObjectGraphThatIncludesEnumsInSpecifiedClassloaderAndReturnsResultInOriginalClassloader (line 95) | @Test method loadsObjectGraphThatIncludesPrimitiveArraysInSpecifiedClassloaderAndReturnsResultInOriginalClassloader (line 118) | @Test method usesReferenceCloningWhenTwoFieldsPointToSameInstance (line 140) | @Test method worksWithObjectHierarchy (line 161) | @Test method worksWithReflection (line 179) | @Test method createClassloader (line 194) | private MockClassLoader createClassloader() { FILE: powermock-classloading/powermock-classloading-objenesis/src/test/java/powermock/classloading/ObjenesisDeepClonerTest.java class ObjenesisDeepClonerTest (line 33) | @Ignore("Test are failed on JDK more that 1.6. On Travis we can run only... method onlyRunTestsOnNonJava8Environment (line 39) | @Before method clonesJavaInstances (line 46) | @Test method clonesUnmodifiableLists (line 54) | @Test method clonesArraysWithNullValues (line 62) | @Test class UnmodifiableListExample (line 72) | class UnmodifiableListExample { method hashCode (line 75) | @Override method equals (line 83) | @Override class NotSerializable (line 96) | class NotSerializable { method hashCode (line 99) | @Override method equals (line 107) | @Override FILE: powermock-classloading/powermock-classloading-xstream/src/main/java/org/powermock/classloading/DeepCloner.java class DeepCloner (line 27) | public class DeepCloner implements DeepClonerSPI { method DeepCloner (line 34) | public DeepCloner(ClassLoader classLoader) { method disableSecurity (line 41) | private void disableSecurity() { method DeepCloner (line 49) | public DeepCloner() { method clone (line 61) | @SuppressWarnings("unchecked") FILE: powermock-classloading/powermock-classloading-xstream/src/test/java/powermock/classloading/XStreamClassloaderExecutorTest.java class XStreamClassloaderExecutorTest (line 54) | public class XStreamClassloaderExecutorTest { method loadsObjectGraphInSpecifiedClassloaderAndReturnsResultInOriginalClassloader (line 56) | @Test method loadsObjectGraphThatIncludesPrimitiveValuesInSpecifiedClassloaderAndReturnsResultInOriginalClassloader (line 76) | @Test method loadsObjectGraphThatIncludesEnumsInSpecifiedClassloaderAndReturnsResultInOriginalClassloader (line 96) | @Test method clonesStaticFinalObjectFields (line 115) | @Test method clonesStaticFinalPrimitiveFields (line 134) | @Test method clonesStaticFinalNumberFields (line 153) | @Test method loadsObjectGraphThatIncludesPrimitiveArraysInSpecifiedClassloaderAndReturnsResultInOriginalClassloader (line 172) | @Test method loadsObjectGraphThatIncludesCollectionInSpecifiedClassloaderAndReturnsResultInOriginalClassloader (line 191) | @Test method usesReferenceCloningWhenTwoFieldsPointToSameInstance (line 219) | @Test method worksWithObjectHierarchy (line 237) | @Test method worksWithObjectHierarchyAndOverloadedFields (line 252) | @Test method worksWithReflection (line 274) | @Test method createClassloader (line 289) | private MockClassLoader createClassloader() { FILE: powermock-classloading/powermock-classloading-xstream/src/test/java/powermock/classloading/XStreamDeepClonerTest.java class XStreamDeepClonerTest (line 30) | public class XStreamDeepClonerTest { method clonesJavaInstances (line 32) | @Test method clonesUnmodifiableLists (line 40) | @Test method clonesArraysWithNullValues (line 48) | @Test class UnmodifiableListExample (line 58) | class UnmodifiableListExample { method hashCode (line 61) | @Override method equals (line 69) | @Override class NotSerializable (line 87) | class NotSerializable { method hashCode (line 90) | @Override method equals (line 98) | @Override FILE: powermock-core/src/main/java/org/powermock/PowerMockInternalException.java class PowerMockInternalException (line 21) | public class PowerMockInternalException extends RuntimeException{ method PowerMockInternalException (line 25) | public PowerMockInternalException(final Throwable cause) { method PowerMockInternalException (line 29) | public PowerMockInternalException(final String message) { method PowerMockInternalException (line 33) | public PowerMockInternalException(final String message, final Throwabl... FILE: powermock-core/src/main/java/org/powermock/configuration/Configuration.java type Configuration (line 33) | public interface Configuration { method merge (line 43) | T merge(T configuration); FILE: powermock-core/src/main/java/org/powermock/configuration/ConfigurationFactory.java type ConfigurationFactory (line 21) | public interface ConfigurationFactory { method create (line 22) | > T create(Class configurationType); FILE: powermock-core/src/main/java/org/powermock/configuration/ConfigurationType.java type ConfigurationType (line 21) | public enum ConfigurationType { method ConfigurationType (line 28) | ConfigurationType(final String prefix, method getPrefix (line 34) | public String getPrefix() { method forClass (line 38) | public static ConfigurationType forClass(fin... FILE: powermock-core/src/main/java/org/powermock/configuration/GlobalConfiguration.java class GlobalConfiguration (line 32) | public final class GlobalConfiguration { method mockitoConfiguration (line 39) | public static MockitoConfiguration mockitoConfiguration() { method powerMockConfiguration (line 43) | public static PowerMockConfiguration powerMockConfiguration() { method clear (line 47) | public static void clear() { method setConfigurationFactory (line 53) | public static void setConfigurationFactory(final ConfigurationFactory ... method GlobalConfiguration (line 57) | private GlobalConfiguration() { method getPowerMockConfiguration (line 66) | private PowerMockConfiguration getPowerMockConfiguration() { method getMockitoConfiguration (line 70) | private MockitoConfiguration getMockitoConfiguration() { method createConfig (line 74) | private > T createConfig(Class configura... FILE: powermock-core/src/main/java/org/powermock/configuration/MockitoConfiguration.java class MockitoConfiguration (line 21) | public class MockitoConfiguration implements Configuration> { method createConfigurationFor (line 30) | static > ConfigurationBuilder createConf... method ConfigurationBuilder (line 37) | private ConfigurationBuilder(final Class configurationType) { method withValueAlias (line 42) | ConfigurationBuilder withValueAlias(final String alias, final Strin... method fromFile (line 47) | T fromFile(final String configurationLocation) { method fromProperties (line 52) | T fromProperties(final Properties properties) { class ConfigurationCreator (line 57) | private static class ConfigurationCreator { method ConfigurationCreator (line 61) | private ConfigurationCreator(final Map alias) { method create (line 65) | public T create(Class configurationClas... method mapConfiguration (line 77) | private void mapConfiguration(final Class<... FILE: powermock-core/src/main/java/org/powermock/configuration/support/ConfigurationFactoryImpl.java class ConfigurationFactoryImpl (line 29) | public class ConfigurationFactoryImpl implements ConfigurationFactory { method ConfigurationFactoryImpl (line 37) | public ConfigurationFactoryImpl() { method ConfigurationFactoryImpl (line 41) | ConfigurationFactoryImpl(final String userConfigurationLocation, final... method ConfigurationFactoryImpl (line 46) | ConfigurationFactoryImpl(final String defaultConfigurationLocation) { method create (line 50) | @Override method readEnvironmentConfiguration (line 58) | private > T readEnvironmentConfiguration(fi... method readDefault (line 66) | private T readDefault(final Class config... method readUserConfiguration (line 75) | private T readUserConfiguration(final Class... method getDefaultConfigurationLocation (line 80) | private String getDefaultConfigurationLocation() { method getUserConfigurationLocation (line 84) | private String getUserConfigurationLocation() { FILE: powermock-core/src/main/java/org/powermock/configuration/support/ConfigurationMapper.java class ConfigurationMapper (line 30) | class ConfigurationMapper { method ConfigurationMapper (line 35) | ConfigurationMapper(final Class configurationClass, final T configu... method map (line 41) | public void map(final Properties properties) { method mapProperty (line 58) | private void mapProperty(final PropertyDescriptor propertyDescriptor, ... class ConfigurationKey (line 67) | private static class ConfigurationKey { method ConfigurationKey (line 71) | private ConfigurationKey(final ConfigurationType configurationType, ... method toString (line 76) | @Override type PropertyWriter (line 98) | @SuppressWarnings("unchecked") method writeProperty (line 101) | @Override method writeProperty (line 114) | @Override method writeProperty (line 126) | @Override method forProperty (line 148) | private static PropertyWriter forProperty(final PropertyDescriptor p... method writeProperty (line 158) | abstract void writeProperty(final PropertyDescriptor propertyDescrip... FILE: powermock-core/src/main/java/org/powermock/configuration/support/PropertiesFinder.java class PropertiesFinder (line 12) | class PropertiesFinder { method PropertiesFinder (line 16) | PropertiesFinder(final ClassLoader classLoader) { method find (line 20) | List find(final String configurationFile) throws ... class ConfigurationSource (line 34) | static class ConfigurationSource { method ConfigurationSource (line 40) | ConfigurationSource(final String location, final InputStream inputSt... method inputStream (line 45) | InputStream inputStream() { method getLocation (line 49) | String getLocation() { method toString (line 53) | @Override method equals (line 58) | @Override method hashCode (line 68) | @Override FILE: powermock-core/src/main/java/org/powermock/configuration/support/PropertiesLoader.java class PropertiesLoader (line 28) | class PropertiesLoader { method load (line 29) | Properties load(final String propertiesFile) { method loadProperties (line 43) | private Properties loadProperties(final List conf... method printWarning (line 54) | private void printWarning(final List configuratio... method loadPropertiesFromFile (line 65) | private Properties loadPropertiesFromFile(final ConfigurationSource co... FILE: powermock-core/src/main/java/org/powermock/configuration/support/ValueAliases.java class ValueAliases (line 23) | class ValueAliases { method ValueAliases (line 26) | ValueAliases(final Map alias) {this.alias = alias;} method findValue (line 28) | String findValue(final String value) { FILE: powermock-core/src/main/java/org/powermock/core/ClassLocator.java class ClassLocator (line 18) | public class ClassLocator extends SecurityManager { method getCallerClass (line 19) | public static Class getCallerClass() { FILE: powermock-core/src/main/java/org/powermock/core/ClassReplicaCreator.java class ClassReplicaCreator (line 40) | public class ClassReplicaCreator { method createClassReplica (line 46) | public Class createClassReplica(Class clazz) { method createInstanceReplica (line 79) | @SuppressWarnings("unchecked") method addDelegatorField (line 120) | private void addDelegatorField(T delegator, final CtClass replicaC... method generateReplicaClassName (line 126) | private String generateReplicaClassName(final Class clazz) { method copyFields (line 130) | private void copyFields(CtClass originalClassAsCtClass, final CtClass ... method getReplicaMethodDelegationCode (line 147) | private String getReplicaMethodDelegationCode(Class clazz, CtMethod... method getParameterTypes (line 181) | private String[] getParameterTypes(CtMethod ctMethod) throws NotFoundE... method getParametersAsString (line 190) | private static String getParametersAsString(String[] types) { FILE: powermock-core/src/main/java/org/powermock/core/ConcreteClassGenerator.java class ConcreteClassGenerator (line 33) | public class ConcreteClassGenerator { method createConcreteSubClass (line 38) | public Class createConcreteSubClass(Class clazz) { method hasInheritableConstructor (line 73) | private boolean hasInheritableConstructor(CtClass cls) throws NotFound... method getReturnCode (line 88) | private String getReturnCode(CtClass returnType) { method generateClassName (line 95) | private String generateClassName(final Class clazz) { FILE: powermock-core/src/main/java/org/powermock/core/DefaultFieldValueGenerator.java class DefaultFieldValueGenerator (line 42) | public class DefaultFieldValueGenerator { method fillWithDefaultValues (line 44) | public static T fillWithDefaultValues(T object) { method instantiateFieldType (line 67) | private static Object instantiateFieldType(Field field) { method isClass (line 83) | private static boolean isClass(Class fieldType) { method substituteKnownProblemTypes (line 94) | private static Class substituteKnownProblemTypes(Class fieldType) { FILE: powermock-core/src/main/java/org/powermock/core/IdentityHashSet.java class IdentityHashSet (line 22) | public class IdentityHashSet extends AbstractSet { method IdentityHashSet (line 26) | public IdentityHashSet() { method size (line 30) | @Override method contains (line 35) | @Override method add (line 40) | @Override method iterator (line 45) | @Override method remove (line 50) | @Override method clear (line 55) | @Override FILE: powermock-core/src/main/java/org/powermock/core/IndicateReloadClass.java class IndicateReloadClass (line 18) | public class IndicateReloadClass { FILE: powermock-core/src/main/java/org/powermock/core/InvocationException.java class InvocationException (line 21) | public class InvocationException extends RuntimeException { method InvocationException (line 22) | public InvocationException(final Throwable cause) { FILE: powermock-core/src/main/java/org/powermock/core/ListMap.java class ListMap (line 26) | public class ListMap implements Map { class SimpleEntry (line 30) | private static class SimpleEntry implements Entry { method SimpleEntry (line 35) | public SimpleEntry(K key, V value) { method getKey (line 40) | @Override method getValue (line 45) | @Override method setValue (line 50) | @Override method remove (line 59) | @Override method clear (line 71) | @Override method get (line 76) | @Override method put (line 86) | @Override method containsKey (line 98) | @Override method containsValue (line 103) | @Override method entrySet (line 113) | @Override method isEmpty (line 118) | @Override method keySet (line 123) | @Override method putAll (line 132) | @Override method size (line 141) | @Override method values (line 146) | @Override FILE: powermock-core/src/main/java/org/powermock/core/MockGateway.java class MockGateway (line 32) | public class MockGateway { class NoMockito (line 38) | private static final class NoMockito { method NoMockito (line 40) | private NoMockito() {} method newInstanceCall (line 59) | @SuppressWarnings("UnusedDeclaration") method fieldCall (line 92) | @SuppressWarnings("UnusedDeclaration") method staticConstructorCall (line 101) | public static Object staticConstructorCall(String className) { method constructorCall (line 108) | @SuppressWarnings("UnusedDeclaration") method suppressConstructorCall (line 117) | public static boolean suppressConstructorCall(Class type, Object[] ... method methodCall (line 135) | @SuppressWarnings("UnusedDeclaration") method methodCall (line 142) | @SuppressWarnings("UnusedDeclaration") method doMethodCall (line 149) | private static Object doMethodCall(Object object, String methodName, O... method doMethodCall (line 171) | private static Object doMethodCall(Object object, Object[] args, method tryHandleEqualsMethod (line 213) | private static Object tryHandleEqualsMethod(MockInvocation mockInvocat... method isEqualsMethod (line 237) | private static boolean isEqualsMethod(MockInvocation mockInvocation) { method isStaticMethod (line 241) | private static boolean isStaticMethod(MockInvocation mockInvocation) { method calledFromMockito (line 245) | private static boolean calledFromMockito() { method shouldMockMethod (line 258) | private static boolean shouldMockMethod(String methodName, Class[] ... method isJavaStandardMethod (line 266) | private static boolean isJavaStandardMethod(String methodName, Class[] ... method isAnnotationMethod (line 275) | private static boolean isAnnotationMethod(String methodName, Class[... method shouldMockThisCall (line 279) | private static boolean shouldMockThisCall() { method copyArgumentsForInnerOrLocalOrAnonymousClass (line 293) | private static Object[] copyArgumentsForInnerOrLocalOrAnonymousClass(O... FILE: powermock-core/src/main/java/org/powermock/core/MockInvocation.java class MockInvocation (line 10) | class MockInvocation { method MockInvocation (line 18) | MockInvocation(Object object, String methodName, Class... sig) { method init (line 25) | private void init() { method getObjectType (line 38) | Class getObjectType() { method getMethodInvocationControl (line 42) | MethodInvocationControl getMethodInvocationControl() { method getMethod (line 46) | Method getMethod() { method findMethodToInvoke (line 50) | private static Method findMethodToInvoke(String methodName, Class[]... FILE: powermock-core/src/main/java/org/powermock/core/MockRepository.java class MockRepository (line 36) | public class MockRepository { method clear (line 112) | public synchronized static void clear() { method remove (line 133) | public static void remove(Object mock) { method getStaticMethodInvocationControl (line 146) | public static synchronized MethodInvocationControl getStaticMethodInvo... method putStaticMethodInvocationControl (line 150) | public static synchronized MethodInvocationControl putStaticMethodInvo... method removeClassMethodInvocationControl (line 154) | public static synchronized MethodInvocationControl removeClassMethodIn... method getInstanceMethodInvocationControl (line 158) | public static synchronized MethodInvocationControl getInstanceMethodIn... method putInstanceMethodInvocationControl (line 162) | public static synchronized MethodInvocationControl putInstanceMethodIn... method removeInstanceMethodInvocationControl (line 166) | public static synchronized MethodInvocationControl removeInstanceMetho... method getNewInstanceControl (line 170) | public static synchronized NewInvocationControl getNewInstanceContr... method putNewInstanceControl (line 174) | public static synchronized NewInvocationControl putNewInstanceContr... method addSuppressStaticInitializer (line 186) | public static synchronized void addSuppressStaticInitializer(String cl... method removeSuppressStaticInitializer (line 198) | public static synchronized void removeSuppressStaticInitializer(String... method shouldSuppressStaticInitializerFor (line 211) | public static synchronized boolean shouldSuppressStaticInitializerFor(... method getObjectsToAutomaticallyReplayAndVerify (line 218) | public static synchronized Set getObjectsToAutomaticallyReplay... method addObjectsToAutomaticallyReplayAndVerify (line 225) | public static synchronized void addObjectsToAutomaticallyReplayAndVeri... method putAdditionalState (line 240) | public static synchronized Object putAdditionalState(String key, Objec... method removeAdditionalState (line 244) | public static synchronized Object removeAdditionalState(String key) { method removeMethodProxy (line 248) | public static synchronized InvocationHandler removeMethodProxy(Method ... method getAdditionalState (line 255) | @SuppressWarnings("unchecked") method addMethodToSuppress (line 266) | public static synchronized void addMethodToSuppress(Method method) { method addFieldToSuppress (line 276) | public static synchronized void addFieldToSuppress(Field field) { method addFieldTypeToSuppress (line 287) | public static synchronized void addFieldTypeToSuppress(String fieldTyp... method addConstructorToSuppress (line 297) | public static synchronized void addConstructorToSuppress(Constructor patterns, String t... method matchesAny (line 85) | public static boolean matchesAny(Iterable patterns, String tex... method matchesAny (line 94) | public static boolean matchesAny(String[] patterns, String text) { FILE: powermock-core/src/main/java/org/powermock/core/agent/JavaAgentClassRegister.java type JavaAgentClassRegister (line 23) | public interface JavaAgentClassRegister { method isModifiedByAgent (line 31) | boolean isModifiedByAgent(ClassLoader classLoader, String className); method registerClass (line 38) | void registerClass(ClassLoader loader, String className); method clear (line 43) | void clear(); FILE: powermock-core/src/main/java/org/powermock/core/agent/JavaAgentFrameworkRegister.java type JavaAgentFrameworkRegister (line 24) | public interface JavaAgentFrameworkRegister { method set (line 31) | void set(JavaAgentClassRegister javaAgentClassRegister); method clear (line 36) | void clear(); FILE: powermock-core/src/main/java/org/powermock/core/agent/JavaAgentFrameworkRegisterFactory.java class JavaAgentFrameworkRegisterFactory (line 26) | public class JavaAgentFrameworkRegisterFactory { method create (line 28) | public static JavaAgentFrameworkRegister create() { method getInstanceForClassLoader (line 35) | private static JavaAgentFrameworkRegister getInstanceForClassLoader(Cl... method getJavaAgentFrameworkRegisterClass (line 40) | @SuppressWarnings("unchecked") method getImplementerClassName (line 51) | @SuppressWarnings("SameReturnValue") FILE: powermock-core/src/main/java/org/powermock/core/bytebuddy/ConditionalStateStackManipulation.java class ConditionalStateStackManipulation (line 27) | public class ConditionalStateStackManipulation implements StackManipulat... method ConditionalStateStackManipulation (line 35) | public ConditionalStateStackManipulation(final StackManipulation condi... method isValid (line 46) | @Override method apply (line 51) | @Override FILE: powermock-core/src/main/java/org/powermock/core/bytebuddy/Frame.java class Frame (line 36) | public class Frame { method beforeConstructorCall (line 38) | public static Frame beforeConstructorCall(final Iterable locals) { method addTopToLocals (line 62) | public Frame addTopToLocals(final int count) { method addLocalVariable (line 73) | public Frame addLocalVariable(final LocalVariable localVariable) { method addLocalVariables (line 79) | public Frame addLocalVariables(final ParameterList typ... method locals (line 91) | public Object[] locals() { method localSize (line 99) | public int localSize() { method maxLocalVariableIndex (line 103) | public int maxLocalVariableIndex() { class LocalVariable (line 111) | public static class LocalVariable { method from (line 112) | public static LocalVariable from(final Generic type) { method LocalVariable (line 130) | private LocalVariable(final Object type, StackSize size) { method getType (line 135) | public Object getType() { method getStackSize (line 139) | public StackSize getStackSize() { FILE: powermock-core/src/main/java/org/powermock/core/bytebuddy/MaxLocalsExtractor.java class MaxLocalsExtractor (line 26) | public class MaxLocalsExtractor extends ClassVisitor { method MaxLocalsExtractor (line 30) | public MaxLocalsExtractor() { method visitMethod (line 34) | @Override method getMethods (line 44) | public MethodMaxLocals getMethods() { class MaxLocalsMethodVisitor (line 48) | private static class MaxLocalsMethodVisitor extends MethodVisitor { method MaxLocalsMethodVisitor (line 55) | private MaxLocalsMethodVisitor(final String name, final String signa... method visitMaxs (line 63) | @Override method visitEnd (line 69) | @Override FILE: powermock-core/src/main/java/org/powermock/core/bytebuddy/MethodMaxLocals.java class MethodMaxLocals (line 27) | public class MethodMaxLocals { method MethodMaxLocals (line 31) | MethodMaxLocals() { method add (line 35) | public void add(String name, String signature, int maxLocals) { method getMethodMaxLocal (line 39) | public int getMethodMaxLocal(final MethodDescription instrumentedMetho... FILE: powermock-core/src/main/java/org/powermock/core/bytebuddy/MockGetawayCall.java class MockGetawayCall (line 39) | public class MockGetawayCall { method MockGetawayCall (line 43) | public MockGetawayCall(final Class mockGetawayClass) { method forType (line 49) | public ForType forType(final TypeDescription targetType) { class ForType (line 53) | public static class ForType { method ForType (line 57) | private ForType(final MockGetawayCall mockGetawayCall, final TypeDes... method withArguments (line 63) | public WithArguments withArguments(final List parameters) { class WithArguments (line 69) | public static class WithArguments { method WithArguments (line 73) | private WithArguments(final ForType forType, final List ar... method withParameterTypes (line 78) | public ConstructorMockGetawayCall withParameterTypes(final Parameter... class ConstructorMockGetawayCall (line 88) | private static class ConstructorMockGetawayCall implements StackManipu... method ConstructorMockGetawayCall (line 95) | private ConstructorMockGetawayCall(final Method getawayMethod, method loadSignatureParametersClasess (line 106) | private List loadSignatureParametersClasess() { method loadArgumentsFromVariable (line 117) | private List loadArgumentsFromVariable() { method isValid (line 127) | @Override method apply (line 133) | @Override FILE: powermock-core/src/main/java/org/powermock/core/bytebuddy/PrimitiveBoxing.java type PrimitiveBoxing (line 30) | public enum PrimitiveBoxing implements StackManipulation{ method PrimitiveBoxing (line 53) | PrimitiveBoxing(Class wrapperType, method forPrimitive (line 63) | public static PrimitiveBoxing forPrimitive(TypeDefinition typeDefiniti... method isValid (line 85) | @Override method apply (line 90) | @Override FILE: powermock-core/src/main/java/org/powermock/core/bytebuddy/Variable.java class Variable (line 27) | public class Variable { method of (line 29) | public static Variable of(final Generic variableType, final int offset) { method Variable (line 35) | private Variable(final TypeDescription typeDefinitions, final int offs... class VariableAccess (line 40) | public static class VariableAccess { method load (line 42) | public static StackManipulation load(Variable variable) {return load... method load (line 44) | public static StackManipulation load(Variable variable, final boolea... method store (line 56) | public static StackManipulation store(Variable variable) { FILE: powermock-core/src/main/java/org/powermock/core/classloader/ByteCodeFramework.java type ByteCodeFramework (line 16) | public enum ByteCodeFramework { method createClassloader (line 18) | @Override method createTransformerChainFactory (line 24) | @Override method getByteCodeFrameworkForMethod (line 30) | public static ByteCodeFramework getByteCodeFrameworkForMethod(final Cl... method getByteCodeFrameworkForTestClass (line 45) | public static ByteCodeFramework getByteCodeFrameworkForTestClass(final... method getByteCodeFramework (line 55) | private static ByteCodeFramework getByteCodeFramework(final AnnotatedE... method createClassloader (line 68) | abstract MockClassLoader createClassloader(MockClassLoaderConfiguratio... method createTransformerChainFactory (line 70) | abstract MockTransformerChainFactory createTransformerChainFactory(); FILE: powermock-core/src/main/java/org/powermock/core/classloader/ClassMarker.java type ClassMarker (line 25) | public interface ClassMarker { method mark (line 31) | void mark(ClassWrapper type); FILE: powermock-core/src/main/java/org/powermock/core/classloader/ClassloaderWrapper.java class ClassloaderWrapper (line 27) | public class ClassloaderWrapper { method runWithClass (line 29) | public static void runWithClass(final Runnable runnable) { method runWithClassClassLoader (line 33) | public static void runWithClassClassLoader(final ClassLoader classLoad... method runWithClass (line 43) | public static V runWithClass(final Callable callable) { method runWithClassClassLoader (line 47) | public static V runWithClassClassLoader(final ClassLoader classLoa... FILE: powermock-core/src/main/java/org/powermock/core/classloader/DeferSupportingClassLoader.java class DeferSupportingClassLoader (line 35) | abstract class DeferSupportingClassLoader extends ClassLoader { method DeferSupportingClassLoader (line 44) | DeferSupportingClassLoader(ClassLoader classloader, MockClassLoaderCon... method getResource (line 57) | @Override method getResourceAsStream (line 62) | @Override method getResources (line 67) | @Override method getConfiguration (line 78) | public MockClassLoaderConfiguration getConfiguration() { method cache (line 85) | public void cache(Class cls) { method loadClassByThisClassLoader (line 91) | protected abstract Class loadClassByThisClassLoader(String s) throw... method loadClass (line 93) | @Override method getClassLoadingLock (line 104) | protected Object getClassLoadingLock(String className) { method findResource (line 123) | @Override method findResources (line 133) | @Override method loadClass1 (line 142) | private Class loadClass1(String name, boolean resolve) throws Class... method loadByDeferClassLoader (line 156) | private Class loadByDeferClassLoader(final String name) throws Clas... method shouldDefer (line 162) | private boolean shouldDefer(String name) { method findLoadedClass1 (line 166) | private Class findLoadedClass1(String name) {SoftReference... FILE: powermock-core/src/main/java/org/powermock/core/classloader/MockClassLoader.java class MockClassLoader (line 57) | public abstract class MockClassLoader extends DeferSupportingClassLoader { method MockClassLoader (line 77) | protected MockClassLoader(String[] classesToMock, String[] packagesToD... method MockClassLoader (line 91) | protected MockClassLoader(MockClassLoaderConfiguration configuration, ... method loadClassByThisClassLoader (line 97) | @Override method setMockTransformerChain (line 109) | public void setMockTransformerChain(MockTransformerChain mockTransform... method getMockTransformerChain (line 113) | public MockTransformerChain getMockTransformerChain() { method loadUnmockedClass (line 117) | protected Class loadUnmockedClass(final String name, final Protecti... method defineClass (line 131) | private Class defineClass(String name, URL url, final ProtectionDom... method readClass (line 136) | private byte[] readClass(final URL url) throws IOException { method loadMockClass (line 173) | private Class loadMockClass(String name, ProtectionDomain protectio... method defineClass (line 179) | public Class defineClass(final String name, final ProtectionDomain ... method transformClass (line 183) | protected ClassWrapper transformClass(ClassWrapper wrappedTy... method defineAndTransformClass (line 192) | protected abstract byte[] defineAndTransformClass(final String name, f... FILE: powermock-core/src/main/java/org/powermock/core/classloader/MockClassLoaderBuilder.java class MockClassLoaderBuilder (line 33) | public class MockClassLoaderBuilder { method create (line 41) | public static MockClassLoaderBuilder create(ByteCodeFramework byteCode... method MockClassLoaderBuilder (line 48) | private MockClassLoaderBuilder(final ByteCodeFramework byteCodeFramewo... method build (line 54) | public MockClassLoader build() { method createTransformerChain (line 65) | private MockTransformerChain createTransformerChain() { method addIgnorePackage (line 76) | public MockClassLoaderBuilder addIgnorePackage(String[] packagesToIgno... method addClassesToModify (line 81) | public MockClassLoaderBuilder addClassesToModify(String[] classesToMod... method addExtraMockTransformers (line 86) | public MockClassLoaderBuilder addExtraMockTransformers(MockTransformer... method addClassPathAdjuster (line 97) | public MockClassLoaderBuilder addClassPathAdjuster(final UseClassPathA... method forTestClass (line 102) | public MockClassLoaderBuilder forTestClass(final Class testClass) { FILE: powermock-core/src/main/java/org/powermock/core/classloader/MockClassLoaderConfiguration.java class MockClassLoaderConfiguration (line 37) | public class MockClassLoaderConfiguration { method MockClassLoaderConfiguration (line 87) | public MockClassLoaderConfiguration() { method MockClassLoaderConfiguration (line 96) | public MockClassLoaderConfiguration(String[] classesToMock, String[] p... method addIgnorePackage (line 112) | public void addIgnorePackage(String... packagesToIgnore) { method addClassesToModify (line 133) | public final void addClassesToModify(String... classes) { method shouldDefer (line 143) | boolean shouldDefer(String className) { method shouldMockClass (line 147) | boolean shouldMockClass(String className) { method getDeferPackages (line 151) | String[] getDeferPackages() { method shouldDefer (line 155) | private boolean shouldDefer(String[] packages, String name) { method deferConditionMatches (line 164) | private boolean deferConditionMatches(String name, String packageName) { method shouldIgnore (line 169) | private boolean shouldIgnore(String[] packages, String name) { method shouldLoadUnmodifiedClass (line 178) | private boolean shouldLoadUnmodifiedClass(String className) { method shouldLoadWithMockClassloaderWithoutModifications (line 187) | private boolean shouldLoadWithMockClassloaderWithoutModifications(Stri... method shouldModifyClass (line 199) | private boolean shouldModifyClass(String className) { method shouldIgnore (line 203) | private boolean shouldIgnore(String className) { method shouldModify (line 207) | boolean shouldModify(String className) { method shouldModifyAll (line 222) | private boolean shouldModifyAll() { method getPackagesToDefer (line 226) | private static String[] getPackagesToDefer(final String[] additionalDe... FILE: powermock-core/src/main/java/org/powermock/core/classloader/MockClassLoaderFactory.java class MockClassLoaderFactory (line 40) | public class MockClassLoaderFactory { method MockClassLoaderFactory (line 49) | public MockClassLoaderFactory(Class testClass) { method MockClassLoaderFactory (line 53) | public MockClassLoaderFactory(Class testClass, String[] packagesToI... method createForClass (line 61) | public ClassLoader createForClass(final MockTransformer... extraMockTr... method createForMethod (line 72) | public ClassLoader createForMethod(final Method method, final MockTran... method create (line 85) | private ClassLoader create(final ByteCodeFramework byteCodeFramework, ... method getStaticSuppressionClasses (line 98) | private String[] getStaticSuppressionClasses(Method method) { method createMockClassLoader (line 108) | private ClassLoader createMockClassLoader(final ByteCodeFramework byte... method createWithPrivilegeAccessController (line 119) | private ClassLoader createWithPrivilegeAccessController(final ByteCode... method createMockClassLoader (line 131) | private MockClassLoader createMockClassLoader(final ByteCodeFramework ... method initialize (line 144) | private void initialize(final ClassLoader mockLoader) { method isContextClassLoaderShouldBeUsed (line 148) | private boolean isContextClassLoaderShouldBeUsed(String[] classesToLoa... method makeSureArrayContainsTestClassName (line 152) | private String[] makeSureArrayContainsTestClassName(String[] arrayOfCl... method hasMockPolicyProvidedClasses (line 176) | private boolean hasMockPolicyProvidedClasses(Class testClass) { FILE: powermock-core/src/main/java/org/powermock/core/classloader/PowerMockModified.java type PowerMockModified (line 24) | public interface PowerMockModified { FILE: powermock-core/src/main/java/org/powermock/core/classloader/javassist/ClassPathAdjuster.java type ClassPathAdjuster (line 26) | public interface ClassPathAdjuster { method adjustClassPath (line 27) | void adjustClassPath(ClassPool classPool); FILE: powermock-core/src/main/java/org/powermock/core/classloader/javassist/ClassPoolFactory.java class ClassPoolFactory (line 25) | class ClassPoolFactory { method ClassPoolFactory (line 28) | ClassPoolFactory(UseClassPathAdjuster useClassPathAdjuster) { method create (line 32) | ClassPool create() { FILE: powermock-core/src/main/java/org/powermock/core/classloader/javassist/JavaAssistClassMarkerFactory.java class JavaAssistClassMarkerFactory (line 26) | class JavaAssistClassMarkerFactory { method createClassMarker (line 28) | static ClassMarker createClassMarker(ClassPool classPool) { class InterfaceClassMarker (line 37) | private static class InterfaceClassMarker implements ClassMarker { method InterfaceClassMarker (line 41) | InterfaceClassMarker(ClassPool classPool) { method mark (line 50) | @Override method mark (line 58) | public void mark(CtClass type) { FILE: powermock-core/src/main/java/org/powermock/core/classloader/javassist/JavassistMockClassLoader.java class JavassistMockClassLoader (line 32) | public class JavassistMockClassLoader extends MockClassLoader { method JavassistMockClassLoader (line 39) | public JavassistMockClassLoader(String[] classesToMock) { method JavassistMockClassLoader (line 43) | public JavassistMockClassLoader(String[] classesToMock, String[] packa... method JavassistMockClassLoader (line 48) | public JavassistMockClassLoader(MockClassLoaderConfiguration configura... method JavassistMockClassLoader (line 52) | public JavassistMockClassLoader(MockClassLoaderConfiguration configura... method loadUnmockedClass (line 60) | @Override method defineAndTransformClass (line 93) | protected byte[] defineAndTransformClass(String name, ProtectionDomain... FILE: powermock-core/src/main/java/org/powermock/core/reporter/MockingFrameworkReporter.java type MockingFrameworkReporter (line 24) | public interface MockingFrameworkReporter { method enable (line 29) | void enable(); method disable (line 34) | void disable(); FILE: powermock-core/src/main/java/org/powermock/core/reporter/PowerMockReporter.java type PowerMockReporter (line 23) | public interface PowerMockReporter { method classNotPrepared (line 25) | void classNotPrepared(Class type); FILE: powermock-core/src/main/java/org/powermock/core/reporter/PowerMockReporterFactory.java type PowerMockReporterFactory (line 23) | @SuppressWarnings("unused") method createPowerMockReporter (line 26) | PowerMockReporter createPowerMockReporter(); FILE: powermock-core/src/main/java/org/powermock/core/spi/DefaultBehavior.java type DefaultBehavior (line 23) | public interface DefaultBehavior { method replay (line 34) | Object replay(Object... mocks); method reset (line 45) | Object reset(Object... mocks); FILE: powermock-core/src/main/java/org/powermock/core/spi/MethodInvocationControl.java type MethodInvocationControl (line 29) | public interface MethodInvocationControl extends InvocationHandler, Defa... method isMocked (line 39) | boolean isMocked(Method method); FILE: powermock-core/src/main/java/org/powermock/core/spi/NewInvocationControl.java type NewInvocationControl (line 27) | public interface NewInvocationControl extends DefaultBehavior { method invoke (line 36) | Object invoke(Class type, Object[] args, Class[] sig) throws Exc... method expectSubstitutionLogic (line 43) | T expectSubstitutionLogic(Object... arguments) throws Exception; FILE: powermock-core/src/main/java/org/powermock/core/spi/PowerMockPolicy.java type PowerMockPolicy (line 43) | public interface PowerMockPolicy { method applyClassLoadingPolicy (line 53) | void applyClassLoadingPolicy(MockPolicyClassLoadingSettings settings); method applyInterceptionPolicy (line 64) | void applyInterceptionPolicy(MockPolicyInterceptionSettings settings); FILE: powermock-core/src/main/java/org/powermock/core/spi/PowerMockTestListener.java type PowerMockTestListener (line 28) | public interface PowerMockTestListener { method beforeTestSuiteStarted (line 40) | void beforeTestSuiteStarted(Class testClass, Method[] testMethods) ... method beforeTestMethod (line 55) | void beforeTestMethod(Object testInstance, Method method, Object[] arg... method afterTestMethod (line 72) | void afterTestMethod(Object testInstance, Method method, Object[] argu... method afterTestSuiteEnded (line 86) | void afterTestSuiteEnded(Class testClass, Method[] methods, TestSui... FILE: powermock-core/src/main/java/org/powermock/core/spi/listener/AnnotationEnablerListener.java type AnnotationEnablerListener (line 22) | public interface AnnotationEnablerListener extends PowerMockTestListener { method getMockAnnotations (line 27) | Class[] getMockAnnotations(); FILE: powermock-core/src/main/java/org/powermock/core/spi/support/AbstractPowerMockTestListenerBase.java class AbstractPowerMockTestListenerBase (line 29) | public class AbstractPowerMockTestListenerBase implements PowerMockTestL... method afterTestMethod (line 34) | @Override method beforeTestMethod (line 41) | @Override method beforeTestSuiteStarted (line 48) | @Override method afterTestSuiteEnded (line 55) | @Override FILE: powermock-core/src/main/java/org/powermock/core/spi/support/InvocationSubstitute.java type InvocationSubstitute (line 28) | public interface InvocationSubstitute { method performSubstitutionLogic (line 29) | T performSubstitutionLogic(Object... arguments) throws Exception; FILE: powermock-core/src/main/java/org/powermock/core/spi/testresult/Result.java type Result (line 18) | public enum Result { FILE: powermock-core/src/main/java/org/powermock/core/spi/testresult/TestMethodResult.java type TestMethodResult (line 18) | public interface TestMethodResult { method getResult (line 20) | Result getResult(); FILE: powermock-core/src/main/java/org/powermock/core/spi/testresult/TestSuiteResult.java type TestSuiteResult (line 18) | public interface TestSuiteResult { method getTestCount (line 20) | int getTestCount(); method getIgnoreCount (line 22) | int getIgnoreCount(); method getSuccessCount (line 24) | int getSuccessCount(); method getFailureCount (line 26) | int getFailureCount(); method getResult (line 28) | Result getResult(); FILE: powermock-core/src/main/java/org/powermock/core/spi/testresult/impl/TestMethodResultImpl.java class TestMethodResultImpl (line 21) | public class TestMethodResultImpl implements TestMethodResult { method TestMethodResultImpl (line 25) | public TestMethodResultImpl(Result result) { method getResult (line 30) | @Override method toString (line 35) | @Override FILE: powermock-core/src/main/java/org/powermock/core/spi/testresult/impl/TestSuiteResultImpl.java class TestSuiteResultImpl (line 21) | public class TestSuiteResultImpl implements TestSuiteResult { method TestSuiteResultImpl (line 31) | public TestSuiteResultImpl() { method TestSuiteResultImpl (line 34) | public TestSuiteResultImpl(int failureCount, int successCount, int tes... method getFailureCount (line 41) | @Override method getSuccessCount (line 46) | @Override method getIgnoreCount (line 51) | @Override method getResult (line 56) | @Override method getTestCount (line 67) | @Override method toString (line 72) | @Override FILE: powermock-core/src/main/java/org/powermock/core/testlisteners/FieldDefaulter.java class FieldDefaulter (line 32) | public class FieldDefaulter extends AbstractPowerMockTestListenerBase { method afterTestMethod (line 34) | @Override FILE: powermock-core/src/main/java/org/powermock/core/testlisteners/GlobalNotificationBuildSupport.java class GlobalNotificationBuildSupport (line 26) | public class GlobalNotificationBuildSupport { type Callback (line 28) | public interface Callback { method suiteClassInitiated (line 29) | void suiteClassInitiated(Class testClass); method testInstanceCreated (line 31) | void testInstanceCreated(Object testInstance); method prepareTestSuite (line 43) | public static void prepareTestSuite( method testClassInitiated (line 60) | public static void testClassInitiated(Class testClass) { method countInitializersInTrace (line 73) | private static int countInitializersInTrace(final String className) { method testInstanceCreated (line 85) | public static void testInstanceCreated(Object testInstance) { method closeTestSuite (line 97) | public static void closeTestSuite(Class testClass) { method closePendingTestSuites (line 105) | public static void closePendingTestSuites(Callback callback) { FILE: powermock-core/src/main/java/org/powermock/core/transformers/ClassWrapper.java type ClassWrapper (line 27) | public interface ClassWrapper { method isInterface (line 34) | boolean isInterface(); method unwrap (line 41) | T unwrap(); method wrap (line 48) | ClassWrapper wrap(T original); FILE: powermock-core/src/main/java/org/powermock/core/transformers/ClassWrapperFactory.java type ClassWrapperFactory (line 27) | public interface ClassWrapperFactory { method wrap (line 33) | ClassWrapper wrap(T original); FILE: powermock-core/src/main/java/org/powermock/core/transformers/MethodSignatureWriter.java type MethodSignatureWriter (line 6) | public interface MethodSignatureWriter { method signatureFor (line 7) | String signatureFor(T method); method signatureForReflection (line 9) | String signatureForReflection(Method method); FILE: powermock-core/src/main/java/org/powermock/core/transformers/MethodSignatures.java type MethodSignatures (line 11) | public enum MethodSignatures { method methodSignatureWriter (line 14) | @Override method methodSignatureWriter (line 21) | @Override method methodSignatureWriter (line 27) | public abstract MethodSignatureWriter methodSignatureWriter(); class ByteBuddyMethodSignatureWriterWriter (line 29) | private static class ByteBuddyMethodSignatureWriterWriter implements M... method signatureFor (line 31) | @Override method signatureForReflection (line 36) | @Override class JavassistMethodSignatureWriterWriter (line 42) | private static class JavassistMethodSignatureWriterWriter implements M... method signatureFor (line 43) | @Override method signatureForReflection (line 60) | @Override method createSignature (line 73) | private String createSignature( FILE: powermock-core/src/main/java/org/powermock/core/transformers/MockTransformer.java type MockTransformer (line 26) | public interface MockTransformer { method transform (line 35) | ClassWrapper transform(ClassWrapper clazz) throws Exception; FILE: powermock-core/src/main/java/org/powermock/core/transformers/MockTransformerChain.java type MockTransformerChain (line 29) | public interface MockTransformerChain { method transform (line 37) | ClassWrapper transform(ClassWrapper clazz) throws Exception; method filter (line 44) | Collection filter(FilterPredicate predicate); type FilterPredicate (line 46) | interface FilterPredicate { method test (line 47) | boolean test(MockTransformer mockTransformer); FILE: powermock-core/src/main/java/org/powermock/core/transformers/MockTransformerChainFactory.java type MockTransformerChainFactory (line 28) | public interface MockTransformerChainFactory { method createDefaultChain (line 35) | MockTransformerChain createDefaultChain(); method createDefaultChain (line 42) | MockTransformerChain createDefaultChain(TransformStrategy transformStr... method createDefaultChain (line 49) | MockTransformerChain createDefaultChain(List extraMoc... method createTestClassChain (line 56) | MockTransformerChain createTestClassChain(MockTransformer testClassTra... FILE: powermock-core/src/main/java/org/powermock/core/transformers/TestClassAwareTransformer.java type TestClassAwareTransformer (line 8) | public interface TestClassAwareTransformer { method setTestClass (line 9) | void setTestClass(Class testClass); FILE: powermock-core/src/main/java/org/powermock/core/transformers/TestClassTransformer.java class TestClassTransformer (line 48) | public abstract class TestClassTransformer implements MockTransfor... method TestClassTransformer (line 54) | public TestClassTransformer(Class testClass, Class getTestMethodAnnotationType() { method getTestClass (line 73) | protected Class getTestClass() { FILE: powermock-core/src/main/java/org/powermock/core/transformers/TestClassTransformerBuilder.java class TestClassTransformerBuilder (line 12) | public class TestClassTransformerBuilder { method forTestClass (line 14) | public static TestClassTransformerBuilder forTestClass(final Class ... method TestClassTransformerBuilder (line 20) | private TestClassTransformerBuilder(final Class testClass) { method removesTestMethodAnnotation (line 24) | public RemovesTestMethodAnnotation removesTestMethodAnnotation(final C... method bytecodeFrameworkClue (line 28) | public TestClassTransformerBuilderWithClue bytecodeFrameworkClue(final... class TestClassTransformerBuilderWithClue (line 32) | public static class TestClassTransformerBuilderWithClue { method TestClassTransformerBuilderWithClue (line 37) | private TestClassTransformerBuilderWithClue(final Class testClass... method removesTestMethodAnnotation (line 42) | public RemovesTestMethodAnnotation removesTestMethodAnnotation(final... class RemovesTestMethodAnnotation (line 47) | public static class RemovesTestMethodAnnotation { method RemovesTestMethodAnnotation (line 52) | private RemovesTestMethodAnnotation(final Class testClass, final ... method fromMethods (line 59) | public TestClassTransformer fromMethods(final Collection tes... method fromAllMethodsExcept (line 70) | public TestClassTransformer fromAllMethodsExcept(Method singleMethod... FILE: powermock-core/src/main/java/org/powermock/core/transformers/TransformStrategy.java type TransformStrategy (line 22) | public enum TransformStrategy { method isClassloaderMode (line 24) | @Override method isAgentMode (line 29) | @Override method isClassloaderMode (line 35) | @Override method isAgentMode (line 40) | @Override method isClassloaderMode (line 51) | public abstract boolean isClassloaderMode(); method isAgentMode (line 58) | public abstract boolean isAgentMode(); FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/AbstractJavaAssistMockTransformer.java class AbstractJavaAssistMockTransformer (line 26) | public abstract class AbstractJavaAssistMockTransformer implements MockT... method AbstractJavaAssistMockTransformer (line 30) | public AbstractJavaAssistMockTransformer(TransformStrategy strategy) { method transform (line 34) | @Override method transform (line 47) | public abstract CtClass transform(CtClass clazz) throws Exception; method getStrategy (line 49) | protected TransformStrategy getStrategy() { FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/ClassFinalModifierMockTransformer.java class ClassFinalModifierMockTransformer (line 30) | public class ClassFinalModifierMockTransformer extends AbstractJavaAssis... method ClassFinalModifierMockTransformer (line 32) | public ClassFinalModifierMockTransformer(final TransformStrategy strat... method transform (line 36) | @Override FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/ConstructorsMockTransformer.java class ConstructorsMockTransformer (line 32) | public class ConstructorsMockTransformer extends AbstractJavaAssistMockT... method ConstructorsMockTransformer (line 34) | public ConstructorsMockTransformer(final TransformStrategy strategy) { method transform (line 38) | @Override method transform (line 59) | private static void transform(final CtClass[] clazzArray) { FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/InstrumentMockTransformer.java class InstrumentMockTransformer (line 30) | public class InstrumentMockTransformer extends AbstractJavaAssistMockTra... method InstrumentMockTransformer (line 34) | public InstrumentMockTransformer(final TransformStrategy strategy) { method transform (line 39) | @Override FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/JavassistMockTransformerChainFactory.java class JavassistMockTransformerChainFactory (line 30) | public class JavassistMockTransformerChainFactory implements MockTransfo... method createDefaultChain (line 34) | @Override method createDefaultChain (line 39) | @Override method createDefaultChain (line 44) | @Override method createTestClassChain (line 51) | @Override method createDefaultChainBuilder (line 58) | private MockTransformerChainBuilder createDefaultChainBuilder(final Tr... FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/MethodMockTransformer.java class MethodMockTransformer (line 34) | abstract class MethodMockTransformer extends AbstractJavaAssistMockTrans... method MethodMockTransformer (line 38) | MethodMockTransformer(final TransformStrategy strategy) { method modifyMethod (line 43) | void modifyMethod(final CtMethod method) throws NotFoundException, Can... method modifyNativeMethod (line 61) | private void modifyNativeMethod(CtMethod method, CtClass returnTypeAsC... method classOrInstance (line 89) | private String classOrInstance(CtMethod method) { method modifyMethod (line 97) | private void modifyMethod(CtMethod method, CtClass returnTypeAsCtClass, FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/MethodSizeMockTransformer.java class MethodSizeMockTransformer (line 39) | public class MethodSizeMockTransformer extends MethodMockTransformer { method MethodSizeMockTransformer (line 43) | public MethodSizeMockTransformer(final TransformStrategy strategy) { method transform (line 47) | public CtClass transform(final CtClass clazz) throws CannotCompileExce... method isMethodSizeExceeded (line 62) | private boolean isMethodSizeExceeded(CtMethod method) { FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/PackagePrivateClassesMockTransformer.java class PackagePrivateClassesMockTransformer (line 33) | public class PackagePrivateClassesMockTransformer extends AbstractJavaAs... method PackagePrivateClassesMockTransformer (line 35) | public PackagePrivateClassesMockTransformer(final TransformStrategy st... method transform (line 39) | @Override method transform (line 48) | private static void transform(final CtClass clazz, final String name) { method isNotSystemClass (line 61) | private static boolean isNotSystemClass(final String name) { FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/StaticFinalFieldsMockTransformer.java class StaticFinalFieldsMockTransformer (line 32) | public class StaticFinalFieldsMockTransformer extends AbstractJavaAssist... method StaticFinalFieldsMockTransformer (line 34) | public StaticFinalFieldsMockTransformer(final TransformStrategy strate... method transform (line 38) | public CtClass transform(final CtClass clazz) { FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/StaticFinalNativeMethodMockTransformer.java class StaticFinalNativeMethodMockTransformer (line 28) | public class StaticFinalNativeMethodMockTransformer extends MethodMockTr... method StaticFinalNativeMethodMockTransformer (line 30) | public StaticFinalNativeMethodMockTransformer(final TransformStrategy ... method transform (line 34) | @Override FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/SuppressStaticInitializerMockTransformer.java class SuppressStaticInitializerMockTransformer (line 29) | public class SuppressStaticInitializerMockTransformer extends AbstractJa... method SuppressStaticInitializerMockTransformer (line 31) | public SuppressStaticInitializerMockTransformer(final TransformStrateg... method transform (line 35) | @Override FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/support/JavaAssistClassWrapperFactory.java class JavaAssistClassWrapperFactory (line 25) | public class JavaAssistClassWrapperFactory implements ClassWrapperFactor... method wrap (line 26) | @Override class JavaAssistClassWrapper (line 31) | public static class JavaAssistClassWrapper implements ClassWrapper> lookupMappings() { method getClassFor (line 61) | public static Class getClassFor(CtPrimitiveType ctPrimitiveType) { FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/support/TransformerHelper.java class TransformerHelper (line 28) | public class TransformerHelper { method isAccessFlagSynthetic (line 32) | private static boolean isAccessFlagSynthetic(CtMethod method) { method isBridgeMethod (line 37) | private static boolean isBridgeMethod(CtMethod method) { method getCorrectReturnValueType (line 46) | public static String getCorrectReturnValueType(final CtClass returnTyp... method isNotSyntheticField (line 65) | public static boolean isNotSyntheticField(FieldInfo fieldInfo) { method shouldSkipMethod (line 69) | public static boolean shouldSkipMethod(CtMethod method) { method getReturnTypeAsString (line 73) | public static String getReturnTypeAsString(final CtMethod method) thro... method shouldTreatAsSystemClassCall (line 82) | public static boolean shouldTreatAsSystemClassCall(CtClass declaringCl... FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/testclass/ForMethodsJavaAssistTestClassTransformer.java class ForMethodsJavaAssistTestClassTransformer (line 12) | public class ForMethodsJavaAssistTestClassTransformer extends JavaAssist... method ForMethodsJavaAssistTestClassTransformer (line 21) | public ForMethodsJavaAssistTestClassTransformer(final Class testClass, method mustHaveTestAnnotationRemoved (line 29) | @Override FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/testclass/FromAllMethodsExceptJavaAssistTestClassTransformer.java class FromAllMethodsExceptJavaAssistTestClassTransformer (line 9) | public class FromAllMethodsExceptJavaAssistTestClassTransformer extends ... method FromAllMethodsExceptJavaAssistTestClassTransformer (line 12) | public FromAllMethodsExceptJavaAssistTestClassTransformer(final Class<... method mustHaveTestAnnotationRemoved (line 20) | @Override FILE: powermock-core/src/main/java/org/powermock/core/transformers/javassist/testclass/JavaAssistTestClassTransformer.java class JavaAssistTestClassTransformer (line 37) | public abstract class JavaAssistTestClassTransformer extends TestClassTr... method JavaAssistTestClassTransformer (line 39) | JavaAssistTestClassTransformer(Class testClass, method mustHaveTestAnnotationRemoved (line 45) | protected abstract boolean mustHaveTestAnnotationRemoved(CtMethod meth... method transform (line 47) | @Override method transform (line 53) | private void transform(final CtClass clazz) throws Exception { method isTestClass (line 71) | private boolean isTestClass(CtClass clazz) { method isNestedWithinTestClass (line 80) | private boolean isNestedWithinTestClass(CtClass clazz) { method asOriginalClass (line 86) | private Class asOriginalClass(CtClass type) throws Exception { method asOriginalClassParams (line 98) | private Class[] asOriginalClassParams(CtClass[] parameterTypes) method removeTestMethodAnnotationFrom (line 107) | private void removeTestMethodAnnotationFrom(CtMethod m) { method removeTestAnnotationsForTestMethodsThatRunOnOtherClassLoader (line 122) | private void removeTestAnnotationsForTestMethodsThatRunOnOtherClassLoa... method addLifeCycleNotifications (line 131) | private void addLifeCycleNotifications(CtClass clazz) { method addClassInitializerNotification (line 140) | private void addClassInitializerNotification(CtClass clazz) method hasSuperClass (line 150) | private static boolean hasSuperClass(CtClass clazz) { method addConstructorNotification (line 164) | private void addConstructorNotification(final CtClass clazz) method restoreOriginalConstructorsAccesses (line 178) | private void restoreOriginalConstructorsAccesses(CtClass clazz) throws... method makeDeferConstructorNonPublic (line 203) | private void makeDeferConstructorNonPublic(final CtClass clazz) { FILE: powermock-core/src/main/java/org/powermock/core/transformers/support/DefaultMockTransformerChain.java class DefaultMockTransformerChain (line 31) | public class DefaultMockTransformerChain implements MockTransformerChain { method DefaultMockTransformerChain (line 35) | private DefaultMockTransformerChain(final List transf... method transform (line 39) | @Override method filter (line 48) | @Override method toString (line 61) | @Override method newBuilder (line 66) | public static MockTransformerChainBuilder newBuilder() { class MockTransformerChainBuilder (line 70) | public static class MockTransformerChainBuilder { method MockTransformerChainBuilder (line 74) | private MockTransformerChainBuilder() { method append (line 78) | public MockTransformerChainBuilder append(MockTransformer transforme... method append (line 83) | public MockTransformerChainBuilder append(final List klass) { FILE: powermock-core/src/main/java/org/powermock/mockpolicies/MockPolicyClassLoadingSettings.java type MockPolicyClassLoadingSettings (line 28) | public interface MockPolicyClassLoadingSettings { method setStaticInitializersToSuppress (line 34) | void setStaticInitializersToSuppress(String[] staticInitializersToSupp... method addStaticInitializersToSuppress (line 39) | void addStaticInitializersToSuppress(String firstStaticInitializerToSu... method addStaticInitializersToSuppress (line 44) | void addStaticInitializersToSuppress(String[] staticInitializersToSupp... method setFullyQualifiedNamesOfClassesToLoadByMockClassloader (line 50) | void setFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[] c... method addFullyQualifiedNamesOfClassesToLoadByMockClassloader (line 56) | void addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String fir... method addFullyQualifiedNamesOfClassesToLoadByMockClassloader (line 62) | void addFullyQualifiedNamesOfClassesToLoadByMockClassloader(String[] c... method getStaticInitializersToSuppress (line 68) | String[] getStaticInitializersToSuppress(); method getFullyQualifiedNamesOfClassesToLoadByMockClassloader (line 74) | String[] getFullyQualifiedNamesOfClassesToLoadByMockClassloader(); FILE: powermock-core/src/main/java/org/powermock/mockpolicies/MockPolicyInterceptionSettings.java type MockPolicyInterceptionSettings (line 33) | public interface MockPolicyInterceptionSettings { method setMethodsToSuppress (line 38) | void setMethodsToSuppress(Method[] methods); method addMethodsToSuppress (line 43) | void addMethodsToSuppress(Method methodToSuppress, Method... additiona... method addMethodsToSuppress (line 48) | void addMethodsToSuppress(Method[] methods); method setMethodsToStub (line 57) | void setMethodsToStub(Map substituteReturnValues); method stubMethod (line 63) | void stubMethod(Method method, Object returnObject); method proxyMethod (line 69) | void proxyMethod(Method method, InvocationHandler invocationHandler); method getProxiedMethods (line 75) | Map getProxiedMethods(); method setMethodsToProxy (line 84) | void setMethodsToProxy(Map proxies); method setSubtituteReturnValues (line 95) | @Deprecated method addSubtituteReturnValue (line 106) | @Deprecated method setFieldsSuppress (line 113) | void setFieldsSuppress(Field[] fields); method addFieldToSuppress (line 118) | void addFieldToSuppress(Field firstField, Field... additionalFields); method addFieldToSuppress (line 123) | void addFieldToSuppress(Field[] fields); method setFieldTypesToSuppress (line 129) | void setFieldTypesToSuppress(String[] fieldTypes); method addFieldTypesToSuppress (line 134) | void addFieldTypesToSuppress(String firstType, String... additionalFie... method addFieldTypesToSuppress (line 139) | void addFieldTypesToSuppress(String[] fieldTypes); method getMethodsToSuppress (line 145) | Method[] getMethodsToSuppress(); method getStubbedMethods (line 151) | Map getStubbedMethods(); method getSubstituteReturnValues (line 159) | @Deprecated method getFieldsToSuppress (line 166) | Field[] getFieldsToSuppress(); method getFieldTypesToSuppress (line 172) | String[] getFieldTypesToSuppress(); FILE: powermock-core/src/main/java/org/powermock/mockpolicies/impl/MockPolicyClassLoadingSettingsImpl.java class MockPolicyClassLoadingSettingsImpl (line 28) | public class MockPolicyClassLoadingSettingsImpl implements MockPolicyCla... method MockPolicyClassLoadingSettingsImpl (line 32) | public MockPolicyClassLoadingSettingsImpl() { method getFullyQualifiedNamesOfClassesToLoadByMockClassloader (line 37) | @Override method getStaticInitializersToSuppress (line 45) | @Override method addFullyQualifiedNamesOfClassesToLoadByMockClassloader (line 53) | @Override method addFullyQualifiedNamesOfClassesToLoadByMockClassloader (line 59) | @Override method addStaticInitializersToSuppress (line 64) | @Override method addStaticInitializersToSuppress (line 70) | @Override method setFullyQualifiedNamesOfClassesToLoadByMockClassloader (line 75) | @Override method setStaticInitializersToSuppress (line 81) | @Override FILE: powermock-core/src/main/java/org/powermock/mockpolicies/impl/MockPolicyInterceptionSettingsImpl.java class MockPolicyInterceptionSettingsImpl (line 29) | public class MockPolicyInterceptionSettingsImpl implements MockPolicyInt... method MockPolicyInterceptionSettingsImpl (line 36) | public MockPolicyInterceptionSettingsImpl() { method addFieldTypesToSuppress (line 44) | @Override method addFieldTypesToSuppress (line 50) | @Override method setFieldTypesToSuppress (line 55) | @Override method getFieldsToSuppress (line 61) | @Override method getMethodsToSuppress (line 66) | @Override method getStubbedMethods (line 71) | @Override method addFieldToSuppress (line 76) | @Override method addFieldToSuppress (line 82) | @Override method addMethodsToSuppress (line 87) | @Override method addMethodsToSuppress (line 93) | @Override method stubMethod (line 98) | @Override method setFieldsSuppress (line 103) | @Override method setMethodsToSuppress (line 109) | @Override method setMethodsToStub (line 115) | @Override method getFieldTypesToSuppress (line 120) | @Override method addSubtituteReturnValue (line 125) | @Override method setSubtituteReturnValues (line 130) | @Override method getSubstituteReturnValues (line 135) | @Override method getProxiedMethods (line 140) | @Override method proxyMethod (line 145) | @Override method setMethodsToProxy (line 150) | @Override FILE: powermock-core/src/main/java/org/powermock/mockpolicies/support/LogPolicySupport.java class LogPolicySupport (line 25) | public class LogPolicySupport { method getLoggerMethods (line 39) | public Method[] getLoggerMethods(String fullyQualifiedClassName, Strin... method getType (line 62) | public Class getType(String name, String logFramework) throws Excep... FILE: powermock-core/src/main/java/org/powermock/tests/utils/ArrayMerger.java type ArrayMerger (line 21) | public interface ArrayMerger { method mergeArrays (line 26) | T[] mergeArrays(Class type, T[]... arraysToMerge); FILE: powermock-core/src/main/java/org/powermock/tests/utils/IgnorePackagesExtractor.java type IgnorePackagesExtractor (line 20) | public interface IgnorePackagesExtractor { method getPackagesToIgnore (line 25) | String[] getPackagesToIgnore(AnnotatedElement element); FILE: powermock-core/src/main/java/org/powermock/tests/utils/Keys.java class Keys (line 21) | public class Keys { FILE: powermock-core/src/main/java/org/powermock/tests/utils/MockPolicyInitializer.java type MockPolicyInitializer (line 24) | public interface MockPolicyInitializer { method initialize (line 34) | void initialize(ClassLoader classLoader); method needsInitialization (line 36) | boolean needsInitialization(); method isPrepared (line 43) | boolean isPrepared(String fullyQualifiedClassName); method refreshPolicies (line 54) | void refreshPolicies(ClassLoader classLoader); FILE: powermock-core/src/main/java/org/powermock/tests/utils/PowerMockTestNotifier.java type PowerMockTestNotifier (line 28) | public interface PowerMockTestNotifier { method notifyBeforeTestMethod (line 37) | void notifyBeforeTestMethod(final Object testInstance, final Method te... method notifyAfterTestMethod (line 47) | void notifyAfterTestMethod(Object testInstance, Method testMethod, Obj... method notifyAfterTestMethod (line 60) | void notifyAfterTestMethod(boolean successful); method notifyBeforeTestSuiteStarted (line 68) | void notifyBeforeTestSuiteStarted(final Class testClass, final Meth... method notifyAfterTestSuiteEnded (line 77) | void notifyAfterTestSuiteEnded(Class testClass, Method[] methods, T... FILE: powermock-core/src/main/java/org/powermock/tests/utils/RunnerTestSuiteChunker.java type RunnerTestSuiteChunker (line 27) | public interface RunnerTestSuiteChunker extends TestSuiteChunker { method createTestDelegators (line 32) | void createTestDelegators(Class testClass, List chunks) ... method getTestCount (line 41) | int getTestCount(); FILE: powermock-core/src/main/java/org/powermock/tests/utils/TestChunk.java type TestChunk (line 25) | public interface TestChunk { method getClassLoader (line 27) | ClassLoader getClassLoader(); method getTestMethodsToBeExecutedByThisClassloader (line 29) | List getTestMethodsToBeExecutedByThisClassloader(); method isMethodToBeExecutedByThisClassloader (line 31) | boolean isMethodToBeExecutedByThisClassloader(Method method); FILE: powermock-core/src/main/java/org/powermock/tests/utils/TestClassesExtractor.java type TestClassesExtractor (line 20) | public interface TestClassesExtractor { method getTestClasses (line 26) | String[] getTestClasses(AnnotatedElement element); method isPrepared (line 28) | boolean isPrepared(AnnotatedElement element, String fullyQualifiedClas... FILE: powermock-core/src/main/java/org/powermock/tests/utils/TestSuiteChunker.java type TestSuiteChunker (line 26) | public interface TestSuiteChunker { method getChunkSize (line 34) | int getChunkSize(); method getTestChunks (line 42) | List getTestChunks(); method getTestChunksEntries (line 52) | List getTestChunksEntries(Class testClass); method getTestChunk (line 60) | TestChunk getTestChunk(Method method); method shouldExecuteTestForMethod (line 71) | boolean shouldExecuteTestForMethod(Class testClass, Method potentia... FILE: powermock-core/src/main/java/org/powermock/tests/utils/impl/AbstractCommonTestSuiteChunkerImpl.java class AbstractCommonTestSuiteChunkerImpl (line 21) | public abstract class AbstractCommonTestSuiteChunkerImpl implements Test... method AbstractCommonTestSuiteChunkerImpl (line 43) | protected AbstractCommonTestSuiteChunkerImpl(Class testClass) throw... method AbstractCommonTestSuiteChunkerImpl (line 47) | AbstractCommonTestSuiteChunkerImpl(Class... testClasses) throws Exc... method getChunkSize (line 54) | @Override method getTestChunks (line 59) | public List getTestChunks() { method getTestChunksEntries (line 67) | public List getTestChunksEntries(Class testClass) { method getTestChunk (line 76) | public TestChunk getTestChunk(Method method) { method chunkClass (line 85) | private void chunkClass(final Class testClass) throws Exception { method createDefaultMockLoader (line 118) | private ClassLoader createDefaultMockLoader(final Class testClass, ... method putMethodToChunk (line 131) | private void putMethodToChunk(TestCaseEntry testCaseEntry, Class te... method createClassLoaderForMethod (line 162) | private ClassLoader createClassLoaderForMethod(final Class testClas... method testMethodAnnotation (line 178) | protected Class testMethodAnnotation() { method initEntries (line 182) | private void initEntries(List entries) { method findMethods (line 189) | private void findMethods(TestCaseEntry testCaseEntry, Class testCla... method hasChunkAnnotation (line 200) | private boolean hasChunkAnnotation(Method method) { method updatedIndexes (line 205) | private void updatedIndexes() { FILE: powermock-core/src/main/java/org/powermock/tests/utils/impl/AbstractTestClassExtractor.java class AbstractTestClassExtractor (line 30) | public abstract class AbstractTestClassExtractor implements TestClassesE... method AbstractTestClassExtractor (line 34) | protected AbstractTestClassExtractor(){ method AbstractTestClassExtractor (line 38) | protected AbstractTestClassExtractor(boolean includeMethods) {this.inc... method getTestClasses (line 45) | @Override method extractClassesFromTestClass (line 56) | private void extractClassesFromTestClass(final Class element, Set lookOverMethods(Class classToInvestigate) { method extractClassesAndAddThemToList (line 75) | private void extractClassesAndAddThemToList(AnnotatedElement elementTo... method getClassesToModify (line 91) | protected abstract String[] getClassesToModify(AnnotatedElement element); method isPrepared (line 93) | @Override FILE: powermock-core/src/main/java/org/powermock/tests/utils/impl/AbstractTestSuiteChunkerImpl.java class AbstractTestSuiteChunkerImpl (line 43) | public abstract class AbstractTestSuiteChunkerImpl extends AbstractCo... method AbstractTestSuiteChunkerImpl (line 56) | protected AbstractTestSuiteChunkerImpl(Class testClass) throws Exce... method AbstractTestSuiteChunkerImpl (line 60) | protected AbstractTestSuiteChunkerImpl(Class... testClasses) throws... method getPowerMockTestListenersLoadedByASpecificClassLoader (line 64) | protected Object getPowerMockTestListenersLoadedByASpecificClassLoader... method createTestDelegators (line 103) | public final void createTestDelegators(Class testClass, List[] getTestClasses() { FILE: powermock-core/src/main/java/org/powermock/tests/utils/impl/ArrayMergerImpl.java class ArrayMergerImpl (line 25) | public class ArrayMergerImpl implements ArrayMerger { method mergeArrays (line 27) | @SuppressWarnings("unchecked") FILE: powermock-core/src/main/java/org/powermock/tests/utils/impl/MockPolicyInitializerImpl.java class MockPolicyInitializerImpl (line 42) | public class MockPolicyInitializerImpl implements MockPolicyInitializer { method MockPolicyInitializerImpl (line 48) | public MockPolicyInitializerImpl(Class[] mo... method MockPolicyInitializerImpl (line 52) | public MockPolicyInitializerImpl(Class testClass) { method MockPolicyInitializerImpl (line 56) | private MockPolicyInitializerImpl(Class[] m... method MockPolicyInitializerImpl (line 60) | private MockPolicyInitializerImpl(Class[] m... method getMockPolicies (line 81) | @SuppressWarnings("unchecked") method isPrepared (line 91) | @Override method needsInitialization (line 100) | @Override method initialize (line 106) | @Override method initialize (line 113) | private void initialize(MockClassLoader classLoader) { method updateClassLoaderConfiguration (line 120) | private void updateClassLoaderConfiguration(MockClassLoaderConfigurati... method refreshPolicies (line 146) | @Override method invokeInitializeInterceptionSettingsFromClassLoader (line 153) | private void invokeInitializeInterceptionSettingsFromClassLoader(MockC... method initializeInterceptionSettings (line 185) | @SuppressWarnings("unused") method getInterceptionSettings (line 212) | private MockPolicyInterceptionSettings getInterceptionSettings() { method getClassLoadingSettings (line 220) | private MockPolicyClassLoadingSettings getClassLoadingSettings() { FILE: powermock-core/src/main/java/org/powermock/tests/utils/impl/PowerMockIgnorePackagesExtractorImpl.java class PowerMockIgnorePackagesExtractorImpl (line 31) | public class PowerMockIgnorePackagesExtractorImpl implements IgnorePacka... method getPackagesToIgnore (line 33) | @Override method getPackageToIgnoreWithGlobal (line 54) | private String[] getPackageToIgnoreWithGlobal(final String[] packageTo... method getGlobalIgnore (line 67) | private String[] getGlobalIgnore() { method extractPackageToIgnore (line 72) | private boolean extractPackageToIgnore(final AnnotatedElement element,... method addValuesFromSuperclass (line 79) | private boolean addValuesFromSuperclass(final Class element, final... method addValueFromAnnotation (line 95) | private boolean addValueFromAnnotation(final AnnotatedElement element,... method addGlobalIgnore (line 107) | private String[] addGlobalIgnore(final String[] packageToIgnore, final... FILE: powermock-core/src/main/java/org/powermock/tests/utils/impl/PowerMockTestNotifierImpl.java class PowerMockTestNotifierImpl (line 33) | public class PowerMockTestNotifierImpl implements PowerMockTestNotifier { method PowerMockTestNotifierImpl (line 45) | public PowerMockTestNotifierImpl(PowerMockTestListener[] powerMockTest... method notifyAfterTestMethod (line 53) | @Override method notifyAfterTestSuiteEnded (line 64) | @Override method notifyBeforeTestMethod (line 75) | @Override method notifyBeforeTestSuiteStarted (line 89) | @Override method notifyAfterTestMethod (line 100) | @Override FILE: powermock-core/src/main/java/org/powermock/tests/utils/impl/PrepareForTestExtractorImpl.java class PrepareForTestExtractorImpl (line 35) | public class PrepareForTestExtractorImpl extends AbstractTestClassExtrac... method PrepareForTestExtractorImpl (line 37) | public PrepareForTestExtractorImpl(){ method PrepareForTestExtractorImpl (line 41) | public PrepareForTestExtractorImpl(boolean includeMethods) { method getClassesToModify (line 45) | @Override method addTestCase (line 84) | private void addTestCase(Set all, AnnotatedElement element) { method addFullyQualifiedNames (line 94) | private void addFullyQualifiedNames(Set all, PrepareForTest an... method addFullyQualifiedNames (line 99) | private void addFullyQualifiedNames(Set all, PrepareOnlyThisFo... method addFullyQualifiedNames (line 104) | private void addFullyQualifiedNames(Set all, String[] fullyQua... method addClassHierarchy (line 112) | private void addClassHierarchy(Set all, Class classToMock) { method addInnerClassesAndInterfaces (line 120) | private void addInnerClassesAndInterfaces(Set all, Class cl... FILE: powermock-core/src/main/java/org/powermock/tests/utils/impl/StaticConstructorSuppressExtractorImpl.java class StaticConstructorSuppressExtractorImpl (line 31) | public class StaticConstructorSuppressExtractorImpl extends AbstractTest... method getClassesToModify (line 33) | @Override FILE: powermock-core/src/main/java/org/powermock/tests/utils/impl/TestCaseEntry.java class TestCaseEntry (line 26) | public class TestCaseEntry { method TestCaseEntry (line 31) | public TestCaseEntry(Class testClass, List chunks) { method getTestChunks (line 36) | public List getTestChunks() { method getTestClass (line 40) | public Class getTestClass() { FILE: powermock-core/src/main/java/org/powermock/tests/utils/impl/TestChunkImpl.java class TestChunkImpl (line 27) | public class TestChunkImpl implements TestChunk { method TestChunkImpl (line 32) | public TestChunkImpl(ClassLoader classLoader, List testMethods... method getClassLoader (line 37) | @Override method getTestMethodsToBeExecutedByThisClassloader (line 42) | @Override method isMethodToBeExecutedByThisClassloader (line 47) | @Override method toString (line 52) | @Override FILE: powermock-core/src/main/java/org/powermock/utils/ArrayUtil.java class ArrayUtil (line 26) | public class ArrayUtil { method addAll (line 28) | public static T[] addAll(T[] array1, T[] array2) { method isEmpty (line 41) | private static boolean isEmpty(T[] a) { method clone (line 45) | public static T[] clone(T[] array) { method createNewArrayWithSameType (line 52) | @SuppressWarnings("unchecked") method mergeArrays (line 57) | public static String[] mergeArrays(final String[] firstArray, final St... FILE: powermock-core/src/main/java/org/powermock/utils/Asserts.java class Asserts (line 24) | public class Asserts { method assertNotNull (line 26) | public static void assertNotNull(Object value, String message){ method internalAssertNotNull (line 32) | public static void internalAssertNotNull(Object value, String message){ FILE: powermock-core/src/main/java/org/powermock/utils/IOUtils.java class IOUtils (line 28) | public class IOUtils { method copyFileUsingStream (line 30) | public static void copyFileUsingStream(File source, File dest) throws ... FILE: powermock-core/src/main/java/org/powermock/utils/JavaVersion.java type JavaVersion (line 3) | public enum JavaVersion { method JavaVersion (line 114) | JavaVersion(final float value, final String name) { method atLeast (line 129) | public boolean atLeast(final JavaVersion requiredVersion) { method get (line 142) | static JavaVersion get(final String nom) { method toString (line 196) | @Override method maxVersion (line 206) | private static float maxVersion() { method toFloatVersion (line 220) | private static float toFloatVersion(final String value) { FILE: powermock-core/src/main/java/org/powermock/utils/NumberUtils.java class NumberUtils (line 3) | public class NumberUtils { method toFloat (line 4) | public static float toFloat(final String str, final float defaultValue) { FILE: powermock-core/src/main/java/org/powermock/utils/StringJoiner.java class StringJoiner (line 23) | public class StringJoiner { method join (line 29) | public static String join(Object... linesToBreak) { method join (line 34) | public static String join(List list) { method join (line 39) | public static String join(String separator, Object... linesToBreak) { method join (line 44) | private static String join(StringBuilder out, Iterable linesToBreak, f... FILE: powermock-core/src/test/java/org/powermock/WildcardMatcherTest.java class WildcardMatcherTest (line 24) | public class WildcardMatcherTest { method matchesWildcardOnBothEnds (line 26) | @Test method matchesWildcardSuffix (line 31) | @Test method doesntMatchWildcardPrefix (line 36) | @Test method convertsDotsAndWildcardsToRegExp (line 41) | @Test method noWildcardCardPrefix (line 46) | @Test method exactMatch (line 50) | @Test FILE: powermock-core/src/test/java/org/powermock/configuration/support/ConfigurationBuilderTest.java class ConfigurationBuilderTest (line 29) | public class ConfigurationBuilderTest { method should_create_configuration_from_file (line 35) | @Test method should_read_mock_maker_class_from_configuration (line 46) | @Test method should_not_read_mock_maker_class_from_configuration_without_prefix (line 56) | @Test method should_return_empty_configuration__when_configuration_file_non_exist (line 66) | @Test method should_return_real_value_instead_alias (line 78) | @Test method should_read_powermock_global_ignore_as_array (line 92) | @Test FILE: powermock-core/src/test/java/org/powermock/configuration/support/ConfigurationFactoryImplTest.java class ConfigurationFactoryImplTest (line 33) | @RunWith(Enclosed.class) class SystemPropertiesCases (line 36) | public static class SystemPropertiesCases { method setUp (line 43) | @Before method should_read_byte_code_framework_from_environment_variable_if_defined (line 51) | @Test class FileCases (line 68) | public static class FileCases { method setUp (line 72) | @Before method should_return_configuration_from_file_if_configuration_file_exist (line 80) | @Test method should_return_default_configuration_if_configuration_file_not_exist (line 96) | @Test method should_return_default_value_for_configuration_if_value_in_user_configuration_is_not_defined (line 112) | @Test FILE: powermock-core/src/test/java/org/powermock/core/classloader/Collaborator.java class Collaborator (line 18) | public class Collaborator { method doStuff (line 21) | public void doStuff(int indx) { FILE: powermock-core/src/test/java/org/powermock/core/classloader/HardToTransform.java class HardToTransform (line 18) | public class HardToTransform { method run (line 19) | public void run() { method testInt (line 25) | public int testInt() { method testDouble (line 28) | public double testDouble() { method testFloat (line 31) | public float testFloat() { method testLong (line 34) | public long testLong() { method testShort (line 37) | public short testShort() { method testByte (line 40) | public byte testByte() { method testBoolean (line 43) | public boolean testBoolean() { method testChar (line 46) | public char testChar() { method testString (line 50) | public String testString() { FILE: powermock-core/src/test/java/org/powermock/core/classloader/MockClassLoaderBuilderTest.java class MockClassLoaderBuilderTest (line 22) | public class MockClassLoaderBuilderTest { method should_create_instance_of_MockClassLoader_depends_on_provided_bytecode_framework (line 24) | @Test method should_create_transformer_chain_depends_on_provided_bytecode_framework (line 34) | @Test method should_set_test_class_to_TestClassAwareTransformers (line 45) | @Test method should_throw_internal_exception_if_test_class_is_null (line 61) | @Test method assertThatJavassistMockTransformerChainCreated (line 75) | private void assertThatJavassistMockTransformerChainCreated(final Mock... method assertThatMockTransformerChainWorksWithExpectedClassRepresentation (line 80) | private void assertThatMockTransformerChainWorksWithExpectedClassRepre... class SpyMockTransformer (line 102) | private static class SpyMockTransformer implements MockTransformer<... method transform (line 106) | @Override method setTestClass (line 111) | @Override FILE: powermock-core/src/test/java/org/powermock/core/classloader/MockClassLoaderConfigurationTest.java class MockClassLoaderConfigurationTest (line 27) | public class MockClassLoaderConfigurationTest { method setUp (line 31) | @Before method should_add_ignoredPackage_to_defer (line 36) | @Test method classes_to_modify_should_have_precedence_over_package_to_ignore (line 49) | @Test method classes_from_packages_to_modify_should_modify (line 58) | @Test FILE: powermock-core/src/test/java/org/powermock/core/classloader/MockClassLoaderFactoryTest.java class MockClassLoaderFactoryTest (line 30) | @RunWith(Enclosed.class) class AnnotationTestOnClassLevelCases (line 33) | @RunWith(Parameterized.class) method AnnotationTestOnClassLevelCases (line 36) | public AnnotationTestOnClassLevelCases(final Class testClass, Str... method should_extract_classes_to_modify_from_class_level_annotation (line 40) | @Test class AnnotationOnMethodLevelCases (line 55) | @RunWith(Parameterized.class) method parameters (line 58) | @Parameters(name = "Test parameter: {0}") method AnnotationOnMethodLevelCases (line 69) | public AnnotationOnMethodLevelCases(final Class testClass, String... method should_extract_classes_to_modify_method_level_annotation_if_exist (line 73) | @Test class DifferentByteCodeFrameworkCases (line 91) | @RunWith(Parameterized.class) method parameters (line 93) | @Parameters(name = "Test parameter: {0}") method DifferentByteCodeFrameworkCases (line 107) | public DifferentByteCodeFrameworkCases(final Class testClass, fin... method setUp (line 112) | @Before method should_create_a_correct_instance_of_class_loader_depends_on_PrepareForTest_parameter_of_class (line 117) | @Test method should_create_a_correct_instance_of_class_loader_depends_on_PrepareForTest_parameter_of_method (line 124) | @Test method should_create_a_correct_instance_of_class_loader_depends_and_use_PrepareForTest_from_class_if_method_does_not_have_annotation (line 133) | @Test class ExceptionCases (line 144) | public static class ExceptionCases{ method setUp (line 149) | @Before method should_throw_exception_if_trying_to_create_an_instance_of_class_loader_for_method_without_annotations_and_class_without_annotation (line 155) | @Test class BasePrepareForTestCases (line 171) | public abstract static class BasePrepareForTestCases { method parameters (line 173) | @Parameters(name = "Test parameter: {0}") method BasePrepareForTestCases (line 189) | BasePrepareForTestCases(final Class testClass, String expectedCla... method setUp (line 194) | @Before class TestContainer (line 200) | @SuppressWarnings("WeakerAccess") class JavassistTestClass (line 203) | @PrepareForTest(SupportClasses.class) method someTestWithPrepareForTest (line 206) | @Test method someTestWithoutPrepareForTest (line 211) | @Test class PrepareEverythingForTestTestClass (line 217) | @PrepareEverythingForTest method someTestWithPrepareForTest (line 220) | @Test method someTestWithoutPrepareForTest (line 225) | @Test class SuppressStaticInitializationForTestClass (line 232) | @SuppressStaticInitializationFor("SupportClasses.FinalInnerClass") method someTestWithPrepareForTest (line 235) | @Test method someTestWithoutPrepareForTest (line 240) | @Test class ExceptionTestClass (line 246) | public static class ExceptionTestClass { method someTestWithoutPrepareForTest (line 247) | @Test FILE: powermock-core/src/test/java/org/powermock/core/classloader/MockClassLoaderTest.java class MockClassLoaderTest (line 52) | @RunWith(Parameterized.class) method data (line 56) | @Parameterized.Parameters(name = "ClassLoader: {0}") method MockClassLoaderTest (line 69) | public MockClassLoaderTest(Class clazz, Moc... method should_load_and_modify_class_from_package_which_specified (line 77) | @Test method should_load_and_not_modify_class_from_package_which_are_not_specified_as_ignored_or_class_to_mock (line 94) | @Test method should_load_system_classes (line 109) | @Test method should_load_defined_class (line 121) | @Test method should_ignore_pagackage_added_powerMockIgnore_Annotated (line 136) | @Test method powerMockIgnoreAnnotatedPackagesHavePrecedenceOverPrepareEverythingForTest (line 147) | @Test method should_find_and_return_a_one_resource_which_exist (line 157) | @Test method should_find_and_return_resources_which_exist (line 172) | @Test method resourcesNotDoubled (line 187) | @Test method canFindDynamicClassFromAdjustedClasspath (line 200) | @Test method should_throw_ClassNotFoundException_if_cannot_find_dynamic_class_in_deferred_class_loader (line 229) | @Test(expected = ClassNotFoundException.class) method should_autobox_primitive_values (line 247) | @Test method assertThatInstanceCouldBeCreateAndMethodReturnMockedValue (line 269) | private void assertThatInstanceCouldBeCreateAndMethodReturnMockedValue... method assertThatInstanceCouldBeCreateAndMethodReturnNotMockedValue (line 281) | private void assertThatInstanceCouldBeCreateAndMethodReturnNotMockedVa... method assertClassIsLoaded (line 293) | private void assertClassIsLoaded(final Class clazz, final MockClass... class MyClassPathAdjuster (line 305) | public static class MyClassPathAdjuster implements ClassPathAdjuster { method adjustClassPath (line 306) | public void adjustClassPath(ClassPool classPool) { class DynamicClassHolder (line 312) | static class DynamicClassHolder { class TestUseClassPathAdjuster (line 329) | public static class TestUseClassPathAdjuster implements UseClassPathAd... method annotationType (line 330) | public Class annotationType() { method value (line 334) | public Class value() { class JavassistMockTransformer (line 339) | private static class JavassistMockTransformer implements MockTransform... method transform (line 341) | @Override FILE: powermock-core/src/test/java/org/powermock/core/classloader/ResourcePrefixClassLoader.java class ResourcePrefixClassLoader (line 7) | @SuppressWarnings("SameParameterValue") method ResourcePrefixClassLoader (line 12) | public ResourcePrefixClassLoader(ClassLoader parent, String prefix) { method findResources (line 17) | @Override method findResource (line 23) | @Override FILE: powermock-core/src/test/java/org/powermock/core/test/ClassLoaderTestHelper.java class ClassLoaderTestHelper (line 34) | public class ClassLoaderTestHelper { method loadWithMockClassLoader (line 42) | public static Class loadWithMockClassLoader(final String className,... method loadWithMockClassLoader (line 54) | public static Class loadWithMockClassLoader(final String className,... method getMockClassLoader (line 64) | private static MockClassLoader getMockClassLoader(final MockTransforme... method runTestWithNewClassLoader (line 85) | public static void runTestWithNewClassLoader(ClassPool classPool, Stri... method clearCache (line 91) | public static void clearCache() { FILE: powermock-core/src/test/java/org/powermock/core/test/ContainsCondition.java class ContainsCondition (line 9) | public class ContainsCondition extends Condition { method contains (line 11) | public static ContainsCondition contains(final String expectedClassToM... method ContainsCondition (line 17) | private ContainsCondition(final String expectedClassToModify) { method matches (line 22) | @Override FILE: powermock-core/src/test/java/org/powermock/core/test/MockClassLoaderFactory.java class MockClassLoaderFactory (line 29) | public class MockClassLoaderFactory { method MockClassLoaderFactory (line 33) | public MockClassLoaderFactory(Class classLo... method getInstance (line 37) | public MockClassLoader getInstance(String[] classesToMock, method getInstance (line 43) | public MockClassLoader getInstance(String[] classesToMock) throws Ille... method getInstance (line 48) | private MockClassLoader getInstance(MockClassLoaderConfiguration confi... method isByteBuddy (line 53) | public boolean isByteBuddy(){ method toString (line 57) | @Override FILE: powermock-core/src/test/java/org/powermock/core/testlisteners/GlobalNotificationBuildSupportTest.java class GlobalNotificationBuildSupportTest (line 38) | @SuppressWarnings({"SameParameterValue", "ResultOfMethodCallIgnored"}) class NormalClass (line 45) | @SuppressWarnings("SameParameterValue") method NormalClass (line 52) | NormalClass(String dummy) { method NormalClass (line 56) | public NormalClass() { class SubClass (line 62) | @SuppressWarnings("SameParameterValue") method SubClass (line 64) | public SubClass() { method SubClass (line 67) | public SubClass(String dummy) { method nestedClassName (line 71) | private String nestedClassName(String localName) { method assertNotificationOf (line 75) | private void assertNotificationOf(NormalClass normalInstance) { method normalClassCreation (line 80) | @Test method removeAllFromConcurrentHashMap (line 120) | @Test method closeTestSuite (line 133) | @AfterClass FILE: powermock-core/src/test/java/org/powermock/core/transformers/AbstractBaseMockTransformerTest.java class AbstractBaseMockTransformerTest (line 34) | @RunWith(Parameterized.class) method AbstractBaseMockTransformerTest (line 44) | AbstractBaseMockTransformerTest(final TransformStrategy strategy, method setUp (line 52) | @Before method loadWithMockClassLoader (line 59) | protected Class loadWithMockClassLoader(final String name) throws E... method loadWithMockClassLoader (line 63) | protected Class loadWithMockClassLoader(final CtClass ctClass) thro... method wrap (line 67) | ClassWrapper wrap(final CtClass ctClass) { method assumeClassLoaderMode (line 71) | protected void assumeClassLoaderMode() { method assumeAgentMode (line 75) | protected void assumeAgentMode() { method assumeClassLoaderIsByteBuddy (line 79) | protected void assumeClassLoaderIsByteBuddy() { method setTestClassToTransformers (line 87) | protected void setTestClassToTransformers(final Class testClass) { FILE: powermock-core/src/test/java/org/powermock/core/transformers/ClassFinalModifierMockTransformerTest.java class ClassFinalModifierMockTransformerTest (line 40) | public class ClassFinalModifierMockTransformerTest extends AbstractBaseM... method data (line 42) | @Parameterized.Parameters(name = "strategy: {0}, transformerType: {2}") method ClassFinalModifierMockTransformerTest (line 51) | public ClassFinalModifierMockTransformerTest( method should_remove_final_modifier_from_static_final_inner_classes_strategy_not_equals_to_inst_redefine (line 59) | @Test method should_nit_remove_final_modifier_from_static_final_inner_classes_equals_to_inst_redefine (line 69) | @Test method should_remove_final_modifier_from_final_inner_classes (line 79) | @Test method should_remove_final_modifier_from_enums (line 88) | @Test method should_remove_final_modifier_from_private_static_final_inner_classes (line 97) | @Test method should_ignore_interfaces (line 106) | @Test FILE: powermock-core/src/test/java/org/powermock/core/transformers/ConstructorCallMockTransformerTest.java class ConstructorCallMockTransformerTest (line 58) | public class ConstructorCallMockTransformerTest extends AbstractBaseMock... method data (line 60) | @Parameterized.Parameters(name = "strategy: {0}, transformerType: {2}") method ConstructorCallMockTransformerTest (line 69) | public ConstructorCallMockTransformerTest(final TransformStrategy stra... method should_not_change_constructors_of_test_class (line 76) | @Test method should_not_change_constructors_of_nested_test_classes (line 100) | @Test method should_add_additional_defer_constructor_which_call_default_if_parent_Object_and_strategy_classloader (line 123) | @Test method should_add_additional_defer_constructor_which_call_default_if_parent_not_Object_and_strategy_classloader (line 140) | @Test method should_not_add_additional_defer_constructor_if_strategy_is_not_classloader (line 156) | @Test method should_not_add_defer_constructor_to_interface (line 167) | @Test method should_not_add_defer_constructor_to_enum (line 176) | @Test method should_suppress_call_to_super_constructor_if_getaway_return_SUPPRESS (line 185) | @Test method should_not_suppress_call_to_super_constructor_if_getaway_return_PROCEED (line 211) | @Test method should_provide_correct_constructor_param_and_arguments (line 238) | @Test method should_provide_correct_constructor_param_and_arguments_when_cast_required (line 263) | @Test method should_provide_correct_constructor_param_and_arguments_when_parameters_vararg (line 298) | @Test method assertThatCorrectConstructorTypeProvided (line 333) | private void assertThatCorrectConstructorTypeProvided() { method reloadClass (line 340) | private Class reloadClass(final Class originalClazz) throws Exce... FILE: powermock-core/src/test/java/org/powermock/core/transformers/ConstructorModifiersMockTransformerTest.java class ConstructorModifiersMockTransformerTest (line 41) | public class ConstructorModifiersMockTransformerTest extends AbstractBas... method data (line 43) | @Parameterized.Parameters(name = "strategy: {0}, transformerType: {2}") method ConstructorModifiersMockTransformerTest (line 52) | public ConstructorModifiersMockTransformerTest(final TransformStrategy... method should_make_all_constructor_public_if_strategy_is_classloader (line 59) | @Test method should_leave_constructor_unchanged_if_strategy_is_not_classloader (line 73) | @Test method should_not_change_constructors_of_test_class (line 84) | @Test method should_not_change_constructors_of_nested_test_classes (line 98) | @Test method assertThatAllConstructorsHaveSameModifier (line 112) | private void assertThatAllConstructorsHaveSameModifier(final Class ... FILE: powermock-core/src/test/java/org/powermock/core/transformers/InstrumentMockTransformerTest.java class InstrumentMockTransformerTest (line 40) | public class InstrumentMockTransformerTest extends AbstractBaseMockTrans... method data (line 44) | @Parameterized.Parameters(name = "strategy: {0}, transformer: {1}") method InstrumentMockTransformerTest (line 51) | public InstrumentMockTransformerTest(final TransformStrategy strategy,... method should_ignore_call_to_synthetic_field_when_instrument_call_to_method (line 56) | @Test method prepareClassesForFieldTests (line 67) | private CtClass prepareClassesForFieldTests(ClassPool classPool) throw... method insertCallSyntheticField (line 76) | private void insertCallSyntheticField(CtClass ctClass) throws CannotCo... method addSyntheticField (line 90) | private void addSyntheticField(ClassPool classPool, class ShouldIgnoreCallToSyntheticField (line 99) | public static class ShouldIgnoreCallToSyntheticField { method main (line 100) | public static void main(String[] args) throws Exception { FILE: powermock-core/src/test/java/org/powermock/core/transformers/MethodSizeMockTransformerTest.java class MethodSizeMockTransformerTest (line 37) | public class MethodSizeMockTransformerTest extends AbstractBaseMockTrans... method data (line 40) | @Parameterized.Parameters(name = "strategy: {0}, transformer: {1}") method MethodSizeMockTransformerTest (line 55) | public MethodSizeMockTransformerTest(final TransformStrategy strategy, method should_load_class_with_method_lower_than_jvm_limit (line 62) | @Test method should_load_class_and_override_method_greater_than_jvm_limit (line 70) | @Test FILE: powermock-core/src/test/java/org/powermock/core/transformers/MethodsMockTransformerTest.java class MethodsMockTransformerTest (line 53) | public class MethodsMockTransformerTest extends AbstractBaseMockTransfor... method data (line 55) | @Parameterized.Parameters(name = "strategy: {0}, transformer: {1}") method MethodsMockTransformerTest (line 64) | public MethodsMockTransformerTest(final TransformStrategy strategy, fi... method should_skip_call_to_void_private_method_if_getaway_return_not_PROCEED (line 69) | @Test method should_skip_call_to_void_public_method_if_getaway_return_not_PROCEED (line 88) | @Test method should_skip_call_to_final_void_public_method_if_getaway_return_not_PROCEED (line 109) | @Test method should_invoke_real_final_void_public_method_if_getaway_return_PROCEED (line 129) | @Test method should_return_value_from_getaway_for_non_void_methods_is_it_is_not_PROCEED (line 149) | @Test method should_return_value_from_getaway_for_final_non_void_methods_is_it_is_not_PROCEED (line 168) | @Test method should_return_value_from_getaway_for_final_private_non_void_methods_is_it_is_not_PROCEED (line 187) | @Test method should_return_real_method_return_value_for_non_void_methods_if_getaway_returns_PROCEED (line 206) | @Test method should_return_real_method_return_value_for_final_non_void_methods_if_getaway_returns_PROCEED (line 226) | @Test method should_ignore_abstract_methods (line 246) | @Test method should_modify_bridge_methods (line 261) | @Test method should_ignore_synthetic_non_bridge_methods (line 274) | @Test method should_ignore_call_to_synthetic_non_bridge_methods (line 303) | @Test method prepareClassesForTest (line 323) | private CtClass prepareClassesForTest(ClassPool classPool, method addSyntheticMethod (line 331) | private void addSyntheticMethod(ClassPool classPool, FILE: powermock-core/src/test/java/org/powermock/core/transformers/MockTransformerChainTest.java class MockTransformerChainTest (line 27) | public class MockTransformerChainTest { method should_call_all_transformer_when_chain_is_called (line 29) | @Test method should_return_collection_of_mock_transformer_which_fit_predicate (line 46) | @Test class MockTransformerSpy (line 63) | private static class MockTransformerSpy implements MockTransformer { method isInterface (line 78) | @Override method unwrap (line 83) | @Override method wrap (line 88) | @Override class FitPredicateMockTransformer (line 94) | private static class FitPredicateMockTransformer implements MockTransf... method transform (line 96) | @Override method setTestClass (line 101) | @Override FILE: powermock-core/src/test/java/org/powermock/core/transformers/MockTransformerTestHelper.java class MockTransformerTestHelper (line 34) | class MockTransformerTestHelper { method createTransformerTestData (line 36) | static Collection createTransformerTestData(final Class..... method createTransformerTestDataWithMockGateway (line 40) | static Collection createTransformerTestDataWithMockGateway(f... method createOneTransformerTestData (line 58) | static Collection createOneTransformerTestData(final Class createOneTransformerTestData(final Class createTransformers(final Cla... method getInstance (line 96) | private static MockTransformer getInstance(final Class mockGateway,... method createChainFrom (line 119) | private static MockTransformerChain createChainFrom(final MockTransfor... FILE: powermock-core/src/test/java/org/powermock/core/transformers/NativeMethodsMockTransformerTest.java class NativeMethodsMockTransformerTest (line 42) | public class NativeMethodsMockTransformerTest extends AbstractBaseMockTr... method data (line 44) | @Parameterized.Parameters(name = "strategy: {0}, transformer: {1}") method NativeMethodsMockTransformerTest (line 53) | public NativeMethodsMockTransformerTest(final TransformStrategy strate... method should_return_value_from_getaway_for_native_instance_methods_is_it_is_not_PROCEED (line 58) | @Test method should_return_value_from_getaway_for_native_static_methods_if_it_is_not_PROCEED (line 79) | @Test method should_throw_UnsupportedOperationException_for_native_instance_if_it_is_PROCEED (line 98) | @Test method should_throw_UnsupportedOperationException_for_native_static_if_it_is_PROCEED (line 116) | @Test method should_not_handle_hashCode_form_Object (line 133) | @Test method should_throw_UnsupportedOperationException_for_native_method_of_parent_instance_if_it_is_PROCEED (line 147) | @Test FILE: powermock-core/src/test/java/org/powermock/core/transformers/StaticFinalFieldsMockTransformerTest.java class StaticFinalFieldsMockTransformerTest (line 39) | public class StaticFinalFieldsMockTransformerTest extends AbstractBaseMo... method data (line 41) | @Parameterized.Parameters(name = "strategy: {0}, transformerType: {2}") method StaticFinalFieldsMockTransformerTest (line 50) | public StaticFinalFieldsMockTransformerTest(final TransformStrategy st... method should_remove_final_modifier_from_static_final_field_if_strategy_not_redefine (line 56) | @Test method should_not_remove_final_modifier_from_static_final_field_if_strategy_redefine (line 67) | @Test method should_remove_only_final_modifier_but_keep_transient (line 78) | @Test method assertThatFieldIsFinal (line 92) | private void assertThatFieldIsFinal(final Class clazz, final String... method assertThatFieldIsNotFinal (line 104) | private void assertThatFieldIsNotFinal(final Class clazz, final Str... FILE: powermock-core/src/test/java/org/powermock/core/transformers/StaticMethodsMockTransformerTest.java class StaticMethodsMockTransformerTest (line 38) | public class StaticMethodsMockTransformerTest extends AbstractBaseMockTr... method data (line 40) | @Parameterized.Parameters(name = "strategy: {0}, transformer: {1}") method StaticMethodsMockTransformerTest (line 49) | public StaticMethodsMockTransformerTest(final TransformStrategy strate... method should_skip_call_to_void_static_public_method_if_getaway_return_not_PROCEED (line 54) | @Test method should_continue_executing_void_static_public_method_if_getaway_return_PROCEED (line 71) | @Test FILE: powermock-core/src/test/java/org/powermock/core/transformers/SuppressStaticInitializerMockTransformerTest.java class SuppressStaticInitializerMockTransformerTest (line 39) | public class SuppressStaticInitializerMockTransformerTest extends Abstra... method data (line 42) | @Parameterized.Parameters(name = "strategy: {0}, transformerType: {2}") method SuppressStaticInitializerMockTransformerTest (line 51) | public SuppressStaticInitializerMockTransformerTest( method setUp (line 59) | @Before method should_suppress_static_initialization_if_class_is_added_to_mock_repository (line 65) | @Test method should_not_suppress_static_initialization_if_class_is_not_added_to_mock_repository (line 82) | @Test method should_not_suppress_static_initialization_if_class_is_added_to_mock_repository_but_strategy_not_classloader (line 95) | @Test FILE: powermock-core/src/test/java/org/powermock/core/transformers/TestClassTransformerTest.java class TestClassTransformerTest (line 48) | @RunWith(Parameterized.class) method values (line 57) | @Parameterized.Parameters(name = "{0}-{1}") method setUp (line 71) | @Before method should_make_defer_constructor_non_public_for_inner_classes (line 76) | @Test method should_restore_original_constructors_accesses (line 108) | @Test method should_remove_test_annotation_from_all_method (line 136) | @Test method should_not_remove_test_annotation_from_all_method_if_nested_class_in_test_class (line 158) | @Test type MockClassLoaderCase (line 181) | enum MockClassLoaderCase { method chooseTestClass (line 183) | @Override method preparations (line 188) | @Override method chooseTestClass (line 194) | @Override method preparations (line 204) | @Override method chooseTestClass (line 210) | abstract Class chooseTestClass(Class prepare4test); method preparations (line 212) | abstract String[] preparations(Class prepare4test); method createMockClassLoaderThatPrepare (line 214) | MockClassLoader createMockClassLoaderThatPrepare(Class prepare4te... FILE: powermock-core/src/test/java/org/powermock/core/transformers/javassist/TestPrimitives.java class TestPrimitives (line 29) | @RunWith(Parameterized.class) method TestPrimitives (line 34) | public TestPrimitives(CtPrimitiveType ctType) { method values (line 38) | @Parameterized.Parameters(name = "{0}") method testMapping (line 49) | @Test FILE: powermock-core/src/test/java/org/powermock/core/transformers/mock/MockGatewaySpy.java class MockGatewaySpy (line 15) | public class MockGatewaySpy { method constructorCall (line 23) | public static Object constructorCall(Class type, Object[] args, Cla... method suppressConstructorCall (line 32) | public static boolean suppressConstructorCall(Class type, Object[] ... method methodCall (line 36) | public static Object methodCall(Object instance, String methodName, Ob... method methodCall (line 41) | public static Object methodCall(Class type, String methodName, Obje... method doMethodCall (line 46) | private static Object doMethodCall(final Class type, final String m... method getResult (line 61) | private static Object getResult(final String methodName) { method registerMethodCall (line 69) | private static void registerMethodCall(MethodCall methodName) { method registerFieldCall (line 73) | private static void registerFieldCall(String fieldName) { method methodCalls (line 77) | public static List methodCalls() { method getFieldCalls (line 81) | public static List getFieldCalls() { method constructorCalls (line 85) | public static List constructorCalls() { method returnOnMethodCall (line 89) | public static void returnOnMethodCall(final Object expected) { method returnOnMethodCall (line 93) | public static void returnOnMethodCall(final String methodName, final O... method clear (line 97) | public static void clear() { class MethodCall (line 104) | public static class MethodCall { method toString (line 111) | @Override class ConditionBuilder (line 124) | public static class ConditionBuilder { method registered (line 126) | public static ConditionBuilder registered() { method forMethod (line 130) | public Condition> forMethod(final... FILE: powermock-core/src/test/java/org/powermock/tests/utils/impl/PowerMockIgnorePackagesExtractorImplTest.java class PowerMockIgnorePackagesExtractorImplTest (line 29) | @SuppressWarnings("unchecked") method setUp (line 34) | @Before method tearDown (line 40) | @After method should_find_ignore_packages_in_the_whole_class_hierarchy (line 45) | @Test method should_scan_interfaces_when_search_package_to_ignore (line 58) | @Test method should_include_global_powermock_ignore_to_list_of_package_to_ignore (line 73) | @Test method should_not_include_global_powermock_ignore_when_annotation_use_global_ignore_false (line 96) | @Test method should_not_include_global_powermock_ignore_when_annotation_use_global_ignore_false_on_parent_class (line 120) | @Test method calculateExpectedValues (line 144) | private String[] calculateExpectedValues(final String[] values) { class ClassWithoutAnnotation (line 156) | private static class ClassWithoutAnnotation { class IgnoreAnnotatedDemoClass (line 160) | @PowerMockIgnore({"ignore0", "ignore1"}) class IgnoreAnnotatedDemoClassParent (line 165) | @PowerMockIgnore("ignore2") class IgnoreAnnotatedDemoClassGrandParent (line 170) | @PowerMockIgnore("ignore3") class IgnoreAnnotationFromInterfaces (line 175) | private static class IgnoreAnnotationFromInterfaces implements IgnoreA... type IgnoreAnnotatedDemoInterfaceGrandParent (line 179) | @PowerMockIgnore("ignore5") type IgnoreAnnotatedDemoInterfaceParent1 (line 184) | @PowerMockIgnore("ignore4") type IgnoreAnnotatedDemoInterfaceParent2 (line 189) | @PowerMockIgnore("ignore6") class ClassWithAnnotationUseFalse (line 193) | @PowerMockIgnore(value = "ignore6", globalIgnore = false) class IgnoreAnnotatedWithGlobalIgnoreParent (line 198) | @PowerMockIgnore({"ignore0", "ignore1"}) FILE: powermock-core/src/test/java/org/powermock/tests/utils/impl/PrepareForTestExtractorImplTest.java class PrepareForTestExtractorImplTest (line 35) | public class PrepareForTestExtractorImplTest { method assertThatInterfacesWorks (line 42) | @Test method shouldFindClassesToPrepareForTestInTheWholeClassHierarchy (line 56) | @Test class PrepareForTestDemoClass (line 75) | @PrepareForTest(fullyQualifiedNames = { "Class1", "Class2" }) class PrepareForTestDemoClassParent (line 80) | @PrepareForTest(fullyQualifiedNames = { "Class3" }) class PrepareForTestDemoClassGrandParent (line 85) | @PrepareForTest(fullyQualifiedNames = { "Class4", "Class5" }) FILE: powermock-core/src/test/java/org/powermock/utils/JavaVersionTest.java class JavaVersionTest (line 8) | public class JavaVersionTest { method should_return_true_for_current_version_that_if_high_than16 (line 10) | @Test FILE: powermock-core/src/test/java/org/powermock/utils/NumberUtilsTest.java class NumberUtilsTest (line 8) | public class NumberUtilsTest { method should_parse_and_return_float (line 10) | @Test method should_return_default_value_when_cannot_parse (line 18) | @Test method should_return_default_value_when_string_is_null (line 25) | @Test FILE: powermock-core/src/test/java/powermock/test/support/ClassForMockClassLoaderTestCase.java class ClassForMockClassLoaderTestCase (line 22) | public class ClassForMockClassLoaderTestCase { method description (line 24) | public String description() { FILE: powermock-core/src/test/java/powermock/test/support/ClassWithLargeMethods.java class ClassWithLargeMethods (line 20) | public class ClassWithLargeMethods { class MethodLowerThanLimit (line 22) | public static class MethodLowerThanLimit { method init (line 26) | public static String init() { class MethodGreaterThanLimit (line 40) | public static class MethodGreaterThanLimit { method init (line 44) | public static String init() { FILE: powermock-core/src/test/java/powermock/test/support/MainMockTransformerTestSupport.java class MainMockTransformerTestSupport (line 28) | public class MainMockTransformerTestSupport { class StaticInitialization (line 30) | public static class StaticInitialization { type SomeInterface (line 38) | public interface SomeInterface { type ParameterInterface (line 42) | public interface ParameterInterface { class ConstructorCall (line 46) | public static class ConstructorCall { class SupperClassThrowsException (line 48) | public static class SupperClassThrowsException { method SupperClassThrowsException (line 52) | public SupperClassThrowsException(String name, double value) { method SupperClassThrowsException (line 56) | public SupperClassThrowsException(final ParameterImpl value) { method SupperClassThrowsException (line 60) | public SupperClassThrowsException(final long... array) { method aVoid (line 64) | public void aVoid() { method bVoid (line 68) | public void bVoid(final String lname, final long lvalue) { class SuperClassWithObjectMethod (line 75) | public static class SuperClassWithObjectMethod { method doSomething (line 79) | public void doSomething(Object o) { class SubclassWithBridgeMethod (line 84) | public static class SubclassWithBridgeMethod extends SuperClassWithObj... method doSomething (line 85) | public void doSomething(String s) { class SupportClasses (line 90) | public static class SupportClasses { type EnumClass (line 96) | public enum EnumClass { class StaticFinalInnerClass (line 100) | public final static class StaticFinalInnerClass { class FinalInnerClass (line 103) | public final static class FinalInnerClass { class PrivateStaticFinalInnerClass (line 106) | private final static class PrivateStaticFinalInnerClass { class MultipleConstructors (line 109) | public static class MultipleConstructors { method MultipleConstructors (line 111) | public MultipleConstructors() {} method MultipleConstructors (line 113) | protected MultipleConstructors(String s) {} method MultipleConstructors (line 115) | MultipleConstructors(int i) {} method MultipleConstructors (line 117) | private MultipleConstructors(Boolean[] array) {} method MultipleConstructors (line 119) | protected MultipleConstructors(int[] iarray, boolean b, String[] s... class PublicSuperClass (line 122) | public static class PublicSuperClass { method PublicSuperClass (line 124) | public PublicSuperClass(String name) { class SuperClass (line 131) | class SuperClass { class SubClass (line 134) | public class SubClass extends SuperClass { method dummyMethod (line 135) | public void dummyMethod() {} class SuperClassCallSuperConstructor (line 139) | public static class SuperClassCallSuperConstructor extends SupperClass... method SuperClassCallSuperConstructor (line 142) | public SuperClassCallSuperConstructor(final String name, String fiel... method cVoid (line 157) | private void cVoid(final String lname, final long lvalue) { class SuperClassCallSuperConstructorWithCast (line 162) | public static class SuperClassCallSuperConstructorWithCast extends Sup... method SuperClassCallSuperConstructorWithCast (line 164) | public SuperClassCallSuperConstructorWithCast(final ParameterInterfa... class SuperClassCallSuperConstructorWithVararg (line 169) | public static class SuperClassCallSuperConstructorWithVararg extends S... method SuperClassCallSuperConstructorWithVararg (line 171) | public SuperClassCallSuperConstructorWithVararg(final long... array) { class ParameterImpl (line 176) | public static class ParameterImpl implements ParameterInterface { class StaticVoidMethodsTestClass (line 181) | public static class StaticVoidMethodsTestClass { method voidMethod (line 188) | public static void voidMethod(final String name, String field, final... method bVoid (line 203) | private static void bVoid(final String lname) { method aVoid (line 207) | private static void aVoid(final long value) { class VoidMethodsTestClass (line 212) | public static class VoidMethodsTestClass { method voidMethod (line 219) | public void voidMethod(final String name, String field, final double... method finalVoidMethod (line 232) | public void finalVoidMethod(final String name, String field, final d... method voidPrivateMethod (line 245) | private void voidPrivateMethod(final String lname) { method aVoid (line 249) | private void aVoid(final long value) { class ReturnMethodsTestClass (line 254) | public static class ReturnMethodsTestClass { method returnMethod (line 259) | public String returnMethod(final String name, String field, final do... method finalReturnMethod (line 269) | public final String finalReturnMethod(final String name, String fiel... method privateReturnMethod (line 279) | private String privateReturnMethod(final String name) { method aVoid (line 285) | private String aVoid(final long value) { class AbstractMethodTestClass (line 291) | public static abstract class AbstractMethodTestClass { method returnMethod (line 292) | public abstract String returnMethod(final String name, String field,... class NativeMethodsTestClass (line 295) | public static class NativeMethodsTestClass { method nativeStaticReturnMethod (line 296) | public static native String nativeStaticReturnMethod(final String na... method nativeReturnMethod (line 297) | public native String nativeReturnMethod(final String name); class ChildOfNativeMethodsTestClass (line 300) | public static class ChildOfNativeMethodsTestClass extends NativeMethod... class ParentTestClass (line 304) | public static class ParentTestClass { class NestedTestClass (line 306) | public static class NestedTestClass{ method NestedTestClass (line 309) | public NestedTestClass() {} method NestedTestClass (line 311) | protected NestedTestClass(String s) {} method NestedTestClass (line 313) | NestedTestClass(int i) {} method NestedTestClass (line 315) | private NestedTestClass(Boolean[] array) {} method NestedTestClass (line 317) | protected NestedTestClass(int[] iarray, boolean b, String[] sarray... class ClassWithoutHashCode (line 322) | public static class ClassWithoutHashCode { FILE: powermock-core/src/test/java/powermock/test/support/TestWithTwoTestMethods.java class TestWithTwoTestMethods (line 5) | public class TestWithTwoTestMethods { method test_method_1 (line 7) | @Test method test_method_2 (line 11) | @Test class NestedTestWithTwoTestMethods (line 17) | public static class NestedTestWithTwoTestMethods { method test_nested_method_1 (line 19) | @Test method test_nested_method_2 (line 23) | @Test FILE: powermock-modules/powermock-module-javaagent/src/main/java/com/sun/tools/attach/AgentInitializationException.java class AgentInitializationException (line 41) | public final class AgentInitializationException extends Exception method AgentInitializationException (line 51) | public AgentInitializationException() method AgentInitializationException (line 61) | public AgentInitializationException(String s) method AgentInitializationException (line 75) | public AgentInitializationException(String s, int returnValue) method returnValue (line 86) | public int returnValue() FILE: powermock-modules/powermock-module-javaagent/src/main/java/com/sun/tools/attach/AgentLoadException.java class AgentLoadException (line 36) | public final class AgentLoadException extends Exception method AgentLoadException (line 44) | public AgentLoadException() method AgentLoadException (line 51) | public AgentLoadException(String s) FILE: powermock-modules/powermock-module-javaagent/src/main/java/com/sun/tools/attach/AttachNotSupportedException.java class AttachNotSupportedException (line 35) | public final class AttachNotSupportedException extends Exception method AttachNotSupportedException (line 42) | public AttachNotSupportedException() method AttachNotSupportedException (line 52) | public AttachNotSupportedException(String s) FILE: powermock-modules/powermock-module-javaagent/src/main/java/com/sun/tools/attach/VirtualMachine.java class VirtualMachine (line 93) | public abstract class VirtualMachine method VirtualMachine (line 105) | protected VirtualMachine(AttachProvider provider, String id) method list (line 125) | public static List list() method attach (line 168) | public static VirtualMachine attach(String id) throws AttachNotSupport... method attach (line 212) | public static VirtualMachine attach(VirtualMachineDescriptor vmd) method detach (line 232) | public abstract void detach() throws IOException; method provider (line 237) | public final AttachProvider provider() method id (line 245) | public final String id() method loadAgentLibrary (line 289) | public abstract void loadAgentLibrary(String agentLibrary, String opti... method loadAgentLibrary (line 308) | public void loadAgentLibrary(String agentLibrary) method loadAgentPath (line 350) | public abstract void loadAgentPath(String agentPath, String options) method loadAgentPath (line 369) | public void loadAgentPath(String agentPath) method loadAgent (line 397) | public abstract void loadAgent(String agent, String options) method loadAgent (line 416) | public void loadAgent(String agent) method getSystemProperties (line 444) | public abstract Properties getSystemProperties() throws IOException; method getAgentProperties (line 465) | public abstract Properties getAgentProperties() throws IOException; method hashCode (line 474) | @Override method equals (line 500) | @Override method toString (line 519) | @Override FILE: powermock-modules/powermock-module-javaagent/src/main/java/com/sun/tools/attach/VirtualMachineDescriptor.java class VirtualMachineDescriptor (line 57) | public final class VirtualMachineDescriptor method VirtualMachineDescriptor (line 73) | public VirtualMachineDescriptor(AttachProvider provider, String id, St... method VirtualMachineDescriptor (line 111) | public VirtualMachineDescriptor(AttachProvider provider, String id) method provider (line 121) | public AttachProvider provider() method id (line 131) | public String id() method displayName (line 141) | public String displayName() method hashCode (line 153) | @Override method equals (line 179) | @Override method toString (line 199) | @Override FILE: powermock-modules/powermock-module-javaagent/src/main/java/com/sun/tools/attach/spi/AttachProvider.java class AttachProvider (line 74) | public abstract class AttachProvider { method AttachProvider (line 81) | protected AttachProvider() {} method name (line 88) | public abstract String name(); method type (line 95) | public abstract String type(); method attachVirtualMachine (line 129) | public abstract VirtualMachine attachVirtualMachine(String id) method attachVirtualMachine (line 158) | public VirtualMachine attachVirtualMachine(VirtualMachineDescriptor vmd) method listVirtualMachines (line 181) | public abstract List listVirtualMachines(); method providers (line 214) | @SuppressWarnings({"Since15"}) FILE: powermock-modules/powermock-module-javaagent/src/main/java/org/powermock/modules/agent/AbstractClassTransformer.java class AbstractClassTransformer (line 25) | public abstract class AbstractClassTransformer { method setPackagesToIgnore (line 46) | public synchronized void setPackagesToIgnore(List packagesToIg... method resetPackagesToIgnore (line 51) | public void resetPackagesToIgnore() { method shouldIgnore (line 55) | protected boolean shouldIgnore(String className) { method merge (line 59) | private List merge(List userIgnored) { method replaceSlashWithDots (line 65) | String replaceSlashWithDots(String className) { FILE: powermock-modules/powermock-module-javaagent/src/main/java/org/powermock/modules/agent/AgentInitialization.java class AgentInitialization (line 32) | final class AgentInitialization method initializeAccordingToJDKVersion (line 36) | void initializeAccordingToJDKVersion() { method discoverPathToJarFile (line 52) | private String discoverPathToJarFile() method findPathToJarFileFromClasspath (line 70) | private String findPathToJarFileFromClasspath() method getPathToJarFileContainingThisClass (line 83) | private String getPathToJarFileContainingThisClass() { FILE: powermock-modules/powermock-module-javaagent/src/main/java/org/powermock/modules/agent/AgentLoader.java class AgentLoader (line 43) | final class AgentLoader { method name (line 45) | @Override method type (line 50) | @Override method attachVirtualMachine (line 55) | @Override method listVirtualMachines (line 60) | @Override method AgentLoader (line 69) | AgentLoader(String jarFilePath) { method discoverProcessIdForRunningVM (line 74) | private static String discoverProcessIdForRunningVM() { method loadAgent (line 81) | boolean loadAgent() { method getVirtualMachineImplementationFromEmbeddedOnes (line 98) | @SuppressWarnings("UseOfSunClasses") method attachToThisVM (line 134) | private VirtualMachine attachToThisVM() { method loadAgentAndDetachFromThisVM (line 144) | private void loadAgentAndDetachFromThisVM(VirtualMachine vm) { FILE: powermock-modules/powermock-module-javaagent/src/main/java/org/powermock/modules/agent/DefinalizingClassTransformer.java class DefinalizingClassTransformer (line 25) | public class DefinalizingClassTransformer extends AbstractClassTransform... method transform (line 28) | public byte[] transform(ClassLoader loader, String className, Class... FILE: powermock-modules/powermock-module-javaagent/src/main/java/org/powermock/modules/agent/DefinalizingClassVisitor.java class DefinalizingClassVisitor (line 7) | class DefinalizingClassVisitor extends ClassVisitor { method DefinalizingClassVisitor (line 9) | public DefinalizingClassVisitor(ClassVisitor classVisitor) { method visit (line 13) | @Override method visitMethod (line 20) | @Override method visitInnerClass (line 26) | @Override method removeFinal (line 31) | private int removeFinal(int access) { FILE: powermock-modules/powermock-module-javaagent/src/main/java/org/powermock/modules/agent/PowerMockAgent.java class PowerMockAgent (line 38) | public final class PowerMockAgent method PowerMockAgent (line 48) | private PowerMockAgent() {} method premain (line 56) | public static void premain(String agentArgs, Instrumentation inst) thr... method agentmain (line 60) | @SuppressWarnings({"UnusedDeclaration"}) method initialize (line 65) | private static void initialize(String agentArgs, Instrumentation inst)... method getClasstransformer (line 71) | public static PowerMockClassTransformer getClasstransformer() { method instrumentation (line 75) | public static Instrumentation instrumentation() { method verifyInitialization (line 80) | public static void verifyInitialization() method initializeIfNeeded (line 87) | public static boolean initializeIfNeeded() method initializeIfPossible (line 103) | public static void initializeIfPossible() { FILE: powermock-modules/powermock-module-javaagent/src/main/java/org/powermock/modules/agent/PowerMockClassRedefiner.java class PowerMockClassRedefiner (line 23) | public class PowerMockClassRedefiner { method redefine (line 25) | public static void redefine(String[] classes, String[] packagesToIgnor... FILE: powermock-modules/powermock-module-javaagent/src/main/java/org/powermock/modules/agent/PowerMockClassTransformer.java class PowerMockClassTransformer (line 39) | class PowerMockClassTransformer extends AbstractClassTransformer impleme... method PowerMockClassTransformer (line 47) | PowerMockClassTransformer() { method setClassesToTransform (line 52) | public void setClassesToTransform(Collection classesToTransfor... method setJavaAgentClassRegister (line 56) | public void setJavaAgentClassRegister(JavaAgentClassRegister javaAgent... method transform (line 60) | public byte[] transform( method getCtClass (line 96) | private CtClass getCtClass(final byte[] classfileBuffer) throws IOExce... method transform (line 108) | private CtClass transform(CtClass ctClass) throws Exception { FILE: powermock-modules/powermock-module-javaagent/src/main/java/org/powermock/modules/agent/support/JavaAgentClassRegisterImpl.java class JavaAgentClassRegisterImpl (line 30) | public class JavaAgentClassRegisterImpl implements JavaAgentClassRegister { method JavaAgentClassRegisterImpl (line 34) | public JavaAgentClassRegisterImpl() { method isModifiedByAgent (line 38) | @Override method registerClass (line 43) | @Override method clear (line 56) | @Override FILE: powermock-modules/powermock-module-javaagent/src/main/java/org/powermock/modules/agent/support/PowerMockAgentTestInitializer.java class PowerMockAgentTestInitializer (line 26) | public class PowerMockAgentTestInitializer { method initialize (line 28) | public static void initialize(Class testClass, JavaAgentClassRegist... method redefineClasses (line 41) | private static void redefineClasses(Class testClass, JavaAgentClass... method redefineClassesToSuppress (line 48) | private static void redefineClassesToSuppress(Class testClass, Stri... method redefineClassesToPrepare (line 54) | private static void redefineClassesToPrepare(Class testClass, Strin... method redefine (line 60) | private static void redefine(String[] classes, String[] packagesToIgnore, FILE: powermock-modules/powermock-module-javaagent/src/main/java/sun/tools/attach/BsdVirtualMachine.java class BsdVirtualMachine (line 38) | public class BsdVirtualMachine extends HotSpotVirtualMachine { method BsdVirtualMachine (line 54) | public BsdVirtualMachine(AttachProvider provider, String vmid) method detach (line 116) | @Override method execute (line 134) | @Override class SocketInputStream (line 220) | private class SocketInputStream extends InputStream { method SocketInputStream (line 223) | public SocketInputStream(int s) { method read (line 227) | @Override method read (line 238) | @Override method close (line 249) | @Override method findSocketFile (line 257) | private String findSocketFile(int pid) { method writeString (line 267) | private void writeString(int fd, String s) throws IOException { method sendQuitTo (line 285) | static native void sendQuitTo(int pid) throws IOException; method checkPermissions (line 287) | static native void checkPermissions(String path) throws IOException; method socket (line 289) | static native int socket() throws IOException; method connect (line 291) | static native void connect(int fd, String path) throws IOException; method close (line 293) | static native void close(int fd) throws IOException; method read (line 295) | static native int read(int fd, byte buf[], int off, int bufLen) throws... method write (line 297) | static native void write(int fd, byte buf[], int off, int bufLen) thro... method createAttachFile (line 299) | static native void createAttachFile(String path); method getTempDir (line 301) | static native String getTempDir(); FILE: powermock-modules/powermock-module-javaagent/src/main/java/sun/tools/attach/HotSpotVirtualMachine.java class HotSpotVirtualMachine (line 41) | public abstract class HotSpotVirtualMachine extends VirtualMachine { method HotSpotVirtualMachine (line 43) | HotSpotVirtualMachine(AttachProvider provider, String id) { method loadAgentLibrary (line 54) | private void loadAgentLibrary(String agentLibrary, boolean isAbsolute,... method loadAgentLibrary (line 75) | @Override method loadAgentPath (line 85) | @Override method loadAgent (line 96) | @Override method getSystemProperties (line 142) | @Override method getAgentProperties (line 155) | @Override method localDataDump (line 171) | public void localDataDump() throws IOException { method remoteDataDump (line 177) | public InputStream remoteDataDump(Object ... args) throws IOException { method dumpHeap (line 183) | public InputStream dumpHeap(Object ... args) throws IOException { method heapHisto (line 188) | public InputStream heapHisto(Object ... args) throws IOException { method setFlag (line 193) | public InputStream setFlag(String name, String value) throws IOExcepti... method printFlag (line 198) | public InputStream printFlag(String name) throws IOException { method executeJCmd (line 202) | public InputStream executeJCmd(String command) throws IOException { method execute (line 213) | abstract InputStream execute(String cmd, Object ... args) method executeCommand (line 219) | private InputStream executeCommand(String cmd, Object ... args) throws... method readInt (line 233) | int readInt(InputStream in) throws IOException { method attachTimeout (line 274) | final long attachTimeout() { FILE: powermock-modules/powermock-module-javaagent/src/main/java/sun/tools/attach/LinuxVirtualMachine.java class LinuxVirtualMachine (line 38) | public class LinuxVirtualMachine extends HotSpotVirtualMachine { method LinuxVirtualMachine (line 55) | public LinuxVirtualMachine(AttachProvider provider, String vmid) method detach (line 132) | @Override method execute (line 150) | @Override class SocketInputStream (line 236) | private class SocketInputStream extends InputStream { method SocketInputStream (line 239) | public SocketInputStream(int s) { method read (line 243) | @Override method read (line 254) | @Override method close (line 265) | @Override method findSocketFile (line 272) | private String findSocketFile(int pid) { method createAttachFile (line 284) | private File createAttachFile(int pid) throws IOException { method writeString (line 301) | private void writeString(int fd, String s) throws IOException { method isLinuxThreads (line 319) | static native boolean isLinuxThreads(); method getLinuxThreadsManager (line 321) | static native int getLinuxThreadsManager(int pid) throws IOException; method sendQuitToChildrenOf (line 323) | static native void sendQuitToChildrenOf(int pid) throws IOException; method sendQuitTo (line 325) | static native void sendQuitTo(int pid) throws IOException; method checkPermissions (line 327) | static native void checkPermissions(String path) throws IOException; method socket (line 329) | static native int socket() throws IOException; method connect (line 331) | static native void connect(int fd, String path) throws IOException; method close (line 333) | static native void close(int fd) throws IOException; method read (line 335) | static native int read(int fd, byte buf[], int off, int bufLen) throws... method write (line 337) | static native void write(int fd, byte buf[], int off, int bufLen) thro... FILE: powermock-modules/powermock-module-javaagent/src/main/java/sun/tools/attach/SolarisVirtualMachine.java class SolarisVirtualMachine (line 39) | public class SolarisVirtualMachine extends HotSpotVirtualMachine { method SolarisVirtualMachine (line 53) | public SolarisVirtualMachine(AttachProvider provider, String vmid) method detach (line 105) | @Override method execute (line 118) | @Override class SocketInputStream (line 164) | private class SocketInputStream extends InputStream { method SocketInputStream (line 167) | public SocketInputStream(int s) { method read (line 171) | @Override method read (line 182) | @Override method close (line 193) | @Override method openDoor (line 200) | private int openDoor(int pid) throws IOException { method createAttachFile (line 219) | private File createAttachFile(int pid) throws IOException { method open (line 234) | static native int open(String path) throws IOException; method close (line 236) | static native void close(int fd) throws IOException; method read (line 238) | static native int read(int fd, byte buf[], int off, int buflen) throws... method checkPermissions (line 240) | static native void checkPermissions(String path) throws IOException; method sigquit (line 242) | static native void sigquit(int pid) throws IOException; method enqueue (line 245) | static native int enqueue(int fd, String cmd, Object ... args) FILE: powermock-modules/powermock-module-javaagent/src/main/java/sun/tools/attach/WindowsVirtualMachine.java class WindowsVirtualMachine (line 35) | public class WindowsVirtualMachine extends HotSpotVirtualMachine { method WindowsVirtualMachine (line 42) | public WindowsVirtualMachine(AttachProvider provider, String id) method detach (line 65) | @Override method execute (line 75) | @Override class PipedInputStream (line 125) | private class PipedInputStream extends InputStream { method PipedInputStream (line 129) | public PipedInputStream(long hPipe) { method read (line 133) | @Override method read (line 144) | @Override method close (line 155) | @Override method init (line 167) | static native void init(); method generateStub (line 169) | static native byte[] generateStub(); method openProcess (line 171) | static native long openProcess(int pid) throws IOException; method closeProcess (line 173) | static native void closeProcess(long hProcess) throws IOException; method createPipe (line 175) | static native long createPipe(String name) throws IOException; method closePipe (line 177) | static native void closePipe(long hPipe) throws IOException; method connectPipe (line 179) | static native void connectPipe(long hPipe) throws IOException; method readPipe (line 181) | static native int readPipe(long hPipe, byte buf[], int off, int buflen... method enqueue (line 183) | static native void enqueue(long hProcess, byte[] stub, FILE: powermock-modules/powermock-module-junit4-common/src/main/java/org/powermock/modules/junit4/common/internal/JUnit4TestSuiteChunker.java type JUnit4TestSuiteChunker (line 24) | public interface JUnit4TestSuiteChunker extends RunnerTestSuiteChunker, ... method getDescription (line 26) | Description getDescription(); method run (line 28) | void run(RunNotifier notifier); FILE: powermock-modules/powermock-module-junit4-common/src/main/java/org/powermock/modules/junit4/common/internal/PowerMockJUnitRunnerDelegate.java type PowerMockJUnitRunnerDelegate (line 21) | public interface PowerMockJUnitRunnerDelegate { method run (line 23) | void run(final RunNotifier notifier); method getDescription (line 25) | Description getDescription(); method getTestCount (line 27) | int getTestCount(); method getTestClass (line 29) | Class getTestClass(); FILE: powermock-modules/powermock-module-junit4-common/src/main/java/org/powermock/modules/junit4/common/internal/impl/AbstractCommonPowerMockRunner.java class AbstractCommonPowerMockRunner (line 30) | public abstract class AbstractCommonPowerMockRunner extends Runner imple... method AbstractCommonPowerMockRunner (line 34) | public AbstractCommonPowerMockRunner(Class klass, method getDescription (line 49) | @Override method run (line 54) | @Override method testCount (line 64) | @Override method filter (line 69) | @Override method sort (line 74) | @Override FILE: powermock-modules/powermock-module-junit4-common/src/main/java/org/powermock/modules/junit4/common/internal/impl/JUnit4TestMethodChecker.java class JUnit4TestMethodChecker (line 29) | public class JUnit4TestMethodChecker { method JUnit4TestMethodChecker (line 33) | public JUnit4TestMethodChecker(Class testClass, Method potentialTes... method isTestMethod (line 38) | public boolean isTestMethod() { method isJUnit4TestMethod (line 42) | protected boolean isJUnit4TestMethod() {return potentialTestMethod.isA... method isJUnit3TestMethod (line 44) | protected boolean isJUnit3TestMethod() { FILE: powermock-modules/powermock-module-junit4-common/src/main/java/org/powermock/modules/junit4/common/internal/impl/JUnit4TestSuiteChunkerImpl.java class JUnit4TestSuiteChunkerImpl (line 47) | public class JUnit4TestSuiteChunkerImpl extends AbstractTestSuiteChunker... method JUnit4TestSuiteChunkerImpl (line 56) | JUnit4TestSuiteChunkerImpl(Class testClass, Class klass) throws Exception { FILE: powermock-modules/powermock-module-junit4-legacy/src/main/java/org/powermock/modules/junit4/legacy/internal/impl/PowerMockJUnit4LegacyFilter.java class PowerMockJUnit4LegacyFilter (line 28) | public class PowerMockJUnit4LegacyFilter extends Filter { method PowerMockJUnit4LegacyFilter (line 32) | public PowerMockJUnit4LegacyFilter(String[] methodNamesToRun) { method describe (line 36) | @Override method shouldRun (line 41) | @Override method extractMethodName (line 53) | private String extractMethodName(Description description) { FILE: powermock-modules/powermock-module-junit4-legacy/src/main/java/org/powermock/modules/junit4/legacy/internal/impl/PowerMockJUnit4LegacyRunnerDelegateImpl.java class PowerMockJUnit4LegacyRunnerDelegateImpl (line 44) | public class PowerMockJUnit4LegacyRunnerDelegateImpl extends TestClassRu... method PowerMockJUnit4LegacyRunnerDelegateImpl (line 48) | public PowerMockJUnit4LegacyRunnerDelegateImpl(Class klass, String[... method PowerMockJUnit4LegacyRunnerDelegateImpl (line 57) | public PowerMockJUnit4LegacyRunnerDelegateImpl(Class klass, String[... method run (line 62) | @Override method getTestCount (line 88) | public int getTestCount() { method getTestClass (line 92) | @Override FILE: powermock-modules/powermock-module-junit4-legacy/src/main/java/org/powermock/modules/junit4/legacy/internal/impl/testcaseworkaround/PowerMockJUnit4LegacyTestClassMethodsRunner.java class PowerMockJUnit4LegacyTestClassMethodsRunner (line 25) | public class PowerMockJUnit4LegacyTestClassMethodsRunner extends TestCla... method PowerMockJUnit4LegacyTestClassMethodsRunner (line 29) | @SuppressWarnings("unchecked") method getAdditionalTestMethods (line 37) | private List getAdditionalTestMethods(Class klass) { method isAdditionalTestMethod (line 56) | private boolean isAdditionalTestMethod(Method method) { method createMethodRunner (line 61) | @Override method run (line 66) | @SuppressWarnings("unchecked") FILE: powermock-modules/powermock-module-junit4-legacy/src/main/java/org/powermock/modules/junit4/legacy/internal/impl/testcaseworkaround/PowerMockJUnit4LegacyTestIntrospector.java class PowerMockJUnit4LegacyTestIntrospector (line 15) | public class PowerMockJUnit4LegacyTestIntrospector extends TestIntrospec... method PowerMockJUnit4LegacyTestIntrospector (line 19) | public PowerMockJUnit4LegacyTestIntrospector(Class testClass) { method getTimeout (line 23) | @SuppressWarnings("all") method expectedException (line 30) | @SuppressWarnings("all") FILE: powermock-modules/powermock-module-junit4-legacy/src/main/java/org/powermock/modules/junit4/legacy/internal/impl/testcaseworkaround/PowerMockJUnit4LegacyTestMethodRunner.java class PowerMockJUnit4LegacyTestMethodRunner (line 25) | public class PowerMockJUnit4LegacyTestMethodRunner extends TestMethodRun... method PowerMockJUnit4LegacyTestMethodRunner (line 35) | public PowerMockJUnit4LegacyTestMethodRunner(Object test, Method metho... method run (line 47) | @Override method executeMethodInTestInstance (line 84) | private void executeMethodInTestInstance(String methodName) { method runUnprotected (line 100) | @Override method isUnexpected (line 120) | private boolean isUnexpected(Throwable exception) { method expectsException (line 124) | private boolean expectsException() { method expectedException (line 128) | private Class expectedException() { FILE: powermock-modules/powermock-module-junit4-rule-agent/src/main/java/org/powermock/modules/junit4/rule/PowerMockRule.java class PowerMockRule (line 35) | public class PowerMockRule implements MethodRule { method apply (line 43) | @Override class PowerMockStatement (line 53) | class PowerMockStatement extends Statement { method PowerMockStatement (line 60) | public PowerMockStatement(Statement base, Object target, JavaAgentClas... method evaluate (line 67) | @Override method clearFrameworkAgentClassRegister (line 82) | private void clearFrameworkAgentClassRegister() { method setFrameworkAgentClassRegister (line 87) | private void setFrameworkAgentClassRegister() { method loadAnnotationEnableIfPresent (line 91) | private Object loadAnnotationEnableIfPresent() { method hasAnnotationEnablerClass (line 104) | private boolean hasAnnotationEnablerClass() { method clearMockFields (line 113) | private void clearMockFields(Object target, Object annotationEnabler) ... method injectMocksUsingAnnotationEnabler (line 123) | private void injectMocksUsingAnnotationEnabler(Object target, Object a... FILE: powermock-modules/powermock-module-junit4-rule/src/main/java/org/powermock/modules/junit4/rule/PowerMockRule.java class PowerMockRule (line 31) | public class PowerMockRule implements MethodRule { method apply (line 39) | @Override method isNotRuleInitialized (line 47) | protected boolean isNotRuleInitialized(Object target) {return testSuit... method init (line 49) | protected void init(Object target) { class PowerMockStatement (line 62) | class PowerMockStatement extends Statement { method PowerMockStatement (line 67) | public PowerMockStatement(Statement fNext, TestChunk testChunk, MockPo... method evaluate (line 73) | @Override FILE: powermock-modules/powermock-module-junit4-rule/src/main/java/org/powermock/modules/junit4/rule/PowerMockRuleTestSuiteChunker.java class PowerMockRuleTestSuiteChunker (line 28) | public class PowerMockRuleTestSuiteChunker extends AbstractCommonTestSui... method PowerMockRuleTestSuiteChunker (line 30) | public PowerMockRuleTestSuiteChunker(Class testClass) throws Exception { method shouldExecuteTestForMethod (line 34) | @Override FILE: powermock-modules/powermock-module-junit4/src/main/java/org/powermock/modules/junit4/PowerMockRunner.java class PowerMockRunner (line 31) | public class PowerMockRunner extends AbstractCommonPowerMockRunner { method PowerMockRunner (line 33) | public PowerMockRunner(Class klass) throws Exception { method getRunnerDelegateImplClass (line 37) | private static Class getRunner... method run (line 55) | @Override FILE: powermock-modules/powermock-module-junit4/src/main/java/org/powermock/modules/junit4/PowerMockRunnerDelegate.java class DefaultJUnitRunner (line 46) | public final class DefaultJUnitRunner extends Runner { method DefaultJUnitRunner (line 50) | public DefaultJUnitRunner(Class testClass) throws Throwable { method createDefaultRunner (line 54) | private static Runner createDefaultRunner(Class testClass) method getDescription (line 75) | @Override method run (line 80) | @Override class SinceJUnit_4_5 (line 92) | public class SinceJUnit_4_5 { method createRunnerDelegate (line 93) | static Runner createRunnerDelegate(Class testClass) throws Initiali... method runnerAlternativeConstructorParams (line 96) | public static Class[] runnerAlternativeConstructorParams() { method newRunnerBuilder (line 99) | public static Object newRunnerBuilder() { FILE: powermock-modules/powermock-module-junit4/src/main/java/org/powermock/modules/junit4/internal/impl/DelegatingPowerMockRunner.java class DelegatingPowerMockRunner (line 42) | public class DelegatingPowerMockRunner extends Runner method DelegatingPowerMockRunner (line 51) | public DelegatingPowerMockRunner(Class klass) throws Throwable { method DelegatingPowerMockRunner (line 55) | public DelegatingPowerMockRunner(Class klass, String[] methodsToRun) method DelegatingPowerMockRunner (line 60) | public DelegatingPowerMockRunner( method determineTestMethods (line 70) | private static Method[] determineTestMethods( method createDelegate (line 90) | private static Runner createDelegate(final Class testClass) method withContextClassLoader (line 126) | private static T withContextClassLoader( method run (line 138) | @Override method getDescription (line 162) | @Override method getTestCount (line 167) | @Override method getTestClass (line 172) | @Override method filter (line 177) | @Override FILE: powermock-modules/powermock-module-junit4/src/main/java/org/powermock/modules/junit4/internal/impl/NotificationBuilder.java class NotificationBuilder (line 38) | class NotificationBuilder { type DetectedTestRunBehaviour (line 40) | enum DetectedTestRunBehaviour { method get (line 65) | @Override class OngoingTestRun (line 77) | private class OngoingTestRun implements TestMethodResult { method OngoingTestRun (line 83) | OngoingTestRun(Description testDescription, Object testInstance) { method testClass (line 95) | final Class testClass() { method report (line 108) | void report(Result result) { method getResult (line 125) | @Override method NotificationBuilder (line 131) | public NotificationBuilder(Method[] testMethods, method determineTestMethod (line 139) | private Method determineTestMethod(Description d) { method reloadParamType (line 164) | private Class reloadParamType( method reloadMethod (line 189) | private Method reloadMethod(Class testClass, Method m) { method testSuiteStarted (line 207) | void testSuiteStarted(Class testClass) { method testStartHasBeenFired (line 215) | void testStartHasBeenFired(Description d) { method testInstanceCreated (line 245) | void testInstanceCreated(Object newTestInstance) { method testIgnored (line 276) | void testIgnored(Description d) { method assumptionFailed (line 288) | void assumptionFailed(Description d) { method failure (line 292) | void failure(Failure f) { method testFinished (line 296) | void testFinished(Description d) { method notify (line 304) | private boolean notify(Description d, Result result) { FILE: powermock-modules/powermock-module-junit4/src/main/java/org/powermock/modules/junit4/internal/impl/PowerMockJUnit44RunnerDelegateImpl.java class PowerMockJUnit44RunnerDelegateImpl (line 76) | @SuppressWarnings("deprecation") method PowerMockJUnit44RunnerDelegateImpl (line 82) | public PowerMockJUnit44RunnerDelegateImpl(Class klass, String[] met... method PowerMockJUnit44RunnerDelegateImpl (line 89) | public PowerMockJUnit44RunnerDelegateImpl(Class klass, String[] met... method PowerMockJUnit44RunnerDelegateImpl (line 93) | public PowerMockJUnit44RunnerDelegateImpl(Class klass) throws Initi... method getTestMethods (line 97) | @SuppressWarnings("unchecked") method validate (line 121) | protected final void validate() throws InitializationError { method run (line 129) | @Override method runMethods (line 139) | protected void runMethods(final RunNotifier notifier) { method getDescription (line 164) | @Override method classAnnotations (line 173) | protected Annotation[] classAnnotations() { method getName (line 177) | protected String getName() { method createTest (line 181) | protected Object createTest() throws Exception { method createTestInstance (line 185) | private Object createTestInstance() throws InstantiationException, Ill... method invokeTestMethod (line 200) | protected void invokeTestMethod(final Method method, RunNotifier notif... method createPowerMockRunner (line 221) | protected PowerMockJUnit44MethodRunner createPowerMockRunner(final Obj... method testAborted (line 226) | private void testAborted(RunNotifier notifier, Description description... method wrapMethod (line 232) | protected TestMethod wrapMethod(Method method) { method testName (line 236) | protected String testName(Method method) { method methodDescription (line 240) | protected Description methodDescription(Method method) { method testAnnotations (line 244) | protected Annotation[] testAnnotations(Method method) { method filter (line 248) | @Override method sort (line 259) | @Override method getTestWrappedClass (line 269) | protected TestClass getTestWrappedClass() { method getTestCount (line 273) | @Override method getTestClass (line 278) | @Override class PowerMockJUnit44MethodRunner (line 283) | protected class PowerMockJUnit44MethodRunner extends MethodRoadie { method PowerMockJUnit44MethodRunner (line 288) | protected PowerMockJUnit44MethodRunner(Object testInstance, TestMeth... method runBeforesThenTestThenAfters (line 296) | @Override method executeTest (line 301) | public void executeTest(final Method method, final Object testInstan... method runTestMethod (line 316) | @Override method handleInvocationTargetException (line 348) | private void handleInvocationTargetException(final TestMethod testMe... method handleException (line 356) | protected void handleException(final TestMethod testMethod, Throwabl... method getExpectedExceptionName (line 388) | @SuppressWarnings("unchecked") FILE: powermock-modules/powermock-module-junit4/src/main/java/org/powermock/modules/junit4/internal/impl/PowerMockJUnit47RunnerDelegateImpl.java class PowerMockJUnit47RunnerDelegateImpl (line 37) | @SuppressWarnings("deprecation") method PowerMockJUnit47RunnerDelegateImpl (line 41) | public PowerMockJUnit47RunnerDelegateImpl(Class klass, String[] met... method PowerMockJUnit47RunnerDelegateImpl (line 45) | public PowerMockJUnit47RunnerDelegateImpl(Class klass, String[] met... method PowerMockJUnit47RunnerDelegateImpl (line 49) | public PowerMockJUnit47RunnerDelegateImpl(Class klass) throws Initi... method createPowerMockRunner (line 53) | @Override class PowerMockJUnit47MethodRunner (line 59) | protected class PowerMockJUnit47MethodRunner extends PowerMockJUnit44M... method PowerMockJUnit47MethodRunner (line 63) | protected PowerMockJUnit47MethodRunner(Object testInstance, TestMeth... method executeTest (line 68) | @Override method createStatement (line 85) | private Statement createStatement(Method method, Object testInstance... method applyRuleToLastStatement (line 98) | protected Statement applyRuleToLastStatement(final Method method, fi... method evaluateStatement (line 105) | private void evaluateStatement(Statement statement) { method handleException (line 121) | @Override method executeTestInSuper (line 130) | private void executeTestInSuper(final Method method, final Object te... class TestExecutorStatement (line 134) | private final class TestExecutorStatement extends Statement { method TestExecutorStatement (line 139) | private TestExecutorStatement(Runnable test, Object testInstance, ... method evaluate (line 145) | @Override FILE: powermock-modules/powermock-module-junit4/src/main/java/org/powermock/modules/junit4/internal/impl/PowerMockJUnit49RunnerDelegateImpl.java class PowerMockJUnit49RunnerDelegateImpl (line 21) | @SuppressWarnings( "deprecation" ) method PowerMockJUnit49RunnerDelegateImpl (line 24) | public PowerMockJUnit49RunnerDelegateImpl( Class klass, String[] me... method PowerMockJUnit49RunnerDelegateImpl (line 28) | public PowerMockJUnit49RunnerDelegateImpl( Class klass, String[] me... method PowerMockJUnit49RunnerDelegateImpl (line 32) | public PowerMockJUnit49RunnerDelegateImpl( Class klass ) throws Ini... method createPowerMockRunner (line 36) | @Override class PowerMockJUnit49MethodRunner (line 45) | protected class PowerMockJUnit49MethodRunner extends PowerMockJUnit47M... method PowerMockJUnit49MethodRunner (line 49) | protected PowerMockJUnit49MethodRunner( Object testInstance, method applyRuleToLastStatement (line 58) | @Override FILE: powermock-modules/powermock-module-junit4/src/main/java/org/powermock/modules/junit4/internal/impl/PowerMockRunNotifier.java class PowerMockRunNotifier (line 40) | class PowerMockRunNotifier extends RunNotifier method initialValue (line 52) | @Override method PowerMockRunNotifier (line 61) | PowerMockRunNotifier( method getSuiteClass (line 70) | Class getSuiteClass() { method suiteClassInitiated (line 74) | @Override method testInstanceCreated (line 80) | @Override method addListener (line 88) | @Override method removeListener (line 93) | @Override method fireTestRunStarted (line 98) | @Override method fireTestRunFinished (line 103) | @Override method fireTestStarted (line 108) | @Override method fireTestFailure (line 115) | @Override method fireTestAssumptionFailed (line 121) | @Override method fireTestIgnored (line 127) | @Override method fireTestFinished (line 133) | @Override method pleaseStop (line 144) | @Override method addFirstListener (line 149) | @Override method invoke (line 154) | private void invoke(String methodName, Object... args) { FILE: powermock-modules/powermock-module-junit4/src/main/java/org/powermock/modules/junit4/internal/impl/testcaseworkaround/PowerMockJUnit4MethodValidator.java class PowerMockJUnit4MethodValidator (line 40) | @SuppressWarnings("deprecation") method PowerMockJUnit4MethodValidator (line 60) | public PowerMockJUnit4MethodValidator(TestClass testClass) { method validateInstanceMethods (line 64) | @SuppressWarnings("unchecked") method getTestMethods (line 80) | private List getTestMethods(TestClass testClass, Class clas... method validateTestMethods (line 95) | @SuppressWarnings("unchecked") method getTestMethodsWithNoAnnotation (line 123) | private List getTestMethodsWithNoAnnotation(Class testClass) { FILE: powermock-modules/powermock-module-junit4/src/test/java/org/powermock/modules/junit4/internal/impl/PowerMockRunNotifierTest.java class PowerMockRunNotifierTest (line 37) | @RunWith(Parameterized.class) method runNotifierMethods (line 60) | @Parameterized.Parameters(name = "{0}") method verifyBackendRunNotifierIsProperlyNotified (line 71) | @Test method retrieveSuitableTestData (line 85) | private Object[] retrieveSuitableTestData() { FILE: powermock-modules/powermock-module-testng-agent/src/main/java/org/powermock/modules/testng/PowerMockObjectFactory.java class PowerMockObjectFactory (line 30) | public class PowerMockObjectFactory implements IObjectFactory { method PowerMockObjectFactory (line 41) | public PowerMockObjectFactory() { method newInstance (line 45) | @Override FILE: powermock-modules/powermock-module-testng-common/src/main/java/org/powermock/modules/testng/PowerMockTestCase.java class PowerMockTestCase (line 38) | public class PowerMockTestCase { method PowerMockTestCase (line 44) | public PowerMockTestCase() { method beforePowerMockTestClass (line 53) | @BeforeClass method afterPowerMockTestClass (line 64) | @AfterClass method beforePowerMockTestMethod (line 83) | @BeforeMethod method afterPowerMockTestMethod (line 97) | @AfterMethod method create (line 110) | @ObjectFactory method clearMockFields (line 122) | private void clearMockFields() throws Exception { method injectMocks (line 133) | private void injectMocks() throws Exception { method isLoadedByPowerMockClassloader (line 140) | private boolean isLoadedByPowerMockClassloader() { FILE: powermock-modules/powermock-module-testng/src/main/java/org/powermock/modules/testng/PowerMockObjectFactory.java class PowerMockObjectFactory (line 32) | public class PowerMockObjectFactory implements IObjectFactory { method newInstance (line 38) | @Override method hasPowerMockAnnotation (line 52) | private boolean hasPowerMockAnnotation(Class testClass) { method anyMethodInClassHasPowerMockAnnotation (line 56) | private boolean anyMethodInClassHasPowerMockAnnotation(Class testCl... method isClassAnnotatedWithPowerMockAnnotation (line 66) | private boolean isClassAnnotatedWithPowerMockAnnotation(Class testC... FILE: powermock-modules/powermock-module-testng/src/main/java/org/powermock/modules/testng/internal/Assumes.java class Assumes (line 25) | public class Assumes { method assumeTrue (line 27) | public static void assumeTrue(String reason, boolean assertion) { FILE: powermock-modules/powermock-module-testng/src/main/java/org/powermock/modules/testng/internal/PowerMockClassloaderObjectFactory.java class PowerMockClassloaderObjectFactory (line 24) | public class PowerMockClassloaderObjectFactory implements IObjectFactory { method PowerMockClassloaderObjectFactory (line 28) | public PowerMockClassloaderObjectFactory() { method newInstance (line 32) | @Override FILE: powermock-modules/powermock-module-testng/src/main/java/org/powermock/modules/testng/internal/PowerMockExpectedExceptionsExtractorImpl.java class PowerMockExpectedExceptionsExtractorImpl (line 27) | public class PowerMockExpectedExceptionsExtractorImpl implements IgnoreP... method getPackagesToIgnore (line 29) | public String[] getPackagesToIgnore(AnnotatedElement element) { FILE: powermock-modules/powermock-module-testng/src/main/java/org/powermock/modules/testng/internal/PowerMockTestNGMethodHandler.java class PowerMockTestNGMethodHandler (line 33) | public class PowerMockTestNGMethodHandler implements MethodHandler { method PowerMockTestNGMethodHandler (line 37) | public PowerMockTestNGMethodHandler(Class testClass) { method invoke (line 46) | @Override method clearMockFields (line 64) | private void clearMockFields() throws Exception, IllegalAccessException { method injectMocksUsingAnnotationEnabler (line 74) | private void injectMocksUsingAnnotationEnabler(Object self) throws Exc... FILE: powermock-modules/powermock-module-testng/src/main/java/org/powermock/modules/testng/internal/TestClassInstanceFactory.java class TestClassInstanceFactory (line 27) | class TestClassInstanceFactory { method TestClassInstanceFactory (line 33) | TestClassInstanceFactory(Constructor constructor, TestNGMockClassLoade... method create (line 40) | Object create() { method initializeMockPolicy (line 60) | private void initializeMockPolicy() {new MockPolicyInitializerImpl(tes... method createTestClass (line 68) | private Class createTestClass(Class actualTestClass) throws Exce... method createProxyTestClass (line 79) | private Class createProxyTestClass(Class testClassLoadedByMocked... method setInvocationHandler (line 91) | private void setInvocationHandler(Object testInstance) throws Exception { method extendsPowerMockTestCase (line 99) | private boolean extendsPowerMockTestCase(Class actualTestClass) { FILE: powermock-modules/powermock-module-testng/src/main/java/org/powermock/modules/testng/internal/TestNGMethodFilter.java class TestNGMethodFilter (line 27) | public class TestNGMethodFilter implements MethodFilter { method isHandled (line 28) | @Override method isEquals (line 33) | private boolean isEquals(Method method) { method isFinalize (line 37) | private boolean isFinalize(Method method) { method isHashCode (line 41) | private boolean isHashCode(Method method) { method isToString (line 45) | private boolean isToString(Method method) { method isZeroArgumentMethod (line 49) | private boolean isZeroArgumentMethod(Method method) { method hasArgumentLength (line 53) | private boolean hasArgumentLength(Method method, int length) { method isOneArgumentMethodOfType (line 57) | private boolean isOneArgumentMethodOfType(Method method, Class type) { FILE: powermock-modules/powermock-module-testng/src/main/java/org/powermock/modules/testng/internal/TestNGMockClassLoaderFactory.java class TestNGMockClassLoaderFactory (line 26) | class TestNGMockClassLoaderFactory { method TestNGMockClassLoaderFactory (line 32) | TestNGMockClassLoaderFactory() { method createClassLoader (line 39) | ClassLoader createClassLoader(Class testClass) { FILE: powermock-reflect/src/main/java/org/powermock/reflect/Whitebox.java class Whitebox (line 35) | public class Whitebox { method getField (line 53) | public static Field getField(Class type, String fieldName) { method getFields (line 68) | public static Field[] getFields(Class clazz, String... fieldNames) { method getMethod (line 93) | public static Method getMethod(Class type, String methodName, Class... method getMethod (line 120) | public static Method getMethod(Class type, Class... parameterTyp... method newInstance (line 138) | public static T newInstance(Class classToInstantiate) { method getConstructor (line 157) | public static Constructor getConstructor(Class type, Class fieldType,... method setInternalState (line 275) | public static void setInternalState(Object object, Class fieldType,... method getInternalState (line 291) | public static T getInternalState(Object object, String fieldName) { method getInternalState (line 307) | public static T getInternalState(Object object, String fieldName, ... method getInternalState (line 330) | @Deprecated method getInternalState (line 346) | public static T getInternalState(Object object, Class fieldType) { method getInternalState (line 366) | public static T getInternalState(Object object, Class fieldType... method invokeMethod (line 379) | public static synchronized T invokeMethod(Object instance, Object.... method invokeMethod (line 391) | public static synchronized T invokeMethod(Class klass, Object..... method invokeMethod (line 399) | public static synchronized T invokeMethod(Object instance, String ... method invokeMethod (line 413) | public static synchronized T invokeMethod(Object instance, String ... method invokeMethod (line 428) | public static synchronized T invokeMethod(Object instance, String ... method invokeMethod (line 440) | public static synchronized T invokeMethod(Object instance, Class T invokeMethod(Object object, Class ... method invokeMethod (line 464) | public static synchronized T invokeMethod(Class clazz, String m... method invokeConstructor (line 495) | public static T invokeConstructor(Class classThatContainsTheCon... method invokeConstructor (line 509) | public static T invokeConstructor(Class classThatContainsTheCon... method getFirstParentConstructor (line 523) | public static Constructor getFirstParentConstructor(Class klass) { method getMethods (line 539) | public static Method[] getMethods(Class clazz, String... methodName... method getType (line 546) | public static Class getType(Object object) { method getUnproxyType (line 556) | public static Class getUnproxyType(Object object) { method getFieldsAnnotatedWith (line 576) | public static Set getFieldsAnnotatedWith(Object object, Class getFieldsAnnotatedWith(Object object, Class getAllInstanceFields(Object object) { method getAllStaticFields (line 620) | public static Set getAllStaticFields(Class type) { method getFieldsOfType (line 636) | public static Set getFieldsOfType(Object object, Class type) { method getInnerClassType (line 649) | public static Class getInnerClassType(Class declaringClass,... method getLocalClassType (line 667) | public static Class getLocalClassType(Class declaringClass,... method getAnonymousInnerClassType (line 685) | public static Class getAnonymousInnerClassType(Class declar... method setInternalStateFromContext (line 733) | public static void setInternalStateFromContext(Object instance, Object... method setInternalStateFromContext (line 778) | public static void setInternalStateFromContext(Object classOrInstance,... method setInternalStateFromContext (line 821) | public static void setInternalStateFromContext(Object instance, Object... method setInternalStateFromContext (line 864) | public static void setInternalStateFromContext(Object instance, Class<... FILE: powermock-reflect/src/main/java/org/powermock/reflect/exceptions/ConstructorNotFoundException.java class ConstructorNotFoundException (line 22) | public class ConstructorNotFoundException extends RuntimeException { method ConstructorNotFoundException (line 34) | public ConstructorNotFoundException(String message) { method ConstructorNotFoundException (line 54) | public ConstructorNotFoundException(String message, Throwable cause) { FILE: powermock-reflect/src/main/java/org/powermock/reflect/exceptions/FieldNotFoundException.java class FieldNotFoundException (line 22) | public class FieldNotFoundException extends RuntimeException { method FieldNotFoundException (line 34) | public FieldNotFoundException(String message) { FILE: powermock-reflect/src/main/java/org/powermock/reflect/exceptions/MethodInvocationException.java class MethodInvocationException (line 22) | public class MethodInvocationException extends RuntimeException { method MethodInvocationException (line 34) | public MethodInvocationException(String message) { method MethodInvocationException (line 54) | public MethodInvocationException(String message, Throwable cause) { method MethodInvocationException (line 72) | public MethodInvocationException(Throwable cause) { FILE: powermock-reflect/src/main/java/org/powermock/reflect/exceptions/MethodNotFoundException.java class MethodNotFoundException (line 22) | public class MethodNotFoundException extends RuntimeException { method MethodNotFoundException (line 34) | public MethodNotFoundException(String message) { FILE: powermock-reflect/src/main/java/org/powermock/reflect/exceptions/TooManyConstructorsFoundException.java class TooManyConstructorsFoundException (line 22) | public class TooManyConstructorsFoundException extends RuntimeException { method TooManyConstructorsFoundException (line 35) | public TooManyConstructorsFoundException(String message) { FILE: powermock-reflect/src/main/java/org/powermock/reflect/exceptions/TooManyFieldsFoundException.java class TooManyFieldsFoundException (line 22) | public class TooManyFieldsFoundException extends RuntimeException { method TooManyFieldsFoundException (line 34) | public TooManyFieldsFoundException(String message) { FILE: powermock-reflect/src/main/java/org/powermock/reflect/exceptions/TooManyMethodsFoundException.java class TooManyMethodsFoundException (line 22) | public class TooManyMethodsFoundException extends RuntimeException { method TooManyMethodsFoundException (line 34) | public TooManyMethodsFoundException(String message) { FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/CandidateConstructorSearcher.java class CandidateConstructorSearcher (line 30) | class CandidateConstructorSearcher { method CandidateConstructorSearcher (line 34) | public CandidateConstructorSearcher(Class classThatContainsTheConst... method findConstructor (line 40) | public Constructor findConstructor() { method findBestCandidate (line 53) | private Constructor findBestCandidate(Constructor[] constructors) { method getConstructors (line 59) | @SuppressWarnings("unchecked") method argumentsApplied (line 77) | private boolean argumentsApplied(Constructor constructor) { FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/Constructor.java class Constructor (line 3) | class Constructor { method Constructor (line 9) | Constructor(java.lang.reflect.Constructor constructor) { method canBeInvokeWith (line 15) | boolean canBeInvokeWith(Object[] arguments) { method getJavaConstructor (line 19) | public java.lang.reflect.Constructor getJavaConstructor() { method isVarArg (line 23) | public boolean isVarArg() { FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/ConstructorFinder.java class ConstructorFinder (line 10) | class ConstructorFinder { method ConstructorFinder (line 16) | ConstructorFinder(Class type, Object... arguments) { method findConstructor (line 30) | public java.lang.reflect.Constructor findConstructor() { method lookupPotentialConstructor (line 36) | private void lookupPotentialConstructor() {Set constructo... method isVarArgConstructorFound (line 54) | private boolean isVarArgConstructorFound() {return potentialConstructo... method setPotentialConstructor (line 56) | private void setPotentialConstructor(Constructor constructor) { method throwExceptionWhenMultipleConstructorMatchesFound (line 72) | public void throwExceptionWhenMultipleConstructorMatchesFound(java.lan... method addArgumentForNestedClass (line 92) | private void addArgumentForNestedClass() { method isNestedClass (line 99) | private boolean isNestedClass() { method getDeclaredConstructorsWithoutPowerMockConstructor (line 104) | private Set getDeclaredConstructorsWithoutPowerMockConstr... method isPowerMockConstructor (line 114) | private boolean isPowerMockConstructor(Class[] parameterTypes) { method throwExceptionIfConstructorWasNotFound (line 120) | private void throwExceptionIfConstructorWasNotFound() { FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/ParameterTypesMatcher.java class ParameterTypesMatcher (line 23) | class ParameterTypesMatcher { method ParameterTypesMatcher (line 28) | public ParameterTypesMatcher(boolean isVarArgs, Class[] expectedPar... method isRemainParamsVarArgs (line 34) | private boolean isRemainParamsVarArgs(int index, Class actualParame... method isParameterTypesNotMatch (line 39) | private boolean isParameterTypesNotMatch(Class actualParameterType,... method match (line 49) | public boolean match() { method isParametersLengthMatch (line 58) | private boolean isParametersLengthMatch() {return expectedParameterTyp... method assertParametersTypesNotNull (line 60) | private void assertParametersTypesNotNull() { method isParametersMatch (line 66) | private Boolean isParametersMatch() { FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/ParametersMatcher.java class ParametersMatcher (line 6) | class ParametersMatcher { method ParametersMatcher (line 11) | public ParametersMatcher(boolean isVarArgs, Class[] parameterTypes,... method match (line 17) | public boolean match() { method checkArgumentTypesMatchParameterTypes (line 30) | boolean checkArgumentTypesMatchParameterTypes(boolean isVarArgs, Class... method doesParameterTypesMatchForVarArgsInvocation (line 72) | boolean doesParameterTypesMatchForVarArgsInvocation(Object[] arguments) { FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/TypeUtils.java class TypeUtils (line 21) | public class TypeUtils { method getDefaultValue (line 30) | public static Object getDefaultValue(Class type) { method getDefaultValue (line 41) | public static Object getDefaultValue(String fullyQualifiedTypeName) { method getDefaultValueAsString (line 72) | public static String getDefaultValueAsString(String fullyQualifiedType... FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/WhiteboxImpl.java class WhiteboxImpl (line 69) | public class WhiteboxImpl { method getMethod (line 98) | public static Method getMethod(Class type, Class... parameterTyp... method getMethod (line 159) | public static Method getMethod(Class type, String methodName, Class... method getField (line 199) | @SuppressWarnings({"unchecked", "rawtypes"}) method newInstance (line 240) | @SuppressWarnings("unchecked") method getConstructor (line 277) | public static Constructor getConstructor(Class type, Class...... method setInternalState (line 303) | public static void setInternalState(Object object, String fieldName, O... method setInternalState (line 317) | public static void setInternalState(Object object, String fieldName, O... method setInternalState (line 330) | public static void setInternalState(Object object, Class fieldType,... method setInternalState (line 344) | public static void setInternalState(Object object, Object value, Objec... method setInternalState (line 367) | public static void setInternalState(Object object, Object value, Class... method setInternalState (line 381) | public static void setInternalState(Object object, Class fieldType,... method setInternalState (line 400) | public static void setInternalState(Object object, String fieldName, O... method getInternalState (line 425) | @SuppressWarnings("unchecked") method findFieldInHierarchy (line 442) | private static Field findFieldInHierarchy(Object object, String fieldN... method findFieldInHierarchy (line 453) | private static Field findFieldInHierarchy(Object object, FieldMatcherS... method findField (line 466) | private static Field findField(Object object, FieldMatcherStrategy str... method findSingleFieldUsingStrategy (line 479) | private static Field findSingleFieldUsingStrategy(FieldMatcherStrategy... method findAllFieldsUsingStrategy (line 518) | private static Set findAllFieldsUsingStrategy(FieldMatcherStrat... method hasFieldProperModifier (line 554) | private static boolean hasFieldProperModifier(Object object, Field fie... method getInternalState (line 574) | @SuppressWarnings("unchecked") method getInternalState (line 596) | @SuppressWarnings("unchecked") method getInternalState (line 621) | @SuppressWarnings("unchecked") method invokeMethod (line 653) | @SuppressWarnings("unchecked") method invokeMethod (line 671) | @SuppressWarnings("unchecked") method invokeMethod (line 687) | @SuppressWarnings("unchecked") method invokeMethod (line 707) | @SuppressWarnings("unchecked") method invokeMethod (line 734) | @SuppressWarnings("unchecked") method invokeMethod (line 756) | @SuppressWarnings("unchecked") method invokeMethod (line 779) | @SuppressWarnings("unchecked") method invokeMethod (line 802) | @SuppressWarnings("unchecked") method doInvokeMethod (line 819) | @SuppressWarnings("unchecked") method findMethodOrThrowException (line 843) | public static Method findMethodOrThrowException(Object tested, Class toBoxedIfPrimitive(Class type) { method getTypes (line 984) | private static Class[] getTypes(Object[] arguments) { method getBestMethodCandidate (line 1005) | public static Method getBestMethodCandidate(Class cls, String metho... method findDefaultConstructorOrThrowException (line 1027) | public static Constructor findDefaultConstructorOrThrowException(Cl... method findConstructorOrThrowException (line 1050) | public static Constructor findConstructorOrThrowException(Class ... method filterPowerMockConstructor (line 1064) | static Constructor[] filterPowerMockConstructor(Constructor[] de... method findUniqueConstructorOrThrowException (line 1090) | public static Constructor findUniqueConstructorOrThrowException(Cla... method convertArgumentTypesToPrimitive (line 1101) | private static Class[] convertArgumentTypesToPrimitive(Class[] p... method throwExceptionIfMethodWasNotFound (line 1128) | public static void throwExceptionIfMethodWasNotFound(Class type, St... method throwExceptionIfFieldWasNotFound (line 1148) | public static void throwExceptionIfFieldWasNotFound(Class type, Str... method throwExceptionIfConstructorWasNotFound (line 1162) | static void throwExceptionIfConstructorWasNotFound(Class type, Cons... method getArgumentTypesAsString (line 1177) | static String getArgumentTypesAsString(Object... arguments) { method appendArgument (line 1220) | private static void appendArgument(StringBuilder argumentsAsString, in... method invokeConstructor (line 1256) | public static T invokeConstructor(Class classThatContainsTheCon... method invokeConstructor (line 1284) | public static T invokeConstructor(Class classThatContainsTheCon... method getBestCandidateConstructor (line 1308) | private static Constructor getBestCandidateConstructor(Class... method getPotentialConstructorWrapped (line 1336) | private static Constructor getPotentialConstructorWrapped(Class... method getPotentialConstructorPrimitive (line 1341) | private static Constructor getPotentialConstructorPrimitive(Cla... method argumentTypesEqualsPrimitiveTypes (line 1358) | private static boolean argumentTypesEqualsPrimitiveTypes(Class[] ar... method getPotentialVarArgsConstructor (line 1375) | @SuppressWarnings("unchecked") method createInstance (line 1405) | private static T createInstance(Constructor constructor, Object... method createAndPopulateVarArgsArray (line 1444) | private static Object createAndPopulateVarArgsArray(Class varArgsTy... method getAllConstructors (line 1460) | public static Constructor[] getAllConstructors(Class clazz) { method getAllMethods (line 1477) | public static Method[] getAllMethods(Class clazz) { method doGetAllMethods (line 1488) | private static Method[] doGetAllMethods(Class clazz) { method getAllPublicMethods (line 1525) | private static Method[] getAllPublicMethods(Class clazz) { method getAllFields (line 1545) | public static Field[] getAllFields(Class clazz) { method getFirstParentConstructor (line 1572) | public static Constructor getFirstParentConstructor(Class klass) { method findMethod (line 1594) | public static Method findMethod(Class type, String methodName, ... method getOriginalUnmockedType (line 1655) | public static Class getOriginalUnmockedType(Class type) { method getUnproxiedType (line 1659) | public static UnproxiedType getUnproxiedType(Class type) { method throwExceptionWhenMultipleMethodMatchesFound (line 1669) | static void throwExceptionWhenMultipleMethodMatchesFound(String helpIn... method throwExceptionWhenMultipleConstructorMatchesFound (line 1697) | static void throwExceptionWhenMultipleConstructorMatchesFound(Construc... method findMethodOrThrowException (line 1726) | @SuppressWarnings("all") method getMethods (line 1741) | public static Method[] getMethods(Class clazz, String... methodName... method getMethods (line 1786) | public static Method[] getMethods(Class clazz, String methodName, C... method getFields (line 1816) | public static Field[] getFields(Class clazz, String... fieldNames) { method performMethodInvocation (line 1846) | @SuppressWarnings("unchecked") method getAllMethodExcept (line 1890) | public static Method[] getAllMethodExcept(Class type, String...... method getAllMethodsExcept (line 1914) | public static Method[] getAllMethodsExcept(Class type, String m... method areAllMethodsStatic (line 1949) | public static boolean areAllMethodsStatic(Method... methods) { method areAllArgumentsOfSameType (line 1964) | static boolean areAllArgumentsOfSameType(Object[] arguments) { method checkArgumentTypesMatchParameterTypes (line 2001) | static boolean checkArgumentTypesMatchParameterTypes(boolean isVarArgs... method isAssignableFrom (line 2041) | static boolean isAssignableFrom(Class type, Class from) { method getComponentType (line 2055) | private static Class getComponentType(Class type) { method getType (line 2069) | public static Class getType(Object object) { method getUnproxyType (line 2085) | public static Class getUnproxyType(Object object) { method getInnerClassType (line 2103) | @SuppressWarnings("unchecked") method getLocalClassType (line 2120) | @SuppressWarnings("unchecked") method getAnonymousInnerClassType (line 2138) | @SuppressWarnings("unchecked") method getFieldsAnnotatedWith (line 2157) | @SuppressWarnings("unchecked") method getFieldsAnnotatedWith (line 2182) | public static Set getFieldsAnnotatedWith(Object object, Class getFieldsOfType(Object object, Class type) { method getAllInstanceFields (line 2211) | public static Set getAllInstanceFields(Object object) { method getAllStaticFields (line 2222) | public static Set getAllStaticFields(Class type) { method isClass (line 2232) | public static boolean isClass(Object argument) { method checkIfParameterTypesAreSame (line 2245) | public static boolean checkIfParameterTypesAreSame(boolean isVarArgs, ... method getField (line 2257) | private static Field getField(String fieldName, Class where) { method findFieldOrThrowException (line 2280) | private static Field findFieldOrThrowException(Class fieldType, Cla... method setField (line 2305) | private static void setField(Object object, Object value, Field foundF... method setStaticFieldUsingUnsafe (line 2314) | private static void setStaticFieldUsingUnsafe(final Field field, final... method setFieldUsingUnsafe (line 2345) | private static void setFieldUsingUnsafe(final Field field, final Objec... method getUnsafe (line 2376) | private static Unsafe getUnsafe() throws IllegalArgumentException, Ill... method setFieldUsingUnsafe (line 2383) | private static void setFieldUsingUnsafe(Object base, Class type, long ... method concatenateStrings (line 2411) | private static String concatenateStrings(String... stringsToConcatenat... method isPotentialVarArgsMethod (line 2432) | private static boolean isPotentialVarArgsMethod(Method method, Object[... method doesParameterTypesMatchForVarArgsInvocation (line 2444) | static boolean doesParameterTypesMatchForVarArgsInvocation(boolean isV... method getTypeAsPrimitiveIfWrapped (line 2468) | static Class getTypeAsPrimitiveIfWrapped(Object object) { method setInternalStateFromContext (line 2512) | public static void setInternalStateFromContext(Object object, Object c... method setInternalStateFromContext (line 2521) | public static void setInternalStateFromContext(Object object, Object c... method setInternalStateFromContext (line 2563) | public static void setInternalStateFromContext(Object object, Class... method copyState (line 2579) | static void copyState(Object object, Object context, FieldMatchingStra... method assertObjectInGetInternalStateIsNotNull (line 2610) | private static void assertObjectInGetInternalStateIsNotNull(Object obj... method convertParameterTypesToPrimitive (line 2622) | private static Class[] convertParameterTypesToPrimitive(Class[] ... method copyToMock (line 2635) | public static void copyToMock(T from, T mock) { method copyToRealObject (line 2639) | public static void copyToRealObject(T from, T to) { method copy (line 2643) | private static void copy(T from, T to, Class fromClazz) { method copyValues (line 2650) | private static void copyValues(T from, T mock, Class classFrom) { method copyValue (line 2670) | private static void copyValue(T from, T to, Field field) throws Il... FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/comparator/ComparatorFactory.java class ComparatorFactory (line 31) | public class ComparatorFactory { method ComparatorFactory (line 33) | private ComparatorFactory() { method createConstructorComparator (line 36) | public static Comparator createConstructorComparator(){ method createMethodComparator (line 40) | public static Comparator createMethodComparator(){ class ConstructorComparator (line 45) | public static class ConstructorComparator implements Comparator { method MethodComparator (line 67) | private MethodComparator(ParametersComparator parametersComparator) { method compare (line 72) | @Override class ParametersComparator (line 81) | private static class ParametersComparator implements Comparator{ method compare (line 83) | @Override FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/matcherstrategies/AllFieldsMatcherStrategy.java class AllFieldsMatcherStrategy (line 22) | public class AllFieldsMatcherStrategy extends FieldMatcherStrategy { method matches (line 24) | @Override method notFound (line 29) | @Override FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/matcherstrategies/AssignableFromFieldTypeMatcherStrategy.java class AssignableFromFieldTypeMatcherStrategy (line 23) | public class AssignableFromFieldTypeMatcherStrategy extends FieldTypeMat... method AssignableFromFieldTypeMatcherStrategy (line 27) | public AssignableFromFieldTypeMatcherStrategy(Class fieldType) { method matches (line 32) | @Override method notFound (line 39) | @Override method toString (line 45) | @Override FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/matcherstrategies/AssignableToFieldTypeMatcherStrategy.java class AssignableToFieldTypeMatcherStrategy (line 20) | public class AssignableToFieldTypeMatcherStrategy extends FieldTypeMatch... method AssignableToFieldTypeMatcherStrategy (line 22) | public AssignableToFieldTypeMatcherStrategy(Class fieldType) { method matches (line 26) | @Override FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/matcherstrategies/FieldAnnotationMatcherStrategy.java class FieldAnnotationMatcherStrategy (line 23) | public class FieldAnnotationMatcherStrategy extends FieldMatcherStrategy { method FieldAnnotationMatcherStrategy (line 27) | public FieldAnnotationMatcherStrategy(Class[] an... method matches (line 34) | @Override method notFound (line 44) | @Override method toString (line 50) | @Override method getAnnotationNames (line 55) | private String getAnnotationNames() { FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/matcherstrategies/FieldMatcherStrategy.java class FieldMatcherStrategy (line 25) | public abstract class FieldMatcherStrategy { method matches (line 36) | public abstract boolean matches(Field field); method notFound (line 48) | public abstract void notFound(Class type, boolean isInstanceField) ... FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/matcherstrategies/FieldNameMatcherStrategy.java class FieldNameMatcherStrategy (line 22) | public class FieldNameMatcherStrategy extends FieldMatcherStrategy { method FieldNameMatcherStrategy (line 26) | public FieldNameMatcherStrategy(String fieldName) { method matches (line 33) | @Override method notFound (line 38) | @Override method toString (line 44) | @Override FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/matcherstrategies/FieldTypeMatcherStrategy.java class FieldTypeMatcherStrategy (line 22) | public class FieldTypeMatcherStrategy extends FieldMatcherStrategy { method FieldTypeMatcherStrategy (line 26) | public FieldTypeMatcherStrategy(Class fieldType) { method matches (line 33) | @Override method notFound (line 38) | @Override method toString (line 44) | @Override FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/primitivesupport/BoxedWrapper.java class BoxedWrapper (line 25) | public class BoxedWrapper { method getBoxedFromPrimitiveType (line 53) | public static Class getBoxedFromPrimitiveType(Class primitiveTyp... method hasBoxedCounterPart (line 67) | public static boolean hasBoxedCounterPart(Class type) { FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/primitivesupport/PrimitiveWrapper.java class PrimitiveWrapper (line 25) | public class PrimitiveWrapper { method toPrimitiveType (line 48) | public static Class[] toPrimitiveType(Class[] types) { method getPrimitiveFromWrapperType (line 80) | public static Class getPrimitiveFromWrapperType(Class wrapperTyp... method hasPrimitiveCounterPart (line 94) | public static boolean hasPrimitiveCounterPart(Class type) { FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/proxy/ProxyFrameworks.java class ProxyFrameworks (line 6) | public class ProxyFrameworks { method getUnproxiedType (line 10) | public UnproxiedType getUnproxiedType(Class type) { method getUnproxiedType (line 27) | public UnproxiedType getUnproxiedType(Object o) { method isJavaProxy (line 34) | private boolean isJavaProxy(Class clazz) { method isCglibProxyClass (line 38) | private boolean isCglibProxyClass(Class clazz) { method isCglibCallbackMethod (line 51) | private boolean isCglibCallbackMethod(Method m) { FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/proxy/UnproxiedType.java type UnproxiedType (line 3) | public interface UnproxiedType { method getOriginalType (line 4) | Class getOriginalType(); method getInterfaces (line 6) | Class[] getInterfaces(); FILE: powermock-reflect/src/main/java/org/powermock/reflect/internal/proxy/UnproxiedTypeFactory.java class UnproxiedTypeFactory (line 7) | class UnproxiedTypeFactory { method createFromInterfaces (line 13) | UnproxiedType createFromInterfaces(Class[] interfaces) { method createFromSuperclassAndInterfaces (line 24) | UnproxiedType createFromSuperclassAndInterfaces(Class superclass, C... method createFromType (line 34) | UnproxiedType createFromType(Class type) { method filterInterfaces (line 38) | private Class[] filterInterfaces(Class[] interfaces) { method isMockFrameworkInterface (line 50) | private boolean isMockFrameworkInterface(Class anInterface) { class UnproxiedTypeImpl (line 60) | private static class UnproxiedTypeImpl implements UnproxiedType { method UnproxiedTypeImpl (line 65) | private UnproxiedTypeImpl(Class type) { method UnproxiedTypeImpl (line 70) | private UnproxiedTypeImpl(Class[] interfaces) { method UnproxiedTypeImpl (line 75) | private UnproxiedTypeImpl(Class type, Class[] interfaces) { method getOriginalType (line 80) | @Override method getInterfaces (line 85) | @Override FILE: powermock-reflect/src/main/java/org/powermock/reflect/matching/FieldMatchingStrategy.java type FieldMatchingStrategy (line 21) | public enum FieldMatchingStrategy { FILE: powermock-reflect/src/test/java/org/powermock/reflect/WhiteBoxGetFieldTest.java class WhiteBoxGetFieldTest (line 36) | public class WhiteBoxGetFieldTest { type SomeInterface (line 38) | interface SomeInterface { class GrandParentClass (line 41) | class GrandParentClass { class ParentClass (line 46) | class ParentClass extends GrandParentClass { class ClassUnderTest (line 49) | class ClassUnderTest extends ParentClass implements SomeInterface { method testGetField (line 59) | @Test FILE: powermock-reflect/src/test/java/org/powermock/reflect/WhiteBoxTest.java class WhiteBoxTest (line 80) | public class WhiteBoxTest { method testFindMethod_classContainingMethodWithNoParameters (line 85) | @Test method testFindMethod_classContainingOnlyMethodsWithParameters (line 93) | @Test method testFindMethod_noMethodFound (line 104) | @Test method testGetInternalState_object (line 116) | @Test method testGetInternalState_parmaterizedType (line 125) | @SuppressWarnings("deprecation") method testSetInternalState (line 134) | @Test method testSetInternalStateWithMultipleValues (line 142) | @Test method testSetInternalState_superClass (line 152) | @Test method testGetInternalState_superClass_object (line 160) | @Test method testGetInternalState_superClass_parameterized (line 167) | @SuppressWarnings("deprecation") method testInvokePrivateMethod_primtiveType (line 175) | @Test method testInvokePrivateMethod_primtiveType_withoutSpecifyingMethodName (line 180) | @Test method testInvokePrivateMethod_withoutSpecifyingMethodName_noArguments (line 193) | @Test method testInvokePrivateMethod_withoutSpecifyingMethodName_assertThatNullWorks (line 199) | @Test method testInvokePrivateMethod_withoutSpecifyingMethodName_onlyOneArgument (line 212) | @Test(expected = TooManyMethodsFoundException.class) method testInvokeStaticPrivateMethod_withoutSpecifyingMethodName_onlyOneArgument (line 217) | @Test(expected = TooManyMethodsFoundException.class) method testInvokePrivateMethod_primtiveType_Wrapped (line 222) | @Test method testInvokePrivateMethod_wrappedType (line 227) | @Test method testInvokePrivateMethod_wrappedType_primitive (line 232) | @Test method testMethodWithPrimitiveIntAndString_primitive (line 237) | @Test method testMethodWithPrimitiveIntAndString_Wrapped (line 243) | @Test method testMethodWithPrimitiveAndWrappedInt_primtive_wrapped (line 249) | @Test method testStaticState (line 255) | @Test method testStaticFinalPrimitiveState (line 263) | @Test method testStaticFinalStringState (line 269) | @Test method testStaticFinalObject (line 275) | @Test method testInvokeMethodWithNullParameter (line 291) | @Test(expected = IllegalArgumentException.class) method testInvokeConstructorWithNullParameter (line 296) | @Test(expected = IllegalArgumentException.class) method testGetInternalWithNullParameter (line 301) | @Test(expected = IllegalArgumentException.class) method testSetInternalWithNullParameter (line 306) | @Test(expected = IllegalArgumentException.class) method testInstantiateVarArgsOnlyConstructor (line 311) | @Test method testInstantiateVarArgsOnlyConstructor_noArguments (line 323) | @Test method testInvokeVarArgsMethod_multipleValues (line 330) | @Test method testInvokeVarArgsMethod_noArguments (line 336) | @Test method testInvokeVarArgsMethod_oneArgument (line 342) | @Test method testInvokeVarArgsMethod_invokeVarArgsWithOneArgument (line 348) | @Test method testInvokePrivateMethodWithASubTypeOfTheArgumentType (line 354) | @Test method testInvokePrivateMethodWithAClassArgument (line 361) | @Test method testSetInternalStateInChildClassWithoutSpecifyingTheChildClass (line 368) | @Test method testSetInternalStateInClassAndMakeSureThatTheChildClassIsNotAffectedEvenThoughItHasAFieldWithTheSameName (line 378) | @Test method testSetInternalStateWithInvalidArgumentType (line 390) | @Test(expected = IllegalArgumentException.class) method testSetInternalStateWithNull (line 400) | @Test(expected = IllegalArgumentException.class) method testSetAndGetInternalStateBasedOnFieldType (line 410) | @Test method testSetAndGetInternalStateAtASpecificPlaceInTheHierarchyBasedOnFieldType (line 421) | @Test method testSetInternalStateBasedOnObjectType (line 431) | @Test method testSetInternalStateBasedOnObjectTypeWhenArgumentIsAPrimitiveType (line 439) | @SuppressWarnings("deprecation") method testSetInternalStateBasedOnObjectTypeWhenArgumentIsAPrimitiveTypeUsingGenerics (line 449) | @Test method testSetInternalStateBasedOnObjectTypeAtASpecificPlaceInTheClassHierarchy (line 458) | @Test method testSetInternalStateBasedOnObjectTypeAtASpecificPlaceInTheClassHierarchyForPrimitiveType (line 466) | @Test method testSetInternalStateBasedOnObjectTypeAtANonSpecificPlaceInTheClassHierarchyForPrimitiveType (line 475) | @Test method testSetInternalMultipleOfSameTypeOnSpecificPlaceInHierarchy (line 484) | @Test method testSetInternalMultipleOfSameType (line 496) | @Test method testSetInternalStateBasedOnObjectSubClassTypeAtASpecificPlaceInTheClassHierarchy (line 508) | @Test method testSetInternalStateBasedOnObjectSubClassType (line 517) | @Test method testGetAllInstanceFields (line 527) | @Test method testGetAllInstanceFieldsOnClass (line 533) | @Test method testGetAllStaticFields_assertNoFieldsFromParent (line 539) | @Test method testGetAllStaticFields (line 545) | @Test method testMethodWithNoMethodName_noMethodFound (line 551) | @Test method testMethodWithNoMethodName_tooManyMethodsFound (line 563) | @Test method testMethodWithNoMethodName_ok (line 576) | @Test method testGetTwoMethodsWhenNoneOfThemAreFound (line 582) | @Test method testGetThreeMethodsWhenNoneOfThemAreFound (line 593) | @Test method testInvokeConstructorWithBothNormalAndVarArgsParameter (line 609) | @Test method testInvokeMethodWithBothNormalAndVarArgsParameter (line 621) | @Test method testInvokePrivateMethodWithArrayArgument (line 627) | @Test method testSetInternalStateFromContext_allStatesInSameOneContext (line 634) | @Test method testSetInternalStateFromContext_statesInDifferentContext (line 643) | @Test method testSetInternalStateFromContext_contextIsAClass (line 653) | @Test method testSetInternalStateFromContext_contextIsAClassAndAnInstance (line 660) | @Test method testSetInternalStateFromContext_contextHasOneInstanceAndOneStaticFieldOfSameType_onlyInstanceContext (line 670) | @Test method testSetInternalStateFromContext_contextHasOneInstanceAndOneStaticFieldOfSameType_onlyStaticContext (line 681) | @Test method setInternalStateFromInstanceContextCopiesMatchingContextFieldsToTargetObjectByDefault (line 692) | @Test method setInternalStateFromInstanceContextCopiesMatchingContextFieldsToTargetObjectWhenSpecifyingMatchingStrategy (line 703) | @Test method setInternalStateFromInstanceContextThrowsExceptionWhenContextContainsFieldsNotDefinedInTargetObjectWhenSpecifyingStrictStrategy (line 713) | @Test(expected = FieldNotFoundException.class) method setInternalStateFromClassContextCopiesMatchingContextFieldsToTargetObjectByDefault (line 723) | @Test method setInternalStateFromClassContextCopiesMatchingContextFieldsToTargetObjectWhenSpecifyingMatchingStrategy (line 737) | @Test method setInternalStateFromClassContextThrowsExceptionWhenContextContainsFieldsNotDefinedInTargetObjectWhenSpecifyingStrictStrategy (line 752) | @Test(expected = FieldNotFoundException.class) method assertThatErrorMessageIsCorrectWhenNoInstanceFieldFound (line 766) | @Test method assertThatErrorMessageIsCorrectWhenNoStaticFieldFound (line 779) | @Test method assertThatWhiteboxWorksWithGenericsWhenSpecifyingFieldName (line 790) | @Test method whiteboxGetMethodWithCorrectMethodNameButWrongParameterTypeReturnsErrorMessageReflectingTheWrongParameter (line 797) | @Test method whiteboxSetInternalStateWorksOnArraysWhenDefiningMethodName (line 810) | @Test method whiteboxSetInternalStateWorksOnArraysWhenNotDefiningMethodName (line 818) | @Test method getInternalStateThrowsIAEWhenInstanceIsNull (line 826) | @Test method getInternalStateSupportsObjectArrayWhenSUTContainsSerializable (line 836) | @Test method getInternalStateUsesAssignableToWhenLookingForObject (line 846) | @Test method getInternalStateThrowsTooManyFieldsFoundWhenTooManyFieldsMatchTheSuppliedType (line 852) | @Test(expected = TooManyFieldsFoundException.class) method invokeMethodInvokesOverridenMethods (line 858) | @Test method newInstanceThrowsIAEWhenClassIsAbstract (line 863) | @Test(expected = IllegalArgumentException.class) method newInstanceReturnsJavaProxyWhenInterface (line 868) | @Test method newInstanceCreatesAnEmptyArrayWhenClassIsArray (line 874) | @Test method invokeMethodSupportsNullParameters (line 880) | @Test(expected = IllegalArgumentException.class) method invokeOverriddenMethodWithNullParameterThrowsIAE (line 887) | @Test(expected = MethodNotFoundException.class) method canPassNullParamToPrivateStaticMethod (line 894) | @Test method canPassNullParamToPrivateStaticMethodWhenDefiningParameterTypes (line 899) | @Test method canPassNullPrimitiveArraysToAPrivateStaticMethod (line 904) | @Test method canPassMultipleNullValuesToStaticMethod (line 909) | @Test method testObjectConstructors (line 915) | @Test method testInterfaceConstructors (line 924) | @Test method testPrimitiveConstructorsArgumentBoxed (line 933) | @Test method testOverloadedConstructors (line 942) | @Test method testFinalState (line 954) | @Test FILE: powermock-reflect/src/test/java/org/powermock/reflect/context/ClassFieldsNotInTargetContext.java class ClassFieldsNotInTargetContext (line 26) | public class ClassFieldsNotInTargetContext { method getLong (line 31) | public static long getLong() { method getMap (line 35) | public static Map getMap() { FILE: powermock-reflect/src/test/java/org/powermock/reflect/context/InstanceFieldsNotInTargetContext.java class InstanceFieldsNotInTargetContext (line 26) | public class InstanceFieldsNotInTargetContext { method getString (line 31) | public String getString() { method getMap (line 35) | public Map getMap() { FILE: powermock-reflect/src/test/java/org/powermock/reflect/context/MyContext.java class MyContext (line 19) | public class MyContext { method getMyLongState (line 26) | public long getMyLongState() { method getMyIntState (line 30) | public int getMyIntState() { method getMyStringState (line 34) | public String getMyStringState() { FILE: powermock-reflect/src/test/java/org/powermock/reflect/context/MyIntContext.java class MyIntContext (line 19) | public class MyIntContext { method getSimpleIntState (line 23) | public int getSimpleIntState() { FILE: powermock-reflect/src/test/java/org/powermock/reflect/context/MyStringContext.java class MyStringContext (line 19) | public class MyStringContext { method getMyStringState (line 22) | public String getMyStringState() { FILE: powermock-reflect/src/test/java/org/powermock/reflect/context/OneInstanceAndOneStaticFieldOfSameTypeContext.java class OneInstanceAndOneStaticFieldOfSameTypeContext (line 19) | public class OneInstanceAndOneStaticFieldOfSameTypeContext { method getMyStringState (line 25) | public String getMyStringState() { method getMyStaticStringState (line 29) | public static String getMyStaticStringState() { FILE: powermock-reflect/src/test/java/org/powermock/reflect/internal/WhiteboxImplTest.java class WhiteboxImplTest (line 34) | public class WhiteboxImplTest { method assertThatClassAndNotStringIsNotSameWhenInvokingCheckIfTypesAreSame (line 39) | @Test method assertThatClassAndClassIsSameWhenInvokingCheckIfTypesAreSame (line 48) | @Test method getBestCandidateMethodReturnsMatchingMethodWhenNoOverloading (line 57) | @Test method getBestCandidateMethodReturnsMatchingMethodWhenOverloading (line 65) | @Test method defaultMethodsAreFound (line 74) | @Test method testGetMethodNotExactParameterTypeMatch (line 87) | @Test FILE: powermock-reflect/src/test/java/org/powermock/reflect/internal/proxy/AnotherInterface.java type AnotherInterface (line 3) | public interface AnotherInterface { FILE: powermock-reflect/src/test/java/org/powermock/reflect/internal/proxy/ClassFactory.java class ClassFactory (line 7) | class ClassFactory implements Opcodes { method create (line 9) | static byte[] create(String className) throws Exception { FILE: powermock-reflect/src/test/java/org/powermock/reflect/internal/proxy/ProxyFrameworksTest.java class ProxyFrameworksTest (line 19) | public class ProxyFrameworksTest { method setUp (line 23) | @Before method should_throw_illegal_argument_exception_if_class_is_null (line 28) | @Test method should_return_null_if_object_is_null (line 33) | @Test method should_return_original_class_if_object_not_proxy (line 38) | @Test method should_return_original_class_if_proxy_created_with_java (line 47) | @Test method should_return_original_class_if_proxy_created_with_cglib (line 56) | @Test method should_not_detect_synthetic_classes_as_cglib_proxy (line 65) | @Test method should_return_object_as_original_class_if_no_non_no_mocking_interfaces (line 87) | @Test method should_return_interface_as_original_type_if_only_one_non_mocking_interface (line 96) | @Test method should_return_interface_and_original_type_if_proxy_has_interface_and_superclass (line 105) | @Test method should_return_interfaces_if_proxy_create_from_several_interfaces (line 117) | @Test method createCglibProxy (line 131) | private Object createCglibProxy(Class superclass, Class... interfac... method createJavaProxy (line 154) | private SomeInterface createJavaProxy(Class[] interfaces) { method assertThatOriginalIsNullAndInterfaces (line 167) | private void assertThatOriginalIsNullAndInterfaces(UnproxiedType unpro... method assertThatOriginalTypeInstanceOf (line 173) | private void assertThatOriginalTypeInstanceOf(UnproxiedType unproxiedT... method assertThatOriginalTypeInstanceOfAndInterfaces (line 178) | private void assertThatOriginalTypeInstanceOfAndInterfaces(UnproxiedTy... class CustomClassLoader (line 184) | private static class CustomClassLoader extends URLClassLoader { method CustomClassLoader (line 186) | private CustomClassLoader(URL[] urls, ClassLoader parent) { method defineClass (line 190) | Class defineClass(String name, byte[] b) { FILE: powermock-reflect/src/test/java/org/powermock/reflect/internal/proxy/SomeClass.java class SomeClass (line 6) | public class SomeClass { FILE: powermock-reflect/src/test/java/org/powermock/reflect/internal/proxy/SomeInterface.java type SomeInterface (line 3) | public interface SomeInterface { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/AbstractClass.java class AbstractClass (line 18) | public abstract class AbstractClass { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/AnInterface.java type AnInterface (line 18) | public interface AnInterface { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/Child.java class Child (line 18) | public class Child extends Parent { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithAMethod.java class ClassWithAMethod (line 20) | public class ClassWithAMethod { method connect (line 22) | public void connect(Connection connection) { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithChildThatHasInternalState.java class ClassWithChildThatHasInternalState (line 18) | @SuppressWarnings("unused") FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithInterfaceConstructors.java class ClassWithInterfaceConstructors (line 6) | public class ClassWithInterfaceConstructors { method ClassWithInterfaceConstructors (line 11) | public ClassWithInterfaceConstructors(ConstructorInterface constructor... method getValue (line 13) | public String getValue() { type ConstructorInterface (line 17) | public interface ConstructorInterface { method getValue (line 18) | String getValue(); class ConstructorInterfaceImpl (line 21) | public static class ConstructorInterfaceImpl implements ConstructorInt... method ConstructorInterfaceImpl (line 24) | public ConstructorInterfaceImpl(String value) {this.value = value;} method getValue (line 26) | @Override FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithInternalState.java class ClassWithInternalState (line 22) | public class ClassWithInternalState { method getFinalString (line 46) | public String getFinalString() { method increaseInteralState (line 50) | public void increaseInteralState() { method decreaseInteralState (line 54) | public void decreaseInteralState() { method getAnotherInternalState (line 58) | public int getAnotherInternalState() { method getStaticState (line 62) | public static int getStaticState() { method getStaticFinalIntegerState (line 66) | public static Integer getStaticFinalIntegerState() { method getClassWithPrivateMethods (line 70) | public ClassWithPrivateMethods getClassWithPrivateMethods() { method getInternalLongState (line 74) | public long getInternalLongState() { method getGenericState (line 78) | public Set getGenericState() { method methodWithArgument (line 82) | public static String methodWithArgument(InputStream inputStream) { method getStringArray (line 86) | public String[] getStringArray() { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithList.java class ClassWithList (line 21) | public class ClassWithList { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithMethodUsingBothPrimitiveTypeAndWrappedTypeArguments.java class ClassWithMethodUsingBothPrimitiveTypeAndWrappedTypeArguments (line 18) | public class ClassWithMethodUsingBothPrimitiveTypeAndWrappedTypeArguments { method methodHavingBothPrimitiveTypeAndWrappedTypeArguments (line 20) | public void methodHavingBothPrimitiveTypeAndWrappedTypeArguments(Integ... FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithMethodUsingSuperTypeArgument.java class ClassWithMethodUsingSuperTypeArgument (line 18) | public class ClassWithMethodUsingSuperTypeArgument { method methodHavingASuperTypeArgument (line 19) | public void methodHavingASuperTypeArgument(ClassWithStandardMethod arg) { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithObjectConstructors.java class ClassWithObjectConstructors (line 6) | public class ClassWithObjectConstructors { method ClassWithObjectConstructors (line 10) | protected ClassWithObjectConstructors(Object name) { method getName (line 15) | public Object getName() { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithOverloadedConstructors.java class ClassWithOverloadedConstructors (line 6) | public class ClassWithOverloadedConstructors { method ClassWithOverloadedConstructors (line 12) | protected ClassWithOverloadedConstructors(String name) { method ClassWithOverloadedConstructors (line 18) | protected ClassWithOverloadedConstructors(boolean bool, String name) { method ClassWithOverloadedConstructors (line 22) | protected ClassWithOverloadedConstructors(String name, boolean bool, b... method getName (line 28) | public String getName() { method isBool (line 32) | public boolean isBool() { method isBool1 (line 36) | public boolean isBool1() { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithOverloadedMethods.java class ClassWithOverloadedMethods (line 18) | public class ClassWithOverloadedMethods { method overloaded (line 20) | public String overloaded(double value, Parent parent) { method overloaded (line 24) | public String overloaded(double value, Child child) { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithOverriddenMethod.java class ClassWithOverriddenMethod (line 18) | public class ClassWithOverriddenMethod extends ClassWithStandardMethod { method myMethod (line 20) | @Override FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithPrimitiveConstructors.java class ClassWithPrimitiveConstructors (line 6) | public class ClassWithPrimitiveConstructors { method ClassWithPrimitiveConstructors (line 10) | public ClassWithPrimitiveConstructors(long value){ method getValue (line 15) | public long getValue() { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithPrivateMethods.java class ClassWithPrivateMethods (line 19) | @SuppressWarnings("unused") method primitiveMethod (line 22) | private boolean primitiveMethod(double value) { method wrappedMethod (line 26) | private boolean wrappedMethod(Double value) { method methodWithPrimitiveIntAndString (line 30) | private String methodWithPrimitiveIntAndString(int myInt, String aStri... method methodWithPrimitiveAndWrappedInt (line 34) | private int methodWithPrimitiveAndWrappedInt(int myInt, Integer myInt2) { method evilConcatOfStrings (line 38) | private String evilConcatOfStrings(String[] strings) { method varArgsMethod (line 46) | private int varArgsMethod(int... ints) { method methodWithObjectArgument (line 54) | private ClassWithInternalState methodWithObjectArgument(ClassWithInter... method methodWithClassArgument (line 58) | private Class methodWithClassArgument(... method varArgsMethod (line 62) | private int varArgsMethod(int value) { method varArgsMethod2 (line 66) | private int varArgsMethod2(int value, int... moreValues) { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithSerializableState.java class ClassWithSerializableState (line 20) | @SuppressWarnings("unused") method setSerializable (line 27) | public void setSerializable(Serializable serializable) { method setObjectArray (line 31) | public void setObjectArray(Object[] objectArray) { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithSeveralMethodsWithSameName.java class ClassWithSeveralMethodsWithSameName (line 18) | public class ClassWithSeveralMethodsWithSameName { method getDouble (line 20) | public double getDouble(double value) { method getDouble (line 24) | public double getDouble(double value1, double value2) { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithSeveralMethodsWithSameNameOneWithoutParameters.java class ClassWithSeveralMethodsWithSameNameOneWithoutParameters (line 18) | public class ClassWithSeveralMethodsWithSameNameOneWithoutParameters { method getDouble (line 20) | public double getDouble() { method getDouble (line 24) | public double getDouble(double value) { method getDouble (line 28) | public double getDouble(double value1, double value2) { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithSimpleInternalState.java class ClassWithSimpleInternalState (line 19) | public class ClassWithSimpleInternalState { method getLong (line 27) | public static long getLong() { method getSomeStaticLongState (line 31) | public long getSomeStaticLongState() { method getSomeIntState (line 35) | public int getSomeIntState() { method getSomeStringState (line 39) | public String getSomeStringState() { method setLong (line 43) | public static void setLong(long state) { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithSimpleStateOfSameType.java class ClassWithSimpleStateOfSameType (line 19) | public class ClassWithSimpleStateOfSameType { method getSomeStringState (line 24) | public String getSomeStringState() { method getSomeOtherStringState (line 28) | public String getSomeOtherStringState() { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithStandardMethod.java class ClassWithStandardMethod (line 19) | public class ClassWithStandardMethod { method myMethod (line 21) | public boolean myMethod(double value) { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithStaticAndInstanceInternalStateOfSameType.java class ClassWithStaticAndInstanceInternalStateOfSameType (line 19) | public class ClassWithStaticAndInstanceInternalStateOfSameType { method getStaticStringState (line 25) | public String getStaticStringState() { method getStringState (line 29) | public String getStringState() { method reset (line 33) | public static void reset() { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithStaticMethod.java class ClassWithStaticMethod (line 19) | public class ClassWithStaticMethod { method aStaticMethod (line 21) | @SuppressWarnings({"UnusedDeclaration"}) method anotherStaticMethod (line 26) | @SuppressWarnings({"UnusedDeclaration"}) FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithUniquePrivateMethods.java class ClassWithUniquePrivateMethods (line 19) | @SuppressWarnings("unused") method primitiveMethodWithOnlyOneArgument (line 22) | private boolean primitiveMethodWithOnlyOneArgument(double value) { method primitiveStaticMethodWithOnlyOneArgument (line 26) | private static boolean primitiveStaticMethodWithOnlyOneArgument(double... method primitiveMethod (line 30) | private boolean primitiveMethod(double value, double value2) { method twoArgs (line 34) | private Object twoArgs(double value, double value2, Object obj) { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithVarArgsConstructor.java class ClassWithVarArgsConstructor (line 19) | public class ClassWithVarArgsConstructor { method ClassWithVarArgsConstructor (line 24) | private ClassWithVarArgsConstructor(String...strings) { method getStrings (line 28) | public String[] getStrings() { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/ClassWithVarArgsConstructor2.java class ClassWithVarArgsConstructor2 (line 19) | public class ClassWithVarArgsConstructor2 { method ClassWithVarArgsConstructor2 (line 23) | private ClassWithVarArgsConstructor2(String required, String... string... method getStrings (line 29) | public String[] getStrings() { FILE: powermock-reflect/src/test/java/org/powermock/reflect/testclasses/Parent.java class Parent (line 18) | public class Parent { FILE: tests/easymock/junit4-agent/src/test/java/samples/powermockito/junit4/agent/AnnotationUsageTest.java class AnnotationUsageTest (line 36) | @RunWith(Parameterized.class) method AnnotationUsageTest (line 54) | public AnnotationUsageTest(String fooId) { method data (line 59) | @Parameterized.Parameters() method setUp (line 68) | @Before method annotationsAreEnabledWhenUsingTheJUnitRule (line 74) | @Test FILE: tests/easymock/junit4-agent/src/test/java/samples/powermockito/junit4/agent/LargeMethodTest.java class LargeMethodTest (line 20) | @PrepareForTest(MethodExceedingJvmLimit.class) method largeMethodShouldBeOverridden (line 26) | @Test method largeMethodShouldBeAbleToBeSuppressed (line 37) | @Test method largeMethodShouldBeAbleToBeMocked (line 43) | @Test method largeMethodShouldBeAbleToBeMockedAndThrowException (line 51) | @Test(expected = IllegalStateException.class) FILE: tests/easymock/junit4-legacy/src/test/java/samples/junit4/legacy/annotationbased/AnnotationDemoWithSetupMethodTest.java class AnnotationDemoWithSetupMethodTest (line 19) | @RunWith(PowerMockRunner.class) method setup (line 27) | @Before method assertInjectionWorked (line 32) | @Test FILE: tests/easymock/junit4-legacy/src/test/java/samples/junit4/legacy/annotationbased/FinalDemoWithAnnotationInjectionTest.java class FinalDemoWithAnnotationInjectionTest (line 35) | @RunWith(PowerMockRunner.class) method testSay (line 42) | @Test method testSayFinalNative (line 62) | @Test FILE: tests/easymock/junit4-legacy/src/test/java/samples/junit4/legacy/noannotation/NoAnnotationUsageTest.java class NoAnnotationUsageTest (line 34) | @RunWith(PowerMockRunner.class) method testShouldMockPrivateAndStaticMethod (line 38) | public void testShouldMockPrivateAndStaticMethod() throws Exception { FILE: tests/easymock/junit4-legacy/src/test/java/samples/junit4/legacy/noannotation/SetUpAndTearDownWhenExtendingTestCaseTest.java class SetUpAndTearDownWhenExtendingTestCaseTest (line 7) | @RunWith(PowerMockRunner.class) method setUp (line 15) | @Override method tearDown (line 21) | @Override method testSomething (line 26) | public void testSomething() throws Exception { FILE: tests/easymock/junit4-legacy/src/test/java/samples/junit4/legacy/noannotation/SetUpAndTearDownWhenNotExtendingTestCaseTest.java class SetUpAndTearDownWhenNotExtendingTestCaseTest (line 10) | @RunWith(PowerMockRunner.class) method setUp (line 15) | public void setUp() throws Exception { method tearDown (line 19) | public void tearDown() throws Exception { method testSomething (line 23) | @Test FILE: tests/easymock/junit4-legacy/src/test/java/samples/junit4/legacy/singleton/MockStaticTest.java class MockStaticTest (line 40) | @RunWith(PowerMockRunner.class) method testSay (line 44) | @Test method testSayFinal (line 65) | @Test method testSayNative (line 86) | @Test method sayFinalNative (line 99) | @Test method mockAStaticMethod (line 112) | @Test method mockSayHello (line 124) | @Test method mockSayHelloAgain (line 136) | @Test method testSayPrivateStatic (line 148) | @Test method testSayPrivateFinalStatic (line 163) | @Test method innerClassesWork (line 178) | @Test method innerInstanceClassesWork (line 183) | @Test FILE: tests/easymock/junit4-legacy/src/test/java/samples/junit4/legacy/suppressconstructor/SuppressConstructorHierarchyDemoTest.java class SuppressConstructorHierarchyDemoTest (line 31) | @PrepareForTest( { SuppressConstructorHierarchy.class, SuppressConstruct... method testSuppressConstructor (line 36) | @Test method testNotSuppressConstructor (line 46) | @Test method testGetNumber (line 63) | @Test FILE: tests/easymock/junit4/src/test/java/samples/interfacemethodfinding/InterfaceMethodHierarchyUsageTest.java class InterfaceMethodHierarchyUsageTest (line 41) | @RunWith(PowerMockRunner.class) method assertMethodsAreFoundInInterfaceHierarchy (line 47) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/abstractmocking/AbstractMethodMockingTest.java class AbstractMethodMockingTest (line 12) | @RunWith(PowerMockRunner.class) method testMockingOfAbstractMethod (line 16) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/annotationbased/AnnotationDemoWithSetupMethodTest.java class AnnotationDemoWithSetupMethodTest (line 18) | @RunWith(PowerMockRunner.class) method setup (line 26) | @Before method assertInjectionWorked (line 31) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/annotationbased/FinalDemoWithAnnotationInjectionAndFieldDefaulterTest.java class FinalDemoWithAnnotationInjectionAndFieldDefaulterTest (line 38) | @RunWith(PowerMockRunner.class) method testSay (line 50) | @Test method testSayFinalNative (line 71) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/annotationbased/FinalDemoWithAnnotationInjectionTest.java class FinalDemoWithAnnotationInjectionTest (line 35) | @RunWith(PowerMockRunner.class) method testSay (line 42) | @Test method testSayFinalNative (line 62) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/annotationbased/FinalDemoWithNiceAnnotationInjectionTest.java class FinalDemoWithNiceAnnotationInjectionTest (line 33) | @RunWith(PowerMockRunner.class) method testSay (line 40) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/annotationbased/FinalDemoWithStrictAnnotationInjectionTest.java class FinalDemoWithStrictAnnotationInjectionTest (line 35) | @RunWith(PowerMockRunner.class) method testMockStrictOk (line 42) | @Test method testMockStrictNotOk (line 59) | @Test(expected = AssertionError.class) FILE: tests/easymock/junit4/src/test/java/samples/junit4/annotationbased/TestSubjectEasymockAnnotationTest.java class TestSubjectEasymockAnnotationTest (line 17) | @RunWith(PowerMockRunner.class) method injectMocksWorksWithEasymock (line 34) | @Test method injectMocksWorksWithEasymockQualifier (line 39) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/annotationbased/TestSubjectPowermockAnnotationTest.java class TestSubjectPowermockAnnotationTest (line 22) | @RunWith(PowerMockRunner.class) method should_inject_mock_without_quantifier (line 41) | @Test method should_inject_mock_with_quantifier (line 56) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/assume/AssumeTest.java class AssumeTest (line 9) | @RunWith(PowerMockRunner.class) method assumesWorkWithPowerMockForJUnit44 (line 12) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/classhierarchy/CommonParentTest.java class CommonParentTest (line 31) | @RunWith(PowerMockRunner.class) method testPossibleToMockTwoClassesWithSameParent (line 35) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/classwithinnermembers/ClassWithInnerMembersTest.java class ClassWithInnerMembersTest (line 31) | @RunWith(PowerMockRunner.class) method assertStaticMemberClassMockingWorksWithNoConstructorArguments (line 35) | @Test method assertStaticMemberClassMockingWorksWithConstructorArguments (line 49) | @Test method assertLocalClassMockingWorks (line 63) | @Test method assertLocalClassMockingWorksWithArguments (line 78) | @Test method assertNonStaticMemberClassMockingWorksWithArguments (line 92) | @Test method assertThatAnonymousInnerClassesWorks (line 106) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/console/ConsoleTest.java class ConsoleTest (line 32) | @RunWith(PowerMockRunner.class) method canMockConsole (line 35) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/constructor/PrivateConstructorInstantiationDemoTest.java class PrivateConstructorInstantiationDemoTest (line 25) | public class PrivateConstructorInstantiationDemoTest { method testGetState_noArgConstructor (line 27) | @Test method testGetState_intConstructor (line 36) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/constructor/PublicConstructorWithDependencyDemoTest.java class PublicConstructorWithDependencyDemoTest (line 35) | public class PublicConstructorWithDependencyDemoTest { method setUp (line 39) | @Before method tearDown (line 44) | @After method testConstructorFound (line 53) | @Test method testConstructorNotFound (line 65) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/constructorargs/ConstructorArgsDemoTest.java class ConstructorArgsDemoTest (line 37) | @RunWith(PowerMockRunner.class) method testGetTheSecret_noConstructor (line 41) | @Test method testGetTheSecret_defaultConstructor (line 47) | @Test method testGetTheSecret_stringConstructor (line 54) | @Test method testGetTheSecret_stringConstructorAndMockedPrivateSecret (line 61) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/easymock/EasyMockAndPowerMockMixTest.java class EasyMockAndPowerMockMixTest (line 17) | @RunWith(PowerMockRunner.class) method testSimplePrivateFieldServiceClass (line 21) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/enummocking/EnumMockingTest.java class EnumMockingTest (line 13) | @RunWith(PowerMockRunner.class) method assertMockingOfStaticMethodInEnumWorks (line 17) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/equalswithgetclass/EqualsWithGetClassTest.java class EqualsWithGetClassTest (line 35) | @RunWith(PowerMockRunner.class) method callingGetClassOnAMockWorksWhenTheCallWasUnexpected (line 39) | @Test method callingGetClassOnAMockFailsWhenTheCallWasUnexpectedAndMockStandardMethodsIsSet (line 46) | @Test(expected = AssertionError.class) FILE: tests/easymock/junit4/src/test/java/samples/junit4/expectnew/ExpectNewCases.java class ExpectNewCases (line 34) | public abstract class ExpectNewCases { method testNewWithCheckedException (line 41) | @Test method testGetMessage (line 61) | @Test method testGetMessageWithArgument (line 79) | @Test method testInvokeVoidMethod (line 96) | @Test method testNewWithRuntimeException (line 113) | @Test method testPreviousProblemsWithByteCodeManipulation (line 132) | @Test method testMultipleNew (line 143) | @Test method testSimpleMultipleNew (line 165) | @Test method testSimpleMultipleNew_tooManyTimesExpected (line 180) | @Test method testSimpleMultipleNew_tooFewTimesExpected (line 201) | @Test method testSimpleMultipleNewPrivate_tooFewTimesExpected (line 223) | @Test method testSimpleMultipleNewPrivate_ok (line 241) | @Test method testSimpleSingleNew_withOnce (line 253) | @Test method testSimpleSingleNew_withAtLeastOnce (line 266) | @Test method testSimpleMultipleNew_withAtLeastOnce (line 279) | @Test method testSimpleMultipleNew_withRange_lowerBoundLessThan0 (line 292) | @Test method testSimpleMultipleNew_withRange_upperBoundLessThan0 (line 305) | @Test method testSimpleMultipleNew_withRange_upperBoundLessThanLowerBound (line 317) | @Test method testSimpleMultipleNew_withRange_OK (line 329) | @Test method testSimpleMultipleNew_anyTimes (line 343) | @Test method testSimpleMultipleNew_withRange_notWithinRange (line 357) | @Test method testAlternativeFlow (line 378) | @Test method testSimpleMultipleNewPrivate_tooManyTimesExpected (line 393) | @Test method testNewWithArguments (line 412) | @Test method testNewWithVarArgs (line 431) | @Test method testNewWhenTheExpectedConstructorIsNotFound (line 452) | @Test method testNewWithVarArgsConstructorWhenOneArgumentIsOfASubType (line 464) | @Test method testNewWithArrayVarArgs (line 489) | @Test method testNewWithArrayVarArgsAndMatchers (line 508) | @Test method testNewWithArrayVarArgsWhenFirstArgumentIsNullAndSubseqentArgumentsAreNotNull (line 527) | @Test method testNewWithArrayVarArgsWhenFirstArgumentIsNotNullButSubseqentArgumentsAreNull (line 546) | @Test method testNewWithArrayVarArgsWhenFirstArgumentIsNullSecondArgumentIsNotNullAndThirdArgumentIsNull (line 565) | @Test method testNewWithArrayVarArgsWhenAllArgumentsAreNull (line 585) | @Test method testNewWithWrongArgument (line 604) | @Test method testExpectNewButNoNewCallWasMade (line 630) | @Test method canDefineSeveralMockResultForNew (line 648) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/expectnew/ExpectNewDemoTest.java class ExpectNewDemoTest (line 30) | @RunWith(PowerMockRunner.class) FILE: tests/easymock/junit4/src/test/java/samples/junit4/expectnew/ExpectNewOfFinalSystemClassTest.java class ExpectNewOfFinalSystemClassTest (line 13) | @RunWith(PowerMockRunner.class) method assertThatExpectNewWorksForFinalSystemClasses (line 17) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/expectnew/MockDateTest.java class MockDateTest (line 30) | @RunWith(PowerMockRunner.class) method testMockDate (line 34) | @Test method testMockDateWithEasyMock (line 47) | @Test method testMockDateWithEasyMockFails (line 61) | @Test(expected = IllegalStateException.class) method testExpectNewDate (line 70) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/expectnew/PrimitiveAndWrapperDemoTest.java class PrimitiveAndWrapperDemoTest (line 17) | @RunWith(PowerMockRunner.class) method testWhenConstructorCannotBeDetermined (line 20) | @Test method testWrapperConstructor (line 33) | @Test method testPrimitiveConstructor (line 38) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/expectnew/PrimitiveAndWrapperUserTest.java class PrimitiveAndWrapperUserTest (line 17) | @RunWith(PowerMockRunner.class) method testNewWithStrictMocking_ok (line 21) | @Test method testNewWithStrictMocking_notOk (line 36) | @Test(expected = AssertionError.class) method testNewWithNiceMocking (line 51) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/expectvoid/ExpectVoidDemoTest.java class ExpectVoidDemoTest (line 28) | @RunWith(PowerMockRunner.class) method testInvokeAPrivateVoidMethod (line 32) | @Test method testInvokeAPrivateVoidMethod_usingPowerMockExpectLastCall (line 48) | @Test method testInvokeAPrivateVoidMethod_usingEasyMockExpectLastCall (line 66) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/finalmocking/FinalDemoTest.java class FinalDemoTest (line 32) | @RunWith(PowerMockRunner.class) method testSay (line 36) | @Test method testSayFinalNative (line 58) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/finalmocking/MockingOfInstanceMethodsInFinalSystemClassTest.java class MockingOfInstanceMethodsInFinalSystemClassTest (line 31) | @RunWith(PowerMockRunner.class) method assertThatMockingOfInstanceMethodsInFinalSystemClassesWorks (line 35) | @Test method assertThatMockingOfInstanceMethodsInStringWorks (line 46) | @Test method assertThatPartialMockingOfInstanceMethodsInFinalSystemClassesWhenNotInvokingConstructorWorks (line 57) | @Test method assertThatPartialMockingOfInstanceMethodsInFinalSystemClassesWhenNotInvokingNonDefaultConstructorWorks (line 70) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/finalmocking/NoDuplicateTest.java class NoDuplicateTest (line 39) | @RunWith(PowerMockRunner.class) method assertThatPrepareForTestAnnotationAtMethodLevelButNotClassLevelWorks (line 42) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/hashcode/PowerMockUsesIdentityHashMapToStoreMocks.java class PowerMockUsesIdentityHashMapToStoreMocks (line 25) | @RunWith(PowerMockRunner.class) method storesObjectsToAutomaticallyReplayAndVerifyToAnIdentityHashMap (line 28) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/interfacefieldchange/ChangeValueOfStaticFinalFieldInInterfacesDefect.java class ChangeValueOfStaticFinalFieldInInterfacesDefect (line 32) | @RunWith(PowerMockRunner.class) method assertThatStaticFinalFieldValuesInInterfacesAreChangable (line 36) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/java/MockClassesInsideJavaPackage.java class MockClassesInsideJavaPackage (line 28) | @RunWith(PowerMockRunner.class) method allowsMockingOfClassesInsidePackageContainingJava (line 32) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/largemethod/LargeMethodTest.java class LargeMethodTest (line 37) | @RunWith(PowerMockRunner.class) method largeMethodShouldBeOverridden (line 41) | @Test method largeMethodShouldBeAbleToBeSuppressed (line 52) | @Test method largeMethodShouldBeAbleToBeMocked (line 58) | @Test method largeMethodShouldBeAbleToBeMockedAndThrowException (line 66) | @Test(expected = IllegalStateException.class) FILE: tests/easymock/junit4/src/test/java/samples/junit4/misc/PrivateInnerInterfacesInTestClassTest.java class PrivateInnerInterfacesInTestClassTest (line 10) | @RunWith(PowerMockRunner.class) method privateInterfacesCanBeLoadedAndBytcodeManipulatedByPowerMock (line 14) | @Test type InnerInterface (line 24) | private interface InnerInterface { method aMethod (line 25) | String aMethod(); FILE: tests/easymock/junit4/src/test/java/samples/junit4/mockpolicy/MockPolicyUsageExampleTest.java class MockPolicyUsageExampleTest (line 36) | @RunWith(PowerMockRunner.class) method exampleOfStubbingOutCallsInParentClass (line 40) | @Test class MockPolicyExample (line 47) | class MockPolicyExample implements PowerMockPolicy { method applyClassLoadingPolicy (line 48) | @Override method applyInterceptionPolicy (line 53) | @Override FILE: tests/easymock/junit4/src/test/java/samples/junit4/mockpolicy/MockPolicyWithExpectationsTest.java class MockPolicyWithExpectationsTest (line 36) | @RunWith(PowerMockRunner.class) method mockPolicyWithExpectationsWorks (line 40) | @Test class MockPolicyExpectationsExample (line 51) | class MockPolicyExpectationsExample implements PowerMockPolicy { method applyClassLoadingPolicy (line 52) | @Override method applyInterceptionPolicy (line 57) | @Override FILE: tests/easymock/junit4/src/test/java/samples/junit4/mockpolicy/MockPolicyWithInvocationHandlerTest.java class MockPolicyWithInvocationHandlerTest (line 37) | @RunWith(PowerMockRunner.class) method mockPolicyWithInvocationHandlerWorks (line 41) | @Test class MockPolicyInvocationHandlerExample (line 52) | class MockPolicyInvocationHandlerExample implements PowerMockPolicy { method applyClassLoadingPolicy (line 53) | @Override method applyInterceptionPolicy (line 58) | @Override FILE: tests/easymock/junit4/src/test/java/samples/junit4/mockpolicy/frameworkexample/SimpleFrameworkMockPolicy.java class SimpleFrameworkMockPolicy (line 27) | public class SimpleFrameworkMockPolicy implements PowerMockPolicy { method applyClassLoadingPolicy (line 31) | @Override method applyInterceptionPolicy (line 36) | @Override FILE: tests/easymock/junit4/src/test/java/samples/junit4/mockpolicy/frameworkexample/SimpleFrameworkUserTest.java class SimpleFrameworkUserTest (line 26) | @RunWith(PowerMockRunner.class) method testPerformComplexOperation (line 30) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/multireplayverify/MultiReplayVerifyTest.java class MultiReplayVerifyTest (line 18) | @RunWith(PowerMockRunner.class) method replyFollowedByReplayAllIsAllowed (line 22) | @Test method verifyFollowedByVerifyAllIsAllowed (line 41) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/nativemocking/NativeMockingSampleTest.java class NativeMockingSampleTest (line 29) | public class NativeMockingSampleTest { method testMockNative (line 31) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/newmocking/StupidNewTest.java class StupidNewTest (line 35) | @RunWith(PowerMockRunner.class) method testGetMessage (line 39) | @Test method testGetMessageWithArgument (line 55) | @Test method testInvokeVoidMethod (line 71) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/nice/NiceDemoTest.java class NiceDemoTest (line 15) | @RunWith(PowerMockRunner.class) method testCallAThenB_noExpectations (line 18) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/noannotation/NoAnnotationUsageTest.java class NoAnnotationUsageTest (line 32) | @RunWith(PowerMockRunner.class) method testGetMessage (line 36) | public void testGetMessage() throws Exception { method testGetMessage2 (line 57) | public void testGetMessage2() throws Exception { FILE: tests/easymock/junit4/src/test/java/samples/junit4/noannotation/SetUpAndTearDownWhenExtendingTestCaseTest.java class SetUpAndTearDownWhenExtendingTestCaseTest (line 7) | @RunWith(PowerMockRunner.class) method setUp (line 15) | @Override method tearDown (line 21) | @Override method testSomething (line 26) | public void testSomething() throws Exception { FILE: tests/easymock/junit4/src/test/java/samples/junit4/noannotation/SetUpAndTearDownWhenNotExtendingTestCaseTest.java class SetUpAndTearDownWhenNotExtendingTestCaseTest (line 10) | @RunWith(PowerMockRunner.class) method setUp (line 15) | public void setUp() throws Exception { method tearDown (line 19) | public void tearDown() throws Exception { method testSomething (line 23) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/noannotation/SetUpIsOnlyCalledOnceWhenExtendingTestCaseTest.java class SetUpIsOnlyCalledOnceWhenExtendingTestCaseTest (line 6) | public class SetUpIsOnlyCalledOnceWhenExtendingTestCaseTest extends Test... method setUp (line 10) | @Before method testSetupMethodIsOnlyCalledOnceWhenExtendingFromTestCase (line 16) | public void testSetupMethodIsOnlyCalledOnceWhenExtendingFromTestCase()... FILE: tests/easymock/junit4/src/test/java/samples/junit4/noannotation/StringConstructorWorksWhenExtendingTestCase.java class StringConstructorWorksWhenExtendingTestCase (line 35) | @RunWith(PowerMockRunner.class) method StringConstructorWorksWhenExtendingTestCase (line 39) | public StringConstructorWorksWhenExtendingTestCase(String name) { method testMockingStaticMethodWorksWhenStringArgConstructor (line 43) | public void testMockingStaticMethodWorksWhenStringArgConstructor() thr... FILE: tests/easymock/junit4/src/test/java/samples/junit4/overloading/MethodWithSameNameButDifferentDefinitionTypeTest.java class MethodWithSameNameButDifferentDefinitionTypeTest (line 33) | @RunWith(PowerMockRunner.class) method mockGatewayCanInvokeInstanceMethodWhenClassContainsStaticAndInstanceMethodWithSameName (line 37) | @Test method mockGatewayCanInvokeStaticMethodWhenClassContainsStaticAndInstanceMethodWithSameName (line 53) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/overloading/OverloadingDemoTest.java class OverloadingDemoTest (line 35) | @RunWith(PowerMockRunner.class) method mockGatewayFindsBestOverloadedMethodCandidateWhenOnlyOneArgument (line 39) | @Test method mockGatewayFindsBestOverloadedMethodCandidateWhenBothArgumentSame (line 58) | @Test method mockGatewayFindsBestOverloadedMethodCandidateWhenOneArgumentSameAndOneDifferent (line 77) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/partialmocking/MockSelfDemoTest.java class MockSelfDemoTest (line 35) | @RunWith(PowerMockRunner.class) method testMockMultiple_ok (line 41) | @Test method testMockMultiple_sameName (line 60) | @Test method testMockSingleMethod (line 80) | @Test method testMockAllExcept_parametersDefined (line 99) | @Test method testMockAllExcept_single (line 112) | @Test method testMockAllExcept_multiple (line 130) | @Test method testCreatePartialMockAndInvokeObjectConstructor (line 147) | @Test method testCreatePartialMockAndInvokeDefaultConstructor (line 166) | @Test method partialMockingWithNullArgumentWorks (line 185) | @Test method testCreatePartialMockAndInvokeDefaultConstructor_noDefaultConstructorFound (line 192) | @PrepareForTest(MockSelfWithNoDefaultConstructorDemo.class) FILE: tests/easymock/junit4/src/test/java/samples/junit4/partialmocking/MockSelfDemoWithSubClassTest.java class MockSelfDemoWithSubClassTest (line 28) | @RunWith(PowerMockRunner.class) method testMockPartialMethodInChildClass (line 32) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/partialmocking/PartialMockingWithConstructorTest.java class PartialMockingWithConstructorTest (line 24) | public class PartialMockingWithConstructorTest { method testPartialMock (line 26) | @Ignore("The initialize method is never invoked but is caught by the p... FILE: tests/easymock/junit4/src/test/java/samples/junit4/partialmocking/PartialMockingWithConstructorUsingEasyMockTest.java class PartialMockingWithConstructorUsingEasyMockTest (line 29) | public class PartialMockingWithConstructorUsingEasyMockTest { method testPartialMock (line 31) | @SuppressWarnings("deprecation") FILE: tests/easymock/junit4/src/test/java/samples/junit4/powermockignore/PowerMockIgnoreAndPrepareForTest.java class PowerMockIgnoreAndPrepareForTest (line 15) | @RunWith(PowerMockRunner.class) method powermock_ignore_annotation_and_prepare_for_test_annotation_can_be_combined (line 20) | @Test public void powermock_ignore_annotation_and_prepare_for_test_ann... FILE: tests/easymock/junit4/src/test/java/samples/junit4/prepareeverything/ExpectNewDemoUsingThePrepareEverythingAnnotationTest.java class ExpectNewDemoUsingThePrepareEverythingAnnotationTest (line 46) | @RunWith(PowerMockRunner.class) method testNewWithCheckedException (line 50) | @Test method testGetMessage (line 70) | @PrepareEverythingForTest method testGetMessageWithArgument (line 89) | @Test method testInvokeVoidMethod (line 106) | @Test method testNewWithRuntimeException (line 123) | @Test method testPreviousProblemsWithByteCodeManipulation (line 142) | @Test method testMultipleNew (line 153) | @Test method testSimpleMultipleNew (line 175) | @Test method testSimpleMultipleNew_tooManyTimesExpected (line 190) | @Test method testSimpleMultipleNew_tooFewTimesExpected (line 211) | @Test method testSimpleMultipleNewPrivate_tooFewTimesExpected (line 233) | @Test method testSimpleMultipleNewPrivate_ok (line 251) | @Test method testSimpleSingleNew_withOnce (line 263) | @Test method testSimpleSingleNew_withAtLeastOnce (line 276) | @Test method testSimpleMultipleNew_withAtLeastOnce (line 289) | @Test method testSimpleMultipleNew_withRange_lowerBoundLessThan0 (line 302) | @Test method testSimpleMultipleNew_withRange_upperBoundLessThan0 (line 315) | @Test method testSimpleMultipleNew_withRange_upperBoundLessThanLowerBound (line 327) | @Test method testSimpleMultipleNew_withRange_OK (line 339) | @Test method testSimpleMultipleNew_anyTimes (line 353) | @Test method testSimpleMultipleNew_withRange_notWithinRange (line 367) | @Test method testAlternativeFlow (line 387) | @Test method testSimpleMultipleNewPrivate_tooManyTimesExpected (line 402) | @Test method testNewWithArguments (line 421) | @Test method testNewWithVarArgs (line 440) | @Test method testNewWhenTheExpectedConstructorIsNotFound (line 461) | @Test method testNewWithVarArgsConstructorWhenOneArgumentIsOfASubType (line 473) | @Test method testNewWithArrayVarArgs (line 499) | @Test method testNewWithArrayVarArgsAndMatchers (line 518) | @Test method testNewWithArrayVarArgsWhenFirstArgumentIsNullAndSubseqentArgumentsAreNotNull (line 537) | @Test method testNewWithArrayVarArgsWhenFirstArgumentIsNotNullButSubseqentArgumentsAreNull (line 556) | @Test method testNewWithArrayVarArgsWhenFirstArgumentIsNullSecondArgumentIsNotNullAndThirdArgumentIsNull (line 575) | @Test method testNewWithArrayVarArgsWhenAllArgumentsAreNull (line 595) | @Test method testNewWithWrongArgument (line 614) | @Test method testExpectNewButNoNewCallWasMade (line 640) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/privateandfinal/PrivateFinalTest.java class PrivateFinalTest (line 34) | @RunWith(PowerMockRunner.class) method testMockPrivatAndFinal (line 38) | @Test method testMultiplePartialMocksOfSameType (line 53) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/privatefield/MockSelfPrivateFieldServiceClassTest.java class MockSelfPrivateFieldServiceClassTest (line 39) | @RunWith(PowerMockRunner.class) method testGetCompositeMessage (line 43) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/privatefield/SimplePrivateFieldServiceClassTest.java class SimplePrivateFieldServiceClassTest (line 36) | public class SimplePrivateFieldServiceClassTest { method testSimplePrivateFieldServiceClass (line 38) | @Test method testSimplePrivateFieldServiceClassTypeSafe (line 55) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/privatemocking/PrivateMethodDemoTest.java class PrivateMethodDemoTest (line 36) | @RunWith(PowerMockRunner.class) method testMockPrivateMethod (line 40) | @Test method testMockPrivateMethod_withArgument (line 54) | @Test method testInvokePrivateMethod (line 65) | @Test method testMethodCallingPrimitiveTestMethod (line 76) | @Test method testMethodCallingWrappedTestMethod (line 94) | @Test method testMethodCallingWrappedTestMethod_reflectiveMethodLookup (line 112) | @Test method testExpectPrivateWithArrayMatcher (line 133) | @Test method testExpectPrivateWithObjectMatcher (line 148) | @Test method testExpectPrivateMethodWithVarArgsParameters (line 163) | @Test method testExpectPrivateMethodWithoutSpecifyingMethodName_firstArgumentIsOfStringType (line 182) | @Test method testExpectPrivateMethodWithoutSpecifyingMethodName (line 199) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/reflection/ReflectionInstantiatorTest.java class ReflectionInstantiatorTest (line 27) | @RunWith(PowerMockRunner.class) method whenClassIsInstantiatedUsingReflectionMakeSureItCanBeCastedToPowerMockLoadedVersionOfTheClass (line 31) | @Test method whenClassIsInstantiatedUsingReflectionMakeSureItCanBeCastedToPowerMockLoadedVersionOfTheClassWhenUsingChunking (line 40) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/replayall/ReplayAllForExpectNewTest.java class ReplayAllForExpectNewTest (line 38) | @RunWith(PowerMockRunner.class) method testNewWithCheckedException (line 42) | @Test method testGetMessage (line 62) | @Test method testReplayAllWithExpectNewWhenTheClassBeingConstructedIsNotPreparedForTest (line 80) | @Test method testReplayAllWithAdditionalMocks (line 99) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/replayall/ReplayAllForStaticMethodsTest.java class ReplayAllForStaticMethodsTest (line 32) | @RunWith(PowerMockRunner.class) method testMockStaticMethodAndInstanceMethod (line 36) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/resetmock/ResetForStaticMethodsTest.java class ResetForStaticMethodsTest (line 30) | @RunWith(PowerMockRunner.class) method assertThatResetWorksForStaticMethods (line 34) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/resetmock/ResetMockTest.java class ResetMockTest (line 33) | @RunWith(PowerMockRunner.class) method assertManualResetWorks (line 37) | @Test method assertManualResetWorksWhenMixingInstanceAndClassMocks (line 66) | @Test method assertResetAllWorks (line 94) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/servletmocking/SampleServletTest.java class SampleServletTest (line 31) | @RunWith(PowerMockRunner.class) method doGet (line 35) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/simplereturn/SimpleReturnExampleUserTest.java class SimpleReturnExampleUserTest (line 14) | @RunWith(PowerMockRunner.class) method testCreateMockDelegatedToEasyMock (line 18) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/singleton/LogicAndTestInSameClassTest.java class LogicAndTestInSameClassTest (line 33) | @RunWith(PowerMockRunner.class) method invokeMethod (line 37) | private static String invokeMethod() { method assertThatTestAndInstanceCanBeInSameClass (line 41) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/singleton/MockStaticTest.java class MockStaticTest (line 39) | @RunWith(PowerMockRunner.class) method testMockStatic (line 43) | @Test method testMockStaticFinal (line 64) | @Test method testMockStaticNative (line 85) | @Test method testMockStaticFinalNative (line 98) | @Test method mockAStaticMethod (line 111) | @Test method mockMockStatic_times2 (line 123) | @Test method mockStaticCallingOtherStatic (line 135) | @Test method testMockPrivateStatic (line 147) | @Test method testMockPrivateFinalStatic (line 162) | @Test method testMockPrivateNativeFinalStatic (line 177) | @Test method innerClassesWork (line 192) | @Test method innerInstanceClassesWork (line 197) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/singleton/SimpleStaticServiceTest.java class SimpleStaticServiceTest (line 14) | @RunWith(PowerMockRunner.class) method testMockStatic (line 18) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/stackoverflow/EvilHashCode.java class EvilHashCode (line 18) | public class EvilHashCode { method returnS (line 22) | public String returnS() method hashCode (line 27) | @Override method evilHashCode (line 32) | public int evilHashCode() { FILE: tests/easymock/junit4/src/test/java/samples/junit4/stackoverflow/StackOverFlowTest.java class StackOverFlowTest (line 27) | @RunWith(PowerMockRunner.class) method testStackOverFlowShouldNotOccur (line 31) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/staticandinstance/StaticAndInstanceDemoTest.java class StaticAndInstanceDemoTest (line 29) | @RunWith(PowerMockRunner.class) method testMockStaticMethodAndInstanceMethod (line 33) | @Test method testMockPrivateButNotStatic (line 57) | @Test method testMockStaticButNotInstance (line 74) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/staticandinstance/StaticAndInstanceWithConstructorCodeDemoTest.java class StaticAndInstanceWithConstructorCodeDemoTest (line 34) | @RunWith(PowerMockRunner.class) method testStaticAndInstanceWithConstructor (line 38) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/staticinitializer/AbstractStaticInitializerTest.java class AbstractStaticInitializerTest (line 26) | @RunWith(PowerMockRunner.class) method suppressStaticInitializerInAbstractClass (line 30) | @Test method suppressStaticInitializerInAbstractClassWhenInstantiated (line 35) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/staticinitializer/EvilStaticInitializerExampleTest.java class EvilStaticInitializerExampleTest (line 32) | @RunWith(PowerMockRunner.class) method assertNativeCodeInvocationWorks (line 35) | @Test method assertCorrectErrorMessageIfLibraryNotFound (line 42) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/staticinitializer/InterfaceStaticInitializerExampleTest.java class InterfaceStaticInitializerExampleTest (line 26) | @RunWith(PowerMockRunner.class) method testSupressStaticInitializer (line 31) | @Test method testSupressStaticInitializer2 (line 36) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/staticinitializer/StaticInitializerExampleTest.java class StaticInitializerExampleTest (line 30) | @RunWith(PowerMockRunner.class) method testSupressStaticInitializerAndSetFinalField (line 34) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/strict/StrictDemoTest.java class StrictDemoTest (line 16) | @RunWith(PowerMockRunner.class) method testCallB_notStrict (line 20) | @Test method testCallB_strict_failure (line 33) | @Test(expected = AssertionError.class) method testCallB_strict_ok (line 46) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/stubmethod/StubMethodTest.java class StubMethodTest (line 31) | @RunWith(PowerMockRunner.class) method whenStubbingInstanceMethodTheMethodReturnsTheStubbedValue (line 35) | @Test method whenStubbingStaticMethodTheMethodReturnsTheStubbedValue (line 46) | @Test method whenStubbingInstanceMethodWithPrimiteValueTheMethodReturnsTheStubbedValue (line 55) | @Test method whenSeveralMethodsFoundThenTooManyMethodsFoundExceptionIsThrown (line 66) | @Test(expected = TooManyMethodsFoundException.class) method whenNoMethodsFoundThenMethodNotFoundExceptionIsThrown (line 71) | @Test(expected = MethodNotFoundException.class) method whenStubbingInstanceMethodByPassingTheMethodTheMethodReturnsTheStubbedValue (line 76) | @Test method whenStubbingStaticMethodByPassingTheMethodTheMethodReturnsTheStubbedValue (line 87) | @Test method whenStubbingInstanceMethodWithWrongReturnTypeThenClasscastExceptionIsThrown (line 96) | @Test(expected = ClassCastException.class) method whenStubbingInstanceMethodToThrowExceptionTheMethodThrowsTheStubbedException (line 104) | @Test method whenStubbingStaticMethodToThrowExceptionTheMethodThrowsTheStubbedException (line 119) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/suppressconstructor/CreateUnmockedTest.java class CreateUnmockedTest (line 29) | @RunWith(PowerMockRunner.class) method testUnmockedWithNoConstructorAndReplayVerify (line 32) | @Test method testUnmockedWithConstructorAndAllowReplay (line 43) | @Test method testUnmockedWithReplayCausesException (line 54) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/suppressconstructor/SuppressConstructorDemoTest.java class SuppressConstructorDemoTest (line 44) | @RunWith(PowerMockRunner.class) method testSuppressConstructor (line 51) | @Test method testSuppressParentConstructor (line 62) | @Test method testPartialMockingAndSuppressParentConstructor (line 73) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/suppressconstructor/SuppressConstructorHierarchyDemoTest.java class SuppressConstructorHierarchyDemoTest (line 29) | @PrepareForTest(SuppressConstructorHierarchy.class) method testSuppressConstructorHierarchy (line 33) | @Test method testNotSuppressConstructorWithoutByteCodeManipulation (line 41) | @Test method testNotSuppressConstructorWithByteCodeManipulation (line 52) | @Test method testSuppressConstructorHierarchyAgain (line 68) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/suppressconstructor/SuppressNonParentConstructorDemoTest.java class SuppressNonParentConstructorDemoTest (line 24) | public class SuppressNonParentConstructorDemoTest { method testNewInstanceWithoutInvokingConstructor (line 26) | @Test method testNewInstanceInvokingConstructor (line 33) | @Test(expected = IllegalStateException.class) FILE: tests/easymock/junit4/src/test/java/samples/junit4/suppressfield/ItemRepositoryTest.java class ItemRepositoryTest (line 15) | @RunWith(PowerMockRunner.class) method testaddItem (line 19) | @Test(expected = NullPointerException.class) FILE: tests/easymock/junit4/src/test/java/samples/junit4/suppressfield/SuppressFieldTest.java class SuppressFieldTest (line 19) | @RunWith(PowerMockRunner.class) method assertThatSpecificStaticFinalFieldSuppressionWorks (line 23) | @Test method assertThatSpecificStaticFinalPrimitiveFieldSuppressionWorks (line 29) | @Ignore("Final primitive types doesn't work, see issue at https://gith... method assertThatSpecificInstanceFinalPrimitiveFieldSuppressionWorks (line 36) | @Ignore("Final primitive types doesn't work, see issue at https://gith... method assertThatSpecificInstanceFinalFieldSuppressionWorks (line 44) | @Test method assertThatSpecificPrimitiveInstanceFieldSuppressionWorks (line 51) | @Test method assertThatSpecificInstanceFieldSuppressionWorks (line 58) | @Test method assertThatSpecificInstanceFieldSuppressionWhenSpecifingClassAndFieldNameWorks (line 65) | @Test method assertThatMultipleInstanceFieldSuppressionWorks (line 72) | @Test method assertThatAllFieldSuppressionWorks (line 82) | @Test method assertThatObjectIsNeverInstansiated (line 92) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/suppressmethod/SuppressMethodTest.java class SuppressMethodTest (line 35) | @RunWith(PowerMockRunner.class) method testGetObject (line 39) | @Test method testSuppressMultipleMethods (line 47) | @Test method testGetObjectStatic (line 56) | @Test method testGetByte (line 64) | @Test method testGetShort (line 72) | @Test method testGetInt (line 80) | @Test method testGetLong (line 88) | @Test method testGetBoolean (line 96) | @Test method testGetFloat (line 105) | @Test method testGetDouble (line 114) | @Test method testGetDouble_parameter (line 123) | @Test method testInvokeVoid (line 132) | @Test method testInvokeVoid_noParameterTypeSupplied (line 141) | @Test method suppressAllMethodsInMultipleClasses (line 150) | @Test method suppressPublicStaticMethod (line 164) | @Test method suppressOverridingMethod (line 171) | @Test method testSuppressMethodInParentOnly (line 179) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/swing/ReallySimpleSwingDemoTest.java class ReallySimpleSwingDemoTest (line 17) | @RunWith(PowerMockRunner.class) method assertThatPowerMockWorksWithSwingComponents (line 21) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/system/FieldMockDefect.java class FieldMockDefect (line 26) | @RunWith(PowerMockRunner.class) method test (line 29) | @Test class ClassUnderTest (line 39) | private static final class ClassUnderTest { method foo (line 40) | public String foo(Field field) { FILE: tests/easymock/junit4/src/test/java/samples/junit4/system/SystemClassUserTest.java class SystemClassUserTest (line 49) | @RunWith(PowerMockRunner.class) method assertThatMockingOfNonFinalSystemClassesWorks (line 53) | @Test method assertThatMockingOfTheRuntimeSystemClassWorks (line 65) | @Test method assertThatMockingOfFinalSystemClassesWorks (line 82) | @Test method assertThatPartialMockingOfFinalSystemClassesWorks (line 95) | @Test method assertThatMockingOfCollectionsWork (line 110) | @Test method assertThatPartialMockingOfFinalSystemClassesWorksForNonVoidMethods (line 125) | @Test method assertThatMockingStringWorks (line 139) | @Test method mockingStaticVoidMethodWorks (line 156) | @Test method mockingInstanceMethodOfFinalSystemClassWorks (line 174) | @Test method mockingURLWorks (line 187) | @Test method mockingFinalMethodsInSystemClassesWorks (line 201) | @Test method mockingInetAddressWorks (line 215) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/testhierarchy/RunWithHierarchyTest.java class RunWithHierarchyTest (line 23) | @PrepareForTest(FinalDemo.class) method testname (line 26) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/testhierarchy/TestParent.java class TestParent (line 21) | @RunWith(PowerMockRunner.class) FILE: tests/easymock/junit4/src/test/java/samples/junit4/verify/AssertVerifyWorksTest.java class AssertVerifyWorksTest (line 17) | @RunWith(PowerMockRunner.class) method testMockStaticWorks (line 21) | @Test FILE: tests/easymock/junit4/src/test/java/samples/junit4/whitebox/PowerMockConstructorFiltrationTest.java class PowerMockConstructorFiltrationTest (line 26) | public class PowerMockConstructorFiltrationTest { method findUniqueConstructorOrThrowExceptionFiltersPowerMockConstructors (line 27) | @Test FILE: tests/easymock/junit4/src/test/java/samples/methodhierarchy/MethodInvocationDemoTest.java class MethodInvocationDemoTest (line 33) | @RunWith(PowerMockRunner.class) method testCreatePartialMockForAProtectedMethodInASubclass (line 37) | @Test method testCreatePartialMockForAProtectedMethodInASpecificSubclass (line 52) | @Test method testWhenClassUnderTestIsAnAnonymousInnerClass (line 68) | @Test method testInvokePrivateMethodInSuperClassWhenClassUnderTestIsAnAnonymousInnerClass (line 77) | @Test method testInvokeProtectedMethodWhenClassUnderTestIsAnAnonymousInnerClass (line 86) | @Test method testInvokeProtectedMethodWhenClassUnderTestIsAnAnonymousInnerClassUsingWithbox (line 95) | @Test method testInvokeSpecificMethodInHierarchy (line 104) | @Test method testInvokeSpecificMethodInHierarchyWithArguments (line 112) | @Test FILE: tests/easymock/junit4/src/test/java/samples/packageprivate/PackagePrivateClassTest.java class PackagePrivateClassTest (line 30) | @RunWith(PowerMockRunner.class) method testMockAPackagePrivateClass (line 34) | @Test FILE: tests/easymock/junit4/src/test/java/samples/suppressconstructor/SuppressDefaultConstructorTest.java class SuppressDefaultConstructorTest (line 30) | @RunWith(PowerMockRunner.class) method powerMockCanSuppressDefaultConstructor (line 34) | @Test method powerMockSuppressesOnlyDefaultConstructorWhenUsingDefaultConstructorIn (line 42) | @Test(expected = IllegalArgumentException.class) method powerMockCanSuppressDefaultConstructorUsingConstructorMethod (line 48) | @Test method powerMockSuppressesOnlyDefaultConstructorWhenApplicable (line 56) | @Test(expected = IllegalArgumentException.class) FILE: tests/easymock/junit4/src/test/java/samples/suppressconstructor/SuppressSpecificConstructorDemoTest.java class SuppressSpecificConstructorDemoTest (line 27) | @RunWith(PowerMockRunner.class) method testMockStringConstructor (line 31) | @Test FILE: tests/easymock/junit410/src/test/java/samples/junit410/assume/AssumeForJUnit410Test.java class AssumeForJUnit410Test (line 9) | @RunWith(PowerMockRunner.class) method assumesWorkWithPowerMockForJUnit410 (line 12) | @Test FILE: tests/easymock/junit410/src/test/java/samples/junit410/expectnew/ExpectNewDemoTest.java class ExpectNewDemoTest (line 31) | @RunWith(PowerMockRunner.class) FILE: tests/easymock/junit410/src/test/java/samples/junit410/expectnew/ExpectNewOfFinalSystemClassTest.java class ExpectNewOfFinalSystemClassTest (line 28) | @RunWith(PowerMockRunner.class) method assertThatExpectNewWorksForFinalSystemClasses (line 32) | @Test FILE: tests/easymock/junit410/src/test/java/samples/junit410/github668/Github668.java class Github668 (line 19) | @RunWith(PowerMockRunner.class) method mockClassShouldInjected (line 26) | @Test method shouldBeAbleMockMethodsOfInjected (line 31) | @Test FILE: tests/easymock/junit410/src/test/java/samples/junit410/github668/IncidentPropertyChangeDAO.java type IncidentPropertyChangeDAO (line 6) | public interface IncidentPropertyChangeDAO { method getIncident (line 7) | String getIncident(); FILE: tests/easymock/junit410/src/test/java/samples/junit410/rules/AssertThatJUnit410RulesWorks.java class AssertThatJUnit410RulesWorks (line 36) | @RunWith(PowerMockRunner.class) method assertThatJUnit410RulesWorks (line 48) | @Test class MyRule (line 55) | private class MyRule implements MethodRule { method apply (line 56) | public Statement apply(final Statement base, FrameworkMethod method,... FILE: tests/easymock/junit410/src/test/java/samples/junit410/rules/ExceptionHandlingRuleTest.java class ExceptionHandlingRuleTest (line 35) | @RunWith(PowerMockRunner.class) method setUp (line 47) | @Before method exceptionThrownByRuleFailsTheTest (line 56) | @Test FILE: tests/easymock/junit410/src/test/java/samples/junit410/rules/NoRuleAssertionErrorTest.java class NoRuleAssertionErrorTest (line 24) | @RunWith(PowerMockRunner.class) method assertionErrorIsThrownOnFailureWhenNoRulesDefined (line 27) | @Test(expected = AssertionError.class) FILE: tests/easymock/junit410/src/test/java/samples/junit410/rules/impl/SimpleEasyMockJUnitRule.java class SimpleEasyMockJUnitRule (line 13) | public class SimpleEasyMockJUnitRule implements MethodRule { method SimpleEasyMockJUnitRule (line 22) | public SimpleEasyMockJUnitRule() { method SimpleEasyMockJUnitRule (line 32) | public SimpleEasyMockJUnitRule(IMocksControl control) { method createMock (line 36) | public T createMock(Class toMock) { method reset (line 40) | public void reset() { method replay (line 45) | public void replay() { method verify (line 50) | public void verify() { method apply (line 54) | @Override FILE: tests/easymock/junit412/src/test/java/samples/junit412/bug/github755/TwoObjectsAnnotatedTest.java class TwoObjectsAnnotatedTest (line 13) | @RunWith(PowerMockRunner.class) method should_create_mock_for_all_fields_annotated_Mock (line 28) | @Test method should_create_mock_for_all_fields_annotated_MockNice (line 34) | @Test FILE: tests/easymock/junit412/src/test/java/samples/junit412/expectnew/ExpectNewDemoTest.java class ExpectNewDemoTest (line 31) | @RunWith(PowerMockRunner.class) FILE: tests/easymock/junit412/src/test/java/samples/junit412/expectnew/ExpectNewOfFinalSystemClassTest.java class ExpectNewOfFinalSystemClassTest (line 31) | @RunWith(PowerMockRunner.class) method assertThatExpectNewWorksForFinalSystemClasses (line 35) | @Test FILE: tests/easymock/junit412/src/test/java/samples/junit412/github668/Github668Test.java class Github668Test (line 7) | @RunWith(Suite.class) FILE: tests/easymock/junit412/src/test/java/samples/junit412/github668/IncidentPropertyChangeDAO.java type IncidentPropertyChangeDAO (line 6) | public interface IncidentPropertyChangeDAO { method getIncident (line 7) | String getIncident(); FILE: tests/easymock/junit412/src/test/java/samples/junit412/github668/TwoMockFieldsWithDifferentTypesClass.java class TwoMockFieldsWithDifferentTypesClass (line 20) | @RunWith(PowerMockRunner.class) method mockClassShouldInjected (line 30) | @Test method shouldBeAbleMockMethodsOfInjected (line 36) | @Test FILE: tests/easymock/junit412/src/test/java/samples/junit412/github668/TwoMockFieldsWithSameTypeCase.java class TwoMockFieldsWithSameTypeCase (line 19) | @RunWith(PowerMockRunner.class) method mockClassShouldInjected (line 29) | @Test method shouldBeAbleMockMethodsOfInjected (line 35) | @Test FILE: tests/easymock/junit45/src/main/java/demo/org/powermock/modules/test/junit45/failure/MyClass.java class MyClass (line 18) | public class MyClass { method sum (line 20) | public int sum(int a, int b) throws MyException { FILE: tests/easymock/junit45/src/main/java/demo/org/powermock/modules/test/junit45/failure/MyException.java class MyException (line 18) | public class MyException extends Exception { FILE: tests/easymock/junit45/src/main/java/demo/org/powermock/modules/test/junit45/failure/MyUtils.java class MyUtils (line 18) | public class MyUtils { method isValid (line 20) | public static boolean isValid(int a) { FILE: tests/easymock/junit45/src/test/java/demo/org/powermock/modules/test/junit45/failure/AssertThatJUnit45FailuresWorkTest.java class AssertThatJUnit45FailuresWorkTest (line 37) | @RunWith(PowerMockRunner.class) method testAssumptionViolatedException (line 41) | @Test(expected = AssumptionViolatedException.class) method testSum (line 46) | @Test(expected = MyException.class) method testSum2 (line 59) | @Test(expected = MyException.class) FILE: tests/easymock/junit47/src/test/java/samples/junit4/annotationbased/FinalDemoWithAnnotationInjectionAndFieldDefaulterTest.java class FinalDemoWithAnnotationInjectionAndFieldDefaulterTest (line 38) | @RunWith(PowerMockRunner.class) method testSay (line 50) | @Test method testSayFinalNative (line 70) | @Test FILE: tests/easymock/junit47/src/test/java/samples/junit4/expectnew/ExpectNewDemoTest.java class ExpectNewDemoTest (line 30) | @RunWith(PowerMockRunner.class) FILE: tests/easymock/junit47/src/test/java/samples/junit4/expectnew/ExpectNewOfFinalSystemClassTest.java class ExpectNewOfFinalSystemClassTest (line 28) | @RunWith(PowerMockRunner.class) method assertThatExpectNewWorksForFinalSystemClasses (line 32) | @Test FILE: tests/easymock/junit47/src/test/java/samples/junit4/rules/AssertThatJUnit47RulesWorks.java class AssertThatJUnit47RulesWorks (line 36) | @RunWith(PowerMockRunner.class) method assertThatJUnit47RulesWorks (line 48) | @Test class MyRule (line 55) | private class MyRule implements MethodRule { method apply (line 56) | @Override FILE: tests/easymock/junit47/src/test/java/samples/junit4/rules/NoRuleAssertionErrorTest.java class NoRuleAssertionErrorTest (line 24) | @RunWith(PowerMockRunner.class) method assertionErrorIsThrownOnFailureWhenNoRulesDefined (line 27) | @Test(expected = AssertionError.class) FILE: tests/easymock/junit47/src/test/java/samples/junit4/rules/RuleOrderTest.java class RuleOrderTest (line 28) | @RunWith(PowerMockRunner.class) method setup (line 38) | @Before method rulesAreExecutedBeforeSetupMethods (line 43) | @Test FILE: tests/easymock/junit47/src/test/java/samples/junit4/rules/ThrowingRuleTest.java class ThrowingRuleTest (line 30) | @RunWith(PowerMockRunner.class) method throwsNullPointerException (line 35) | @Test method throwsNullPointerExceptionWithMessage (line 41) | @Test method unexpectAssertionErrorFailsTestCorrectly (line 48) | @Test(expected = NullPointerException.class) FILE: tests/easymock/junit48/src/test/java/samples/junit48/expectnew/ExpectNewDemoTest.java class ExpectNewDemoTest (line 31) | @RunWith(PowerMockRunner.class) FILE: tests/easymock/junit48/src/test/java/samples/junit48/expectnew/ExpectNewOfFinalSystemClassTest.java class ExpectNewOfFinalSystemClassTest (line 28) | @RunWith(PowerMockRunner.class) method assertThatExpectNewWorksForFinalSystemClasses (line 32) | @Test FILE: tests/easymock/junit48/src/test/java/samples/junit48/rules/AssertThatJUnit48RulesWorks.java class AssertThatJUnit48RulesWorks (line 36) | @RunWith(PowerMockRunner.class) method assertThatJUnit47RulesWorks (line 48) | @Test class MyRule (line 55) | private class MyRule implements MethodRule { method apply (line 56) | @Override FILE: tests/easymock/junit48/src/test/java/samples/junit48/rules/ExceptionHandlingRuleTest.java class ExceptionHandlingRuleTest (line 35) | @RunWith(PowerMockRunner.class) method setUp (line 47) | @Before method exceptionThrownByRuleFailsTheTest (line 56) | @Test FILE: tests/easymock/junit48/src/test/java/samples/junit48/rules/NoRuleAssertionErrorTest.java class NoRuleAssertionErrorTest (line 24) | @RunWith(PowerMockRunner.class) method assertionErrorIsThrownOnFailureWhenNoRulesDefined (line 27) | @Test(expected = AssertionError.class) FILE: tests/easymock/junit48/src/test/java/samples/junit48/rules/RuleOrderTest.java class RuleOrderTest (line 28) | @RunWith(PowerMockRunner.class) method setup (line 38) | @Before method rulesAreExecutedBeforeSetupMethods (line 43) | @Test FILE: tests/easymock/junit48/src/test/java/samples/junit48/rules/ThrowingRuleTest.java class ThrowingRuleTest (line 30) | @RunWith(PowerMockRunner.class) method throwsNullPointerException (line 35) | @Test method throwsNullPointerExceptionWithMessage (line 41) | @Test method unexpectAssertionErrorFailsTestCorrectly (line 48) | @Test(expected = NullPointerException.class) FILE: tests/easymock/junit48/src/test/java/samples/junit48/rules/impl/SimpleEasyMockJUnitRule.java class SimpleEasyMockJUnitRule (line 13) | public class SimpleEasyMockJUnitRule implements MethodRule { method SimpleEasyMockJUnitRule (line 22) | public SimpleEasyMockJUnitRule() { method SimpleEasyMockJUnitRule (line 32) | public SimpleEasyMockJUnitRule(IMocksControl control) { method createMock (line 36) | public T createMock(Class toMock) { method reset (line 40) | public void reset() { method replay (line 45) | public void replay() { method verify (line 50) | public void verify() { method apply (line 54) | @Override FILE: tests/easymock/testng-agent/src/test/java/samples/testng/agent/AnnotationDemoTest.java class AnnotationDemoTest (line 18) | @PrepareForTest method assertInjectionWorked (line 24) | @Test FILE: tests/easymock/testng-agent/src/test/java/samples/testng/agent/AnnotationDemoWithBeforeMethodTest.java class AnnotationDemoWithBeforeMethodTest (line 20) | public class AnnotationDemoWithBeforeMethodTest extends PowerMockTestCase { method setup (line 27) | @BeforeMethod method assertInjectionWorked (line 32) | @Test FILE: tests/easymock/testng-agent/src/test/java/samples/testng/agent/FinalDemoTest.java class FinalDemoTest (line 33) | @PrepareForTest(FinalDemo.class) method testSay (line 36) | @Test method testSayFinalNative (line 58) | @Test FILE: tests/easymock/testng-agent/src/test/java/samples/testng/agent/MockStaticExtendsPowerMockTestCaseTest.java class MockStaticExtendsPowerMockTestCaseTest (line 35) | @PrepareForTest( { StaticService.class, StaticHelper.class }) method testMockStatic (line 38) | @Test method testMockStaticFinal (line 59) | @Test FILE: tests/easymock/testng-agent/src/test/java/samples/testng/agent/MockStaticTest.java class MockStaticTest (line 37) | @PrepareForTest( { StaticService.class, StaticHelper.class }) method testMockStatic (line 40) | @Test method testMockStaticFinal (line 54) | @Test FILE: tests/easymock/testng-agent/src/test/java/samples/testng/agent/NotAnnotatedWithPrepareForTest.java class NotAnnotatedWithPrepareForTest (line 24) | public class NotAnnotatedWithPrepareForTest { method classesNotAnnotatedWithPrepareForTestAreNotLoadedByPowerMockClassloader (line 26) | @Test FILE: tests/easymock/testng-agent/src/test/java/samples/testng/agent/PartialMockingWithBeforeClassTest.java class PartialMockingWithBeforeClassTest (line 33) | @PrepareForTest(PrivateFinal.class) method setup (line 37) | @BeforeClass method partialMockingWithMockCreatedInBeforeClassMethod (line 42) | @Test FILE: tests/easymock/testng-agent/src/test/java/samples/testng/agent/PrivateFinalTest.java class PrivateFinalTest (line 31) | @PrepareForTest(PrivateFinal.class) method testSay (line 34) | @Test method testMultiMock (line 47) | @Test FILE: tests/easymock/testng-agent/src/test/java/samples/testng/agent/SampleServletTest.java class SampleServletTest (line 32) | @PrepareForTest(SampleServlet.class) method doGet (line 35) | @Test method getObjectFactory (line 52) | @ObjectFactory FILE: tests/easymock/testng-agent/src/test/java/samples/testng/agent/SystemClassUserTest.java class SystemClassUserTest (line 50) | @PrepareForTest( { SystemClassUser.class }) method assertThatMockingOfNonFinalSystemClassesWorks (line 53) | @Test method assertThatMockingOfTheRuntimeSystemClassWorks (line 65) | @Test method assertThatMockingOfFinalSystemClassesWorks (line 82) | @Test method assertThatPartialMockingOfFinalSystemClassesWorks (line 95) | @Test method assertThatPartialMockingOfFinalSystemClassesWorksForNonVoidMethods (line 110) | @Test method assertThatMockingOfCollectionsWork (line 124) | @Test method assertThatMockingStringWorks (line 139) | @Test method mockingStaticVoidMethodWorks (line 156) | @Test method mockingInstanceMethodOfFinalSystemClassWorks (line 174) | @Test method mockingURLWorks (line 187) | @Test method mockingInetAddressWorks (line 201) | @Test FILE: tests/easymock/testng/src/test/java/samples/testng/AnnotationDemoTest.java class AnnotationDemoTest (line 17) | @PrepareForTest method assertInjectionWorked (line 23) | @Test FILE: tests/easymock/testng/src/test/java/samples/testng/AnnotationDemoWithBeforeMethodTest.java class AnnotationDemoWithBeforeMethodTest (line 19) | public class AnnotationDemoWithBeforeMethodTest { method setup (line 26) | @BeforeMethod method assertInjectionWorked (line 31) | @Test FILE: tests/easymock/testng/src/test/java/samples/testng/DocumentBuilderFactoryTest.java class DocumentBuilderFactoryTest (line 7) | public class DocumentBuilderFactoryTest { method classesNotAnnotatedWithPrepareForTestAreNotLoadedByByPowerMockCl (line 9) | @Test FILE: tests/easymock/testng/src/test/java/samples/testng/FinalTest.java class FinalTest (line 12) | @PrepareForTest(FinalDemo.class) method mockingFinalClassesAndMethodsWorkWithTestNGAndEasyMock (line 15) | @Test FILE: tests/easymock/testng/src/test/java/samples/testng/MockStaticExtendsPowerMockTestCaseTest.java class MockStaticExtendsPowerMockTestCaseTest (line 35) | @PrepareForTest( { StaticService.class, StaticHelper.class }) method testMockStatic (line 38) | @Test method testMockStaticFinal (line 59) | @Test FILE: tests/easymock/testng/src/test/java/samples/testng/MockStaticTest.java class MockStaticTest (line 36) | @PrepareForTest( { StaticService.class, StaticHelper.class }) method testMockStatic (line 39) | @Test method testMockStaticFinal (line 53) | @Test FILE: tests/easymock/testng/src/test/java/samples/testng/NotAnnotatedWithPrepareForTest.java class NotAnnotatedWithPrepareForTest (line 24) | public class NotAnnotatedWithPrepareForTest { method classesNotAnnotatedWithPrepareForTestAreNotLoadedByPowerMockClassloader (line 26) | @Test FILE: tests/easymock/testng/src/test/java/samples/testng/PartialMockingWithBeforeClassTest.java class PartialMockingWithBeforeClassTest (line 33) | @PrepareForTest(PrivateFinal.class) method setup (line 37) | @BeforeClass method partialMockingWithMockCreatedInBeforeClassMethod (line 42) | @Test FILE: tests/easymock/testng/src/test/java/samples/testng/PrivateFinalTest.java class PrivateFinalTest (line 31) | @PrepareForTest(PrivateFinal.class) method testSay (line 34) | @Test method testMultiMock (line 47) | @Test FILE: tests/easymock/testng/src/test/java/samples/testng/SampleServletTest.java class SampleServletTest (line 32) | @PrepareForTest(SampleServlet.class) method doGet (line 35) | @Test method getObjectFactory (line 52) | @ObjectFactory FILE: tests/easymock/testng/src/test/java/samples/testng/StaticInitializerExampleTest.java class StaticInitializerExampleTest (line 28) | @SuppressStaticInitializationFor("samples.staticinitializer.StaticInitia... method testSupressStaticInitializer (line 31) | @Test method testSupressStaticInitializerAndSetFinalField (line 36) | @Test FILE: tests/easymock/testng/src/test/java/samples/testng/SystemClassUserTest.java class SystemClassUserTest (line 49) | @PrepareForTest( { SystemClassUser.class }) method assertThatMockingOfNonFinalSystemClassesWorks (line 52) | @Test method assertThatMockingOfTheRuntimeSystemClassWorks (line 64) | @Test method assertThatMockingOfFinalSystemClassesWorks (line 81) | @Test method assertThatPartialMockingOfFinalSystemClassesWorks (line 94) | @Test method assertThatMockingOfCollectionsWork (line 109) | @Test method assertThatPartialMockingOfFinalSystemClassesWorksForNonVoidMethods (line 124) | @Test method assertThatMockingStringWorks (line 138) | @Test method mockingStaticVoidMethodWorks (line 155) | @Test method mockingInstanceMethodOfFinalSystemClassWorks (line 173) | @Test method mockingURLWorks (line 186) | @Test method mockingInetAddressWorks (line 200) | @Test FILE: tests/java11/mockito-junit4/src/main/java/samples/powermockito/junit4/bugs/github958/OuterClass.java class OuterClass (line 3) | public class OuterClass { class InnerSingleton (line 5) | public static class InnerSingleton { method InnerSingleton (line 7) | private InnerSingleton() {} FILE: tests/java11/mockito-junit4/src/test/java/samples/powermockito/junit4/bugs/github958/Github958Test.java class Github958Test (line 10) | @RunWith(PowerMockRunner.class) method test (line 13) | @Test FILE: tests/java8/easymock-junit4/src/main/java/samples/powermockito/junit4/bugs/github717/Instance.java class Instance (line 3) | public class Instance { FILE: tests/java8/easymock-junit4/src/main/java/samples/powermockito/junit4/bugs/github717/InstanceFacade.java type InstanceFacade (line 3) | public interface InstanceFacade { FILE: tests/java8/easymock-junit4/src/main/java/samples/powermockito/junit4/bugs/github717/InstanceFacadeImpl.java class InstanceFacadeImpl (line 7) | public class InstanceFacadeImpl implements InstanceFacade { FILE: tests/java8/easymock-junit4/src/main/java/samples/powermockito/junit4/bugs/github717/InstanceStatus.java type InstanceStatus (line 3) | public enum InstanceStatus { FILE: tests/java8/easymock-junit4/src/test/java/samples/powermockito/junit4/bugs/github717/InstanceFacadeImplTest.java class InstanceFacadeImplTest (line 14) | @RunWith(PowerMockRunner.class) method setup (line 21) | @Before method should_not_throw_exception (line 26) | @Test FILE: tests/java8/mockito-junit4-agent/src/main/java/samples/powermockito/junit4/bugs/github510/ClassUsesInterface.java class ClassUsesInterface (line 6) | public class ClassUsesInterface { method saySomething (line 8) | public String saySomething(){ FILE: tests/java8/mockito-junit4-agent/src/main/java/samples/powermockito/junit4/bugs/github510/InterfaceWithStatic.java type InterfaceWithStatic (line 6) | public interface InterfaceWithStatic { method sayHello (line 8) | static String sayHello(){ FILE: tests/java8/mockito-junit4-agent/src/test/java/samples/powermockito/junit4/bugs/github510/ClassUsesInterfaceTest.java class ClassUsesInterfaceTest (line 16) | @PrepareForTest(InterfaceWithStatic.class) method setUp (line 24) | @Before method testSaySomething (line 31) | @Test FILE: tests/java8/mockito-junit4-rule-xstream/src/main/java/samples/powermockito/junit4/bugs/github510/ClassUsesInterface.java class ClassUsesInterface (line 6) | public class ClassUsesInterface { method saySomething (line 8) | public String saySomething(){ FILE: tests/java8/mockito-junit4-rule-xstream/src/main/java/samples/powermockito/junit4/bugs/github510/InterfaceWithStatic.java type InterfaceWithStatic (line 6) | public interface InterfaceWithStatic { method sayHello (line 8) | static String sayHello(){ FILE: tests/java8/mockito-junit4-rule-xstream/src/test/java/samples/powermockito/junit4/bugs/github510/ClassUsesInterfaceTest.java class ClassUsesInterfaceTest (line 16) | @PrepareForTest(InterfaceWithStatic.class) method setUp (line 24) | @Before method testSaySomething (line 32) | @Test FILE: tests/java8/mockito-junit4/src/main/java/samples/powermockito/junit4/bugs/github510/ClassUsesInterface.java class ClassUsesInterface (line 6) | public class ClassUsesInterface { method saySomething (line 8) | public String saySomething(){ method createAndSay (line 12) | public String createAndSay(){ FILE: tests/java8/mockito-junit4/src/main/java/samples/powermockito/junit4/bugs/github510/ConstructorObject.java class ConstructorObject (line 6) | public class ConstructorObject { method sayHello (line 7) | public String sayHello() { FILE: tests/java8/mockito-junit4/src/main/java/samples/powermockito/junit4/bugs/github510/InterfaceWithStatic.java type InterfaceWithStatic (line 6) | public interface InterfaceWithStatic { method sayHello (line 8) | static String sayHello(){ method createAndSay (line 12) | static String createAndSay(){ FILE: tests/java8/mockito-junit4/src/main/java/samples/powermockito/junit4/largemethod/InterfaceMethodExceedingJvmLimit.java type InterfaceMethodExceedingJvmLimit (line 23) | public interface InterfaceMethodExceedingJvmLimit { method init (line 28) | static String init() { FILE: tests/java8/mockito-junit4/src/test/java/org/powermock/modules/junit4/largemethod/LargeMethodInInterfaceTest.java class LargeMethodInInterfaceTest (line 20) | @RunWith(PowerMockRunner.class) method largeMethodShouldBeOverridden (line 24) | @Test method largeMethodShouldBeAbleToBeSuppressed (line 35) | @Test method largeMethodShouldBeAbleToBeMocked (line 41) | @Test method largeMethodShouldBeAbleToBeMockedAndThrowException (line 50) | @Test(expected = IllegalStateException.class) FILE: tests/java8/mockito-junit4/src/test/java/samples/powermockito/junit4/bugs/github510/Github510Test.java class Github510Test (line 18) | @RunWith(PowerMockRunner.class) method setUp (line 24) | @Before method testSaySomething (line 29) | @Test method testInterfaceStaticCallsConstructor (line 39) | @Test FILE: tests/junit4/src/test/java/samples/powermockito/junit4/bugs/github352/GitHub352Test.java class GitHub352Test (line 12) | public class GitHub352Test { method testCountShouldBe3WhenRunWithDefaultRunner (line 15) | @Test method testCountShouldBe3WhenRunWithPowerMockRunner (line 25) | @Test FILE: tests/junit4/src/test/java/samples/powermockito/junit4/bugs/github352/MyAbstractTest.java class MyAbstractTest (line 8) | public abstract class MyAbstractTest { method test1 (line 11) | @Test method test2 (line 14) | @Test FILE: tests/junit4/src/test/java/samples/powermockito/junit4/bugs/github352/MyTest.java class MyTest (line 8) | public class MyTest extends MyAbstractTest { method test1 (line 12) | @Override method test2 (line 17) | @Override method test3 (line 22) | @Test FILE: tests/junit4/src/test/java/samples/powermockito/junit4/bugs/github722/GitHub722Test.java class GitHub722Test (line 13) | public class GitHub722Test { method testDelegatingPowerMockRunnerUseTheories (line 18) | @Test method testDelegatingPowerMockRunnerUseJUnit (line 30) | @Test FILE: tests/junit4/src/test/java/samples/powermockito/junit4/bugs/github722/UseJUnitTest.java class UseJUnitTest (line 7) | @RunWith(PowerMockRunner.class) method testJUnitTest (line 10) | @Test FILE: tests/junit4/src/test/java/samples/powermockito/junit4/bugs/github722/UseTheoriesTest.java class UseTheoriesTest (line 9) | @RunWith(PowerMockRunner.class) method testUseTheoriesTest (line 13) | @Theory FILE: tests/junit4/src/test/java/samples/powermockito/junit4/bugs/github733/GitHub733Test.java class GitHub733Test (line 6) | public class GitHub733Test { method testPowerMockJUnit4MethodValidatorAcceptsTestAnnotatedMethods (line 8) | @Test FILE: tests/junit4/src/test/java/samples/powermockito/junit4/bugs/github733/UseTestAnnotatedTest.java class UseTestAnnotatedTest (line 9) | @RunWith(Enclosed.class) method UseTestAnnotatedTest (line 12) | public UseTestAnnotatedTest(Class klass) { class MethodToTest (line 16) | @RunWith(PowerMockRunner.class) method genericMethod (line 19) | @Test FILE: tests/mockito/inline/src/main/java/samples/powermockito/inline/bugs/github793/FinalClass.java class FinalClass (line 21) | public final class FinalClass { method ask (line 23) | public String ask(){ method say (line 27) | public final void say(String message){ FILE: tests/mockito/inline/src/main/java/samples/powermockito/inline/bugs/github793/StaticClass.java class StaticClass (line 21) | public class StaticClass { method ask (line 23) | public static String ask(){ method say (line 27) | public static void say(String message){ FILE: tests/mockito/inline/src/test/java/samples/powermockito/inline/bugs/github793/MockitoFinalClassMockingTest.java class MockitoFinalClassMockingTest (line 33) | public class MockitoFinalClassMockingTest { method should_mock_final_class_with_using_mockito_inline_mock_creator (line 35) | @Test method should_mock_final_method_with_using_mockito_inline_mock_creator (line 51) | @Test FILE: tests/mockito/inline/src/test/java/samples/powermockito/inline/bugs/github793/PartialMockingExampleTest.java class PartialMockingExampleTest (line 34) | @RunWith(PowerMockRunner.class) method validatingSpiedObjectGivesCorrectNumberOfExpectedInvocations (line 37) | @Test method validatingSpiedObjectGivesCorrectNumberOfExpectedInvocationsForMockito (line 49) | @Test FILE: tests/mockito/inline/src/test/java/samples/powermockito/inline/bugs/github793/PowerMockStaticMockingTest.java class PowerMockStaticMockingTest (line 35) | @RunWith(PowerMockRunner.class) method should_mock_static_method_when_mockito_inline_mock_creator_for_mockito_tests (line 39) | @Test method should_verify_static_method_when_mockito_inline_mock_creator_for_mockito_tests (line 56) | @Test FILE: tests/mockito/junit4-agent/src/test/java/samples/powermockito/junit4/agent/AnnotationUsageTest.java class AnnotationUsageTest (line 35) | @RunWith(Parameterized.class) method AnnotationUsageTest (line 52) | public AnnotationUsageTest(String fooId) { method data (line 57) | @Parameterized.Parameters() method setUp (line 66) | @Before method annotationsAreEnabledWhenUsingTheJUnitRule (line 72) | @Test FILE: tests/mockito/junit4-agent/src/test/java/samples/powermockito/junit4/agent/AssertPowerMockRuleDelagatesToOtherRulesTest.java class AssertPowerMockRuleDelagatesToOtherRulesTest (line 35) | public class AssertPowerMockRuleDelagatesToOtherRulesTest { method assertPowerMockRuleDelegatesToOtherRules (line 49) | @Test class MyObject (line 61) | private static class MyObject { method hashCode (line 64) | @Override method equals (line 69) | @Override class MyRule (line 80) | private class MyRule implements MethodRule { method apply (line 81) | @Override FILE: tests/mockito/junit4-agent/src/test/java/samples/powermockito/junit4/agent/LargeMethodTest.java class LargeMethodTest (line 20) | @PrepareForTest(MethodExceedingJvmLimit.class) method largeMethodShouldBeOverridden (line 26) | @Test method largeMethodShouldBeAbleToBeSuppressed (line 37) | @Test method largeMethodShouldBeAbleToBeMocked (line 43) | @Test method largeMethodShouldBeAbleToBeMockedAndThrowException (line 52) | @Test(expected = IllegalStateException.class) FILE: tests/mockito/junit4-agent/src/test/java/samples/powermockito/junit4/agent/MemberModificationExampleTest.java class MemberModificationExampleTest (line 51) | @PrepareForTest( { SuppressMethod.class, SuppressField.class, SuppressEv... method suppressSingleMethodExample (line 56) | @Test method suppressMultipleMethodsExample1 (line 63) | @Test method suppressMultipleMethodsExample2 (line 71) | @Test method suppressAllMethodsExample (line 79) | @Test method suppressSingleFieldExample (line 90) | @Test method suppressConstructorExample (line 98) | @Test method stubSingleMethodExample (line 108) | @Test method duckTypeStaticMethodExample (line 118) | @Test method whenReplacingMethodWithAMethodOfIncorrectReturnTypeThenAnIAEIsThrown (line 126) | @Test method whenReplacingMethodWithAMethodOfWithIncorrectParametersThenAnIAEIsThrown (line 137) | @Test method changingReturnValueExample (line 148) | @Test method suppressAllConstructors (line 158) | @Test method suppressEverythingExample (line 173) | @Test class ReturnValueChangingInvocationHandler (line 183) | private final class ReturnValueChangingInvocationHandler implements In... method invoke (line 184) | @Override FILE: tests/mockito/junit4-agent/src/test/java/samples/powermockito/junit4/agent/MockFinalNonStaticMethodsTest.java class MockFinalNonStaticMethodsTest (line 29) | @PrepareForTest( { FinalDemo.class, PrivateFinal.class }) FILE: tests/mockito/junit4-agent/src/test/java/samples/powermockito/junit4/agent/MockFinalUsingAnnotationsTest.java class MockFinalUsingAnnotationsTest (line 33) | @PrepareForTest(FinalDemo.class) method assertMockFinalWithMockitoMockAnnotationWorks (line 46) | @Test method assertMockFinalWithDeprecatedMockitoMockAnnotationWorks (line 55) | @Test FILE: tests/mockito/junit4-agent/src/test/java/samples/powermockito/junit4/agent/MockStaticTest.java class MockStaticTest (line 28) | @PrepareForTest({StaticService.class, SimpleStaticService.class}) FILE: tests/mockito/junit4-agent/src/test/java/samples/powermockito/junit4/agent/MockStaticWithPrivateCtorTest.java class MockStaticWithPrivateCtorTest (line 29) | @PrepareForTest(StaticWithPrivateCtor.class) method canMockStaticMethodsInClassWithPrivateConstructor (line 35) | @Test FILE: tests/mockito/junit4-agent/src/test/java/samples/powermockito/junit4/agent/PrivateInstanceMockingTest.java class PrivateInstanceMockingTest (line 9) | @PrepareForTest( { PrivateMethodDemo.class }) FILE: tests/mockito/junit4-agent/src/test/java/samples/powermockito/junit4/agent/StubMethodTest.java class StubMethodTest (line 31) | @PrepareForTest(SuppressMethod.class) method whenStubbingInstanceMethodTheMethodReturnsTheStubbedValue (line 37) | @Test method whenStubbingStaticMethodTheMethodReturnsTheStubbedValue (line 48) | @Test method whenStubbingInstanceMethodWithPrimiteValueTheMethodReturnsTheStubbedValue (line 57) | @Test method whenSeveralMethodsFoundThenTooManyMethodsFoundExceptionIsThrown (line 68) | @Test(expected = TooManyMethodsFoundException.class) method whenNoMethodsFoundThenMethodNotFoundExceptionIsThrown (line 73) | @Test(expected = MethodNotFoundException.class) method whenStubbingInstanceMethodByPassingTheMethodTheMethodReturnsTheStubbedValue (line 78) | @Test method whenStubbingStaticMethodByPassingTheMethodTheMethodReturnsTheStubbedValue (line 89) | @Test method whenStubbingInstanceMethodWithWrongReturnTypeThenClasscastExceptionIsThrown (line 98) | @Test(expected = ClassCastException.class) method whenStubbingInstanceMethodToThrowExceptionTheMethodThrowsTheStubbedException (line 106) | @Test method whenStubbingStaticMethodToThrowExceptionTheMethodThrowsTheStubbedException (line 121) | @Test FILE: tests/mockito/junit4-agent/src/test/java/samples/powermockito/junit4/agent/SuppressConstructorDemoTest.java class SuppressConstructorDemoTest (line 41) | @PrepareForTest(SuppressConstructorDemo.class) method testSuppressConstructor (line 49) | @Test method testSuppressParentConstructor (line 60) | @Test FILE: tests/mockito/junit4-agent/src/test/java/samples/powermockito/junit4/agent/SuppressConstructorHierarchyDemoTest.java class SuppressConstructorHierarchyDemoTest (line 32) | @PrepareForTest(SuppressConstructorHierarchy.class) method testSuppressConstructorHierarchy (line 38) | @Test method testNotSuppressConstructorWithoutByteCodeManipulation (line 47) | @Test method testNotSuppressConstructorWithByteCodeManipulation (line 58) | @Test method testSuppressConstructorHierarchyAgain (line 74) | @Test FILE: tests/mockito/junit4-agent/src/test/java/samples/powermockito/junit4/agent/SystemClassUserTest.java class SystemClassUserTest (line 46) | @SuppressWarnings("MalformedFormatString") method assertThatMockingOfNonFinalSystemClassesWorks (line 52) | @Test method assertThatMockingOfTheRuntimeSystemClassWorks (line 61) | @Test method assertThatMockingOfFinalSystemClassesWorks (line 74) | @Test method assertThatPartialMockingOfFinalSystemClassesWorks (line 83) | @Test method assertThatMockingOfCollectionsWork (line 95) | @Test method assertThatPartialMockingOfFinalSystemClassesWorksForNonVoidMethods (line 108) | @Test method assertThatMockingStringWorks (line 121) | @Test FILE: tests/mockito/junit4-agent/src/test/java/samples/powermockito/junit4/agent/WhenNewTest.java class WhenNewTest (line 30) | @SuppressWarnings("PrimitiveArrayArgumentToVariableArgMethod") FILE: tests/mockito/junit4-agent/src/test/java/samples/powermockito/junit4/agent/github512/Github512Test.java class Github512Test (line 14) | @PowerMockIgnore("org.assertj.*") method shouldSuppressMethodWithPrepareForTestOnMethod (line 20) | @Test FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/EnclosedTest.java class EnclosedTest (line 35) | @RunWith(PowerMockRunner.class) class NoStubbing (line 43) | public static class NoStubbing { method noStubbing (line 45) | @Test class StubbedStaticReturnValue (line 53) | public static class StubbedStaticReturnValue { method stubbedStaticReturnValue (line 55) | @Test class WhenStubbingIsOver (line 69) | public static class WhenStubbingIsOver { method whenStubbingIsOver (line 71) | @Test class SubClass (line 79) | public static class SubClass extends StubbedStaticReturnValue {} class SubClassWithExtraNonPublicConstructors (line 81) | public static class SubClassWithExtraNonPublicConstructors method SubClassWithExtraNonPublicConstructors (line 83) | public SubClassWithExtraNonPublicConstructors() {} method SubClassWithExtraNonPublicConstructors (line 84) | private SubClassWithExtraNonPublicConstructors(boolean arg) {} method SubClassWithExtraNonPublicConstructors (line 85) | protected SubClassWithExtraNonPublicConstructors(String arg) {} FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/JUnitParamsTest.java class JUnitParamsTest (line 17) | @PowerMockRunnerDelegate(JUnitParamsRunner.class) method setUp (line 22) | @Before method testSum (line 28) | @Test FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/MultipleConstructorsTest.java class MultipleConstructorsTest (line 26) | @RunWith(PowerMockRunner.class) method MultipleConstructorsTest (line 30) | public MultipleConstructorsTest() { method MultipleConstructorsTest (line 33) | protected MultipleConstructorsTest(String s) { method dummyTest (line 36) | @Test FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/SelfieTest.java class SelfieTest (line 39) | @RunWith(PowerMockRunner.class) method SelfieTest (line 55) | public SelfieTest(Class ignore) { method getDescription (line 58) | @Override method run (line 67) | @Override method assert_getStaticMessage (line 77) | void assert_getStaticMessage(RunNotifier notifier, Description current... FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/SubclassDelegateTest.java class SubclassDelegateTest (line 30) | @RunWith(PowerMockRunner.class) method test (line 34) | @Test FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/SuperClass.java class SuperClass (line 18) | class SuperClass {} FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/SuppressedMethod.java type SuppressedMethod (line 20) | public enum SuppressedMethod { method invokeOn (line 23) | @Override method invokeOn (line 29) | @Override method invokeOn (line 35) | @Override method invokeOn (line 41) | public abstract Object invokeOn(SuppressMethod tested); FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/SuppressedMethodStubbing.java type SuppressedMethodStubbing (line 24) | public enum SuppressedMethodStubbing { method enforceOn (line 29) | @Override method verify (line 34) | @Override method toString (line 50) | @Override method SuppressedMethodStubbing (line 58) | private SuppressedMethodStubbing(Object value) { method enforceOn (line 62) | public void enforceOn(MethodStubStrategy stub) { method verify (line 66) | public void verify(Callable invocation) throws Exception { method toString (line 70) | @Override FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/SystemClassUserCases.java class SystemClassUserCases (line 46) | @RunWith(PowerMockRunner.class) method assertThatMockingOfNonFinalSystemClassesWorks (line 50) | @Test method assertThatMockingOfTheRuntimeSystemClassWorks (line 59) | @Test method assertThatMockingOfFinalSystemClassesWorks (line 72) | @Test method assertThatPartialMockingOfFinalSystemClassesWorks (line 81) | @Test method assertThatMockingOfCollectionsWork (line 93) | @Test method assertThatPartialMockingOfFinalSystemClassesWorksForNonVoidMethods (line 106) | @Test method assertThatMockingStringWorks (line 119) | @Test FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/SystemClassUserMethod.java class SystemClassUserMethod (line 23) | public class SystemClassUserMethod { method SystemClassUserMethod (line 27) | public SystemClassUserMethod(Method method) { method values (line 31) | public static SystemClassUserMethod[] values() { method toString (line 43) | @Override method getMethod (line 48) | public Method getMethod() { FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/WhenNewCaseMethod.java class WhenNewCaseMethod (line 25) | public class WhenNewCaseMethod { method WhenNewCaseMethod (line 29) | public WhenNewCaseMethod(Method testMethod) { method toString (line 33) | @Override method runTest (line 38) | public void runTest() throws Throwable { method nullPointerIsExpected (line 46) | public boolean nullPointerIsExpected() { method values (line 51) | public static WhenNewCaseMethod[] values() { FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/parameterized/FinalDemoTest.java class FinalDemoTest (line 42) | @RunWith(PowerMockRunner.class) method expections (line 50) | @Parameterized.Parameters(name = "expected={0}") method assertMockFinalWithNoExpectationsWorks (line 57) | @Test method assertMockFinalWithExpectationsWorks (line 68) | @Test method assertFinalNativeWithExpectationsWorks (line 83) | @Test method assertSpyingOnFinalInstanceMethodWorks (line 97) | @Test method assertSpyingOnFinalVoidInstanceMethodWorks (line 109) | @Test(expected = ArrayStoreException.class) method assertSpyingOnPrivateFinalInstanceMethodWorks (line 119) | @Test method assertSpyingOnPrivateFinalInstanceMethodWorksWhenUsingJavaLangReflectMethod (line 132) | @Test FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/parameterized/MockFinalUsingAnnotationsTest.java class MockFinalUsingAnnotationsTest (line 37) | @RunWith(PowerMockRunner.class) method testMockFinal (line 51) | @Test method vals (line 60) | @Parameterized.Parameters(name = "{0}") type MockField (line 70) | enum MockField { method inTest (line 75) | T inTest(Object test) { FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/parameterized/StubMethodTest.java class StubMethodTest (line 36) | @RunWith(PowerMockRunner.class) method test (line 47) | @Test method paramValues (line 64) | @Parameterized.Parameters(name = " {0} {1}") FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/parameterized/SuppressConstructorDemoTest.java class SuppressConstructorDemoTest (line 45) | @RunWith(PowerMockRunner.class) method SuppressConstructorDemoTest (line 52) | public SuppressConstructorDemoTest( method testSuppressConstructor (line 60) | @Test method classesWithConstructor2suppress (line 67) | @Parameterized.Parameters(name = "{0}") FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/parameterized/SuppressConstructorHierarchyDemoTest.java class SuppressConstructorHierarchyDemoTest (line 34) | @RunWith(PowerMockRunner.class) method false_or_true (line 42) | @Parameterized.Parameters(name = "suppress={0}") method suppressOnDemand (line 47) | @Before method directConstructorUsage (line 54) | @Test method useConstructorInvoker (line 77) | @Test method suppressWithoutByteCodeManipulation (line 97) | @Test FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/parameterized/SupressMethodExampleTest.java class SupressMethodExampleTest (line 45) | @RunWith(PowerMockRunner.class) type GetObjectSuppression (line 50) | enum GetObjectSuppression { method doIt (line 54) | @Override method GetObjectSuppression (line 62) | GetObjectSuppression(Object expectedReturnValue) { method doIt (line 66) | void doIt() { type GetIntSuppression (line 70) | enum GetIntSuppression { method doIt (line 74) | @Override method GetIntSuppression (line 82) | GetIntSuppression(int expectedReturnValue) { method doIt (line 86) | void doIt() { type FieldSuppression (line 90) | enum FieldSuppression { method doIt (line 94) | @Override method FieldSuppression (line 102) | private FieldSuppression(Matcher expectation) { method doIt (line 106) | void doIt() { method SupressMethodExampleTest (line 118) | public SupressMethodExampleTest( method suppressionParamValues (line 129) | @Parameterized.Parameters(name = "getObject={0} getInt={1} field={2}... method verifySuppression (line 150) | @Test FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/parameterized/SystemClassUserTest.java class SystemClassUserTest (line 44) | @RunWith(PowerMockRunner.class) method SystemClassUserTest (line 51) | public SystemClassUserTest(final SystemClassUserMethod testCase) { method paramValues (line 64) | @Parameterized.Parameters(name = "{0}") method __ (line 73) | @Test FILE: tests/mockito/junit4-delegate/src/test/java/powermock/modules/test/mockito/junit4/delegate/parameterized/WhenNewTest.java class WhenNewTest (line 37) | @PrepareForTest({MyClass.class, ExpectNewDemo.class, ClassWithInnerMembe... method test (line 49) | @Test method whenNewCases (line 57) | @Parameterized.Parameters(name = "{0}") FILE: tests/mockito/junit4-rule-objenesis/src/test/java/samples/powermockito/junit4/rule/objenesis/Foo.java class Foo (line 3) | public class Foo { method m (line 5) | public Bar m() { class Bar (line 9) | @SuppressWarnings("SameParameterValue") method Bar (line 14) | Bar(final int i) { method getI (line 18) | public int getI() { FILE: tests/mockito/junit4-rule-objenesis/src/test/java/samples/powermockito/junit4/rule/objenesis/MockFinalNonStaticMethodsTest.java class MockFinalNonStaticMethodsTest (line 28) | @PrepareForTest( { FinalDemo.class, PrivateFinal.class }) FILE: tests/mockito/junit4-rule-objenesis/src/test/java/samples/powermockito/junit4/rule/objenesis/MockStaticTest.java class MockStaticTest (line 28) | @PrepareForTest({StaticService.class, SimpleStaticService.class}) FILE: tests/mockito/junit4-rule-objenesis/src/test/java/samples/powermockito/junit4/rule/objenesis/PowerMockRuleTest.java class PowerMockRuleTest (line 20) | @PowerMockIgnore({"org.mockito.*","org.powermock.api.mockito.repackaged.... method test1 (line 28) | @Test method test2 (line 33) | @Test class CustomPolicy (line 38) | public static class CustomPolicy implements PowerMockPolicy { method applyClassLoadingPolicy (line 40) | @Override method applyInterceptionPolicy (line 44) | @Override FILE: tests/mockito/junit4-rule-objenesis/src/test/java/samples/powermockito/junit4/rule/objenesis/PrivateInstanceMockingTest.java class PrivateInstanceMockingTest (line 9) | @PrepareForTest( { PrivateMethodDemo.class }) FILE: tests/mockito/junit4-rule-objenesis/src/test/java/samples/powermockito/junit4/rule/objenesis/StaticInitializerExampleTest.java class StaticInitializerExampleTest (line 15) | @SuppressStaticInitializationFor("samples.staticinitializer.StaticInitia... method testSupressStaticInitializerAndSetFinalField (line 21) | @Test FILE: tests/mockito/junit4-rule-objenesis/src/test/java/samples/powermockito/junit4/rule/objenesis/SystemClassUserTest.java class SystemClassUserTest (line 51) | @PrepareForTest({SystemClassUser.class}) method assertThatMockingOfNonFinalSystemClassesWorks (line 57) | @Test method assertThatMockingOfTheRuntimeSystemClassWorks (line 66) | @Test method assertThatMockingOfFinalSystemClassesWorks (line 79) | @Test method assertThatPartialMockingOfFinalSystemClassesWorks (line 88) | @Test method assertThatMockingOfCollectionsWork (line 99) | @Test method assertThatPartialMockingOfFinalSystemClassesWorksForNonVoidMethods (line 112) | @Test method assertThatMockingStringWorks (line 122) | @Test FILE: tests/mockito/junit4-rule-objenesis/src/test/java/samples/powermockito/junit4/rule/objenesis/WhenNewTest.java class WhenNewTest (line 32) | @SuppressWarnings("PrimitiveArrayArgumentToVariableArgMethod") FILE: tests/mockito/junit4-rule-objenesis/src/test/java/samples/powermockito/junit4/rule/objenesis/bugs/github512/Github512Test.java class Github512Test (line 13) | public class Github512Test { method shouldSuppressMethodWithPrepareForTestOnMethod (line 18) | @Test FILE: tests/mockito/junit4-rule-xstream/src/test/java/samples/powermockito/junit4/rule/xstream/AssertPowerMockRuleDelagatesToOtherRulesTest.java class AssertPowerMockRuleDelagatesToOtherRulesTest (line 37) | public class AssertPowerMockRuleDelagatesToOtherRulesTest { method assertPowerMockRuleDelegatesToOtherRules (line 51) | @Test class MyRule (line 62) | private class MyRule implements MethodRule { method apply (line 63) | public Statement apply(final Statement base, FrameworkMethod method,... class MyObject (line 74) | private static class MyObject { method equals (line 77) | @Override method hashCode (line 87) | @Override FILE: tests/mockito/junit4-rule-xstream/src/test/java/samples/powermockito/junit4/rule/xstream/Foo.java class Foo (line 3) | public class Foo { method m (line 5) | public Bar m() { class Bar (line 9) | @SuppressWarnings("SameParameterValue") method Bar (line 14) | Bar(final int i) { method getI (line 18) | public int getI() { FILE: tests/mockito/junit4-rule-xstream/src/test/java/samples/powermockito/junit4/rule/xstream/MockFinalNonStaticMethodsTest.java class MockFinalNonStaticMethodsTest (line 28) | @PrepareForTest( { FinalDemo.class, PrivateFinal.class }) FILE: tests/mockito/junit4-rule-xstream/src/test/java/samples/powermockito/junit4/rule/xstream/MockStaticTest.java class MockStaticTest (line 28) | @PrepareForTest({StaticService.class, SimpleStaticService.class}) FILE: tests/mockito/junit4-rule-xstream/src/test/java/samples/powermockito/junit4/rule/xstream/PowerMockRuleTest.java class PowerMockRuleTest (line 20) | @PowerMockIgnore({"org.mockito.*","org.powermock.api.mockito.repackaged.... method test1 (line 28) | @Test method test2 (line 33) | @Test class CustomPolicy (line 38) | public static class CustomPolicy implements PowerMockPolicy { method applyClassLoadingPolicy (line 40) | @Override method applyInterceptionPolicy (line 44) | @Override FILE: tests/mockito/junit4-rule-xstream/src/test/java/samples/powermockito/junit4/rule/xstream/PrivateInstanceMockingTest.java class PrivateInstanceMockingTest (line 9) | @PrepareForTest( { PrivateMethodDemo.class }) FILE: tests/mockito/junit4-rule-xstream/src/test/java/samples/powermockito/junit4/rule/xstream/StaticInitializerExampleTest.java class StaticInitializerExampleTest (line 15) | @SuppressStaticInitializationFor("samples.staticinitializer.StaticInitia... method testSupressStaticInitializerAndSetFinalField (line 21) | @Test FILE: tests/mockito/junit4-rule-xstream/src/test/java/samples/powermockito/junit4/rule/xstream/SystemClassUserTest.java class SystemClassUserTest (line 51) | @PrepareForTest( { SystemClassUser.class }) method assertThatMockingOfNonFinalSystemClassesWorks (line 57) | @Test method assertThatMockingOfTheRuntimeSystemClassWorks (line 66) | @Test method assertThatMockingOfFinalSystemClassesWorks (line 79) | @Test method assertThatPartialMockingOfFinalSystemClassesWorks (line 88) | @Test method assertThatMockingOfCollectionsWork (line 99) | @Test method assertThatPartialMockingOfFinalSystemClassesWorksForNonVoidMethods (line 112) | @Test method assertThatMockingStringWorks (line 122) | @Test FILE: tests/mockito/junit4-rule-xstream/src/test/java/samples/powermockito/junit4/rule/xstream/WhenNewTest.java class WhenNewTest (line 29) | @SuppressWarnings("PrimitiveArrayArgumentToVariableArgMethod") method testLocalClassMockingWorksWithNoConstructorArguments (line 35) | @Ignore("Test case fails only for xstream with MockitoException: Mocki... method testLocalClassMockingWorksWithConstructorArguments (line 43) | @Ignore("Test case fails only for xstream with MockitoException: Mocki... FILE: tests/mockito/junit4-rule-xstream/src/test/java/samples/powermockito/junit4/rule/xstream/github512/Github512Test.java class Github512Test (line 13) | public class Github512Test { method shouldSuppressMethodWithPrepareForTestOnMethod (line 18) | @Test FILE: tests/mockito/junit4/src/main/java/samples/powermockito/junit4/bugs/github731/AType.java class AType (line 3) | public class AType { FILE: tests/mockito/junit4/src/main/java/samples/powermockito/junit4/bugs/github731/OptionalInterface.java type OptionalInterface (line 3) | public interface OptionalInterface { FILE: tests/mockito/junit4/src/main/java/samples/powermockito/junit4/bugs/github731/SomeInterface.java type SomeInterface (line 3) | public interface SomeInterface { method get (line 4) | T get(); FILE: tests/mockito/junit4/src/main/java/samples/powermockito/junit4/bugs/github801/GlobalPowerMockIgnore.java class GlobalPowerMockIgnore (line 21) | public class GlobalPowerMockIgnore { FILE: tests/mockito/junit4/src/main/java/samples/powermockito/junit4/bugs/github806/CustomException.java class CustomException (line 21) | public class CustomException extends Exception { FILE: tests/mockito/junit4/src/main/java/samples/powermockito/junit4/bugs/github806/DoThrowTMockClass.java class DoThrowTMockClass (line 21) | public class DoThrowTMockClass { method doSomething (line 23) | public void doSomething() { method throwExceptionForInput (line 27) | public void throwExceptionForInput(String foo) throws CustomException { FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/FinalEqualsClass.java class FinalEqualsClass (line 22) | public class FinalEqualsClass { method equals (line 24) | @Override method foo (line 29) | public final String foo() { FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/FinalEqualsClassTest.java class FinalEqualsClassTest (line 27) | @RunWith(value = PowerMockRunner.class) method callingEqualsDoesntCauseStackOverflow (line 32) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/abstractmocking/AbstractMethodMockingTest.java class AbstractMethodMockingTest (line 27) | @RunWith(PowerMockRunner.class) method mocksAbstractClasses (line 31) | @Test method canSpyOnAnonymousClasses (line 36) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/annotationbased/CaptorAnnotationTest.java class CaptorAnnotationTest (line 36) | @RunWith(PowerMockRunner.class) method captorAnnotationWorks (line 43) | @Test method captorAnnotationWorksOnPrivateMethods (line 53) | @Test method captorAnnotationWorksOnPrivateOverriddenMethods (line 63) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/annotationbased/ChunkingAndStaticInitializerRemovalTest.java class ChunkingAndStaticInitializerRemovalTest (line 35) | @RunWith(PowerMockRunner.class) method testMockingWithNoChunking (line 42) | @Test method testMockingWithChunking (line 52) | @SuppressStaticInitializationFor("samples.staticinitializer.SimpleStat... FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/annotationbased/InjectMocksAnnotationTest.java class InjectMocksAnnotationTest (line 39) | @RunWith(PowerMockRunner.class) method injectMocksWorks (line 50) | @Test method testSay (line 55) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/annotationbased/MockFinalUsingAnnotationsTest.java class MockFinalUsingAnnotationsTest (line 32) | @RunWith(PowerMockRunner.class) method assertMockFinalWithMockitoMockAnnotationWorks (line 43) | @Test method assertMockFinalWithDeprecatedMockitoMockAnnotationWorks (line 52) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/annotationbased/MockFinalUsingAnnotationsWithAnswersTest.java class MockFinalUsingAnnotationsWithAnswersTest (line 34) | @RunWith(PowerMockRunner.class) method assert_mock_final_with_mockito_mock_annotation_with_deep_stubs_works (line 47) | @Test public void method assert_mock_final_with_mockito_mock_annotation_with_returns_mocks_works (line 54) | @Test public void FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/annotationbased/SpyAnnotationTest.java class SpyAnnotationTest (line 33) | @RunWith(PowerMockRunner.class) method spyingOnPrivateMethodsWorksWithSpyAnnotation (line 40) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/argumentmatcher/ArgumentMatcherTest.java class ArgumentMatcherTest (line 32) | @RunWith(PowerMockRunner.class) method worksWithArgumentMatchers (line 35) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/ClassLoaderBugTest.java class ClassLoaderBugTest (line 29) | @RunWith(PowerMockRunner.class) method resourcesAreNotLoadedTwice (line 36) | @Test(timeout = 2000) class TestClass (line 52) | class TestClass { FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github583/ChildClass.java class ChildClass (line 6) | public class ChildClass extends ParenClass { method ChildClass (line 8) | public ChildClass() { method getB (line 11) | public int getB() { method setB (line 14) | public void setB(int b) { method test (line 17) | public void test(){ FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github583/ClassWithInheritanceTest.java class ClassWithInheritanceTest (line 12) | @RunWith(PowerMockRunner.class) method test_test (line 18) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github583/ParenClass.java class ParenClass (line 6) | public class ParenClass { method getA (line 8) | public int getA() { method setA (line 11) | public void setA(int a) { FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github668/GitHub668Test.java class GitHub668Test (line 17) | @RunWith(PowerMockRunner.class) method shouldMockJavaxSystemFinalClasses (line 21) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github701/GitHub701Test.java class GitHub701Test (line 13) | @RunWith(PowerMockRunner.class) method setUp (line 19) | @Before method shouldMockObjectAndReturnRequiredResult (line 24) | @Test method shouldMockEqualsMethod (line 32) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github701/MapWrapper.java class MapWrapper (line 7) | public final class MapWrapper extends OverridesEquals { method MapWrapper (line 10) | public MapWrapper() { method MapWrapper (line 14) | MapWrapper(final Map data) { method get (line 18) | public Object get(final String key) { FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github701/OverridesEquals.java class OverridesEquals (line 3) | abstract class OverridesEquals { method equals (line 4) | @Override FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github704/PrepareForTestSignedTest.java class PrepareForTestSignedTest (line 14) | @RunWith(PowerMockRunner.class) method shouldBeAbleMockSignedClasses (line 18) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github704/SomeClassUseSignedClasses.java class SomeClassUseSignedClasses (line 5) | public class SomeClassUseSignedClasses { method getFileLocator (line 7) | public static FileLocator getFileLocator(){ FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github716/A.java class A (line 3) | public class A { FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github716/B.java class B (line 3) | public class B { FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github716/C.java class C (line 3) | public class C { method C (line 6) | public C(A a, B b) { method multiply (line 10) | public int multiply() { return 42; } method getA (line 11) | public A getA() { return a; } method getB (line 12) | public B getB() { return b; } FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github716/MyService.java class MyService (line 3) | public class MyService { method doSomething (line 4) | public int doSomething(A a, B b) { FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github716/WhenNewWithAnyArgumentsTest.java class WhenNewWithAnyArgumentsTest (line 15) | @PrepareForTest({MyService.class}) method shouldStubNewConstructorCallIfOneOfActualParameterIsNull (line 25) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github731/MockingInterfacesTest.java class MockingInterfacesTest (line 13) | @RunWith(PowerMockRunner.class) method should_stub_future_get_method (line 16) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github731/SomeException.java class SomeException (line 3) | public class SomeException extends Exception{ FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github781/EqualsStatic.java class EqualsStatic (line 3) | public class EqualsStatic { method equals (line 4) | public static boolean equals() { FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github781/GitHub781Test.java class GitHub781Test (line 12) | @RunWith(PowerMockRunner.class) method testCallMockStaticEquals (line 19) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github781/SpyObject.java class SpyObject (line 3) | public class SpyObject { method callEquals (line 4) | public boolean callEquals() { FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github801/GlobalPowerMockIgnoreTest.java class GlobalPowerMockIgnoreTest (line 27) | @RunWith(PowerMockRunner.class) method should_load_class_from_global_ignore_with_system_class_loader (line 30) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github806/DoThrowTest.java class DoThrowTest (line 26) | public class DoThrowTest { method should_throw_expected_exception (line 28) | @Test(expected = RuntimeException.class) method should_throw_custom_exception (line 35) | @Test(expected = CustomException.class) FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/constructor/InnerConstructorsAreFoundTest.java class InnerConstructorsAreFoundTest (line 31) | @PrepareForTest({ InnerConstructorsAreFoundTest.WorkingObjectUnderTestin... type AnyInterface (line 37) | interface AnyInterface { class AnyImplementation (line 40) | class AnyImplementation implements AnyInterface { method equals (line 41) | @Override class SomeOtherImplementationOfSomethingElse (line 47) | class SomeOtherImplementationOfSomethingElse { method equals (line 48) | @Override class WorkingObjectUnderTesting (line 55) | class WorkingObjectUnderTesting { method methodToTest (line 56) | void methodToTest() { class BuggyObjectUnderTesting (line 61) | class BuggyObjectUnderTesting { method methodToTest (line 62) | void methodToTest() { class StillBuggyObjectUnderTesting (line 67) | class StillBuggyObjectUnderTesting { method methodToTest (line 68) | void methodToTest() { class WorkingObjectToMock (line 77) | class WorkingObjectToMock { method WorkingObjectToMock (line 78) | public WorkingObjectToMock(AnyInterface... anys) { class BuggyObjectToMock (line 82) | class BuggyObjectToMock { method BuggyObjectToMock (line 86) | public BuggyObjectToMock(SomeOtherImplementationOfSomethingElse othe... class StillBuggyObjectToMock (line 91) | class StillBuggyObjectToMock { method StillBuggyObjectToMock (line 95) | public StillBuggyObjectToMock(SomeOtherImplementationOfSomethingElse... method shouldFindMemberVarArgsCtorWhenPassingArrayToWithArguments (line 107) | @Test method shouldFindMemberArrayCtorWhenPassingArrayToWithArguments (line 115) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/doreturn/DoReturnTest.java class DoReturnTest (line 20) | @RunWith(PowerMockRunner.class) type Weather (line 29) | interface Weather { method getTemperature (line 30) | String getTemperature(); method init (line 33) | @Before method returnsDifferentTemperatureForEachInvocation (line 38) | @Test method returnsFirstTemperatureWhenPassedArrayIsEmpty (line 44) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/enums/EnumWithConstructorTest.java class EnumWithConstructorTest (line 19) | @RunWith(PowerMockRunner.class) method testCallMethodWithConstructor (line 26) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/equalsmocking/EqualsMockingTest.java class EqualsMockingTest (line 31) | @RunWith(PowerMockRunner.class) method shouldStubEquals (line 35) | @Test method shouldMockEquals (line 43) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/finalmocking/MockFinalMethodsCases.java class MockFinalMethodsCases (line 23) | public class MockFinalMethodsCases { method shouldMockFinalMethodWithNoExpectations (line 24) | @Test method shouldMockFinalMethodWithExpectations (line 35) | @Test method shouldMockFinalNativeMethodWithExpectations (line 51) | @Test method shouldSpyingOnFinalInstanceMethod (line 66) | @Test method shouldSpyingOnFinalVoidInstanceMethod (line 81) | @Test(expected = ArrayStoreException.class) method shouldSpyingOnPrivateFinalInstanceMethod (line 91) | @Test method shouldSpyingOnPrivateFinalInstanceMethodWhenUsingJavaLangReflectMethod (line 106) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/finalmocking/MockFinalNonStaticMethodsTest.java class MockFinalNonStaticMethodsTest (line 27) | @RunWith(PowerMockRunner.class) FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/getannotation/GetAnnotationTest.java class GetAnnotationTest (line 34) | @RunWith(PowerMockRunner.class) method setUp (line 38) | @Before method getClassAnnotationsReturnActualAnnotationsByDefault (line 44) | @Test method nonExistingAnnotationsAreNotReturnedByDefault (line 51) | @Test method isAnnotationPresentReturnsFalseWhenMethodsAreMocked (line 60) | @Test method getAnnotationReturnsNullWhenMethodsAreMocked (line 71) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/getclass/GetClassTest.java class GetClassTest (line 31) | @RunWith(PowerMockRunner.class) method getClassReturnsTheCorrectClassForNewInstancesOfClassesPrepareForTest (line 35) | @Test method getClassReturnsTheCorrectClassForMocksPrepareForTest (line 41) | @Test method getClassReturnsNullForMocksPreparedForTestWhenMockingOfGetClassAllowed (line 47) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/hashcode/HashCodeTest.java class HashCodeTest (line 31) | @RunWith(PowerMockRunner.class) method shouldStubHashCode (line 36) | @Test method shouldMockHashCode (line 44) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/hashcode/InnerClassHashCodeTest.java class InnerClassHashCodeTest (line 34) | @RunWith(PowerMockRunner.class) method can_mock_inner_hash_code_method (line 40) | @Test method can_stub_inner_hash_code_method (line 51) | @Test class SubHashMap (line 61) | public class SubHashMap extends HashMap { method hashCode (line 62) | @Override method equals (line 67) | @Override FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/jacoco/InstanceMethods.java class InstanceMethods (line 5) | public final class InstanceMethods { method calculateSomething (line 9) | public int calculateSomething(int in){ method getSomeFactor (line 17) | private int getSomeFactor() { method max (line 21) | private int max() { FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/jacoco/JacocoCoverageTest.java class JacocoCoverageTest (line 30) | public class JacocoCoverageTest { method jacocoOfflineInstShouldCalculateCoverageAfterPowerMockTransformation (line 38) | @Test method runTargetTest (line 49) | private void runTargetTest(RuntimeData data) throws Exception {IRuntim... method assertCodeCoverage (line 61) | private void assertCodeCoverage(CoverageBuilder coverageBuilder) { method collectCoverage (line 72) | private CoverageBuilder collectCoverage(ExecutionDataStore executionDa... method getExecutionDataStore (line 81) | private ExecutionDataStore getExecutionDataStore(RuntimeData data) { method restoreOriginalClasses (line 88) | private void restoreOriginalClasses() throws URISyntaxException, IOExc... method instrumentClasses (line 97) | private void instrumentClasses(IRuntime runtime) throws URISyntaxExcep... method copyFileUsingStream (line 105) | private static void copyFileUsingStream(File source, File dest) throws... method restoreOriginalFile (line 126) | private void restoreOriginalFile(File originalFile) throws IOException { method instrumentClass (line 134) | private void instrumentClass(Instrumenter instr, method copyOriginalFile (line 146) | private void copyOriginalFile(File originalFile) throws IOException, U... method writeInstrumentedFile (line 154) | private void writeInstrumentedFile(File originalFile, byte[] instrumen... method classNameToFileName (line 167) | private String classNameToFileName(String name) {return '/' + name.rep... FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/jacoco/StaticMethods.java class StaticMethods (line 5) | public class StaticMethods { method calculateSomething (line 9) | public static int calculateSomething(int in){ method getSomeFactor (line 17) | private static int getSomeFactor() { method max (line 21) | private static int max() { FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/jacoco/TargetTest.java class TargetTest (line 14) | @RunWith(PowerMockRunner.class) method shouldCalculateSomethingStatic (line 18) | @Test method shouldCalculateSomething (line 30) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/largemethod/LargeMethodTest.java class LargeMethodTest (line 20) | @RunWith(PowerMockRunner.class) method largeMethodShouldBeOverridden (line 24) | @Test method largeMethodShouldBeAbleToBeSuppressed (line 35) | @Test method largeMethodShouldBeAbleToBeMocked (line 41) | @Test method largeMethodShouldBeAbleToBeMockedAndThrowException (line 50) | @Test(expected = IllegalStateException.class) FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/membermodification/MemberModificationExampleTest.java class MemberModificationExampleTest (line 46) | @RunWith(PowerMockRunner.class) method suppressSingleMethodExample (line 50) | @Test method suppressMultipleMethodsExample1 (line 57) | @Test method suppressMultipleMethodsExample2 (line 65) | @Test method suppressAllMethodsExample (line 73) | @Test method suppressSingleFieldExample (line 84) | @Test method suppressConstructorExample (line 92) | @Test method stubSingleMethodExample (line 102) | @Test method duckTypeStaticMethodExample (line 112) | @Test method whenReplacingMethodWithAMethodOfIncorrectReturnTypeThenAnIAEIsThrown (line 120) | @Test method whenReplacingMethodWithAMethodOfWithIncorrectParametersThenAnIAEIsThrown (line 131) | @Test method changingReturnValueExample (line 142) | @Test method suppressAllConstructors (line 152) | @Test method suppressEverythingExample (line 167) | @Test class ReturnValueChangingInvocationHandler (line 177) | private final class ReturnValueChangingInvocationHandler implements In... method invoke (line 178) | @Override FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/nested/NestedClassDefinedInsideTestCaseTest.java class NestedClassDefinedInsideTestCaseTest (line 28) | @RunWith(PowerMockRunner.class) method mocksNestedPrivateClassDefinedInsideTestCase (line 32) | @Test method mocksNestedPrivateFinalClassDefinedInsideTestCase (line 40) | @Test class NestedPrivateClassDefinedInsideTestCase (line 49) | private class NestedPrivateClassDefinedInsideTestCase { method getValue (line 50) | public String getValue() { class NestedPrivateFinalClassDefinedInsideTestCase (line 55) | private final class NestedPrivateFinalClassDefinedInsideTestCase { method getValue (line 56) | public String getValue() { FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/partialmocking/PartialMockingExampleTest.java class PartialMockingExampleTest (line 40) | @RunWith(PowerMockRunner.class) method validatingSpiedObjectGivesCorrectNumberOfExpectedInvocations (line 44) | @Test method validatingSpiedObjectGivesCorrectNumberOfExpectedInvocationsForMockito (line 56) | @Test method should_verify_spied_object_used_in_other_threads (line 68) | @Test method awaitThreads (line 98) | private void awaitThreads(final CountDownLatch endLatch) { method createAndStartThread (line 106) | private void createAndStartThread(final int index, final PartialMockin... FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/partialmocking/PartialMockingRetainsStateTest.java class PartialMockingRetainsStateTest (line 32) | @RunWith(PowerMockRunner.class) method spyingOnAnObjectRetainsState (line 35) | @Test method spyingOnAClassRetainsState (line 42) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/partialmocking/PrivatePartialMockingExampleTest.java class PrivatePartialMockingExampleTest (line 34) | @RunWith(PowerMockRunner.class) method spyingOnPrivateMethodsWorks (line 38) | @Test method partialMockingOfPrivateMethodsWorks (line 51) | @Test method spyingOnPrivateMethodsWorksWithoutSpecifyingMethodName (line 64) | @Test method partialMockingOfPrivateMethodsWorksWithoutSpecifyingMethodName (line 77) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/partialmocking/StaticPartialMockingTest.java class StaticPartialMockingTest (line 33) | @RunWith(PowerMockRunner.class) method spyingOnStaticMethodReturningObjectWorks (line 37) | @Test method partialMockingOfStaticMethodReturningObjectWorks (line 52) | @Test method partialPrivateMockingWithAnswerOfStaticMethodReturningObjectWorks (line 67) | @Test method spyingOnStaticFinalMethodReturningObjectWorks (line 87) | @Test method partialMockingOfStaticFinalMethodReturningObjectWorks (line 100) | @Test method spyingOnStaticVoidMethodReturningObjectWorks (line 113) | @Test(expected = ArrayStoreException.class) method partialMockingOfStaticVoidMethodReturningObjectWorks (line 123) | @Test(expected = ArrayStoreException.class) method spyingOnStaticFinalVoidMethodReturningObjectWorks (line 133) | @Test(expected = ArrayStoreException.class) method partialMockingOfStaticFinalVoidMethodReturningObjectWorks (line 143) | @Test(expected = ArrayStoreException.class) method partialMockingOfPublicStaticVoidWorks (line 153) | @Test method partialMockingOfPublicStaticFinalVoidWorks (line 169) | @Test method partialMockingOfNonVoidPublicStaticMethodsWorks (line 179) | @Test method partialMockingWithAnswerOfNonVoidPublicStaticMethodsWorks (line 189) | @Test method partialMockingOfPublicStaticMethodsWorks (line 204) | @Test method partialMockingOfPublicStaticMethodsWorksWhenUsingDoReturn (line 213) | @Test method partialMockingOfPublicStaticMethodsWorksWhenUsingDoReturnAndMethodNameAsString (line 224) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/privatemocking/PrivateInstanceMockingCases.java class PrivateInstanceMockingCases (line 48) | public class PrivateInstanceMockingCases { method should_call_method_that_best_match_the_given_parameters_during_verification (line 50) | @Test method expectationsWorkWhenSpyingOnPrivateMethods (line 65) | @Test method expectationsWorkWithArgumentMatchersWhenSpyingOnPrivateMethods (line 78) | @Test method answersWorkWhenSpyingOnPrivateVoidMethods (line 93) | @Test method spyingOnPrivateFinalMethodsWorksWhenClassIsNotFinal (line 112) | @Test method errorousVerificationOnPrivateMethodGivesFilteredErrorMessage (line 126) | @Test method expectationsWorkWhenSpyingOnPrivateMethodsUsingDoReturn (line 146) | @Test method expectationsWorkWhenSpyingOnPrivateMethodsUsingDoReturnWhenMethodDoesntHaveAnyArguments (line 159) | @Test method verifyPrivateMethodWhenNoExpectationForTheMethodHasBeenMade (line 170) | @Test method expectationsWorkWhenSpyingOnPrivateVoidMethods (line 179) | @Test(expected = ArrayStoreException.class) method usingMultipleArgumentsOnPrivateMethodWorks (line 190) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/privatemocking/PrivateInstanceMockingTest.java class PrivateInstanceMockingTest (line 8) | @RunWith(PowerMockRunner.class) FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/proxymethod/ProxyMethodTest.java class ProxyMethodTest (line 37) | @RunWith(PowerMockRunner.class) method expectionThrowingMethodProxyWorksForJavaLangReflectMethods (line 41) | @Test(expected = ArrayStoreException.class) method expectionThrowingMethodProxyWorksForMethodNames (line 48) | @Test(expected = ArrayStoreException.class) method returnValueChangingMethodProxyWorksForMethodNames (line 55) | @Test method delegatingMethodProxyWorksForMethodNames (line 62) | @Test method mockingAndMethodProxyAtTheSameTimeWorks (line 69) | @Test method replaceInstanceMethodsWork (line 83) | @Test method replaceInstanceMethodToStaticMethodDoesntWork (line 91) | @Test(expected = IllegalArgumentException.class) method replaceStaticMethodToInstaceMethodDoesntWork (line 96) | @Test(expected = IllegalArgumentException.class) method replaceStaticMethodsWork (line 102) | @Test class ThrowingInvocationHandler (line 108) | private final class ThrowingInvocationHandler implements InvocationHan... method invoke (line 109) | @Override class ReturnValueChangingInvocationHandler (line 115) | private final class ReturnValueChangingInvocationHandler implements In... method invoke (line 116) | @Override class DelegatingInvocationHandler (line 122) | private final class DelegatingInvocationHandler implements InvocationH... method invoke (line 123) | @Override FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/simplemix/SimpleMixTest.java class SimpleMixTest (line 40) | @RunWith(PowerMockRunner.class) method staticPartialFinalMocking (line 44) | @PrepareForTest( { SimpleMixUtilities.class, SimpleMixCollaborator.cla... method finalSystemClassMocking (line 72) | @PrepareForTest( { SimpleMix.class }) FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/spy/SpyTest.java class SpyTest (line 38) | @RunWith(PowerMockRunner.class) method setup (line 44) | @Before method should_stub_spying_on_private_method_works (line 49) | @Test method should_call_real_method_when_spy_method_is_not_stubbed (line 57) | @Test method testSuppressMethodWhenObjectIsSpy (line 65) | @Test method testSuppressMethodInParentOnlyWhenObjectIsSpy (line 73) | @Test method testDoNothingForSpy (line 81) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/stacktracecleaner/LocationFromStackTraceTest.java class LocationFromStackTraceTest (line 30) | @RunWith(value = PowerMockRunner.class) method should_filter_extra_elements_in_stack_when_mocking_static_method (line 34) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/stacktracecleaner/SomethingWithStaticMethod.java class SomethingWithStaticMethod (line 3) | public class SomethingWithStaticMethod { method doStaticOne (line 4) | public static String doStaticOne() { method doStaticTwo (line 8) | public static String doStaticTwo() { method doStaticVoid (line 12) | public static void doStaticVoid() { FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/staticandinstance/StaticAndInstanceDemoTest.java class StaticAndInstanceDemoTest (line 27) | @RunWith(PowerMockRunner.class) method partialMockingOfStaticAndInstanceMethod (line 31) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/staticmocking/MockStaticCases.java class MockStaticCases (line 46) | public class MockStaticCases { method should_call_reall_static_void_method (line 48) | @Test method mockStatic_uses_var_args_to_create_multiple_static_mocks (line 67) | @Test method should_verify_behaviour_of_specified_in_verify_static_class (line 84) | @Test method should_not_verify_behaviour_of_another_mock_class_not_specified_in_verify_static_class (line 94) | @Test method testMockStaticNoExpectations (line 107) | @Test method testMockStaticWithExpectations (line 117) | @Test method errorousVerificationOfStaticMethodsGivesANonMockitoStandardMessage (line 133) | @Test method testMockStaticThatThrowsException (line 154) | @Test(expected = IllegalStateException.class) method testMockStaticVerificationFails (line 165) | @Test(expected = ArgumentsAreDifferent.class) method testMockStaticAtLeastOnce (line 175) | @Test method testMockStaticCorrectTimes (line 186) | @Test method testMockStaticIncorrectTimes (line 197) | @Test(expected = TooFewActualInvocations.class) method testMockStaticVoidWithNoExpectations (line 208) | @Test method testMockStaticVoidWhenThrowingException (line 218) | @Test(expected = ArrayStoreException.class) method testSpyOnStaticMethods (line 230) | @Test method spyingUsingArgumentCaptor (line 241) | @Test method testMockStaticWithExpectations_withDo (line 255) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/staticmocking/MockStaticTest.java class MockStaticTest (line 27) | @RunWith(PowerMockRunner.class) FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/stress/PowerMockStressTest.java class PowerMockStressTest (line 35) | @RunWith(PowerMockRunner.class) method setUp (line 41) | @Before method createWhen (line 48) | public void createWhen(){ method test1 (line 59) | @Test method test2 (line 63) | @Test method test3 (line 67) | @Test method test4 (line 71) | @Test method test5 (line 75) | @Test method test6 (line 79) | @Test method test7 (line 83) | @Test method test8 (line 87) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/system/ServiceLoaderTest.java class ServiceLoaderTest (line 29) | @RunWith(PowerMockRunner.class) method supportsMockingServiceLoader (line 33) | @Test(expected = IllegalArgumentException.class) FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/system/SystemClassUserTest.java class SystemClassUserTest (line 52) | @RunWith(PowerMockRunner.class) method assertThatMockingOfNonFinalSystemClassesWorks (line 56) | @Test method assertThatMockingOfTheRuntimeSystemClassWorks (line 66) | @Test method assertThatMockingOfFinalSystemClassesWorks (line 79) | @Test method assertThatPartialMockingOfFinalSystemClassesWorks (line 88) | @Test method assertThatMockingOfCollectionsWork (line 100) | @Test method assertThatPartialMockingOfFinalSystemClassesWorksForNonVoidMethods (line 113) | @Test method assertThatMockingStringWorks (line 126) | @Test method mockingStaticVoidMethodWorks (line 139) | @Test method mockingURLWorks (line 152) | @Test method mockingUUIDWorks (line 164) | @Test method mockingNewURLWorks (line 179) | @Test method mockingStringBuilder (line 192) | @Test method triggerMockedCallFromInterfaceTypeInsteadOfConcreteType (line 209) | @Test(expected = IllegalStateException.class) FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/tostring/ToStringTest.java class ToStringTest (line 33) | @RunWith(PowerMockRunner.class) method toStringInvocationWorksInMockito (line 38) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/verify/VerifyNoMoreInteractionsTest.java class VerifyNoMoreInteractionsTest (line 44) | @RunWith(PowerMockRunner.class) method verifyNoMoreInteractionsForStaticMethodsReturnsSilentlyWhenNoMoreInteractionsTookPlace (line 48) | @Test method verifyNoMoreInteractionsOnMethodThrowsAssertionErrorWhenMoreInteractionsTookPlace (line 58) | @Test method verifyNoMoreInteractionsOnNewInstancesThrowsAssertionErrorWhenMoreInteractionsTookPlace (line 72) | @Test method verifyNoMoreInteractionsOnNewInstancesWorks (line 91) | @Test method verifyNoMoreInteractionsOnNewInstancesWorksWhenUsingConstructorToExpect (line 105) | @Test method verifyNoMoreInteractionsDelegatesToPlainMockitoWhenMockIsNotAPowerMockitoMock (line 119) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/verify/VerifyZeroInteractionsTest.java class VerifyZeroInteractionsTest (line 39) | @RunWith(PowerMockRunner.class) method should_throw_verification_exception_in_case_if_static_method_is_called (line 43) | @Test method should_throw_verification_exception_in_case_if_instance_method_called (line 59) | @Test method should_not_throw_verification_exception_in_case_if_no_methods_are_called_for_static_mock (line 75) | @Test method should_not_throw_verification_exception_in_case_if_no_methods_are_called_for_instance_mock (line 91) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/whennew/DoesntSupportCreatingMocksInFieldsWhenNewDefect.java class DoesntSupportCreatingMocksInFieldsWhenNewDefect (line 29) | @RunWith(PowerMockRunner.class) method methodUnderTestShouldWorkWithClassLevelMock (line 38) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/whennew/NewFileExampleTest.java class NewFileExampleTest (line 29) | @RunWith(PowerMockRunner.class) method assertThatMockingFileWorks (line 32) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/whennew/VerifyNewMultipleTimesTest.java class VerifyNewMultipleTimesTest (line 34) | @RunWith(PowerMockRunner.class) method setUp (line 41) | @Before method verifyNewTooManyTimesCausesAssertionError (line 51) | @Test(expected=AssertionError.class) FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/whennew/VerifyNewWithoutWhenNewTest.java class VerifyNewWithoutWhenNewTest (line 15) | @PrepareForTest(ExpectNewDemo.class) method verifyingNewWithoutExpectationWhenNoArgumentsThrowsISE (line 19) | @Test method verifyingNewWithoutExpectationButWithArgumentsThrowsISE (line 36) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/whennew/WhenNewCases.java class WhenNewCases (line 60) | @PrepareForTest({MyClass.class, ExpectNewDemo.class, ClassWithInnerMembe... method testStaticMemberClassMockingWorksWithNoConstructorArguments (line 71) | @Test method testStaticMemberClassMockingWorksWithConstructorArguments (line 81) | @Test method testLocalClassMockingWorksWithNoConstructorArguments (line 93) | @Test method testLocalClassMockingWorksWithConstructorArguments (line 103) | @Test method testNonStaticMemberClassMockingWorksWithArguments (line 113) | @Test method testNewInnerWithDiffParams (line 124) | @Test method testNewInnerWithNoNullParams (line 137) | @Test method testNewInnerWithMiddleParamNull (line 168) | @Test method testNewInnerWithFirstParamNull (line 199) | @Test method testNewInnerWithLastParamNull (line 230) | @Test method testNewWithCheckedException (line 261) | @Test method testGetMessage (line 279) | @Test method testGetMessageWithArgument (line 296) | @Test method testInvokeVoidMethod (line 313) | @Test method testNewWithRuntimeException (line 328) | @Test method testMultipleNew (line 345) | @Test method testSimpleMultipleNew (line 363) | @Test method testSimpleMultipleNew_tooManyTimesExpected (line 376) | @Test method testSimpleMultipleNew_tooFewTimesExpected (line 394) | @Test method testSimpleMultipleNewPrivate_tooFewTimesExpected (line 415) | @Test method testSimpleMultipleNewPrivate_ok (line 433) | @Test method testSimpleSingleNew_withOnce (line 446) | @Test method testSimpleSingleNew_withAtLeastOnce (line 459) | @Test method testSimpleMultipleNew_withAtLeastOnce (line 472) | @Test method testAlternativeFlow (line 486) | @Test method testSimpleMultipleNewPrivate_tooManyTimesExpected (line 500) | @Test method testNewWithArguments (line 517) | @Test method testNewWithParameterTypesAndArguments (line 535) | @Test method testNewWithConstructorUsingParameterTypesAndArguments (line 554) | @Test method testNewUsingConstructorWithArguments (line 573) | @Test method testNewWithVarArgs (line 591) | @Test method testNewWhenTheExpectedConstructorIsNotFound (line 611) | @Test method testNewWithVarArgsConstructorWhenOneArgumentIsOfASubType (line 623) | @Test method testNewWithArrayVarArgs (line 647) | @Test method testNewWithArrayVarArgsAndMatchers (line 665) | @Test method testNewWithArrayVarArgsWhenFirstArgumentIsNullAndSubseqentArgumentsAreNotNull (line 683) | @Test method testNewWithArrayVarArgsWhenFirstArgumentIsNotNullButSubseqentArgumentsAreNull (line 701) | @Test method testNewWithArrayVarArgsWhenFirstArgumentIsNullSecondArgumentIsNotNullAndThirdArgumentIsNull (line 719) | @Test method testNewWithArrayVarArgsWhenAllArgumentsAreNullAndOverloadedVarArgsConstructors (line 739) | @Test method testNewWithArrayVarArgsWhenAllArgumentsAreNull (line 760) | @Test method testNewWithWrongArgument (line 778) | @Test(expected = NullPointerException.class) method testExpectNewButNoNewCallWasMade (line 805) | @Test method whenNewSupportsVarArgsAsSecondParameter (line 826) | @Test method whenNewAnyArgumentsWorksInClassesWithSingleCtor (line 846) | @Test method whenNewAnyArgumentsWorksInClassesWithMultipleCtors (line 864) | @Test method canDefineSeveralMockResultForNew (line 883) | @Test method multiConstructorMatching (line 905) | @Test FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/whennew/WhenNewTest.java class WhenNewTest (line 25) | @RunWith(PowerMockRunner.class) FILE: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/withsettings/WithSettingsTest.java class WithSettingsTest (line 32) | @RunWith(PowerMockRunner.class) method powermockitoSupportsAnswersForInstanceMethods (line 36) | @Test method powermockitoSupportsWithSettingsForInstanceMethods (line 42) | @Test method powermockitoSupportsAnswersForStaticMethods (line 48) | @Test method powermockitoSupportsWithSettingsForStaticMethods (line 54) | @Test FILE: tests/mockito/junit49/src/test/java/samples/powermockito/junit4/rules/JUnit49RuleTest.java class JUnit49RuleTest (line 40) | @RunWith(PowerMockRunner.class) method assertThatJUnit47RulesWorks (line 54) | @Test class MyRule (line 61) | private class MyRule implements TestRule { method apply (line 63) | @Override FILE: tests/mockito/testng/src/test/java/samples/powermockito/testng/staticmocking/MockStaticNotPreparedTest.java class MockStaticNotPreparedTest (line 10) | public class MockStaticNotPreparedTest extends PowerMockTestCase { method should_throw_exception_if_class_not_prepared_for_test (line 12) | @Test(expectedExceptions = ClassNotPreparedException.class) FILE: tests/mockito/testng/src/test/java/samples/powermockito/testng/staticmocking/MockStaticPreparedWithoutMockStaticTest.java class MockStaticPreparedWithoutMockStaticTest (line 12) | @PrepareForTest(StaticService.class) method testWhenNotPrepared (line 17) | @Test(expectedExceptions = MissingMethodInvocationException.class, ena... FILE: tests/mockito/testng/src/test/java/samples/powermockito/testng/staticmocking/MockitoMockStaticTest.java class MockitoMockStaticTest (line 36) | @PrepareForTest({StaticService.class, StaticHelper.class}) method getObjectFactory (line 39) | @ObjectFactory method testMockStatic (line 45) | @Test method testMockStaticFinal (line 63) | @Test FILE: tests/mockito/testng/src/test/java/samples/testng/bugs/github656/GitHub656Test.java class GitHub656Test (line 13) | @PrepareForTest({ GitHub656Test.SimpleFoo.class }) method should_be_only_one_invocation (line 16) | @Test class SimpleFoo (line 25) | public static class SimpleFoo { method setFoo (line 29) | public void setFoo(String foo) { method getFoo (line 33) | public String getFoo() { FILE: tests/testng/src/test/java/samples/testng/SimpleBaseTest.java class SimpleBaseTest (line 18) | public class SimpleBaseTest { method create (line 22) | public static TestNG create() { method create (line 29) | public static TestNG create(Class... testClasses) { method getPathToResource (line 35) | public static String getPathToResource(String fileName) { method assertTestResultsEqual (line 46) | public static void assertTestResultsEqual(List results, L... method create (line 54) | protected TestNG create(XmlSuite... suites) { method createTests (line 60) | protected TestNG createTests(String suiteName, Class... testClasses) { method createXmlSuite (line 70) | protected XmlSuite createXmlSuite(String name) { method createXmlTest (line 76) | protected XmlTest createXmlTest(XmlSuite suite, String name, Class cla... method createXmlTest (line 90) | protected XmlTest createXmlTest(XmlSuite suite, String name, String...... method addMethods (line 102) | protected void addMethods(XmlClass cls, String... methods) { method verifyPassedTests (line 110) | protected void verifyPassedTests(TestListenerAdapter tla, String... me... FILE: tests/testng/src/test/java/samples/testng/bugs/github647/GitHub647.java class GitHub647 (line 15) | public class GitHub647 extends SimpleBaseTest { method GitHub647 (line 19) | public GitHub647() { method testSkipTest (line 23) | @Test method createTestNG (line 33) | private TestNG createTestNG() { method assertOneTestSkipped (line 42) | private void assertOneTestSkipped() { method runTest (line 47) | private void runTest(TestNG tng) { class SimpleClassLoader (line 59) | public static final class SimpleClassLoader extends ClassLoader { method SimpleClassLoader (line 64) | public SimpleClassLoader(ClassLoader currentClassLoader) { method loadClass (line 70) | @Override method shouldBeLoadedWithDelegate (line 87) | private boolean shouldBeLoadedWithDelegate(String name) { FILE: tests/testng/src/test/java/samples/testng/bugs/github647/SkipExceptionTest.java class SkipExceptionTest (line 10) | @PrepareForTest(SomeClass.class) method testSkipException (line 13) | @Test FILE: tests/testng/src/test/java/samples/testng/bugs/github647/SomeClass.java class SomeClass (line 8) | public class SomeClass { method throwSkipException (line 9) | public void throwSkipException() { FILE: tests/utils/src/main/java/org/powermock/api/mockito/ConfigurationTestUtils.java class ConfigurationTestUtils (line 28) | public final class ConfigurationTestUtils { method copyTemplateToPropertiesFile (line 34) | public void copyTemplateToPropertiesFile() throws URISyntaxException, ... method clear (line 51) | public void clear(){ FILE: tests/utils/src/main/java/org/powermock/api/mockito/MockitoVersion.java class MockitoVersion (line 23) | public class MockitoVersion { method isMockito1 (line 25) | public static boolean isMockito1(){ method isMockito2 (line 29) | public static boolean isMockito2(){ method isMockito3 (line 33) | public static boolean isMockito3(){ method isMockito4 (line 37) | public static boolean isMockito4(){ method MockitoVersion (line 45) | private MockitoVersion() { method isMockito1_0 (line 63) | private boolean isMockito1_0() { method isMockito2_0 (line 67) | private boolean isMockito2_0() { method isMockito3_0 (line 71) | private boolean isMockito3_0() { method isMockito4_0 (line 75) | private boolean isMockito4_0() { FILE: tests/utils/src/main/java/samples/Service.java type Service (line 24) | public interface Service { method getServiceMessage (line 26) | public String getServiceMessage(); FILE: tests/utils/src/main/java/samples/abstractmocking/AbstractMethodMocking.java class AbstractMethodMocking (line 22) | public abstract class AbstractMethodMocking { method getValue (line 24) | public String getValue() { method getIt (line 28) | protected abstract String getIt(); FILE: tests/utils/src/main/java/samples/annotationbased/AnnotatedClassDemo.java class AnnotatedClassDemo (line 5) | @RuntimeAnnotation method staticMethod (line 7) | public static boolean staticMethod() { FILE: tests/utils/src/main/java/samples/annotationbased/AnnotationDemo.java class AnnotationDemo (line 20) | public class AnnotationDemo { method AnnotationDemo (line 24) | public AnnotationDemo(Service service) { method AnnotationDemo (line 28) | public AnnotationDemo() { method getServiceMessage (line 32) | public String getServiceMessage() { FILE: tests/utils/src/main/java/samples/anonymousmocking/MyAbstractClass.java class MyAbstractClass (line 18) | public abstract class MyAbstractClass { method getMessage (line 19) | public abstract String getMessage(); FILE: tests/utils/src/main/java/samples/anonymousmocking/StupidAnonymous.java class StupidAnonymous (line 20) | public class StupidAnonymous { method setService (line 26) | public void setService(Service service) { method getMessageFromMyClass (line 30) | public String getMessageFromMyClass() { method getMessagesFromSeveralInnerClasses (line 42) | public String getMessagesFromSeveralInnerClasses() { method getServiceMessageFromInnerClass (line 60) | public String getServiceMessageFromInnerClass() { method getMessageFromOtherMethodInInnerClass (line 72) | public String getMessageFromOtherMethodInInnerClass() { FILE: tests/utils/src/main/java/samples/argumentmatcher/ArgumentMatcherDemo.java class ArgumentMatcherDemo (line 20) | public class ArgumentMatcherDemo { method findByNamedQuery (line 22) | public List findByNamedQuery(String argument, List som... FILE: tests/utils/src/main/java/samples/classhierarchy/ChildA.java class ChildA (line 18) | public class ChildA extends Parent { FILE: tests/utils/src/main/java/samples/classhierarchy/ChildB.java class ChildB (line 18) | public class ChildB extends Parent { FILE: tests/utils/src/main/java/samples/classhierarchy/Parent.java class Parent (line 18) | public class Parent { method getValue (line 21) | public int getValue() { method setValue (line 25) | public void setValue(int value) { FILE: tests/utils/src/main/java/samples/classwithinnermembers/ClassWithInnerMembers.java class ClassWithInnerMembers (line 21) | public class ClassWithInnerMembers { type InnerInterface (line 23) | private interface InnerInterface { method doStuff (line 24) | String doStuff(); class MyInnerClassWithPrivateConstructorWithDiffMultArgs (line 27) | public static class MyInnerClassWithPrivateConstructorWithDiffMultArgs { method MyInnerClassWithPrivateConstructorWithDiffMultArgs (line 33) | private MyInnerClassWithPrivateConstructorWithDiffMultArgs(String ar... method makeMyInnerClassWithPrivateConstructorWithDiffMultArgs (line 40) | public MyInnerClassWithPrivateConstructorWithDiffMultArgs makeMyInnerC... class MyInnerClassWithPrivateConstructorWithMultArgs (line 45) | public static class MyInnerClassWithPrivateConstructorWithMultArgs { method MyInnerClassWithPrivateConstructorWithMultArgs (line 51) | private MyInnerClassWithPrivateConstructorWithMultArgs(String arg1, ... method makeMyInnerClassWithPrivateConstructorWithMultArgs (line 58) | public MyInnerClassWithPrivateConstructorWithMultArgs makeMyInnerClass... class MyInnerClassWithPublicConstructorWithMultArgs (line 63) | public static class MyInnerClassWithPublicConstructorWithMultArgs { method MyInnerClassWithPublicConstructorWithMultArgs (line 69) | private MyInnerClassWithPublicConstructorWithMultArgs(String arg1, S... method makeMyInnerClassWithPublicConstructorWithMultArgs (line 76) | public MyInnerClassWithPublicConstructorWithMultArgs makeMyInnerClassW... class MyInnerClassWithPackageConstructorWithMultArgs (line 81) | public static class MyInnerClassWithPackageConstructorWithMultArgs { method MyInnerClassWithPackageConstructorWithMultArgs (line 87) | MyInnerClassWithPackageConstructorWithMultArgs(String arg1, String a... method makeMyInnerClassWithPackageConstructorWithMultArgs (line 94) | public MyInnerClassWithPackageConstructorWithMultArgs makeMyInnerClass... class MyInnerClassWithProtectedConstructorWithMultArgs (line 99) | public static class MyInnerClassWithProtectedConstructorWithMultArgs { method MyInnerClassWithProtectedConstructorWithMultArgs (line 105) | MyInnerClassWithProtectedConstructorWithMultArgs(String arg1, String... method makeMyInnerClassWithProtectedConstructorWithMultArgs (line 112) | public MyInnerClassWithProtectedConstructorWithMultArgs makeMyInnerCla... class MyInnerClass (line 117) | private static class MyInnerClass implements InnerInterface { method doStuff (line 119) | @Override class StaticInnerClassWithConstructorArgument (line 125) | private static class StaticInnerClassWithConstructorArgument implement... method StaticInnerClassWithConstructorArgument (line 129) | public StaticInnerClassWithConstructorArgument(String value) { method doStuff (line 133) | @Override class MyInnerClassWithConstructorArgument (line 139) | private class MyInnerClassWithConstructorArgument implements InnerInte... method MyInnerClassWithConstructorArgument (line 143) | public MyInnerClassWithConstructorArgument(String value) { method doStuff (line 147) | @Override method getValue (line 153) | public String getValue() { method getValueForInnerClassWithConstructorArgument (line 157) | public String getValueForInnerClassWithConstructorArgument() { method getValueForStaticInnerClassWithConstructorArgument (line 161) | public String getValueForStaticInnerClassWithConstructorArgument() { method getLocalClassValue (line 165) | public String getLocalClassValue() { method getLocalClassValueWithArgument (line 176) | public String getLocalClassValueWithArgument() { method getValueForAnonymousInnerClass (line 194) | public String getValueForAnonymousInnerClass() { FILE: tests/utils/src/main/java/samples/constructor/PrivateConstructorDemo.java class PrivateConstructorDemo (line 26) | public class PrivateConstructorDemo { method PrivateConstructorDemo (line 32) | private PrivateConstructorDemo(String completeName) { method getConstructorResult (line 36) | public String getConstructorResult() { FILE: tests/utils/src/main/java/samples/constructor/PrivateConstructorInstantiationDemo.java class PrivateConstructorInstantiationDemo (line 23) | public class PrivateConstructorInstantiationDemo { method PrivateConstructorInstantiationDemo (line 27) | private PrivateConstructorInstantiationDemo() { method PrivateConstructorInstantiationDemo (line 31) | private PrivateConstructorInstantiationDemo(int state) { method getState (line 35) | public int getState() { FILE: tests/utils/src/main/java/samples/constructor/PublicConstructorDemo.java class PublicConstructorDemo (line 26) | public class PublicConstructorDemo { method PublicConstructorDemo (line 32) | public PublicConstructorDemo(String completeName) { method getConstructorResult (line 36) | public String getConstructorResult() { FILE: tests/utils/src/main/java/samples/constructor/PublicConstructorWithDependencyDemo.java class PublicConstructorWithDependencyDemo (line 24) | public class PublicConstructorWithDependencyDemo { method PublicConstructorWithDependencyDemo (line 28) | public PublicConstructorWithDependencyDemo(Service service) { method getService (line 32) | public Service getService() { method aMethod (line 36) | public void aMethod() { FILE: tests/utils/src/main/java/samples/constructorargs/ConstructorArgsDemo.java class ConstructorArgsDemo (line 18) | public class ConstructorArgsDemo { method ConstructorArgsDemo (line 24) | public ConstructorArgsDemo(String secret) { method ConstructorArgsDemo (line 28) | public ConstructorArgsDemo() { method getTheSecret (line 32) | public String getTheSecret() { method theSecretIsPrivate (line 36) | private String theSecretIsPrivate() { FILE: tests/utils/src/main/java/samples/enummocking/AnotherSomeObjectInterfaceImpl.java class AnotherSomeObjectInterfaceImpl (line 23) | public class AnotherSomeObjectInterfaceImpl implements SomeObjectInterfa... FILE: tests/utils/src/main/java/samples/enummocking/EnumWithConstructor.java type EnumWithConstructor (line 23) | public enum EnumWithConstructor { method create (line 28) | @Override method create (line 34) | public abstract SomeObjectInterface create(); FILE: tests/utils/src/main/java/samples/enummocking/MyEnum.java type MyEnum (line 18) | public enum MyEnum { method getString (line 22) | public static String getString() { FILE: tests/utils/src/main/java/samples/enummocking/SomeObjectInterface.java type SomeObjectInterface (line 23) | public interface SomeObjectInterface { FILE: tests/utils/src/main/java/samples/enummocking/SomeObjectInterfaceImpl.java class SomeObjectInterfaceImpl (line 23) | public class SomeObjectInterfaceImpl implements SomeObjectInterface { FILE: tests/utils/src/main/java/samples/equalswithgetclass/EqualsWithGetClass.java class EqualsWithGetClass (line 21) | public class EqualsWithGetClass { method EqualsWithGetClass (line 25) | public EqualsWithGetClass(String myString) { method hashCode (line 30) | @Override method equals (line 38) | @Override FILE: tests/utils/src/main/java/samples/expectnew/CreationException.java class CreationException (line 6) | public class CreationException extends RuntimeException { FILE: tests/utils/src/main/java/samples/expectnew/ExpectNewDemo.java class ExpectNewDemo (line 24) | public class ExpectNewDemo { method hashCode (line 28) | @Override method equals (line 36) | @Override method getMessage (line 50) | public String getMessage() { method getMessageWithArgument (line 55) | public String getMessageWithArgument() { method invokeVoidMethod (line 60) | public void invokeVoidMethod() { method throwExceptionWhenInvoction (line 69) | public void throwExceptionWhenInvoction() { method throwExceptionAndWrapInRunTimeWhenInvoction (line 77) | public void throwExceptionAndWrapInRunTimeWhenInvoction() { method multipleNew (line 85) | public String multipleNew() { method simpleMultipleNew (line 94) | public void simpleMultipleNew() { method simpleMultipleNewPrivate (line 100) | @SuppressWarnings("unused") method simpleSingleNew (line 107) | public void simpleSingleNew() { method makeDate (line 111) | public Date makeDate() { method fileExists (line 115) | public boolean fileExists(String name) { method alternativePath (line 119) | public InputStream alternativePath() { method newWithArguments (line 127) | public String newWithArguments(Service service, int times) { method newWithWrongArguments (line 131) | public String newWithWrongArguments(Service service, int times) { method newVarArgs (line 135) | public String[] newVarArgs(String... strings) { method newVarArgs (line 139) | public Service[] newVarArgs(Service... services) { method newVarArgs (line 142) | public int[] newVarArgs(float myFloat, int ... ints) { method newVarArgs (line 146) | public byte[][] newVarArgs(byte[]... bytes) { method newVarArgsWithMatchers (line 150) | public byte[][] newVarArgsWithMatchers() { method fileWriter (line 154) | public void fileWriter(String name, String msg) throws IOException { method fileWriterPrint (line 158) | public void fileWriterPrint(String name, String msg) throws IOException { method newSimpleVarArgs (line 162) | public byte[][] newSimpleVarArgs(byte[]... bytes) { method createTarget (line 166) | public Target createTarget(ITarget target) { method getTargetName (line 176) | private String getTargetName(ITarget target) { FILE: tests/utils/src/main/java/samples/expectnew/ExpectNewOfFinalSystemClassDemo.java class ExpectNewOfFinalSystemClassDemo (line 18) | public class ExpectNewOfFinalSystemClassDemo { method getFirstChar (line 20) | public char getFirstChar() { FILE: tests/utils/src/main/java/samples/expectnew/ExpectNewServiceUser.java class ExpectNewServiceUser (line 20) | public class ExpectNewServiceUser { method ExpectNewServiceUser (line 25) | ExpectNewServiceUser(Service service, int times) { method useService (line 30) | public String useService() { FILE: tests/utils/src/main/java/samples/expectnew/ExpectNewWithMultipleCtorDemo.java class ExpectNewWithMultipleCtorDemo (line 20) | public class ExpectNewWithMultipleCtorDemo { method ExpectNewWithMultipleCtorDemo (line 25) | public ExpectNewWithMultipleCtorDemo(Service service) { method ExpectNewWithMultipleCtorDemo (line 29) | public ExpectNewWithMultipleCtorDemo(Service service, int times) { method useService (line 34) | public String useService() { FILE: tests/utils/src/main/java/samples/expectnew/ITarget.java type ITarget (line 6) | public interface ITarget { method getId (line 7) | int getId(); method getName (line 9) | String getName(); FILE: tests/utils/src/main/java/samples/expectnew/MultiConstructor.java class MultiConstructor (line 9) | public class MultiConstructor { method MultiConstructor (line 13) | public MultiConstructor(String first, String second) { method MultiConstructor (line 17) | public MultiConstructor(String first) { method MultiConstructor (line 22) | public MultiConstructor(String first, Runnable something, boolean b) { method getFirst (line 26) | public String getFirst() { FILE: tests/utils/src/main/java/samples/expectnew/NewFileExample.java class NewFileExample (line 23) | public class NewFileExample { method createDirectoryStructure (line 25) | public boolean createDirectoryStructure(String directoryPath) { FILE: tests/utils/src/main/java/samples/expectnew/PrimitiveAndWrapperDemo.java class PrimitiveAndWrapperDemo (line 22) | public class PrimitiveAndWrapperDemo { method PrimitiveAndWrapperDemo (line 26) | public PrimitiveAndWrapperDemo(int myInt) { method PrimitiveAndWrapperDemo (line 30) | public PrimitiveAndWrapperDemo(Integer myInt) { method getMyInt (line 34) | public int getMyInt() { FILE: tests/utils/src/main/java/samples/expectnew/PrimitiveAndWrapperUser.java class PrimitiveAndWrapperUser (line 22) | public class PrimitiveAndWrapperUser { method useThem (line 24) | public int useThem() { FILE: tests/utils/src/main/java/samples/expectnew/SimpleVarArgsConstructorDemo.java class SimpleVarArgsConstructorDemo (line 18) | public class SimpleVarArgsConstructorDemo { method SimpleVarArgsConstructorDemo (line 23) | public SimpleVarArgsConstructorDemo(byte[]... byteArrays) { method getByteArrays (line 27) | public byte[][] getByteArrays() { FILE: tests/utils/src/main/java/samples/expectnew/Target.java class Target (line 6) | public class Target implements ITarget{ method Target (line 10) | public Target(String targetName, int id) { method getId (line 16) | @Override method getName (line 21) | @Override FILE: tests/utils/src/main/java/samples/expectnew/VarArgsConstructorDemo.java class VarArgsConstructorDemo (line 20) | public class VarArgsConstructorDemo { method VarArgsConstructorDemo (line 27) | public VarArgsConstructorDemo(String... strings) { method VarArgsConstructorDemo (line 34) | public VarArgsConstructorDemo(byte[]... byteArrays) { method VarArgsConstructorDemo (line 41) | public VarArgsConstructorDemo(Service... services) { method VarArgsConstructorDemo (line 48) | public VarArgsConstructorDemo(float myFloat, int... ints) { method getAllMessages (line 55) | public String[] getAllMessages() { method getAllServices (line 59) | public Service[] getAllServices() { method getByteArrays (line 63) | public byte[][] getByteArrays() { method getInts (line 67) | public int[] getInts() { FILE: tests/utils/src/main/java/samples/expectvoid/ExpectVoidDemo.java class ExpectVoidDemo (line 18) | public class ExpectVoidDemo { method invokeAPrivateVoidMethod (line 20) | public void invokeAPrivateVoidMethod(int something) { method privateInvoke (line 24) | private void privateInvoke(int something) { FILE: tests/utils/src/main/java/samples/fieldmock/FieldInitializerDemo.java class FieldInitializerDemo (line 21) | public class FieldInitializerDemo { method getFromMap (line 33) | public String getFromMap(int index) { FILE: tests/utils/src/main/java/samples/finalmocking/FinalDemo.java class FinalDemo (line 21) | public final class FinalDemo { method say (line 23) | public final String say(String string) { method finalVoidCaller (line 27) | public final void finalVoidCaller() { method finalVoidCallee (line 31) | public final void finalVoidCallee() { method sayFinalNative (line 35) | public final native String sayFinalNative(String string); method simpleReturnExample (line 37) | public final SimpleReturnExample simpleReturnExample() { method simpleMix (line 41) | public final SimpleMix simpleMix() { FILE: tests/utils/src/main/java/samples/finalmocking/HoldingFinalDemo.java class HoldingFinalDemo (line 18) | public final class HoldingFinalDemo { method getFinalDemo (line 20) | public FinalDemo getFinalDemo() { FILE: tests/utils/src/main/java/samples/finalmocking/StaticHoldingFinalDemo.java class StaticHoldingFinalDemo (line 18) | public class StaticHoldingFinalDemo { method getFinalDemo (line 20) | public static FinalDemo getFinalDemo() { FILE: tests/utils/src/main/java/samples/hashcode/HashCodeInitializedInCtor.java class HashCodeInitializedInCtor (line 20) | public class HashCodeInitializedInCtor { method HashCodeInitializedInCtor (line 23) | public HashCodeInitializedInCtor() { method newFaults (line 27) | public static HashCodeInitializedInCtor newFaults() { method hashCode (line 32) | @Override FILE: tests/utils/src/main/java/samples/injectmocks/DependencyHolder.java class DependencyHolder (line 23) | public class DependencyHolder { method getFinalDemo (line 27) | public FinalDemo getFinalDemo() { method setFinalDemo (line 31) | public void setFinalDemo(FinalDemo finalDemo) { FILE: tests/utils/src/main/java/samples/injectmocks/DependencyHolderQualifier.java class DependencyHolderQualifier (line 24) | @SuppressWarnings({"WeakerAccess", "unused"}) method getFinalDemo (line 30) | public FinalDemo getFinalDemo() { method setFinalDemo (line 34) | public void setFinalDemo(FinalDemo finalDemo) { method getFinalDemoQualifier (line 38) | public FinalDemo getFinalDemoQualifier() { method setFinalDemoQualifier (line 42) | public void setFinalDemoQualifier(FinalDemo finalDemoQualifier) { FILE: tests/utils/src/main/java/samples/injectmocks/InjectDemo.java class InjectDemo (line 23) | @SuppressWarnings({"SameReturnValue", "unused"}) method getMessage (line 26) | @SuppressWarnings("unused") method say (line 31) | @SuppressWarnings("UnusedParameters") FILE: tests/utils/src/main/java/samples/injectmocks/InjectDependencyHolder.java class InjectDependencyHolder (line 22) | @SuppressWarnings("unused") method getInjectDemo (line 27) | public InjectDemo getInjectDemo() { method setInjectDemo (line 31) | public void setInjectDemo(InjectDemo injectDemo) { FILE: tests/utils/src/main/java/samples/injectmocks/InjectDependencyHolderQualifier.java class InjectDependencyHolderQualifier (line 22) | @SuppressWarnings("unused") method getInjectDemo (line 28) | public InjectDemo getInjectDemo() { method setInjectDemo (line 32) | public void setInjectDemo(InjectDemo injectDemo) { method getInjectDemoQualifier (line 36) | public InjectDemo getInjectDemoQualifier() { method setInjectDemoQualifier (line 40) | public void setInjectDemoQualifier(InjectDemo injectDemoQualifier) { FILE: tests/utils/src/main/java/samples/innerclassmocking/ClassWithNonPrivateInnerClass.java class ClassWithNonPrivateInnerClass (line 24) | public class ClassWithNonPrivateInnerClass { method getMessage (line 26) | public String getMessage() { class InnerClass (line 30) | public class InnerClass { method getInnerMessage (line 31) | public String getInnerMessage() { FILE: tests/utils/src/main/java/samples/innerclassmocking/ClassWithPrivateInnerClass.java class ClassWithPrivateInnerClass (line 27) | public class ClassWithPrivateInnerClass { method getMessage (line 28) | public String getMessage() { class InnerClass (line 32) | private class InnerClass { method getInnerMessage (line 33) | public String getInnerMessage() { FILE: tests/utils/src/main/java/samples/interfacefieldchange/InterfaceWithStaticFinalField.java type InterfaceWithStaticFinalField (line 25) | public interface InterfaceWithStaticFinalField { FILE: tests/utils/src/main/java/samples/interfacemethodfinding/InterfaceMethodHierarchyUsage.java class InterfaceMethodHierarchyUsage (line 35) | public class InterfaceMethodHierarchyUsage { method usePreparedStatement (line 37) | public void usePreparedStatement() throws Exception { FILE: tests/utils/src/main/java/samples/interfacemethodfinding/WsUtil.java class WsUtil (line 24) | public class WsUtil { method getConnection (line 26) | public static Connection getConnection() throws Exception { FILE: tests/utils/src/main/java/samples/java/ClassInsideJavaPackage.java class ClassInsideJavaPackage (line 18) | public final class ClassInsideJavaPackage { method mockMe (line 20) | public final String mockMe() { FILE: tests/utils/src/main/java/samples/largemethod/MethodExceedingJvmLimit.java class MethodExceedingJvmLimit (line 23) | public class MethodExceedingJvmLimit { method init (line 28) | public static String init() { FILE: tests/utils/src/main/java/samples/methodhierarchy/MethodInvocationDemo.java class MethodInvocationDemo (line 18) | public class MethodInvocationDemo extends MethodInvocationDemoParent { method getString (line 20) | @SuppressWarnings("unused") FILE: tests/utils/src/main/java/samples/methodhierarchy/MethodInvocationDemoGrandParent.java class MethodInvocationDemoGrandParent (line 18) | public class MethodInvocationDemoGrandParent { method getTheString (line 20) | protected String getTheString() { method getString (line 24) | @SuppressWarnings("unused") method getString (line 29) | @SuppressWarnings("unused") FILE: tests/utils/src/main/java/samples/methodhierarchy/MethodInvocationDemoParent.java class MethodInvocationDemoParent (line 18) | public class MethodInvocationDemoParent extends MethodInvocationDemoGran... method getTheString (line 20) | @Override method getString (line 25) | @SuppressWarnings("unused") FILE: tests/utils/src/main/java/samples/mockpolicy/ResultCalculator.java class ResultCalculator (line 18) | public class ResultCalculator { method ResultCalculator (line 21) | public ResultCalculator(int operand) { method calculate (line 25) | public double calculate() { FILE: tests/utils/src/main/java/samples/mockpolicy/SimpleClassWithADependency.java class SimpleClassWithADependency (line 19) | public class SimpleClassWithADependency { method getResult (line 23) | public double getResult() { FILE: tests/utils/src/main/java/samples/mockpolicy/SomeClassWithAMethod.java class SomeClassWithAMethod (line 18) | public class SomeClassWithAMethod extends SomeClassWithAMethodParent { method getResult (line 20) | @Override FILE: tests/utils/src/main/java/samples/mockpolicy/SomeClassWithAMethodParent.java class SomeClassWithAMethodParent (line 18) | public class SomeClassWithAMethodParent { method getResult (line 20) | public double getResult() { FILE: tests/utils/src/main/java/samples/mockpolicy/frameworkexample/NativeResult.java class NativeResult (line 18) | public class NativeResult { method NativeResult (line 22) | public NativeResult(String result) { method get (line 26) | public String get() { FILE: tests/utils/src/main/java/samples/mockpolicy/frameworkexample/SimpleFramework.java class SimpleFramework (line 18) | public class SimpleFramework { method doNativeStuff (line 24) | public NativeResult doNativeStuff(String nativeStuffToDo) { FILE: tests/utils/src/main/java/samples/mockpolicy/frameworkexample/SimpleFrameworkUser.java class SimpleFrameworkUser (line 18) | public class SimpleFrameworkUser { method performComplexOperation (line 20) | public String performComplexOperation(String operation) { FILE: tests/utils/src/main/java/samples/nativemocking/NativeMockingSample.java class NativeMockingSample (line 21) | public class NativeMockingSample { method NativeMockingSample (line 25) | public NativeMockingSample(NativeService nativeService) { method invokeNativeMethod (line 29) | public String invokeNativeMethod(String param) { FILE: tests/utils/src/main/java/samples/nativemocking/NativeService.java class NativeService (line 22) | public class NativeService { method invokeNative (line 24) | public native String invokeNative(String nativeParameter); FILE: tests/utils/src/main/java/samples/newmocking/MyClass.java class MyClass (line 18) | public class MyClass { method getMessage (line 20) | public String getMessage() { method getMessage (line 24) | public String getMessage(String message) { method voidMethod (line 28) | public void voidMethod() { FILE: tests/utils/src/main/java/samples/newmocking/NewDemo.java class NewDemo (line 19) | public final class NewDemo { method methodUnderTest (line 21) | public void methodUnderTest() FILE: tests/utils/src/main/java/samples/newmocking/SomeDependency.java class SomeDependency (line 19) | public class SomeDependency { method complete (line 23) | void complete() { FILE: tests/utils/src/main/java/samples/newmocking/StupidNew.java class StupidNew (line 18) | public class StupidNew { method getMessage (line 20) | public String getMessage() { method getMessageWithArgument (line 25) | public String getMessageWithArgument() { method invokeVoidMethod (line 30) | public void invokeVoidMethod() { FILE: tests/utils/src/main/java/samples/nice/NiceDemo.java class NiceDemo (line 18) | public class NiceDemo { method callAThenB (line 20) | public void callAThenB() { method A (line 25) | void A(String aString) { method B (line 29) | void B(String aString) { FILE: tests/utils/src/main/java/samples/overloading/OverloadedMethodsExample.java class OverloadedMethodsExample (line 21) | public class OverloadedMethodsExample { method overloadedMethodWithOneArgument (line 22) | public static void overloadedMethodWithOneArgument(Parent parent) { method overloadedMethodWithOneArgument (line 25) | public static void overloadedMethodWithOneArgument(ChildA child) { method overloadedMethodWithTwoArguments (line 28) | public static void overloadedMethodWithTwoArguments(Parent parent, Chi... method overloadedMethodWithTwoArguments (line 31) | public static void overloadedMethodWithTwoArguments(Parent parent1, Pa... FILE: tests/utils/src/main/java/samples/overloading/OverloadingDemo.java class OverloadingDemo (line 25) | public class OverloadingDemo { method performSingleOverloadedArgumentTest (line 27) | public void performSingleOverloadedArgumentTest() { method performMethodOverloadTestWhenBothArgumentSame (line 32) | public void performMethodOverloadTestWhenBothArgumentSame() { method performMethodOverloadTestWithOneArgumentSameAndOneDiffernt (line 38) | public void performMethodOverloadTestWithOneArgumentSameAndOneDiffernt... FILE: tests/utils/src/main/java/samples/overloading/StaticAndInstanceMethodWithSameName.java class StaticAndInstanceMethodWithSameName (line 21) | public class StaticAndInstanceMethodWithSameName { method overloaded (line 22) | public void overloaded(Parent parent) { method overloaded (line 25) | public static void overloaded(ChildA child) { FILE: tests/utils/src/main/java/samples/overloading/StaticAndInstanceMethodWithSameNameUser.java class StaticAndInstanceMethodWithSameNameUser (line 25) | public class StaticAndInstanceMethodWithSameNameUser { method performInstaceInvocation (line 27) | public void performInstaceInvocation(StaticAndInstanceMethodWithSameNa... method performStaticInvocation (line 32) | public void performStaticInvocation() { FILE: tests/utils/src/main/java/samples/packageprivate/PackagePrivateClass.java class PackagePrivateClass (line 24) | class PackagePrivateClass { method getValue (line 26) | public int getValue() { method returnAValue (line 30) | private int returnAValue() { FILE: tests/utils/src/main/java/samples/partialmocking/MockSelfDemo.java class MockSelfDemo (line 20) | public class MockSelfDemo { method MockSelfDemo (line 24) | @SuppressWarnings("unused") method MockSelfDemo (line 29) | public MockSelfDemo(int hello) { method MockSelfDemo (line 33) | public MockSelfDemo(Object string) { method hashCode (line 37) | @Override method establishConnection (line 45) | protected String establishConnection(Connection conn) throws Exception { method equals (line 53) | @Override method aMethod (line 67) | public String aMethod() { method aMethod2 (line 72) | public void aMethod2() { method getTwoStrings (line 76) | public String getTwoStrings() { method getString (line 80) | private String getString() { method getString (line 84) | public String getString(String string) { method getString2 (line 88) | public String getString2(String string) { method getString2 (line 92) | public String getString2() { method timesTwo (line 96) | public int timesTwo(Integer anInt) { method timesTwo (line 100) | public int timesTwo(int anInt) { method timesThree (line 104) | public int timesThree(int anInt) { method getConstructorValue (line 108) | public int getConstructorValue() { method getSomething (line 112) | public static int getSomething() { method methodToBeStubbed (line 118) | public static int methodToBeStubbed() { FILE: tests/utils/src/main/java/samples/partialmocking/MockSelfDemoSubClass.java class MockSelfDemoSubClass (line 18) | public class MockSelfDemoSubClass { method getAMessage (line 20) | public String getAMessage() { method getAProtectedMessage (line 24) | protected String getAProtectedMessage() { FILE: tests/utils/src/main/java/samples/partialmocking/MockSelfDemoWithSubClass.java class MockSelfDemoWithSubClass (line 18) | public class MockSelfDemoWithSubClass extends MockSelfDemoSubClass { method getMessage (line 20) | public String getMessage() { method getSecondMessage (line 24) | public String getSecondMessage() { method getInternalMessage (line 28) | private String getInternalMessage() { FILE: tests/utils/src/main/java/samples/partialmocking/MockSelfWithNoDefaultConstructorDemo.java class MockSelfWithNoDefaultConstructorDemo (line 18) | public class MockSelfWithNoDefaultConstructorDemo { method MockSelfWithNoDefaultConstructorDemo (line 22) | public MockSelfWithNoDefaultConstructorDemo(int hello) { method aMethod (line 26) | public String aMethod() { method aMethod2 (line 31) | public void aMethod2() { FILE: tests/utils/src/main/java/samples/partialmocking/MockWithStaticStateDemo.java class MockWithStaticStateDemo (line 18) | public class MockWithStaticStateDemo { method getState (line 22) | public static int getState() { FILE: tests/utils/src/main/java/samples/partialmocking/PartialMockingExample.java class PartialMockingExample (line 21) | public class PartialMockingExample { method methodToTest (line 23) | public String methodToTest() { method methodToMock (line 27) | public String methodToMock() { FILE: tests/utils/src/main/java/samples/partialmocking/PartialMockingWithConstructor.java class PartialMockingWithConstructor (line 18) | public class PartialMockingWithConstructor { method PartialMockingWithConstructor (line 19) | public PartialMockingWithConstructor() { method initialize (line 23) | public void initialize() { method touch (line 26) | public void touch() { FILE: tests/utils/src/main/java/samples/partialmocking/PrivatePartialMockingExample.java class PrivatePartialMockingExample (line 21) | public final class PrivatePartialMockingExample { method methodToTest (line 23) | public String methodToTest() { method methodToMock (line 27) | private String methodToMock(String input) { FILE: tests/utils/src/main/java/samples/powermockignore/PowerMockIgnoreDemo.java class PowerMockIgnoreDemo (line 5) | public class PowerMockIgnoreDemo { method showDialog (line 7) | public void showDialog() { FILE: tests/utils/src/main/java/samples/privateandfinal/PrivateFinal.java class PrivateFinal (line 24) | public class PrivateFinal { method say (line 25) | public String say(String name) { method sayIt (line 29) | private final String sayIt(String name) { FILE: tests/utils/src/main/java/samples/privateandfinal/PrivateFinalOverload.java class PrivateFinalOverload (line 23) | public class PrivateFinalOverload { method say (line 24) | public String say(String name) { method say (line 28) | private final String say(String prefix, String name) { FILE: tests/utils/src/main/java/samples/privatefield/MockSelfPrivateFieldServiceClass.java class MockSelfPrivateFieldServiceClass (line 26) | public class MockSelfPrivateFieldServiceClass { method getCompositeMessage (line 29) | public String getCompositeMessage() { method getOwnMessage (line 34) | private String getOwnMessage() { FILE: tests/utils/src/main/java/samples/privatefield/SimplePrivateFieldServiceClass.java class SimplePrivateFieldServiceClass (line 26) | public class SimplePrivateFieldServiceClass { method useService (line 29) | public String useService() { FILE: tests/utils/src/main/java/samples/privatemocking/PrivateMethodDemo.java class PrivateMethodDemo (line 27) | public class PrivateMethodDemo { method say (line 28) | public String say(String name) { method enhancedSay (line 32) | public String enhancedSay(String firstName, String lastName) { method sayYear (line 36) | public String sayYear(String name, int years) { method doSayYear (line 40) | private String doSayYear(int years, String name) { method sayIt (line 44) | private String sayIt(String firstName, String spacing, String lastName) { method sayIt (line 48) | private String sayIt(String name) { method sayIt (line 52) | @SuppressWarnings("unused") method methodCallingPrimitiveTestMethod (line 57) | public int methodCallingPrimitiveTestMethod() { method methodCallingWrappedTestMethod (line 61) | public int methodCallingWrappedTestMethod() { method aTestMethod (line 65) | private int aTestMethod(int aValue) { method aTestMethod (line 69) | private Integer aTestMethod(Integer aValue) { method doArrayStuff (line 73) | public void doArrayStuff(String v) { method doArrayInternal (line 77) | private void doArrayInternal(String[] strings) { method doObjectStuff (line 80) | public void doObjectStuff(Object o) { method doObjectInternal (line 84) | private void doObjectInternal(Object o) { method invokeVarArgsMethod (line 87) | public int invokeVarArgsMethod(int a, int b) { method varArgsMethod (line 91) | private int varArgsMethod(int... ints) { method createReader (line 99) | private Reader createReader(File folder) throws FileNotFoundException { FILE: tests/utils/src/main/java/samples/reflection/ReflectionInstantiator.java class ReflectionInstantiator (line 18) | public class ReflectionInstantiator { method instantiateUseMe (line 20) | public boolean instantiateUseMe() throws ClassNotFoundException { FILE: tests/utils/src/main/java/samples/reflection/UseMe.java class UseMe (line 19) | public class UseMe implements UseMeInterface { FILE: tests/utils/src/main/java/samples/reflection/UseMeInterface.java type UseMeInterface (line 20) | public interface UseMeInterface { FILE: tests/utils/src/main/java/samples/rule/SimpleThing.java type SimpleThing (line 19) | public interface SimpleThing { method getThingName (line 20) | String getThingName(); FILE: tests/utils/src/main/java/samples/rule/SimpleThingCreator.java class SimpleThingCreator (line 19) | public class SimpleThingCreator { method createSimpleThing (line 21) | public static SimpleThing createSimpleThing() { FILE: tests/utils/src/main/java/samples/rule/SimpleThingImpl.java class SimpleThingImpl (line 19) | public class SimpleThingImpl implements SimpleThing { method getThingName (line 21) | @Override FILE: tests/utils/src/main/java/samples/rule/ThingToTest.java class ThingToTest (line 19) | public class ThingToTest { method ThingToTest (line 22) | public ThingToTest() { method getName (line 26) | public String getName() { FILE: tests/utils/src/main/java/samples/servletmocking/SampleServlet.java class SampleServlet (line 28) | public class SampleServlet extends HttpServlet { method doGet (line 30) | public void doGet(HttpServletRequest request, HttpServletResponse resp... FILE: tests/utils/src/main/java/samples/simplemix/SimpleMix.java class SimpleMix (line 22) | public class SimpleMix { method calculate (line 26) | public final int calculate() { method getValue (line 30) | private int getValue() { FILE: tests/utils/src/main/java/samples/simplemix/SimpleMixCollaborator.java class SimpleMixCollaborator (line 20) | public final class SimpleMixCollaborator { method getRandomInteger (line 22) | public final int getRandomInteger() { FILE: tests/utils/src/main/java/samples/simplemix/SimpleMixConstruction.java class SimpleMixConstruction (line 18) | public class SimpleMixConstruction { method getMyValue (line 20) | public int getMyValue() { FILE: tests/utils/src/main/java/samples/simplemix/SimpleMixUtilities.java class SimpleMixUtilities (line 20) | public class SimpleMixUtilities { method getRandomInteger (line 21) | public static int getRandomInteger() { FILE: tests/utils/src/main/java/samples/simplereturn/SimpleReturnExample.java class SimpleReturnExample (line 3) | public class SimpleReturnExample { method mySimpleMethod (line 5) | public int mySimpleMethod() { FILE: tests/utils/src/main/java/samples/simplereturn/SimpleReturnExampleUser.java class SimpleReturnExampleUser (line 3) | public class SimpleReturnExampleUser { method SimpleReturnExampleUser (line 7) | public SimpleReturnExampleUser(SimpleReturnExample intReturn2) { method myMethod (line 12) | public int myMethod() { FILE: tests/utils/src/main/java/samples/singleton/SimpleStaticService.java class SimpleStaticService (line 3) | public class SimpleStaticService { method say (line 5) | public static String say(final String string) { FILE: tests/utils/src/main/java/samples/singleton/StaticExample.java class StaticExample (line 21) | public class StaticExample { method voidMethod (line 23) | public static void voidMethod() { method privateVoidMethod (line 27) | private static void privateVoidMethod() { method voidFinalMethod (line 30) | public static void voidFinalMethod() { method privateVoidFinalMethod (line 34) | private static final void privateVoidFinalMethod() { method staticVoidMethod (line 37) | public static void staticVoidMethod() { method staticMethodReturningString (line 41) | public static String staticMethodReturningString() { method staticFinalVoidMethod (line 45) | public static final void staticFinalVoidMethod() { method objectMethod (line 49) | public static Object objectMethod() { method privateObjectMethod (line 53) | private static Object privateObjectMethod() { method objectFinalMethod (line 57) | public static Object objectFinalMethod() { method privateObjectFinalMethod (line 61) | private static final Object privateObjectFinalMethod() { FILE: tests/utils/src/main/java/samples/singleton/StaticHelper.java class StaticHelper (line 18) | public class StaticHelper { method sayHelloHelper (line 20) | public static void sayHelloHelper() { method sayHelloAgain (line 24) | public static void sayHelloAgain() { FILE: tests/utils/src/main/java/samples/singleton/StaticService.java class StaticService (line 27) | public class StaticService { method sayHello (line 35) | public static void sayHello(String message) { method sayHello (line 39) | public static void sayHello(Integer intValue) { method getNumberFromInner (line 43) | public static int getNumberFromInner() { method getNumberFromInnerInstance (line 52) | public static int getNumberFromInnerInstance() { method internalGetNumberFromInnerInstance (line 56) | public int internalGetNumberFromInnerInstance() { method doStatic (line 65) | public static String doStatic(int i) { method assertThatVerifyWorksForMultipleMocks (line 69) | public static void assertThatVerifyWorksForMultipleMocks() { method sayHello (line 74) | public static void sayHello() { method sayHelloAgain (line 79) | public static void sayHelloAgain() { method throwException (line 84) | public static void throwException(){ method say (line 88) | public static String say(String string) { method sayFinal (line 92) | public final static String sayFinal(String string) { method sayNative (line 96) | public native static String sayNative(String string); method sayFinalNative (line 98) | public final native static String sayFinalNative(String string); method calculate (line 100) | public static int calculate(int a, int b) { method sayPrivateStatic (line 104) | private static String sayPrivateStatic(String string) { method sayPrivateFinalStatic (line 108) | private static String sayPrivateFinalStatic(String string) { method sayPrivateNativeFinalStatic (line 112) | private static final native String sayPrivateNativeFinalStatic(String ... FILE: tests/utils/src/main/java/samples/singleton/StaticWithPrivateCtor.java class StaticWithPrivateCtor (line 19) | public class StaticWithPrivateCtor { method StaticWithPrivateCtor (line 21) | private StaticWithPrivateCtor(){ method staticMethod (line 24) | public static String staticMethod() { FILE: tests/utils/src/main/java/samples/spy/SpyObject.java class SpyObject (line 18) | public class SpyObject { method getMyString (line 20) | public String getMyString() { method getStringTwo (line 24) | public String getStringTwo() { method throwException (line 29) | public void throwException() { FILE: tests/utils/src/main/java/samples/staticandinstance/StaticAndInstanceDemo.java class StaticAndInstanceDemo (line 23) | public class StaticAndInstanceDemo { method getMessage (line 25) | public String getMessage() { method getPrivateMessage (line 29) | private String getPrivateMessage() { method getStaticMessage (line 33) | public static final String getStaticMessage() { method aVoidMethod (line 37) | public static void aVoidMethod() { method aMethod2 (line 40) | public static Object aMethod2(String aString) { FILE: tests/utils/src/main/java/samples/staticandinstance/StaticAndInstanceWithConstructorCodeDemo.java class StaticAndInstanceWithConstructorCodeDemo (line 23) | public class StaticAndInstanceWithConstructorCodeDemo { method StaticAndInstanceWithConstructorCodeDemo (line 27) | public StaticAndInstanceWithConstructorCodeDemo( method getMessage (line 32) | public String getMessage() { FILE: tests/utils/src/main/java/samples/staticinitializer/AbstractStaticInitializerExample.java class AbstractStaticInitializerExample (line 18) | public abstract class AbstractStaticInitializerExample { method getStaticString (line 27) | public static String getStaticString() { method getString (line 31) | public String getString() { FILE: tests/utils/src/main/java/samples/staticinitializer/EvilStaticInitializerExample.java class EvilStaticInitializerExample (line 21) | public class EvilStaticInitializerExample { method doSomeNativeStuffUsingTheLoadedSystemLibrary (line 37) | public String doSomeNativeStuffUsingTheLoadedSystemLibrary() { FILE: tests/utils/src/main/java/samples/staticinitializer/InterfaceComputation.java type InterfaceA (line 18) | interface InterfaceA type InterfaceB (line 23) | interface InterfaceB type InterfaceC (line 28) | interface InterfaceC extends InterfaceA class InterfaceComputation (line 33) | public class InterfaceComputation implements InterfaceA, InterfaceB, Int... method main (line 35) | public static void main(String[] args) { method calculateWithinHierarchy (line 38) | public static int calculateWithinHierarchy() { method calculateWithReference (line 41) | public static int calculateWithReference() { FILE: tests/utils/src/main/java/samples/staticinitializer/SimpleStaticInitializerExample.java class SimpleStaticInitializerExample (line 18) | public class SimpleStaticInitializerExample { method getString (line 26) | public String getString() { method getConcatenatedString (line 30) | public final String getConcatenatedString(String concat) { FILE: tests/utils/src/main/java/samples/staticinitializer/StaticInitializerExample.java class StaticInitializerExample (line 21) | public class StaticInitializerExample { method getMySet (line 32) | public static Set getMySet() { FILE: tests/utils/src/main/java/samples/stress/ClassWithStatic.java class ClassWithStatic (line 19) | public class ClassWithStatic { method a (line 21) | public static String a(){ method b (line 24) | public static String b(){ method c (line 27) | public static String c(){ method d (line 30) | public static String d(){ method e (line 33) | public static String e(){ method f (line 36) | public static String f(){ method g (line 39) | public static String g(){ method h (line 42) | public static String h(){ FILE: tests/utils/src/main/java/samples/stress/StressSample.java class StressSample (line 19) | public class StressSample { method a1 (line 20) | public String a1(){ method b1 (line 23) | public String b1(){ method c1 (line 26) | public String c1(){ method d1 (line 29) | public String d1(){ method e1 (line 32) | public String e1(){ method f1 (line 35) | public String f1(){ method g1 (line 38) | public String g1(){ method h1 (line 41) | public String h1(){ FILE: tests/utils/src/main/java/samples/strict/StrictDemo.java class StrictDemo (line 18) | public class StrictDemo { method callAThenB (line 20) | public void callAThenB() { method A (line 25) | private void A() { method B (line 29) | private void B() { FILE: tests/utils/src/main/java/samples/suppressconstructor/AppaleList.java class AppaleList (line 22) | public class AppaleList { method AppaleList (line 24) | public AppaleList() { method AppaleList (line 28) | public AppaleList(String str) { method getAll (line 32) | public String getAll() { FILE: tests/utils/src/main/java/samples/suppressconstructor/InvokeConstructor.java class InvokeConstructor (line 18) | public class InvokeConstructor { method doStuff (line 20) | public String doStuff(String m) { FILE: tests/utils/src/main/java/samples/suppressconstructor/SuppressConstructorDemo.java class SuppressConstructorDemo (line 18) | public class SuppressConstructorDemo extends method SuppressConstructorDemo (line 21) | public SuppressConstructorDemo(String message) { method getMyOwnMessage (line 25) | public String getMyOwnMessage() { method returnAMessage (line 29) | private String returnAMessage() { FILE: tests/utils/src/main/java/samples/suppressconstructor/SuppressConstructorHeirarchyEvilGrandParent.java class SuppressConstructorHeirarchyEvilGrandParent (line 18) | public class SuppressConstructorHeirarchyEvilGrandParent { method SuppressConstructorHeirarchyEvilGrandParent (line 20) | SuppressConstructorHeirarchyEvilGrandParent() { FILE: tests/utils/src/main/java/samples/suppressconstructor/SuppressConstructorHierarchy.java class SuppressConstructorHierarchy (line 18) | public class SuppressConstructorHierarchy extends SuppressConstructorHie... method SuppressConstructorHierarchy (line 20) | public SuppressConstructorHierarchy(String message) { method getNumber (line 30) | public int getNumber() { FILE: tests/utils/src/main/java/samples/suppressconstructor/SuppressConstructorHierarchyParent.java class SuppressConstructorHierarchyParent (line 18) | public class SuppressConstructorHierarchyParent extends method SuppressConstructorHierarchyParent (line 23) | SuppressConstructorHierarchyParent() { method SuppressConstructorHierarchyParent (line 28) | SuppressConstructorHierarchyParent(String message) { method getMessage (line 33) | public String getMessage() { FILE: tests/utils/src/main/java/samples/suppressconstructor/SuppressConstructorSubclassDemo.java class SuppressConstructorSubclassDemo (line 18) | public class SuppressConstructorSubclassDemo { method SuppressConstructorSubclassDemo (line 22) | SuppressConstructorSubclassDemo(String message) { method getMessage (line 26) | public String getMessage() { FILE: tests/utils/src/main/java/samples/suppressconstructor/SuppressNonParentConstructorDemo.java class SuppressNonParentConstructorDemo (line 18) | public class SuppressNonParentConstructorDemo { method SuppressNonParentConstructorDemo (line 20) | public SuppressNonParentConstructorDemo(String message) { method getHello (line 24) | public String getHello() { FILE: tests/utils/src/main/java/samples/suppressconstructor/SuppressSpecificConstructorDemo.java class SuppressSpecificConstructorDemo (line 18) | public class SuppressSpecificConstructorDemo { method SuppressSpecificConstructorDemo (line 20) | public SuppressSpecificConstructorDemo() { method SuppressSpecificConstructorDemo (line 25) | public SuppressSpecificConstructorDemo(String message) { method getHello (line 29) | public String getHello() { FILE: tests/utils/src/main/java/samples/suppresseverything/SuppressEverything.java class SuppressEverything (line 18) | public class SuppressEverything { method SuppressEverything (line 20) | public SuppressEverything() { method SuppressEverything (line 24) | public SuppressEverything(String string) { method something (line 28) | public int something() { method somethingElse (line 32) | public void somethingElse() { FILE: tests/utils/src/main/java/samples/suppressfield/DomainObject.java class DomainObject (line 3) | public class DomainObject { method DomainObject (line 5) | public DomainObject() { FILE: tests/utils/src/main/java/samples/suppressfield/ItemRepository.java class ItemRepository (line 5) | public class ItemRepository { method addItem (line 13) | public void addItem(String key, String value) { method delItem (line 18) | public void delItem(String key) { class MyClass (line 25) | private static class MyClass { method MyClass (line 26) | public MyClass() { FILE: tests/utils/src/main/java/samples/suppressfield/SuppressField.java class SuppressField (line 18) | public class SuppressField { method getMySecondValue (line 32) | public Object getMySecondValue() { method getDomainObject (line 36) | public DomainObject getDomainObject() { method getMyValue (line 42) | public static int getMyValue() { method getMyObject (line 46) | public static Object getMyObject() { method isMyBoolean (line 50) | public boolean isMyBoolean() { method getMyWrappedBoolean (line 54) | public Boolean getMyWrappedBoolean() { method getMyChar (line 58) | public char getMyChar() { FILE: tests/utils/src/main/java/samples/suppressmethod/SuppressMethod.java class SuppressMethod (line 18) | public class SuppressMethod extends SuppressMethodParent { method getObjectWithArgument (line 22) | public Object getObjectWithArgument(String argument) { method getObject (line 26) | public Object getObject() { method getObjectStatic (line 30) | public static Object getObjectStatic() { method getByte (line 34) | public byte getByte() { method getShort (line 38) | public short getShort() { method getInt (line 42) | public int getInt() { method getLong (line 46) | public long getLong() { method getBoolean (line 50) | public boolean getBoolean() { method getFloat (line 54) | public float getFloat() { method getDouble (line 58) | public double getDouble() { method getDouble (line 62) | public double getDouble(double value) { method invokeVoid (line 66) | public void invokeVoid(StringBuilder s) { method myMethod (line 70) | @Override method sameName (line 75) | public Object sameName(int i) { method sameName (line 79) | public Object sameName(float f) { FILE: tests/utils/src/main/java/samples/suppressmethod/SuppressMethodExample.java class SuppressMethodExample (line 18) | public class SuppressMethodExample extends SuppressMethodParent { method getObject (line 22) | public Object getObject() { method getStringObject (line 26) | public Object getStringObject() { method getStringObjectStatic (line 30) | public static Object getStringObjectStatic() { FILE: tests/utils/src/main/java/samples/suppressmethod/SuppressMethodParent.java class SuppressMethodParent (line 19) | public abstract class SuppressMethodParent { method myMethod (line 21) | public int myMethod() { FILE: tests/utils/src/main/java/samples/swing/ReallySimpleSwingDemo.java class ReallySimpleSwingDemo (line 5) | public class ReallySimpleSwingDemo { method displayMessage (line 7) | public void displayMessage(String message) { FILE: tests/utils/src/main/java/samples/swing/SimpleSwingDemo.java class SimpleSwingDemo (line 28) | public class SimpleSwingDemo extends JFrame { method SimpleSwingDemo (line 32) | public SimpleSwingDemo() { method initialize (line 36) | private void initialize() { method main (line 53) | public static void main(String[] args) { FILE: tests/utils/src/main/java/samples/system/SystemClassUser.java class SystemClassUser (line 28) | public class SystemClassUser { method threadSleep (line 30) | public void threadSleep() throws InterruptedException { method performEncode (line 34) | public String performEncode() throws UnsupportedEncodingException { method executeCommand (line 38) | public Process executeCommand() throws IOException { method getSystemProperty (line 42) | public String getSystemProperty() throws IOException { method doMoreComplicatedStuff (line 46) | public void doMoreComplicatedStuff() throws IOException { method copyProperty (line 50) | public void copyProperty(String to, String from) throws IOException { method format (line 54) | public String format(String one, String args) throws IOException { method newURL (line 58) | public URL newURL(String anUrl) throws MalformedURLException { method newStringBuilder (line 62) | public StringBuilder newStringBuilder() { method shuffleCollection (line 66) | public void shuffleCollection(List list) { method useURL (line 70) | public URLConnection useURL(URL url) throws IOException { method getLocalHost (line 74) | public InetAddress getLocalHost() throws IOException { method generatePerishableToken (line 78) | public String generatePerishableToken() { method lengthOf (line 85) | public int lengthOf(StringBuilder to){ method lengthOf (line 92) | private int lengthOf(CharSequence to){ FILE: tests/utils/src/main/java/samples/whitebox/ClassWithPowerMockGeneratedConstructor.java class ClassWithPowerMockGeneratedConstructor (line 23) | public class ClassWithPowerMockGeneratedConstructor { method ClassWithPowerMockGeneratedConstructor (line 24) | public ClassWithPowerMockGeneratedConstructor(String string) { method ClassWithPowerMockGeneratedConstructor (line 30) | public ClassWithPowerMockGeneratedConstructor(IndicateReloadClass indi...