Definition at line 12 of file TestUtilities.java.
◆ TestUtilities()
◆ parseToDate()
static Date parseToDate |
( |
LocalDate |
localDate | ) |
|
|
static |
Parse java.util.Date
to java.time.LocalDate
.
Assumes that the parsed value will not be null
and that the parse will not throw any exceptions.
If the assumption fails, the test that calls the function will also fail.
- Parameters
-
- Returns
- The date in
java.util.Date
type
Definition at line 25 of file TestUtilities.java.
◆ getFailMessage()
static String getFailMessage |
( |
Exception |
e, |
|
|
TestInfo |
testInfo |
|
) |
| |
|
static |
Returns a formated error message with the exception information.
- Parameters
-
e | the exception |
testInfo | the TestInfo used, to inject information about the current test |
- Returns
- the formatted fail message
Definition at line 43 of file TestUtilities.java.