| Package | Description |
|---|---|
| com.github.writethemfirst.approvals |
Approvals Package
|
| com.github.writethemfirst.approvals.utils |
Utils Package
|
| Modifier and Type | Method and Description |
|---|---|
<I1,I2> void |
CombinationApprover.verifyAllCombinations(I1[] args1,
I2[] args2,
Function2<I1,I2,?> f)
Compares the actual output of your program and the content of the approved file matching with the test method (see
Approver.verify(Object) for details). |
static <I1,I2> void |
Approvals.verifyAllCombinations(I1[] args1,
I2[] args2,
Function2<I1,I2,?> f)
Compares the actual output of your program and the content of the approved file matching with the test method (see
Approvals.verify(Object) for details). |
<I1,I2> void |
CombinationApprover.verifyAllCombinations(java.lang.Iterable<I1> args1,
java.lang.Iterable<I2> args2,
Function2<I1,I2,?> f)
Compares the actual output of your program and the content of the approved file matching with the test method (see
Approver.verify(Object) for details). |
static <I1,I2> void |
Approvals.verifyAllCombinations(java.lang.Iterable<I1> args1,
java.lang.Iterable<I2> args2,
Function2<I1,I2,?> f)
Compares the actual output of your program and the content of the approved file matching with the test method (see
Approvals.verify(Object) for details). |
| Modifier and Type | Method and Description |
|---|---|
static <IN1,IN2> java.lang.String |
FunctionUtils.applyCombinations(java.lang.Iterable<IN1> args1,
java.lang.Iterable<IN2> args2,
Function2<IN1,IN2,?> function)
Applies the provided function to all combinations of all the provided arguments for the function, and returns the produced results as a String.
|
Copyright © 2018 Write Them First!. All rights reserved.