public class PowerMockTestCase extends Object
Constructor and Description |
---|
PowerMockTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterPowerMockTestClass() |
protected void |
afterPowerMockTestMethod()
Must be executed after each test method.
|
protected void |
beforePowerMockTestClass() |
protected void |
beforePowerMockTestMethod()
Must be executed before each test method.
|
org.testng.IObjectFactory |
create(org.testng.ITestContext context) |
@BeforeClass protected void beforePowerMockTestClass() throws Exception
Exception
@AfterClass protected void afterPowerMockTestClass() throws Exception
Exception
@BeforeMethod protected void beforePowerMockTestMethod() throws Exception
Exception
- If something unexpected goes wrong.@AfterMethod protected void afterPowerMockTestMethod() throws Exception
Exception
- if something unexpected goes wrong.public org.testng.IObjectFactory create(org.testng.ITestContext context)
context
- the test context.Copyright © 2019. All rights reserved.