Class: TestCaseWithErrors

Inherits:
Test::Unit::TestCase show all
Defined in:
lib/gems/rspec-1.1.11/spec/spec/interop/test/unit/resources/test_case_with_errors.rb

Instance Attribute Summary

Attributes included from Spec::Example::ExampleGroupMethods

#description_options, #description_text, #spec_path

Attributes included from Spec::Matchers::ModuleMethods

#last_matcher, #last_should

Instance Method Summary collapse

Methods inherited from Test::Unit::TestCase

example_method?, #flexmock_original_teardown, #initialize, #log_end, #log_start, #name, #run, suite, #teardown, test_method?

Methods included from Spec::Example::ExampleGroupMethods

#create_nested_example_group, #create_shared_example_group, #describe, #described_type, #description, #description_args, #description_parts, description_text, #example, #examples, #inherited, #it_should_behave_like, #number_of_examples, #predicate_matchers, #register, #registration_backtrace, #reset, #run, #run_after_each, #run_before_each, #set_description, #unregister, #xexample

Methods included from Spec::Example::BeforeAndAfterHooks

#after_all_parts, #after_each_parts, #append_after, #append_before, #before_all_parts, #before_each_parts, #prepend_after, #prepend_before, #remove_after, #setup, #teardown

Methods included from Spec::Example::ExampleMethods

#__full_description, #description, #eval_block, #eval_each_fail_fast, #eval_each_fail_slow, #execute, #implementation_backtrace, #instance_variable_hash, #options, #set_instance_variables_from_hash, #violated

Methods included from Spec::Example::ModuleReopeningFix

#child_modules, #include, #included

Methods included from Spec::Example::ModuleThatIsReopened

#module_that_is_reopened_method

Methods included from Spec::Example::Pending

#pending

Methods included from Spec::Matchers

#be, #be_close, #change, #eql, #equal, #exception_from, #exist, #fail, #fail_with, #have, #have_at_least, #have_at_most, #include, #map_specs, #match, #method_missing, #raise_error, #respond_to, #run_with, #satisfy, #simple_matcher, #smart_match, #throw_symbol

Methods included from Spec::Matchers::ModuleMethods

#clear_generated_description, #generated_description

Methods included from Mack::Testing::Helpers

#assigns, #clear_session, #cookies, #delete, #file_for_upload, #get, #in_session, #post, #put, #remote_test, #remove_cookie, #request, #response, #responses, #session, #set_cookie, #temp_app_config

Methods included from Mack::Routes::Urls

create_method, #redirect_html, #url_for_pattern

Methods included from FlexMock::MockContainer

#flexmock, #flexmock_close, #flexmock_remember, #flexmock_teardown, #flexmock_verify, #rails_version, #should_render_view

Methods included from FlexMock::Ordering

#flexmock_allocate_order, #flexmock_current_order, #flexmock_current_order=, #flexmock_groups, #flexmock_validate_order

Methods included from FlexMock::ArgumentTypes

#any, #eq, #on

Constructor Details

This class inherits a constructor from Test::Unit::TestCase

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Spec::Matchers

Instance Method Details

#test_with_errorObject



7
8
9
# File 'lib/gems/rspec-1.1.11/spec/spec/interop/test/unit/resources/test_case_with_errors.rb', line 7

def test_with_error
  raise "error raised in TestCaseWithErrors"
end