blob: 5f3b8b644f694666e782b8feded5b728a6d406a5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/* __ *\
** ________ ___ / / ___ __ ____ Scala.js API **
** / __/ __// _ | / / / _ | __ / // __/ (c) 2013, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ |/_// /_\ \ http://scala-js.org/ **
** /____/\___/_/ |_/____/_/ | |__/ /____/ **
** |/____/ **
\* */
package scala.scalajs.testbridge
trait TestOutput {
type Color
val errorColor: Color
val successColor: Color
val infoColor: Color
def color(message: String, color: Color): String
def error(message: String, stack: Array[StackTraceElement]): Unit
def error(message: String): Unit
def failure(message: String, stack: Array[StackTraceElement]): Unit
def failure(message: String): Unit
def succeeded(message: String): Unit
def skipped(message: String): Unit
def pending(message: String): Unit
def ignored(message: String): Unit
def canceled(message: String): Unit
def log: TestOutputLog
}
|