- accept(Class) - Method in class ch.powerunit.surefire.PowerUnitProviderScannerFilter
-
- addFieldToEachEntry(T) - Static method in class ch.powerunit.helpers.StreamParametersMapFunction
-
Provide a way to add a field to head parameter line.
- addFieldToEachEntry(T) - Method in interface ch.powerunit.TestSuite
-
Provide a way to add a field to each parameter line.
- addListener(TestResultListener<T>) - Method in interface ch.powerunit.PowerUnitRunner
-
Add a test result listener.
- after() - Method in interface ch.powerunit.rules.ExternalResource
-
Code to be done after.
- after() - Method in class ch.powerunit.rules.SystemPropertiesRule
-
- after(Runnable) - Static method in interface ch.powerunit.TestRule
-
Build a after testrule.
- after(Runnable...) - Method in interface ch.powerunit.TestSuite
-
Build a after testrule.
- ALL_GROUPS - Static variable in interface ch.powerunit.TestResultListener
-
String used a groups parameter when the test doesn't belong to any
groups.
- andMap(int, Function<T, R>) - Method in class ch.powerunit.helpers.StreamParametersMapFunction
-
Defines an additional Parameter Mapper function.
- andThenAlways(Statement<P, T>) - Method in interface ch.powerunit.Statement
-
Aggregate this statement and then the following.
- andThenOnlySuccess(Statement<P, T>) - Method in interface ch.powerunit.Statement
-
Aggregate this statement and then the following.
- apply(T[]) - Method in class ch.powerunit.helpers.StreamParametersMapFunction
-
- around(Statement<P, T>, Statement<P, T>, Statement<P, T>) - Static method in interface ch.powerunit.Statement
-
Build a around statement (do something, then something others, and after
one a third statement, event in case of exception.
- around(TestRule) - Method in interface ch.powerunit.TestRule
-
Add an inner rule.
- around(Supplier<TestRule>) - Method in interface ch.powerunit.TestRule
-
Add an inner rule.
- as(Class<P>) - Method in interface ch.powerunit.AssertThatCastableObject
-
Cast the received value into a sub-class of the receiver, before applying
the matcher.
- AssertThatCastableObject<T> - Interface in ch.powerunit
-
This is an intermediate and optional step on assertion to cast an object into
a sub-object.
- AssertThatException<T extends Throwable> - Interface in ch.powerunit
-
DSL for assertion on exception result.
- AssertThatIterable<T> - Interface in ch.powerunit
-
DSL on assertion on iterable.
- AssertThatObject<T> - Interface in ch.powerunit
-
DSL for assertion on object.
- AssertThatString - Interface in ch.powerunit
-
DSL for assertion on string result.
- AssumptionError - Exception in ch.powerunit.exception
-
- AssumptionError(String) - Constructor for exception ch.powerunit.exception.AssumptionError
-
Default constructor.
- Categories - Annotation Type in ch.powerunit
-
Can be used to defined categories of this test classes.
- ch.powerunit - package ch.powerunit
-
Main functionnalities of powerunit.
- ch.powerunit.bifunction - package ch.powerunit.bifunction
-
Tester for bifunction.
- ch.powerunit.bifunction.lang - package ch.powerunit.bifunction.lang
-
Language package for bifunction tester.
- ch.powerunit.comparator - package ch.powerunit.comparator
-
This package contains support to test Comparator.
- ch.powerunit.comparator.lang - package ch.powerunit.comparator.lang
-
Language side for Comparator tester.
- ch.powerunit.exception - package ch.powerunit.exception
-
Contains all the exception.
- ch.powerunit.function - package ch.powerunit.function
-
Support for test framework of function.
- ch.powerunit.function.lang - package ch.powerunit.function.lang
-
Language package for function tester.
- ch.powerunit.helpers - package ch.powerunit.helpers
-
Helpers capabilities
- ch.powerunit.rules - package ch.powerunit.rules
-
Default implementation or abstract for rule.
- ch.powerunit.surefire - package ch.powerunit.surefire
-
Surefire integration
- ComparatorTester<O,C extends Comparator<O>> - Class in ch.powerunit.comparator
-
This is a framework to simplify the testing of
Comparator.
- ComparatorTesterDSLEnd<O,C extends Comparator<O>> - Interface in ch.powerunit.comparator.lang
-
End of the DSL for Comparator test framework.
- ComparatorTesterDSLEquals<O,C extends Comparator<O>> - Interface in ch.powerunit.comparator.lang
-
Specify the value that are equals than another one.
- ComparatorTesterDSLGreater<O,C extends Comparator<O>> - Interface in ch.powerunit.comparator.lang
-
Specify the value that are greater than another one.
- ComparatorTesterDSLLess<O,C extends Comparator<O>> - Interface in ch.powerunit.comparator.lang
-
Specify the value that are less than another one.
- ComparatorTesterDSLStart<O,C extends Comparator<O>> - Interface in ch.powerunit.comparator.lang
-
First step of the DSL - Set the instance under test if necessary.
- computeStatement(Statement<TestContext<Object>, Throwable>) - Method in interface ch.powerunit.rules.TestListenerRule
-
- computeStatement(Statement<TestContext<Object>, Throwable>) - Method in interface ch.powerunit.TestRule
-
The default implementation of test rule.
- contains(T...) - Method in interface ch.powerunit.AssertThatIterable
-
Check that the iterable contains the items.
- containsInAnyOrder(T...) - Method in interface ch.powerunit.AssertThatIterable
-
Check that the iterable contains the items in any order.
- containsInAnyOrderMatching(Matcher<? super T>...) - Method in interface ch.powerunit.AssertThatIterable
-
Check that the iterable contains the items in any order.
- containsMatching(Matcher<? super T>...) - Method in interface ch.powerunit.AssertThatIterable
-
Check that the iterable contains the items.
- containsString(String) - Method in interface ch.powerunit.AssertThatString
-
Check that a string another string.
- TemporaryFolder - Interface in ch.powerunit.rules
-
This rule provides a way to support temporary folder.
- temporaryFolder() - Method in interface ch.powerunit.TestSuite
-
Produces a new rule for the temporary folder.
- TemporaryFolder.InitialEntry - Interface in ch.powerunit.rules
-
Generic part regarding initial context of a temporary folder.
- TemporaryFolder.InitialFileEntry - Interface in ch.powerunit.rules
-
An initial file.
- TemporaryFolder.InitialFolderEntry - Interface in ch.powerunit.rules
-
An initial folder.
- TemporaryFolder.TemporaryFolderBuilder - Interface in ch.powerunit.rules
-
This is a builder for temporary folder.
- temporaryFolderBuilder() - Method in interface ch.powerunit.TestSuite
-
Produces a new rule builder for the temporary folder.
- Test - Annotation Type in ch.powerunit
-
Mark a method as being a test method.
- TestContext<T> - Interface in ch.powerunit
-
This interface define the execution test context.
- TestContextRule - Class in ch.powerunit.rules
-
- TestContextRule() - Constructor for class ch.powerunit.rules.TestContextRule
-
- TestDelegate - Annotation Type in ch.powerunit
-
This annotation can be used on a non static, final field in a test class as
providing access to a test framework.
- TestDelegator - Annotation Type in ch.powerunit
-
This annotation is used on test framework class.
- TestInterface - Annotation Type in ch.powerunit
-
This annotation is used on a class that is the public interface of a
test framework.
- TestListenerRule - Interface in ch.powerunit.rules
-
This can be use to support taking action depending on the issue of the test.
- testNamed(String) - Method in interface ch.powerunit.bifunction.lang.BiFunctionTesterNextDSL
-
Optionnally specify a name for the test case.
- testNamed(Supplier<String>) - Method in interface ch.powerunit.bifunction.lang.BiFunctionTesterNextDSL
-
Optionnally specify a name for the test case.
- testNamed(String) - Method in interface ch.powerunit.function.lang.FunctionTesterNextDSL
-
Optionnally specify a name for the test case.
- testNamed(Supplier<String>) - Method in interface ch.powerunit.function.lang.FunctionTesterNextDSL
-
Optionnally specify a name for the test case.
- TestResultListener<T> - Interface in ch.powerunit
-
Test result listener.
- TestRule - Interface in ch.powerunit
-
Definition of a test rule (modification of a test statement).
- TestSuite - Interface in ch.powerunit
-
This is the interface to be implemented by test class, in order to have
access to the test DSL.
- thenExpectingResult(R) - Method in interface ch.powerunit.bifunction.lang.BiFunctionTesterDefineDSL
-
Specify the expected result.
- thenExpectingResult(Supplier<R>) - Method in interface ch.powerunit.bifunction.lang.BiFunctionTesterDefineDSL
-
Specify the expected result.
- thenExpectingResult(R) - Method in interface ch.powerunit.function.lang.FunctionTesterDefineDSL
-
Specify the expected result.
- thenExpectingResult(Supplier<R>) - Method in interface ch.powerunit.function.lang.FunctionTesterDefineDSL
-
Specify the expected result.
- thenExpectingResultThat(Matcher<? super R>) - Method in interface ch.powerunit.bifunction.lang.BiFunctionTesterDefineDSL
-
Specify the expected result.
- thenExpectingResultThat(Supplier<Matcher<? super R>>) - Method in interface ch.powerunit.bifunction.lang.BiFunctionTesterDefineDSL
-
Specify the expected result.
- thenExpectingResultThat(Matcher<? super R>) - Method in interface ch.powerunit.function.lang.FunctionTesterDefineDSL
-
Specify the expected result.
- thenExpectingResultThat(Supplier<Matcher<? super R>>) - Method in interface ch.powerunit.function.lang.FunctionTesterDefineDSL
-
Specify the expected result.
- throwException(Matcher<T>) - Method in interface ch.powerunit.AssertThatException
-
Define the matcher on the exception and execute the matcher validation.