Class DumpFileUtils
java.lang.Object
org.apache.maven.surefire.util.internal.DumpFileUtils
Dumps a text or exception in dump file.
Each call logs a date when it was written to the dump file.
- Since:
- 2.20
- Author:
- Tibor Digana (tibor17)
-
Method Summary
Modifier and TypeMethodDescriptionstatic voiddumpException(Throwable t, File dumpFile) static voiddumpException(Throwable t, String msg, File dumpFile) static voidstatic FilenewDumpFile(String dumpFileName, ReporterConfiguration configuration) New dump file.static String
-
Method Details
-
newDumpFile
New dump file. Synchronized object appears in main memory and perfectly visible in other threads.- Parameters:
dumpFileName- dump file nameconfiguration- only report directory
-
dumpException
-
dumpException
-
dumpText
-
newFormattedDateFileName
-