org.scalatest.FlatSpec

class IgnoreWord

[source: org/scalatest/FlatSpec.scala]

protected final class IgnoreWord
extends AnyRef
Class that supports registration of ignored tests via the ItWord instance referenced from FlatSpec's ignore field.

This class enables syntax such as the following registration of an ignored test:

   ignore should "pop values in last-in-first-out order" in { ... }
   ^
   

For more information and examples of the use of the ignore field, see Ignored tests section in the main documentation for this trait.

Method Summary
def can (string : java.lang.String) : IgnoreVerbString
Supports the registration of ignored tests with can in a FlatSpec.
def must (string : java.lang.String) : IgnoreVerbString
Supports the registration of ignored tests with must in a FlatSpec.
def should (string : java.lang.String) : IgnoreVerbString
Supports the registration of ignored tests with should in a FlatSpec.
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 should(string : java.lang.String) : IgnoreVerbString
Supports the registration of ignored tests with should in a FlatSpec.

This method supports syntax such as the following:

     ignore should "pop values in last-in-first-out order" in { ... }
            ^
     

For more information and examples of the use of the ignore field, see Ignored tests section in the main documentation for trait FlatSpec.


def must(string : java.lang.String) : IgnoreVerbString
Supports the registration of ignored tests with must in a FlatSpec.

This method supports syntax such as the following:

     ignore must "pop values in last-in-first-out order" in { ... }
            ^
     

For more information and examples of the use of the ignore field, see Ignored tests section in the main documentation for trait FlatSpec.


def can(string : java.lang.String) : IgnoreVerbString
Supports the registration of ignored tests with can in a FlatSpec.

This method supports syntax such as the following:

     ignore can "pop values in last-in-first-out order" in { ... }
            ^
     

For more information and examples of the use of the ignore field, see Ignored tests section in the main documentation for trait FlatSpec.



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