org.junit.jupiter.api.extension.AfterEachCallback
, org.junit.jupiter.api.extension.Extension
, org.junit.jupiter.api.extension.ParameterResolver
, org.junit.jupiter.api.extension.TestInstancePostProcessor
public class TemporaryFolderExtension
extends java.lang.Object
implements org.junit.jupiter.api.extension.AfterEachCallback, org.junit.jupiter.api.extension.TestInstancePostProcessor, org.junit.jupiter.api.extension.ParameterResolver
Constructor | Description |
---|---|
TemporaryFolderExtension() |
Modifier and Type | Method | Description |
---|---|---|
void |
afterEach(org.junit.jupiter.api.extension.ExtensionContext context) |
|
void |
postProcessTestInstance(java.lang.Object testInstance,
org.junit.jupiter.api.extension.ExtensionContext context) |
|
java.lang.Object |
resolveParameter(org.junit.jupiter.api.extension.ParameterContext parameterContext,
org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
|
boolean |
supportsParameter(org.junit.jupiter.api.extension.ParameterContext parameterContext,
org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
public void afterEach(org.junit.jupiter.api.extension.ExtensionContext context) throws java.io.IOException
afterEach
in interface org.junit.jupiter.api.extension.AfterEachCallback
java.io.IOException
public void postProcessTestInstance(java.lang.Object testInstance, org.junit.jupiter.api.extension.ExtensionContext context)
postProcessTestInstance
in interface org.junit.jupiter.api.extension.TestInstancePostProcessor
public boolean supportsParameter(org.junit.jupiter.api.extension.ParameterContext parameterContext, org.junit.jupiter.api.extension.ExtensionContext extensionContext) throws org.junit.jupiter.api.extension.ParameterResolutionException
supportsParameter
in interface org.junit.jupiter.api.extension.ParameterResolver
org.junit.jupiter.api.extension.ParameterResolutionException
public java.lang.Object resolveParameter(org.junit.jupiter.api.extension.ParameterContext parameterContext, org.junit.jupiter.api.extension.ExtensionContext extensionContext) throws org.junit.jupiter.api.extension.ParameterResolutionException
resolveParameter
in interface org.junit.jupiter.api.extension.ParameterResolver
org.junit.jupiter.api.extension.ParameterResolutionException
Copyright © 2017–2018 Ocraft Project. All rights reserved.