| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |
class ExamplesTestSuite(description : String, examples : Iterable[Example], skipped : Option[Throwable])
extends
JUnitSuite with Classes
ExamplesTestSuite is a JUnitSuite reporting the results of
a System under test (sus) as a list of examples, represented by ExampleTestCase objects. If an example has subExamples, they are reported with a separate ExamplesTestSuite
def this(description : String, examples : Iterable[Example], skipped : Option[Throwable])
|
| getName |
def getName
[details]
|
String | JUnitSuite |
| isExecutedFromMaven |
lazy val isExecutedFromMaven
|
Boolean | |
| suites |
def suites
[details]
|
List[Test] | JUnitSuite |
| testCases |
def testCases
[details]
|
List[Test] | JUnitSuite |
| testSuite |
val testSuite
embedded JUnit3 TestSuite object
|
TestSuite | JUnitSuite |
| tests |
def tests
[details]
|
List[Test] | JUnitSuite |
| != |
final def !=(arg0 : Object)
|
Boolean | AnyRef |
| != |
final def !=(arg0 : Any)
|
Boolean | Any |
| == |
final def ==(arg0 : Any)
|
Boolean | Any |
| == |
final def ==(arg0 : Object)
|
Boolean | AnyRef |
| addTest |
def addTest(t : Test)
add a new test to the embedded suite
|
Unit | JUnitSuite |
| asInstanceOf |
final def asInstanceOf[T0]
|
T0 | Any |
| clone |
protected def clone
|
Object | AnyRef |
| countTestCases |
def countTestCases
[details]
|
Int | JUnitSuite |
| eq |
final def eq(arg0 : Object)
|
Boolean | AnyRef |
| equals |
def equals(arg0 : Any)
|
Boolean | AnyRef |
| finalize |
protected def finalize
|
Unit | AnyRef |
| getClass |
final def getClass
|
Class[Object] | AnyRef |
| hashCode |
def hashCode
|
Int | AnyRef |
| init |
def init
the init method is called before any "getter" method is called
[details]
Then it initializes the object if it hasn't been done before
|
Unit | JUnitSuite |
| initialize |
def initialize
create one TestCase per example and a new ExamplesTestSuite for the sub-examples
|
Unit | |
| isExecutedFrom |
def isExecutedFrom(name : String)
This method is used to determine for example if the JUnit runner is executed from Maven or within Eclipse
[details]
In the first the test case names don't need to have the hashcode example.
|
Boolean | Classes |
| isInstanceOf |
final def isInstanceOf[T0]
|
Boolean | Any |
| ne |
final def ne(arg0 : Object)
|
Boolean | AnyRef |
| notify |
final def notify
|
Unit | AnyRef |
| notifyAll |
final def notifyAll
|
Unit | AnyRef |
| run |
override def run(result : TestResult)
runs the set of exemplesA
ExamplesTestSuite is a JUnitSuite reporting the results of
a list of examples
[details]
If an example has subExamples, they are reported with a separate
ExamplesTestSuite
If the list of examples is skipped (because the corresponding sus is skipped), then a SkippedAssertionError failure is sent
and the JUnitSuiteRunner will interpret this as an ignored test (this functionality wasn't available in JUnit3)
|
Unit | |
| setName |
def setName(n : String)
set the name of the embedded suite
|
Unit | JUnitSuite |
| synchronized |
final def synchronized[T0](arg0 : T0)
|
T0 | AnyRef |
| toString |
def toString
|
String | AnyRef |
| wait |
final def wait(arg0 : Long, arg1 : Int)
|
Unit | AnyRef |
| wait |
final def wait(arg0 : Long)
|
Unit | AnyRef |
| wait |
final def wait
|
Unit | AnyRef |
| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |