Class/Module Index [+]

Quicksearch

Test::Unit::Fixture::ClassMethods

Public Instance Methods

after_cleanup_callbacks() click to toggle source
# File lib/test/unit/fixture.rb, line 85
def after_cleanup_callbacks
  collect_fixture_callbacks(:cleanup, :after)
end
after_setup_callbacks() click to toggle source
# File lib/test/unit/fixture.rb, line 77
def after_setup_callbacks
  collect_fixture_callbacks(:setup, :after)
end
after_teardown_callbacks() click to toggle source
# File lib/test/unit/fixture.rb, line 93
def after_teardown_callbacks
  collect_fixture_callbacks(:teardown, :after)
end
before_cleanup_callbacks() click to toggle source
# File lib/test/unit/fixture.rb, line 81
def before_cleanup_callbacks
  collect_fixture_callbacks(:cleanup, :before)
end
before_setup_callbacks() click to toggle source
# File lib/test/unit/fixture.rb, line 73
def before_setup_callbacks
  collect_fixture_callbacks(:setup, :before)
end
before_teardown_callbacks() click to toggle source
# File lib/test/unit/fixture.rb, line 89
def before_teardown_callbacks
  collect_fixture_callbacks(:teardown, :before)
end
cleanup(*method_names, &callback) click to toggle source
# File lib/test/unit/fixture.rb, line 30
def cleanup(*method_names, &callback)
  register_fixture(:cleanup, *method_names, &callback)
end
register_cleanup_callback(method_name_or_callback, options) click to toggle source
# File lib/test/unit/fixture.rb, line 55
def register_cleanup_callback(method_name_or_callback, options)
  register_fixture_callback(:cleanup, method_name_or_callback,
                            options, :before, :prepend)
end
register_setup_callback(method_name_or_callback, options) click to toggle source
# File lib/test/unit/fixture.rb, line 46
def register_setup_callback(method_name_or_callback, options)
  register_fixture_callback(:setup, method_name_or_callback,
                            options, :after, :append)
end
register_teardown_callback(method_name_or_callback, options) click to toggle source
# File lib/test/unit/fixture.rb, line 64
def register_teardown_callback(method_name_or_callback, options)
  register_fixture_callback(:teardown, method_name_or_callback,
                            options, :before, :prepend)
end
setup(*method_names, &callback) click to toggle source
# File lib/test/unit/fixture.rb, line 22
def setup(*method_names, &callback)
  register_fixture(:setup, *method_names, &callback)
end
teardown(*method_names, &callback) click to toggle source
# File lib/test/unit/fixture.rb, line 38
def teardown(*method_names, &callback)
  register_fixture(:teardown, *method_names, &callback)
end
unregister_cleanup(*method_names_or_callbacks) click to toggle source
# File lib/test/unit/fixture.rb, line 34
def unregister_cleanup(*method_names_or_callbacks)
  unregister_fixture(:cleanup, *method_names_or_callbacks)
end
unregister_cleanup_callback(method_name_or_callback) click to toggle source
# File lib/test/unit/fixture.rb, line 60
def unregister_cleanup_callback(method_name_or_callback)
  unregister_fixture_callback(:cleanup, method_name_or_callback)
end
unregister_setup(*method_names_or_callbacks) click to toggle source
# File lib/test/unit/fixture.rb, line 26
def unregister_setup(*method_names_or_callbacks)
  unregister_fixture(:setup, *method_names_or_callbacks)
end
unregister_setup_callback(method_name_or_callback) click to toggle source
# File lib/test/unit/fixture.rb, line 51
def unregister_setup_callback(method_name_or_callback)
  unregister_fixture_callback(:setup, method_name_or_callback)
end
unregister_teardown(*method_names_or_callbacks) click to toggle source
# File lib/test/unit/fixture.rb, line 42
def unregister_teardown(*method_names_or_callbacks)
  unregister_fixture(:teardown, *method_names_or_callbacks)
end
unregister_teardown_callback(method_name_or_callback) click to toggle source
# File lib/test/unit/fixture.rb, line 69
def unregister_teardown_callback(method_name_or_callback)
  unregister_fixture_callback(:teardown, method_name_or_callback)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.