TestLogging

interface TestLogging(source)

Options that determine which test events get logged, and at which detail.

Inheritors

Functions

Link copied to clipboard
abstract fun events(events: Array<Any>)
Sets the events to be logged.
Link copied to clipboard
abstract fun getDisplayGranularity(): Int
Returns the display granularity of the events to be logged.
Link copied to clipboard
abstract fun getEvents(): Set<TestLogEvent>
Returns the events to be logged.
Link copied to clipboard
Returns the format to be used for logging test exceptions.
Link copied to clipboard
abstract fun getMaxGranularity(): Int
Returns the maximum granularity of the events to be logged.
Link copied to clipboard
abstract fun getMinGranularity(): Int
Returns the minimum granularity of the events to be logged.
Link copied to clipboard
abstract fun getShowCauses(): Boolean
Tells whether causes of exceptions that occur during test execution will be logged.
Link copied to clipboard
abstract fun getShowExceptions(): Boolean
Tells whether exceptions that occur during test execution will be logged.
Link copied to clipboard
abstract fun getShowStackTraces(): Boolean
Tells whether stack traces of exceptions that occur during test execution will be logged.
Link copied to clipboard
Tells whether output on standard out and standard error will be logged.
Link copied to clipboard
Returns the set of filters to be used for sanitizing test stack traces.
Link copied to clipboard
abstract fun setDisplayGranularity(granularity: Int)
Sets the display granularity of the events to be logged.
Link copied to clipboard
abstract fun setEvents(events: Iterable<out Any>)
abstract fun setEvents(events: Set<TestLogEvent>)
Sets the events to be logged.
Link copied to clipboard
abstract fun setExceptionFormat(exceptionFormat: Any)
abstract fun setExceptionFormat(exceptionFormat: TestExceptionFormat)
Sets the format to be used for logging test exceptions.
Link copied to clipboard
abstract fun setMaxGranularity(granularity: Int)
Returns the maximum granularity of the events to be logged.
Link copied to clipboard
abstract fun setMinGranularity(granularity: Int)
Sets the minimum granularity of the events to be logged.
Link copied to clipboard
abstract fun setShowCauses(flag: Boolean)
Sets whether causes of exceptions that occur during test execution will be logged.
Link copied to clipboard
abstract fun setShowExceptions(flag: Boolean)
Sets whether exceptions that occur during test execution will be logged.
Link copied to clipboard
abstract fun setShowStackTraces(flag: Boolean)
Sets whether stack traces of exceptions that occur during test execution will be logged.
Link copied to clipboard
Sets whether output on standard out and standard error will be logged.
Link copied to clipboard
abstract fun setStackTraceFilters(stackTraces: Iterable<out Any>)
abstract fun setStackTraceFilters(stackTraces: Set<TestStackTraceFilter>)
Sets the set of filters to be used for sanitizing test stack traces.
Link copied to clipboard
abstract fun stackTraceFilters(stackTraces: Array<Any>)
Convenience method for setStackTraceFilters.