class NotificationBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
NotificationBuilder.DetectedTestRunBehaviour |
private class |
NotificationBuilder.OngoingTestRun |
Modifier and Type | Field and Description |
---|---|
private NotificationBuilder.DetectedTestRunBehaviour |
behaviour |
private org.junit.runner.Description |
currentDescription |
private java.lang.Object |
currentTestInstance |
private java.lang.reflect.Method |
latestMethod |
private java.lang.Object |
latestTestInstance |
private static java.util.regex.Pattern |
methodDisplayNameRgx |
private java.util.Map<java.lang.Object,java.util.List<java.lang.reflect.Method>> |
methodsPerInstance |
private java.util.Map<org.junit.runner.Description,NotificationBuilder.OngoingTestRun> |
ongoingTestRuns |
private java.util.List<?> |
pendingTestInstances |
private PowerMockTestNotifier |
powerMockTestNotifier |
private java.lang.String |
testClassName |
private java.lang.reflect.Method[] |
testMethods |
private static java.lang.Object[] |
unsupportedMethodArgs |
Constructor and Description |
---|
NotificationBuilder(java.lang.reflect.Method[] testMethods,
PowerMockTestNotifier notifier,
java.util.List<?> pendingTestInstances) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
assumptionFailed(org.junit.runner.Description d) |
private java.lang.reflect.Method |
determineTestMethod(org.junit.runner.Description d) |
(package private) void |
failure(org.junit.runner.notification.Failure f) |
private boolean |
notify(org.junit.runner.Description d,
Result result) |
private java.lang.reflect.Method |
reloadMethod(java.lang.Class<?> testClass,
java.lang.reflect.Method m) |
private java.lang.Class<?> |
reloadParamType(java.lang.Class<?> testClass,
java.lang.Class<?> typeToReload) |
(package private) void |
testFinished(org.junit.runner.Description d) |
(package private) void |
testIgnored(org.junit.runner.Description d) |
(package private) void |
testInstanceCreated(java.lang.Object newTestInstance) |
(package private) void |
testStartHasBeenFired(org.junit.runner.Description d) |
(package private) void |
testSuiteStarted(java.lang.Class<?> testClass) |
private static final java.util.regex.Pattern methodDisplayNameRgx
private final java.lang.reflect.Method[] testMethods
private final java.util.List<?> pendingTestInstances
private final PowerMockTestNotifier powerMockTestNotifier
private NotificationBuilder.DetectedTestRunBehaviour behaviour
private org.junit.runner.Description currentDescription
private java.lang.Object currentTestInstance
private java.lang.String testClassName
private java.lang.Object latestTestInstance
private java.lang.reflect.Method latestMethod
private static final java.lang.Object[] unsupportedMethodArgs
private final java.util.Map<java.lang.Object,java.util.List<java.lang.reflect.Method>> methodsPerInstance
private final java.util.Map<org.junit.runner.Description,NotificationBuilder.OngoingTestRun> ongoingTestRuns
public NotificationBuilder(java.lang.reflect.Method[] testMethods, PowerMockTestNotifier notifier, java.util.List<?> pendingTestInstances)
private java.lang.reflect.Method determineTestMethod(org.junit.runner.Description d)
private java.lang.Class<?> reloadParamType(java.lang.Class<?> testClass, java.lang.Class<?> typeToReload)
private java.lang.reflect.Method reloadMethod(java.lang.Class<?> testClass, java.lang.reflect.Method m)
void testSuiteStarted(java.lang.Class<?> testClass)
void testStartHasBeenFired(org.junit.runner.Description d)
void testInstanceCreated(java.lang.Object newTestInstance)
void testIgnored(org.junit.runner.Description d)
void assumptionFailed(org.junit.runner.Description d)
void failure(org.junit.runner.notification.Failure f)
void testFinished(org.junit.runner.Description d)
private boolean notify(org.junit.runner.Description d, Result result)