abstract class Spectator::NodeFilter
- Spectator::NodeFilter
- Reference
- Object
Overview
Base class for all node filters.
Checks whether a node should be included in the test run.
Sub-classes must implement the #includes?
method.
Direct Known Subclasses
- Spectator::CompositeNodeFilter
- Spectator::LineNodeFilter
- Spectator::LocationNodeFilter
- Spectator::NameNodeFilter
- Spectator::NullNodeFilter
- Spectator::TagNodeFilter
Defined in:
spectator/node_filter.crInstance Method Summary
-
#===(node)
Checks if a node is in the filter, and should be included in the test run.
-
#includes?(node) : Bool
Checks if a node is in the filter, and should be included in the test run.
Instance methods inherited from class Object
should(matcher, message = nil)
should,
should_eventually(matcher, message = nil)
should_eventually,
should_never(matcher, message = nil)
should_never,
should_not(matcher, message = nil)
should_not
Instance Method Detail
abstract
def includes?(node) : Bool
#
Checks if a node is in the filter, and should be included in the test run.