Class CustomJUnit4TestAdapterCache
java.lang.Object
java.util.AbstractMap<org.junit.runner.Description,junit.framework.Test>
java.util.HashMap<org.junit.runner.Description,junit.framework.Test>
junit.framework.JUnit4TestAdapterCache
org.apache.tools.ant.taskdefs.optional.junit.CustomJUnit4TestAdapterCache
- All Implemented Interfaces:
Serializable,Cloneable,Map<org.junit.runner.Description,junit.framework.Test>
public class CustomJUnit4TestAdapterCache
extends junit.framework.JUnit4TestAdapterCache
Provides a custom implementation of the notifier for a JUnit4TestAdapter
so that skipped and ignored tests can be reported to the existing
TestListeners.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Method Summary
Modifier and TypeMethodDescriptionstatic CustomJUnit4TestAdapterCacheorg.junit.runner.notification.RunNotifiergetNotifier(junit.framework.TestResult result) org.junit.runner.notification.RunNotifiergetNotifier(junit.framework.TestResult result, junit.framework.JUnit4TestAdapter adapter) Methods inherited from class junit.framework.JUnit4TestAdapterCache
asTest, asTestList, getDefaultMethods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Method Details
-
getInstance
-
getNotifier
public org.junit.runner.notification.RunNotifier getNotifier(junit.framework.TestResult result, junit.framework.JUnit4TestAdapter adapter) - Overrides:
getNotifierin classjunit.framework.JUnit4TestAdapterCache
-
getNotifier
public org.junit.runner.notification.RunNotifier getNotifier(junit.framework.TestResult result)
-