Packages

c

info.kwarc.mmt.test

MMTUnitTest

abstract class MMTUnitTest extends BaseTester

A class used for MMT Unit Tests that only need a controller instance to work properly

Source
MMTUnitTest.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MMTUnitTest
  2. BaseTester
  3. Logger
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MMTUnitTest()

Abstract Value Members

  1. abstract def main(): Unit

    runs the test properly, to be implemented by test class

    runs the test properly, to be implemented by test class

    Definition Classes
    BaseTester

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. lazy val controller: Controller

    controller we are using during tests

    controller we are using during tests

    Definition Classes
    MMTUnitTestBaseTester
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def init(): Unit

    sets up the controller for tests

    sets up the controller for tests

    Definition Classes
    MMTUnitTestBaseTester
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def log(e: Error): Unit

    logs an error - always logged

    logs an error - always logged

    Attributes
    protected
    Definition Classes
    Logger
  15. def log(s: ⇒ String, subgroup: Option[String] = None): Unit

    logs a message with this logger's logprefix

    logs a message with this logger's logprefix

    Attributes
    protected
    Definition Classes
    Logger
  16. def logError(s: ⇒ String): Unit

    log as an error message

    log as an error message

    Attributes
    protected
    Definition Classes
    Logger
  17. def logGroup[A](a: ⇒ A): A

    wraps around a group to create nested logging

    wraps around a group to create nested logging

    Attributes
    protected
    Definition Classes
    Logger
  18. def logPrefix: String
    Definition Classes
    BaseTesterLogger
  19. def logTemp(s: ⇒ String): Unit

    temporary logging - always logged

    temporary logging - always logged

    Attributes
    protected
    Definition Classes
    Logger
  20. def main(args: Array[String]): Unit

    main entry point when running this test in a stand-alone fashion

    main entry point when running this test in a stand-alone fashion

    Definition Classes
    BaseTester
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def report: Report
    Definition Classes
    BaseTesterLogger
  25. def run(): Boolean

    runs the test safely

    runs the test safely

    Definition Classes
    BaseTester
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def test[T](s: String, test: ⇒ T): T

    runs a test or aborts if needed

    runs a test or aborts if needed

    Definition Classes
    BaseTester
  28. def testError(message: String, causedBy: Option[Throwable] = None): TestError

    logs an error

    logs an error

    Definition Classes
    BaseTester
  29. def testWarn(msg: ⇒ String): Unit

    logs a warning

    logs a warning

    Definition Classes
    BaseTester
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from BaseTester

Inherited from Logger

Inherited from AnyRef

Inherited from Any

Ungrouped