Files

Class/Module Index [+]

Quicksearch

Test::Unit::Fixture::ClassMethods

Public Instance Methods

after_cleanup_methods() click to toggle source
# File lib/test/unit/fixture.rb, line 85
def after_cleanup_methods
  collect_fixture_methods(:cleanup, :after)
end
after_setup_methods() click to toggle source
# File lib/test/unit/fixture.rb, line 77
def after_setup_methods
  collect_fixture_methods(:setup, :after)
end
after_teardown_methods() click to toggle source
# File lib/test/unit/fixture.rb, line 93
def after_teardown_methods
  collect_fixture_methods(:teardown, :after)
end
before_cleanup_methods() click to toggle source
# File lib/test/unit/fixture.rb, line 81
def before_cleanup_methods
  collect_fixture_methods(:cleanup, :before)
end
before_setup_methods() click to toggle source
# File lib/test/unit/fixture.rb, line 73
def before_setup_methods
  collect_fixture_methods(:setup, :before)
end
before_teardown_methods() click to toggle source
# File lib/test/unit/fixture.rb, line 89
def before_teardown_methods
  collect_fixture_methods(:teardown, :before)
end
cleanup(*method_names) click to toggle source
# File lib/test/unit/fixture.rb, line 31
def cleanup(*method_names)
  register_fixture(:cleanup, *method_names)
end
register_cleanup_method(method_name, options) click to toggle source
# File lib/test/unit/fixture.rb, line 55
def register_cleanup_method(method_name, options)
  register_fixture_method(:cleanup, method_name, options,
                          :before, :prepend)
end
register_setup_method(method_name, options) click to toggle source
# File lib/test/unit/fixture.rb, line 47
def register_setup_method(method_name, options)
  register_fixture_method(:setup, method_name, options, :after, :append)
end
register_teardown_method(method_name, options) click to toggle source
# File lib/test/unit/fixture.rb, line 64
def register_teardown_method(method_name, options)
  register_fixture_method(:teardown, method_name, options,
                          :before, :prepend)
end
setup(*method_names) click to toggle source
# File lib/test/unit/fixture.rb, line 23
def setup(*method_names)
  register_fixture(:setup, *method_names)
end
teardown(*method_names) click to toggle source
# File lib/test/unit/fixture.rb, line 39
def teardown(*method_names)
  register_fixture(:teardown, *method_names)
end
unregister_cleanup(*method_names) click to toggle source
# File lib/test/unit/fixture.rb, line 35
def unregister_cleanup(*method_names)
  unregister_fixture(:cleanup, *method_names)
end
unregister_cleanup_method(method_name) click to toggle source
# File lib/test/unit/fixture.rb, line 60
def unregister_cleanup_method(method_name)
  unregister_fixture_method(:cleanup, method_name)
end
unregister_setup(*method_names) click to toggle source
# File lib/test/unit/fixture.rb, line 27
def unregister_setup(*method_names)
  unregister_fixture(:setup, *method_names)
end
unregister_setup_method(method_name) click to toggle source
# File lib/test/unit/fixture.rb, line 51
def unregister_setup_method(method_name)
  unregister_fixture_method(:setup, method_name)
end
unregister_teardown(*method_names) click to toggle source
# File lib/test/unit/fixture.rb, line 43
def unregister_teardown(*method_names)
  unregister_fixture(:teardown, *method_names)
end
unregister_teardown_method(method_name) click to toggle source
# File lib/test/unit/fixture.rb, line 69
def unregister_teardown_method(method_name)
  unregister_fixture_method(:teardown, method_name)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.