- 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(Consumer<TestContext<Object>>) - Static method in interface ch.powerunit.TestRule
-
Build a after testrule.
- after(Runnable...) - Method in interface ch.powerunit.TestSuite
-
Build a after testrule.
- afterContextAware(Consumer<TestContext<Object>>...) - Method in interface ch.powerunit.TestSuite
-
Build a after testrule that will receive the
TestContext
.
- 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.
- as(Class<P>, Function<T, P>) - Method in interface ch.powerunit.AssertThatCastableObject
-
Convert a received object into another one, based on a passed converter.
- 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
-
This exception is throw when an assumption is not met.
- 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.collector - package ch.powerunit.collector
-
- ch.powerunit.collector.lang - package ch.powerunit.collector.lang
-
- 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.mbean - package ch.powerunit.mbean
-
- ch.powerunit.pattern - package ch.powerunit.pattern
-
Support for Pattern tester.
- ch.powerunit.pattern.lang - package ch.powerunit.pattern.lang
-
This is the DSL for Pattern tester.
- ch.powerunit.rules - package ch.powerunit.rules
-
Default implementation or abstract for rule.
- ch.powerunit.surefire - package ch.powerunit.surefire
-
Surefire integration
- CollectorTester<T,A,R> - Class in ch.powerunit.collector
-
- CollectorTesterDSL0<T,A,R> - Interface in ch.powerunit.collector.lang
-
- CollectorTesterDSL1<T,A,R> - Interface in ch.powerunit.collector.lang
-
- CollectorTesterDSL2<T,A,R> - Interface in ch.powerunit.collector.lang
-
- CollectorTesterDSL3<T,A,R> - Interface in ch.powerunit.collector.lang
-
- 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.
- testListenerRuleOf(Consumer<TestContext<Object>>, Consumer<TestContext<Object>>, BiConsumer<TestContext<Object>, AssertionError>, BiConsumer<TestContext<Object>, Throwable>, BiConsumer<TestContext<Object>, AssumptionError>) - Method in interface ch.powerunit.TestSuite
-
- testListenerRuleOnEnd(Consumer<TestContext<Object>>) - Method in interface ch.powerunit.TestSuite
-
- testListenerRuleOnStart(Consumer<TestContext<Object>>) - Method in interface ch.powerunit.TestSuite
-
- 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.
- thenMatching() - Method in interface ch.powerunit.pattern.lang.PatternTester2
-
Specify that the received input String is accepted by the
Pattern
under test.
- thenNoMatching() - Method in interface ch.powerunit.pattern.lang.PatternTester2
-
Specify that the received input String is not accepted by the
Pattern
under test.
- throwException(Matcher<? super T>) - Method in interface ch.powerunit.AssertThatException
-
Define the matcher on the exception and execute the matcher validation.
- withEqualSamples(O...) - Method in interface ch.powerunit.comparator.lang.ComparatorTesterDSLEquals
-
Specify the values that are equals.
- withEqualSamples(O) - Method in interface ch.powerunit.comparator.lang.ComparatorTesterDSLEquals
-
Specify the values that are equals.
- withEqualSamples(O, O) - Method in interface ch.powerunit.comparator.lang.ComparatorTesterDSLEquals
-
Specify the values that are equals.
- withEqualSamples(O, O, O) - Method in interface ch.powerunit.comparator.lang.ComparatorTesterDSLEquals
-
Specify the values that are equals.
- withEqualSamples(O, O, O, O) - Method in interface ch.powerunit.comparator.lang.ComparatorTesterDSLEquals
-
Specify the values that are equals.
- withGreaterSamples(O...) - Method in interface ch.powerunit.comparator.lang.ComparatorTesterDSLGreater
-
Specify the values that are greater.
- withGreaterSamples(O) - Method in interface ch.powerunit.comparator.lang.ComparatorTesterDSLGreater
-
Specify the values that are greater.
- withGreaterSamples(O, O) - Method in interface ch.powerunit.comparator.lang.ComparatorTesterDSLGreater
-
Specify the values that are greater.
- withGreaterSamples(O, O, O) - Method in interface ch.powerunit.comparator.lang.ComparatorTesterDSLGreater
-
Specify the values that are greater.
- withGreaterSamples(O, O, O, O) - Method in interface ch.powerunit.comparator.lang.ComparatorTesterDSLGreater
-
Specify the values that are greater.
- withInput(Stream<T>) - Method in interface ch.powerunit.collector.lang.CollectorTesterDSL3
-
Specify a sample input Stream to be used to test the
Collector
.
- withLessSamples(O...) - Method in interface ch.powerunit.comparator.lang.ComparatorTesterDSLLess
-
Specify the values that are lesser.
- withLessSamples(O) - Method in interface ch.powerunit.comparator.lang.ComparatorTesterDSLLess
-
Specify the values that are lesser.
- withLessSamples(O, O) - Method in interface ch.powerunit.comparator.lang.ComparatorTesterDSLLess
-
Specify the values that are lesser.
- withLessSamples(O, O, O) - Method in interface ch.powerunit.comparator.lang.ComparatorTesterDSLLess
-
Specify the values that are lesser.
- withLessSamples(O, O, O, O) - Method in interface ch.powerunit.comparator.lang.ComparatorTesterDSLLess
-
Specify the values that are lesser.
- withParallelStreamFromList(List<T>) - Method in interface ch.powerunit.collector.lang.CollectorTesterDSL3
-
Specify a sample input List that will be transformed as parallelStream
and be used as a sample to test the
Collector
.
- withStreamFromArray(T...) - Method in interface ch.powerunit.collector.lang.CollectorTesterDSL3
-
Specify a sample input array that will be transformed as stream and be
used as a sample to test the
Collector
.
- withStreamFromArray(T) - Method in interface ch.powerunit.collector.lang.CollectorTesterDSL3
-
Specify a sample input array that will be transformed as stream and be
used as a sample to test the
Collector
.
- withStreamFromArray(T, T) - Method in interface ch.powerunit.collector.lang.CollectorTesterDSL3
-
Specify a sample input array that will be transformed as stream and be
used as a sample to test the
Collector
.
- withStreamFromArray(T, T, T) - Method in interface ch.powerunit.collector.lang.CollectorTesterDSL3
-
Specify a sample input array that will be transformed as stream and be
used as a sample to test the
Collector
.
- withStreamFromArray(T, T, T, T) - Method in interface ch.powerunit.collector.lang.CollectorTesterDSL3
-
Specify a sample input array that will be transformed as stream and be
used as a sample to test the
Collector
.
- withStreamFromArray(T, T, T, T, T) - Method in interface ch.powerunit.collector.lang.CollectorTesterDSL3
-
Specify a sample input array that will be transformed as stream and be
used as a sample to test the
Collector
.
- withStreamFromList(List<T>) - Method in interface ch.powerunit.collector.lang.CollectorTesterDSL3
-
Specify a sample input List that will be transformed as stream and be
used as a sample to test the
Collector
.