Skip navigation links
A B C E H I P R S T W 

A

afterAll(ExtensionContext) - Method in class io.github.glytching.junit.extension.system.SystemPropertyExtension
If a RestoreContext exists for the given extensionContext then restore it i.e.
afterEach(ExtensionContext) - Method in class io.github.glytching.junit.extension.folder.TemporaryFolderExtension
If there is a TemporaryFolder associated with the current extensionContext then destroy it.
afterEach(ExtensionContext) - Method in class io.github.glytching.junit.extension.system.SystemPropertyExtension
If a RestoreContext exists for the given extensionContext then restore it i.e.
afterTestExecution(ExtensionContext) - Method in class io.github.glytching.junit.extension.testname.TestNameExtension
 
afterTestExecution(ExtensionContext) - Method in class io.github.glytching.junit.extension.watcher.WatcherExtension
Log test method exit, using the start time stored by beforeTestExecution(ExtensionContext) to calculate a duration.

B

beforeAll(ExtensionContext) - Method in class io.github.glytching.junit.extension.system.SystemPropertyExtension
If the current test class has a system property annotation(s) then create a RestoreContext representing the annotation(s).
beforeEach(ExtensionContext) - Method in class io.github.glytching.junit.extension.system.SystemPropertyExtension
If the current test method has a system property annotation(s) then create a RestoreContext representing the annotation(s).
beforeTestExecution(ExtensionContext) - Method in class io.github.glytching.junit.extension.testname.TestNameExtension
 
beforeTestExecution(ExtensionContext) - Method in class io.github.glytching.junit.extension.watcher.WatcherExtension
Log test method entry and store its start time in the ExtensionContext.Store for use in afterTestExecution(ExtensionContext).

C

createDirectory(String) - Method in class io.github.glytching.junit.extension.folder.TemporaryFolder
Create a directory within the temporary folder root.
createFile(String) - Method in class io.github.glytching.junit.extension.folder.TemporaryFolder
Create a file within the temporary folder root.

E

ExpectedException - Annotation Type in io.github.glytching.junit.extension.exception
Describes the expectations for an exception, including: The exception class Case sensitive matchers on the exception message in the form of: Message matches exactly Message starts with Message contains
ExpectedExceptionExtension - Class in io.github.glytching.junit.extension.exception
The expected exception extension allows the developer to express the expectations of an exception to be thrown by the code-under-test.
ExpectedExceptionExtension() - Constructor for class io.github.glytching.junit.extension.exception.ExpectedExceptionExtension
 

H

handleTestExecutionException(ExtensionContext, Throwable) - Method in class io.github.glytching.junit.extension.exception.ExpectedExceptionExtension
Handle the supplied Throwable throwable.

I

io.github.glytching.junit.extension.exception - package io.github.glytching.junit.extension.exception
 
io.github.glytching.junit.extension.folder - package io.github.glytching.junit.extension.folder
 
io.github.glytching.junit.extension.random - package io.github.glytching.junit.extension.random
 
io.github.glytching.junit.extension.system - package io.github.glytching.junit.extension.system
 
io.github.glytching.junit.extension.testname - package io.github.glytching.junit.extension.testname
 
io.github.glytching.junit.extension.watcher - package io.github.glytching.junit.extension.watcher
 

P

postProcessTestInstance(Object, ExtensionContext) - Method in class io.github.glytching.junit.extension.random.RandomBeansExtension
Inject random values into any fields which are annotated with Random

R

Random - Annotation Type in io.github.glytching.junit.extension.random
Allows the caller to customise the random generation of a given type.
RandomBeansExtension - Class in io.github.glytching.junit.extension.random
The random beans extension provides a test with randomly generated objects, including: JDK types Custom types Collections Generic collections Partial population
RandomBeansExtension() - Constructor for class io.github.glytching.junit.extension.random.RandomBeansExtension
Create the extension with its encapsulated EnhancedRandom.
resolveParameter(ParameterContext, ExtensionContext) - Method in class io.github.glytching.junit.extension.folder.TemporaryFolderExtension
Provides a value for any parameter context which has passed the TemporaryFolderExtension.supportsParameter(ParameterContext, ExtensionContext) gate.
resolveParameter(ParameterContext, ExtensionContext) - Method in class io.github.glytching.junit.extension.random.RandomBeansExtension
Provides a value for any parameter context which has passed the RandomBeansExtension.supportsParameter(ParameterContext, ExtensionContext) gate.

S

supportsParameter(ParameterContext, ExtensionContext) - Method in class io.github.glytching.junit.extension.folder.TemporaryFolderExtension
Does this extension support injection for parameters of the type described by the given parameterContext?
supportsParameter(ParameterContext, ExtensionContext) - Method in class io.github.glytching.junit.extension.random.RandomBeansExtension
Does this extension support injection for parameters of the type described by the given parameterContext?
SystemProperties - Annotation Type in io.github.glytching.junit.extension.system
A repeatable annotation for SystemProperty.
SystemProperty - Annotation Type in io.github.glytching.junit.extension.system
Declares a system property to be set before a test.
SystemPropertyExtension - Class in io.github.glytching.junit.extension.system
The system property extension sets system properties before test execution and unsets them on completion.
SystemPropertyExtension() - Constructor for class io.github.glytching.junit.extension.system.SystemPropertyExtension
 

T

TemporaryFolder - Class in io.github.glytching.junit.extension.folder
Encapsulates the TemporaryFolder.rootFolder within which any files or directories will be created along with the operations which a tester may wish to invoke (TemporaryFolder.createFile(String), TemporaryFolder.createDirectory(String)) and post test invocations which the associated extension will invoke.
TemporaryFolderExtension - Class in io.github.glytching.junit.extension.folder
The temporary folder extension provides a test with access to temporary files and directories.
TemporaryFolderExtension() - Constructor for class io.github.glytching.junit.extension.folder.TemporaryFolderExtension
 
TestName - Annotation Type in io.github.glytching.junit.extension.testname
Declares a instance variable to be populated with the name of the currently executing test.
TestNameExtension - Class in io.github.glytching.junit.extension.testname
The test name extension makes the current test name available inside each test method.
TestNameExtension() - Constructor for class io.github.glytching.junit.extension.testname.TestNameExtension
 

W

WatcherExtension - Class in io.github.glytching.junit.extension.watcher
The watcher extension logs test execution flow including: Entry Exit Elapsed time in ms
A B C E H I P R S T W 
Skip navigation links

Copyright © 2018. All rights reserved.