org.junit.Test.scala Maven / Gradle / Ivy
The newest version!
/*
* Ported from https://github.com/junit-team/junit
*/
package org.junit
import java.lang.annotation._
class Test(val expected: Class[_ <: Throwable], val timeout: Long)
extends scala.annotation.StaticAnnotation
with Annotation {
def this(expected: Class[_ <: Throwable]) = this(expected, 0L)
def this(timeout: Long) = this(classOf[Test.None], timeout)
def this() = this(0L)
def annotationType(): Class[_ <: Annotation] =
classOf[Test]
}
object Test {
final class None private () extends Throwable
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy