-
public class JavalinTest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJavalinTest.RunResult
-
Field Summary
Fields Modifier and Type Field Description public BooleanclearCookiespublic BooleancaptureLogspublic final static JavalinTestINSTANCE
-
Method Summary
Modifier and Type Method Description final static Unittest(Javalin app, TestCase testCase)final static Unittest(TestCase testCase)final static JavalinTest.RunResultrunAndCaptureLogs(Runnable testCode)final static UnitrunLogLess(Runnable run)final static StringcaptureStdOut(Runnable run)final BooleangetClearCookies()final UnitsetClearCookies(@JvmField() Boolean clearCookies)final BooleangetCaptureLogs()final UnitsetCaptureLogs(@JvmField() Boolean captureLogs)-
-
Method Detail
-
runAndCaptureLogs
final static JavalinTest.RunResult runAndCaptureLogs(Runnable testCode)
-
runLogLess
final static Unit runLogLess(Runnable run)
-
captureStdOut
final static String captureStdOut(Runnable run)
-
getClearCookies
final Boolean getClearCookies()
-
setClearCookies
final Unit setClearCookies(@JvmField() Boolean clearCookies)
-
getCaptureLogs
final Boolean getCaptureLogs()
-
setCaptureLogs
final Unit setCaptureLogs(@JvmField() Boolean captureLogs)
-
-
-
-