public class CloverUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SYNTH_TESTNAME_PREF |
| Constructor and Description |
|---|
CloverUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
cloverizeClassName(String className)
Converts a class, including inner classes and anon.
|
static void |
createDir(File outdir) |
static File |
createOutDir(PackageInfo pkg,
File basePath) |
static File |
createOutFile(FullFileInfo finfo,
String outname,
File baseDir) |
static String |
createSyntheticTestName(MethodInfo method) |
static void |
logDeprecationWarning(String name) |
static String |
packageNameToPath(String name,
boolean isDefaultPkg) |
static boolean |
scrubCoverageData(String initString,
boolean deleteDatabase)
Deletes the coverage recordings, and optionally the database itself
|
static boolean |
scrubCoverageData(String initString,
boolean deleteDatabase,
boolean deleteSnapshot,
boolean verbose) |
static String |
transformStackTrace(String trace,
boolean filterTrace)
Transforms the linenumbers of a synthetic test method name, with the method on the next line.
|
public static final String SYNTH_TESTNAME_PREF
public static boolean scrubCoverageData(String initString, boolean deleteDatabase)
public static boolean scrubCoverageData(String initString, boolean deleteDatabase, boolean deleteSnapshot, boolean verbose)
public static String cloverizeClassName(String className)
public static File createOutFile(FullFileInfo finfo, String outname, File baseDir) throws IOException
IOExceptionpublic static File createOutDir(PackageInfo pkg, File basePath) throws IOException
IOExceptionpublic static void createDir(File outdir) throws IOException
IOExceptionpublic static void logDeprecationWarning(String name)
public static String createSyntheticTestName(MethodInfo method)
public static String transformStackTrace(String trace, boolean filterTrace)
trace - the stack trace to transform the line numbersCopyright © 2024 OpenClover.org. All rights reserved.