public class Placeholders
extends java.lang.Object
E.g. one can add a new placeholder using a static initializer block in a base class of all tests:
public static class BaseTest {
static {
Placeholders.all().add(0, new MyFancyParameterPlaceholder());
}
// ...
}
Constructor and Description |
---|
Placeholders() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<BasePlaceholder> |
all()
Retrieve all
BasePlaceholder to handle DataProvider.format() . |
static void |
reset()
Resets all changes to the list of all
BasePlaceholder such that is contains the default placeholders
again. |
public static java.util.List<BasePlaceholder> all()
BasePlaceholder
to handle DataProvider.format()
. The returned List
is the
original list such that all manipulations will change the behavior how test method names are formatted.
Note:
%c
and %cc
)BasePlaceholder
s to handle DataProvider.format()
(not a copy!)public static void reset()
BasePlaceholder
such that is contains the default placeholders
again.