object Filter extends Serializable
- Source
- Filter.scala
- Alphabetic
- By Inheritance
- Filter
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(tagsToInclude: Option[Set[String]] = None, tagsToExclude: Set[String] = Set(IgnoreTag), excludeNestedSuites: Boolean = false, dynaTags: DynaTags = DynaTags(Map.empty, Map.empty)): Filter
Factory method for a
Filter
initialized with the passedtagsToInclude
andtagsToExclude
.Factory method for a
Filter
initialized with the passedtagsToInclude
andtagsToExclude
.- tagsToInclude
an optional
Set
ofString
tag names to include (i.e., not filter out) when filtering tests- tagsToExclude
a
Set
ofString
tag names to exclude (i.e., filter out) when filtering tests- excludeNestedSuites
a
Boolean
to indicate whether to run nested suites- dynaTags
dynamic tags for the filter
- Exceptions thrown
IllegalArgumentException
iftagsToInclude
is defined, but contains an empty setNullArgumentException
if eithertagsToInclude
ortagsToExclude
are null
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
default: Filter
Factory method for a default
Filter
, for whichtagsToInclude is
None
,tagsToExclude
isSet("org.scalatest.Ignore")
, andexcludeNestedSuites
is false.Factory method for a default
Filter
, for whichtagsToInclude is
None
,tagsToExclude
isSet("org.scalatest.Ignore")
, andexcludeNestedSuites
is false.- returns
a default
Filter
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
Deprecated Value Members
-
implicit
def
convertFilterToFunction2(filter: Filter): (Set[String], Map[String, Set[String]]) ⇒ List[(String, Boolean)]
- Annotations
- @deprecated
- Deprecated
This implicit conversion was added in ScalaTest 3.0.0 because the inheritance relationship between Filter and Function2[Set[String], Map[String, Set[String]], List[(String, Boolean)]] was dropped. Please use the apply method that takes a suiteId instead, the one with this signature: def apply(testNames: Set[String], testTags: Map[String, Set[String]], suiteId: String): List[(String, Boolean)].