summaryrefslogtreecommitdiff
path: root/lib/custodian/testfactory.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-23 15:46:12 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-23 15:46:12 +0000
commit19ad4dc151720b6d172e2f3dabf11cce933ba18d (patch)
tree3c17d871d9ba42496ff23f05522b99bd43bcb7bb /lib/custodian/testfactory.rb
parentcd1750251483f82cafdfb8e6a92242097b4929c4 (diff)
Removed duplicate member-variables for subclasses.
Allow test-inversion via "must not run".
Diffstat (limited to 'lib/custodian/testfactory.rb')
-rw-r--r--lib/custodian/testfactory.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/custodian/testfactory.rb b/lib/custodian/testfactory.rb
index 934d6a7..6ae74d1 100644
--- a/lib/custodian/testfactory.rb
+++ b/lib/custodian/testfactory.rb
@@ -79,6 +79,13 @@ module Custodian
+ #
+ # Is this test inverted?
+ #
+ def inverted
+ @inverted
+ end
+
#
# Return the port of this test.