Package | Description |
---|---|
org.junit.jupiter.api.extension |
JUnit Jupiter API for writing extensions.
|
org.junit.jupiter.engine.descriptor |
Test descriptors used within the JUnit Jupiter test engine.
|
org.junit.jupiter.engine.execution |
Internal classes for test execution within the JUnit Jupiter test engine.
|
org.junit.jupiter.engine.extension |
Test extensions specific to the JUnit Jupiter test engine.
|
Modifier and Type | Field and Description |
---|---|
static ExtensionContext.Namespace |
ExtensionContext.Namespace.GLOBAL
The default, global namespace which allows access to stored data from
all extensions.
|
Modifier and Type | Method and Description |
---|---|
static ExtensionContext.Namespace |
ExtensionContext.Namespace.create(java.lang.Object... parts)
Create a namespace which restricts access to data to all extensions
which use the same sequence of
parts for creating a namespace. |
Modifier and Type | Method and Description |
---|---|
ExtensionContext.Store |
ExtensionContext.getStore(ExtensionContext.Namespace namespace)
Get the
ExtensionContext.Store for the supplied ExtensionContext.Namespace . |
Modifier and Type | Method and Description |
---|---|
ExtensionContext.Store |
AbstractExtensionContext.getStore(ExtensionContext.Namespace namespace) |
Modifier and Type | Field and Description |
---|---|
private ExtensionContext.Namespace |
ExtensionValuesStore.CompositeKey.namespace |
private ExtensionContext.Namespace |
NamespaceAwareStore.namespace |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.Object |
ExtensionValuesStore.get(ExtensionContext.Namespace namespace,
java.lang.Object key) |
(package private) <T> T |
ExtensionValuesStore.get(ExtensionContext.Namespace namespace,
java.lang.Object key,
java.lang.Class<T> requiredType) |
(package private) <K,V> java.lang.Object |
ExtensionValuesStore.getOrComputeIfAbsent(ExtensionContext.Namespace namespace,
K key,
java.util.function.Function<K,V> defaultCreator) |
(package private) <K,V> V |
ExtensionValuesStore.getOrComputeIfAbsent(ExtensionContext.Namespace namespace,
K key,
java.util.function.Function<K,V> defaultCreator,
java.lang.Class<V> requiredType) |
(package private) void |
ExtensionValuesStore.put(ExtensionContext.Namespace namespace,
java.lang.Object key,
java.lang.Object value) |
(package private) java.lang.Object |
ExtensionValuesStore.remove(ExtensionContext.Namespace namespace,
java.lang.Object key) |
(package private) <T> T |
ExtensionValuesStore.remove(ExtensionContext.Namespace namespace,
java.lang.Object key,
java.lang.Class<T> requiredType) |
Constructor and Description |
---|
CompositeKey(ExtensionContext.Namespace namespace,
java.lang.Object key) |
NamespaceAwareStore(ExtensionValuesStore valuesStore,
ExtensionContext.Namespace namespace) |
Modifier and Type | Field and Description |
---|---|
private static ExtensionContext.Namespace |
TempDirectory.NAMESPACE |
private static ExtensionContext.Namespace |
TimeoutExtension.NAMESPACE |