public class TestUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestUtils.SourceDirectoryRestorer |
| Constructor and Description |
|---|
TestUtils() |
public static TestUtils.SourceDirectoryRestorer registerSourceDirectoryFinder(Function2<Class,String,File> sourceDirectoryFinder)
public static void displayXml(String htmlOutput)
public static String getRandomString()
public static void displayHtml(String htmlOutput)
public static void displayHtmlFile(String fileName) throws IOException
IOExceptionpublic static void displayHtmlFile(File file) throws IOException
IOExceptionpublic static void displayHtml(String outputFile, String htmlOutput) throws FileNotFoundException, IOException, InterruptedException
public static void displayHtml(String outputFile, String fileExtention, String htmlOutput, int secondsTimeout)
public static void displayText(String output) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static void displayExcel(String output) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static void displayEmail(javax.mail.Message email)
public static void displayFile(String fileName)
public static double getTimerMultiplier()
throws InterruptedException
InterruptedExceptionpublic static void displayImage(BufferedImage image) throws Exception
Exceptionpublic static StackTraceReflectionResult getCurrentFileForMethod(int ignoreLevels)
public static StackTraceReflectionResult getCurrentFileForMethod(StackElementSelector stackElementSelector)
public static StackTraceReflectionResult getCurrentFileForMethod(StackElementSelector stackElementSelector, StackTraceElement[] trace)
Copyright © 2021. All rights reserved.