org.scalatest.fixture.FixtureWordSpec

class ResultOfTaggedAsInvocationOnString

[source: org/scalatest/fixture/FixtureWordSpec.scala]

protected final class ResultOfTaggedAsInvocationOnString(specText : java.lang.String, tags : scala.List[Tag])
extends AnyRef
Class that supports the registration of tagged tests.

Instances of this class are returned by the taggedAs method of class WordSpecStringWrapper.

Author
Bill Venners
Method Summary
def ignore (testFun : (FixtureParam) => Any) : Unit
Supports registration of tagged, ignored tests.
def ignore (testFun : () => Any) : Unit
Supports registration of tagged, ignored tests that take no fixture parameter.
def in (testFun : (FixtureParam) => Any) : Unit
Supports tagged test registration.
def in (testFun : () => Any) : Unit
Supports tagged test registration, for tests that don't take a fixture.
def is (testFun : => PendingNothing) : Unit
Supports registration of tagged, pending tests.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def in(testFun : (FixtureParam) => Any) : Unit
Supports tagged test registration.

For example, this method supports syntax such as the following:

     "complain on peek" taggedAs(SlowTest) in { fixture => ... }
                                           ^
     

For more information and examples of this method's use, see the main documentation for trait WordSpec.


def in(testFun : () => Any) : Unit
Supports tagged test registration, for tests that don't take a fixture.

For example, this method supports syntax such as the following:

     "complain on peek" taggedAs(SlowTest) in { () => ... }
                                           ^
     

For more information and examples of this method's use, see the main documentation for trait WordSpec.


def is(testFun : => PendingNothing) : Unit
Supports registration of tagged, pending tests.

For example, this method supports syntax such as the following:

     "complain on peek" taggedAs(SlowTest) is (pending)
                                           ^
     

For more information and examples of this method's use, see the main documentation for trait WordSpec.


def ignore(testFun : (FixtureParam) => Any) : Unit
Supports registration of tagged, ignored tests.

For example, this method supports syntax such as the following:

     "complain on peek" taggedAs(SlowTest) ignore { fixture => ... }
                                           ^
     

For more information and examples of this method's use, see the main documentation for trait WordSpec.


def ignore(testFun : () => Any) : Unit
Supports registration of tagged, ignored tests that take no fixture parameter.

For example, this method supports syntax such as the following:

     "complain on peek" taggedAs(SlowTest) ignore { () => ... }
                                           ^
     

For more information and examples of this method's use, see the main documentation for trait WordSpec.



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