|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.powermock.modules.testng.PowerMockObjectFactory
public class PowerMockObjectFactory
The PowerMock object factory. If the test class or any public method declared in the test class is annotated with
PrepareForTest or SuppressStaticInitializationFor the PowerMock classloader will enable the class
for PowerMock testing, otherwise a standard ObjectFactory is used.
| Constructor Summary | |
|---|---|
PowerMockObjectFactory()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
newInstance(java.lang.reflect.Constructor constructor,
java.lang.Object... params)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PowerMockObjectFactory()
| Method Detail |
|---|
public java.lang.Object newInstance(java.lang.reflect.Constructor constructor,
java.lang.Object... params)
newInstance in interface org.testng.IObjectFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||