trait DefaultSelector extends Selector
Default selection for specification fragments:
- filter based on the name
- filter based on the tags
- filter based on previous execution
- Alphabetic
- By Inheritance
- DefaultSelector
- Selector
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
filterByMarker(env: Env): AsyncTransducer[Fragment, Fragment]
filter fragments by markers
filter fragments by markers
This method is a bit involved but we have to consider lots of different cases
- if the marker is a tag or a section - if the marker applies to the previous or next fragment - if there is an irrelevant empty text between the marker and the fragment it applies to
-
def
filterByName(env: Env): AsyncTransducer[Fragment, Fragment]
filter fragments by name
-
def
filterByPrevious(env: Env): AsyncTransducer[Fragment, Fragment]
filter fragments by previous execution and required status
-
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()
- def isEndTag(sections: List[NamedTag], tag: NamedTag): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def normalize: AsyncTransducer[Fragment, Fragment]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def removeMarkers: AsyncTransducer[Fragment, Fragment]
-
def
select(env: Env): AsyncTransducer[Fragment, Fragment]
select fragments by name, markers and previous execution
select fragments by name, markers and previous execution
- Definition Classes
- DefaultSelector → Selector
- def swapAfterMarkerAndEmptyText: AsyncTransducer[Fragment, Fragment]
- def swapBeforeMarkerAndEmptyText: AsyncTransducer[Fragment, Fragment]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
transformBeforeMarkersToAfterMarkers: AsyncTransducer[Fragment, Fragment]
All the "appliesToNext = false" markers must be transformed into "appliesToNext = true" except when they are the end of a section.
All the "appliesToNext = false" markers must be transformed into "appliesToNext = true" except when they are the end of a section.
This is because we want to visually include all of e2, e3, e4 in the following acceptance spec
e1 e2 ${section("x")} e3 e4 ${section("x")} e5
- def transformTagsToSections: AsyncTransducer[Fragment, Fragment]
- def updateSections(sections: List[NamedTag], tag: NamedTag): List[NamedTag]
-
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( ... )