Package org.powermock.core.testlisteners
Class GlobalNotificationBuildSupport
- java.lang.Object
-
- org.powermock.core.testlisteners.GlobalNotificationBuildSupport
-
public class GlobalNotificationBuildSupport extends Object
Core static utility to help modules, such as PowerMockRunner, that needs to communicate with some 3rd-party framework in order to properly fire events to PowerMockTestListener instances.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GlobalNotificationBuildSupport.Callback
-
Constructor Summary
Constructors Constructor Description GlobalNotificationBuildSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
closePendingTestSuites(GlobalNotificationBuildSupport.Callback callback)
static void
closeTestSuite(Class<?> testClass)
static void
prepareTestSuite(String testClassName, GlobalNotificationBuildSupport.Callback callback)
static void
testClassInitiated(Class<?> testClass)
static void
testInstanceCreated(Object testInstance)
-
-
-
Method Detail
-
prepareTestSuite
public static void prepareTestSuite(String testClassName, GlobalNotificationBuildSupport.Callback callback)
-
testClassInitiated
public static void testClassInitiated(Class<?> testClass)
-
testInstanceCreated
public static void testInstanceCreated(Object testInstance)
-
closeTestSuite
public static void closeTestSuite(Class<?> testClass)
-
closePendingTestSuites
public static void closePendingTestSuites(GlobalNotificationBuildSupport.Callback callback)
-
-