org.scalatest.Suite

trait NoArgTest

[source: org/scalatest/Suite.scala]

protected trait NoArgTest
extends () => Unit
A test function taking no arguments, which also provides a test name and config map.

Suite's implementation of runTest passes instances of this trait to withFixture for every test method it executes. It invokes withFixture for every test, including test methods that take an Informer. For the latter case, the Informer to pass to the test method is already contained inside the NoArgTest instance passed to withFixture.

Method Summary
abstract def apply : Unit
Runs the code of the test.
abstract def configMap : scala.collection.immutable.Map[java.lang.String, Any]
A Map[String, Any] containing objects that can be used to configure the fixture and test.
abstract def name : java.lang.String
The name of this test.
Methods inherited from scala.Function0
scala.Function0.toString
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
abstract def name : java.lang.String
The name of this test.

abstract def apply : Unit
Runs the code of the test.
Overrides
scala.Function0.scala.Function0.apply

abstract def configMap : scala.collection.immutable.Map[java.lang.String, Any]
A Map[String, Any] containing objects that can be used to configure the fixture and test.


Copyright (C) 2001-2010 Artima, Inc. All rights reserved.