Table of Contents - mocha-0.12.1 Documentation
Pages
COPYING
README
Mocha
Installation
Examples
Links
License
Classes/Modules
Mocha
Mocha::API
Mocha::AnyInstanceMethod
Mocha::ArgumentIterator
Mocha::ArrayMethods
Mocha::BacktraceFilter
Mocha::Cardinality
Mocha::Central
Mocha::ChangeStateSideEffect
Mocha::ClassMethod
Mocha::ClassMethods
Mocha::ClassMethods::AnyInstance
Mocha::Configuration
Mocha::DateMethods
Mocha::DefaultName
Mocha::Deprecation
Mocha::ExceptionRaiser
Mocha::Expectation
Mocha::ExpectationError
Mocha::ExpectationList
Mocha::HashMethods
Mocha::ImpersonatingAnyInstanceName
Mocha::ImpersonatingName
Mocha::InStateOrderingConstraint
Mocha::InstanceMethod
Mocha::Integration
Mocha::Integration::MiniTest
Mocha::Integration::MiniTest::AssertionCounter
Mocha::Integration::MiniTest::Version13
Mocha::Integration::MiniTest::Version140
Mocha::Integration::MiniTest::Version141
Mocha::Integration::MiniTest::Version142To172
Mocha::Integration::MiniTest::Version200
Mocha::Integration::MiniTest::Version201To222
Mocha::Integration::MiniTest::Version2110To2111
Mocha::Integration::MiniTest::Version2112To320
Mocha::Integration::MiniTest::Version230To2101
Mocha::Integration::TestUnit
Mocha::Integration::TestUnit::AssertionCounter
Mocha::Integration::TestUnit::GemVersion200
Mocha::Integration::TestUnit::GemVersion201To202
Mocha::Integration::TestUnit::GemVersion203To220
Mocha::Integration::TestUnit::GemVersion230To251
Mocha::Integration::TestUnit::RubyVersion185AndBelow
Mocha::Integration::TestUnit::RubyVersion186AndAbove
Mocha::Logger
Mocha::MethodMatcher
Mocha::Mock
Mocha::Mockery
Mocha::ModuleMethod
Mocha::ModuleMethods
Mocha::MultipleYields
Mocha::Name
Mocha::NoYields
Mocha::ObjectMethods
Mocha::ParameterMatchers
Mocha::ParameterMatchers::AllOf
Mocha::ParameterMatchers::AnyOf
Mocha::ParameterMatchers::AnyParameters
Mocha::ParameterMatchers::Anything
Mocha::ParameterMatchers::Base
Mocha::ParameterMatchers::Equals
Mocha::ParameterMatchers::HasEntries
Mocha::ParameterMatchers::HasEntry
Mocha::ParameterMatchers::HasKey
Mocha::ParameterMatchers::HasValue
Mocha::ParameterMatchers::Includes
Mocha::ParameterMatchers::InstanceOf
Mocha::ParameterMatchers::IsA
Mocha::ParameterMatchers::KindOf
Mocha::ParameterMatchers::Not
Mocha::ParameterMatchers::Optionally
Mocha::ParameterMatchers::QueryStringMatches
Mocha::ParameterMatchers::RegexpMatches
Mocha::ParameterMatchers::RespondsWith
Mocha::ParameterMatchers::YamlEquivalent
Mocha::ParametersMatcher
Mocha::PrettyParameters
Mocha::ReturnValues
Mocha::Sequence
Mocha::Sequence::InSequenceOrderingConstraint
Mocha::SingleReturnValue
Mocha::SingleYield
Mocha::StateMachine
Mocha::StateMachine::State
Mocha::StateMachine::StatePredicate
Mocha::StringMethods
Mocha::StubbingError
Mocha::Thrower
Mocha::TimeMethods
Mocha::UnexpectedInvocation
Mocha::YieldParameters
MiniTest
MiniTest::Unit
MiniTest::Unit::TestCase
Test
Test::Unit
Test::Unit::TestCase
Array
Class
Date
Hash
Module
Object
String
Time
Methods
::allow — Mocha::Configuration
::allow? — Mocha::Configuration
::at_least — Mocha::Cardinality
::at_most — Mocha::Cardinality
::build — Mocha::ReturnValues
::exactly — Mocha::Cardinality
::included — Mocha::Integration::TestUnit::GemVersion201To202
::included — Mocha::Integration::TestUnit::GemVersion200
::included — Mocha::Integration::TestUnit::GemVersion230To251
::included — Mocha::Integration::MiniTest::Version2110To2111
::included — Mocha::Integration::MiniTest::Version201To222
::included — Mocha::Integration::TestUnit::RubyVersion186AndAbove
::included — Mocha::Integration::TestUnit::GemVersion203To220
::included — Mocha::Integration::MiniTest::Version140
::included — Mocha::Integration::TestUnit::RubyVersion185AndBelow
::included — Mocha::Integration::MiniTest::Version2112To320
::included — Mocha::Integration::MiniTest::Version200
::included — Mocha::Integration::MiniTest::Version142To172
::included — Mocha::Integration::MiniTest::Version13
::included — Mocha::Integration::MiniTest::Version230To2101
::included — Mocha::Integration::MiniTest::Version141
::instance — Mocha::Mockery
::mini_test_testcase_defined? — Mocha::Integration
::monkey_patches — Mocha::Integration
::new — Mocha::ParameterMatchers::HasKey
::new — Mocha::SingleReturnValue
::new — Mocha::StateMachine::StatePredicate
::new — Mocha::PrettyParameters
::new — Mocha::ParametersMatcher
::new — Mocha::ParameterMatchers::RegexpMatches
::new — Mocha::YieldParameters
::new — Mocha::MethodMatcher
::new — Mocha::StubbingError
::new — Mocha::ClassMethods::AnyInstance
::new — Mocha::MultipleYields
::new — Mocha::ExceptionRaiser
::new — Mocha::ParameterMatchers::AllOf
::new — Mocha::Expectation
::new — Mocha::ParameterMatchers::QueryStringMatches
::new — Mocha::Cardinality
::new — Mocha::StateMachine::State
::new — Mocha::ExpectationError
::new — Mocha::BacktraceFilter
::new — Mocha::ChangeStateSideEffect
::new — Mocha::StateMachine
::new — Mocha::Sequence::InSequenceOrderingConstraint
::new — Mocha::Sequence
::new — Mocha::UnexpectedInvocation
::new — Mocha::Thrower
::new — Mocha::DefaultName
::new — Mocha::Name
::new — Mocha::ImpersonatingAnyInstanceName
::new — Mocha::ImpersonatingName
::new — Mocha::Logger
::new — Mocha::Integration::MiniTest::AssertionCounter
::new — Mocha::InStateOrderingConstraint
::new — Mocha::ReturnValues
::new — Mocha::SingleYield
::new — Mocha::Integration::TestUnit::AssertionCounter
::new — Mocha::ParameterMatchers::HasEntry
::new — Mocha::ClassMethod
::new — Mocha::ExpectationList
::new — Mocha::ParameterMatchers::IsA
::new — Mocha::ParameterMatchers::Includes
::new — Mocha::ParameterMatchers::HasValue
::new — Mocha::ParameterMatchers::Not
::new — Mocha::ParameterMatchers::AnyOf
::new — Mocha::ParameterMatchers::KindOf
::new — Mocha::ParameterMatchers::InstanceOf
::new — Mocha::ParameterMatchers::HasEntries
::new — Mocha::Mock
::new — Mocha::ParameterMatchers::RespondsWith
::new — Mocha::Central
::new — Mocha::ParameterMatchers::YamlEquivalent
::new — Mocha::ParameterMatchers::Equals
::new — Mocha::ParameterMatchers::Optionally
::new — Mocha::ArgumentIterator
::prevent — Mocha::Configuration
::prevent? — Mocha::Configuration
::reset_configuration — Mocha::Configuration
::reset_instance — Mocha::Mockery
::test_unit_testcase_defined? — Mocha::Integration
::test_unit_testcase_inherits_from_miniunit_testcase? — Mocha::Integration
::times — Mocha::Cardinality
::translate — Mocha::Integration::MiniTest
::warn_when — Mocha::Configuration
::warn_when? — Mocha::Configuration
::warning — Mocha::Deprecation
#& — Mocha::ParameterMatchers::Base
#+ — Mocha::ReturnValues
#Not — Mocha::ParameterMatchers
#__expectations__ — Mocha::Mock
#__expects__ — Mocha::Mock
#__stubs__ — Mocha::Mock
#__verified__? — Mocha::Mock
#activate — Mocha::StateMachine::State
#active? — Mocha::StateMachine::State
#active? — Mocha::StateMachine::StatePredicate
#add — Mocha::ExpectationList
#add — Mocha::YieldParameters
#add_in_sequence_ordering_constraint — Mocha::Expectation
#add_ordering_constraint — Mocha::Expectation
#add_side_effect — Mocha::Expectation
#all_of — Mocha::ParameterMatchers
#allowed_any_number_of_times? — Mocha::Cardinality
#allows_invocation_now? — Mocha::Sequence::InSequenceOrderingConstraint
#allows_invocation_now? — Mocha::InStateOrderingConstraint
#any? — Mocha::ExpectationList
#any_expectations? — Mocha::Mock
#any_instance — Mocha::ClassMethods
#any_of — Mocha::ParameterMatchers
#any_parameters — Mocha::ParameterMatchers
#anything — Mocha::ParameterMatchers
#at_least — Mocha::Expectation
#at_least_once — Mocha::Expectation
#at_most — Mocha::Expectation
#at_most_once — Mocha::Expectation
#become — Mocha::StateMachine
#constrain_as_next_in_sequence — Mocha::Sequence
#define_new_method — Mocha::ClassMethod
#define_new_method — Mocha::AnyInstanceMethod
#each — Mocha::MultipleYields
#each — Mocha::NoYields
#each — Mocha::SingleYield
#each — Mocha::ArgumentIterator
#ensure_method_not_already_defined — Mocha::Mock
#equals — Mocha::ParameterMatchers
#evaluate — Mocha::ExceptionRaiser
#evaluate — Mocha::Thrower
#evaluate — Mocha::SingleReturnValue
#expects — Mocha::ObjectMethods
#expects — Mocha::Mock
#filtered — Mocha::BacktraceFilter
#has_entries — Mocha::ParameterMatchers
#has_entry — Mocha::ParameterMatchers
#has_equivalent_query_string — Mocha::ParameterMatchers
#has_key — Mocha::ParameterMatchers
#has_value — Mocha::ParameterMatchers
#hide_original_method — Mocha::ClassMethod
#hide_original_method — Mocha::AnyInstanceMethod
#in_correct_order? — Mocha::Expectation
#in_sequence — Mocha::Expectation
#includes — Mocha::ParameterMatchers
#increment — Mocha::Integration::MiniTest::AssertionCounter
#increment — Mocha::Integration::TestUnit::AssertionCounter
#infinite? — Mocha::Cardinality
#inspect — Mocha::Mock
#instance_of — Mocha::ParameterMatchers
#invocations_allowed? — Mocha::Expectation
#invocations_allowed? — Mocha::Cardinality
#invoke — Mocha::Expectation
#is — Mocha::StateMachine
#is_a — Mocha::ParameterMatchers
#is_not — Mocha::StateMachine
#kind_of — Mocha::ParameterMatchers
#length — Mocha::ExpectationList
#logger — Mocha::Mockery
#match — Mocha::ExpectationList
#match? — Mocha::MethodMatcher
#match? — Mocha::ParametersMatcher
#match? — Mocha::Expectation
#match_allowing_invocation — Mocha::ExpectationList
#matchers — Mocha::ParametersMatcher
#matches? — Mocha::ParameterMatchers::RespondsWith
#matches? — Mocha::ParameterMatchers::HasEntry
#matches? — Mocha::ParameterMatchers::Optionally
#matches? — Mocha::ParameterMatchers::Anything
#matches? — Mocha::ParameterMatchers::HasValue
#matches? — Mocha::ParameterMatchers::Equals
#matches? — Mocha::ParameterMatchers::IsA
#matches? — Mocha::ParameterMatchers::QueryStringMatches
#matches? — Mocha::ParameterMatchers::YamlEquivalent
#matches? — Mocha::ParameterMatchers::Not
#matches? — Mocha::ParameterMatchers::AllOf
#matches? — Mocha::ParameterMatchers::AnyOf
#matches? — Mocha::ParameterMatchers::HasKey
#matches? — Mocha::ClassMethod
#matches? — Mocha::ParameterMatchers::HasEntries
#matches? — Mocha::ParameterMatchers::AnyParameters
#matches? — Mocha::ParameterMatchers::RegexpMatches
#matches? — Mocha::ParameterMatchers::InstanceOf
#matches? — Mocha::ParameterMatchers::KindOf
#matches? — Mocha::ParameterMatchers::Includes
#matches_method? — Mocha::Expectation
#matches_method? — Mocha::ExpectationList
#method_exists? — Mocha::ClassMethod
#method_exists? — Mocha::ObjectMethods
#method_exists? — Mocha::ModuleMethod
#method_exists? — Mocha::AnyInstanceMethod
#method_exists? — Mocha::InstanceMethod
#method_exists? — Mocha::ClassMethods::AnyInstance
#method_missing — Mocha::Mock
#method_signature — Mocha::Expectation
#mocha — Mocha::ClassMethods::AnyInstance
#mocha — Mocha::ObjectMethods
#mocha_inspect — Mocha::Sequence
#mocha_inspect — Mocha::ParameterMatchers::Includes
#mocha_inspect — Mocha::ParameterMatchers::HasValue
#mocha_inspect — Mocha::ParameterMatchers::Anything
#mocha_inspect — Mocha::ParameterMatchers::QueryStringMatches
#mocha_inspect — Mocha::StateMachine
#mocha_inspect — Mocha::ParameterMatchers::IsA
#mocha_inspect — Mocha::ParameterMatchers::Not
#mocha_inspect — Mocha::ParameterMatchers::AllOf
#mocha_inspect — Mocha::StateMachine::State
#mocha_inspect — Mocha::ParameterMatchers::HasEntry
#mocha_inspect — Mocha::ParameterMatchers::AnyOf
#mocha_inspect — Mocha::StateMachine::StatePredicate
#mocha_inspect — Mocha::ParameterMatchers::AnyParameters
#mocha_inspect — Mocha::ParameterMatchers::KindOf
#mocha_inspect — Mocha::ParameterMatchers::Optionally
#mocha_inspect — Mocha::ParameterMatchers::RegexpMatches
#mocha_inspect — Mocha::InStateOrderingConstraint
#mocha_inspect — Mocha::ChangeStateSideEffect
#mocha_inspect — Mocha::HashMethods
#mocha_inspect — Mocha::ParameterMatchers::InstanceOf
#mocha_inspect — Mocha::ImpersonatingName
#mocha_inspect — Mocha::MethodMatcher
#mocha_inspect — Mocha::ImpersonatingAnyInstanceName
#mocha_inspect — Mocha::Expectation
#mocha_inspect — Mocha::Name
#mocha_inspect — Mocha::ParametersMatcher
#mocha_inspect — Mocha::DefaultName
#mocha_inspect — Mocha::ParameterMatchers::Equals
#mocha_inspect — Mocha::ParameterMatchers::HasEntries
#mocha_inspect — Mocha::ParameterMatchers::HasKey
#mocha_inspect — Mocha::ObjectMethods
#mocha_inspect — Mocha::DateMethods
#mocha_inspect — Mocha::ParameterMatchers::YamlEquivalent
#mocha_inspect — Mocha::TimeMethods
#mocha_inspect — Mocha::Mockery
#mocha_inspect — Mocha::StringMethods
#mocha_inspect — Mocha::ArrayMethods
#mocha_inspect — Mocha::Sequence::InSequenceOrderingConstraint
#mocha_inspect — Mocha::ParameterMatchers::RespondsWith
#mocha_inspect — Mocha::Cardinality
#mocha_inspect — Mocha::Mock
#mocha_setup — Mocha::API
#mocha_teardown — Mocha::API
#mocha_verify — Mocha::API
#mock — Mocha::AnyInstanceMethod
#mock — Mocha::ClassMethod
#mock — Mocha::API
#mock_impersonating — Mocha::Mockery
#mock_impersonating_any_instance_of — Mocha::Mockery
#mocks — Mocha::Mockery
#multiple_add — Mocha::YieldParameters
#multiple_yields — Mocha::Expectation
#named_mock — Mocha::Mockery
#needs_verifying? — Mocha::Cardinality
#never — Mocha::Expectation
#new_state_machine — Mocha::Mockery
#next — Mocha::ReturnValues
#next_invocation — Mocha::YieldParameters
#on_stubbing — Mocha::Mockery
#on_stubbing_method_on_nil — Mocha::Mockery
#on_stubbing_method_on_non_mock_object — Mocha::Mockery
#on_stubbing_method_unnecessarily — Mocha::Mockery
#on_stubbing_non_existent_method — Mocha::Mockery
#on_stubbing_non_public_method — Mocha::Mockery
#once — Mocha::Expectation
#optionally — Mocha::ParameterMatchers
#parameters_match? — Mocha::ParametersMatcher
#perform — Mocha::ChangeStateSideEffect
#perform_side_effects — Mocha::Expectation
#pretty — Mocha::PrettyParameters
#quacks_like — Mocha::Mock
#raises — Mocha::Expectation
#regexp_matches — Mocha::ParameterMatchers
#remove_all_matching_method — Mocha::ExpectationList
#remove_new_method — Mocha::ClassMethod
#remove_new_method — Mocha::AnyInstanceMethod
#remove_outer_array_braces! — Mocha::PrettyParameters
#remove_outer_hash_braces! — Mocha::PrettyParameters
#reset_mocha — Mocha::ObjectMethods
#reset_mocha — Mocha::AnyInstanceMethod
#reset_mocha — Mocha::ClassMethod
#respond_to? — Mocha::Mock
#responds_like — Mocha::Mock
#responds_with — Mocha::ParameterMatchers
#restore_original_method — Mocha::ClassMethod
#restore_original_method — Mocha::AnyInstanceMethod
#returns — Mocha::Expectation
#run — Mocha::Integration::TestUnit::GemVersion200
#run — Mocha::Integration::TestUnit::GemVersion230To251
#run — Mocha::Integration::MiniTest::Version2112To320
#run — Mocha::Integration::TestUnit::GemVersion203To220
#run — Mocha::Integration::MiniTest::Version140
#run — Mocha::Integration::MiniTest::Version201To222
#run — Mocha::Integration::MiniTest::Version142To172
#run — Mocha::Integration::MiniTest::Version2110To2111
#run — Mocha::Integration::MiniTest::Version141
#run — Mocha::Integration::TestUnit::GemVersion201To202
#run — Mocha::Integration::TestUnit::RubyVersion185AndBelow
#run — Mocha::Integration::MiniTest::Version200
#run — Mocha::Integration::TestUnit::RubyVersion186AndAbove
#run — Mocha::Integration::MiniTest::Version13
#run — Mocha::Integration::MiniTest::Version230To2101
#satisfied? — Mocha::Cardinality
#satisfied? — Mocha::Expectation
#satisfied_to_index? — Mocha::Sequence
#sequence — Mocha::API
#starts_as — Mocha::StateMachine
#state_machines — Mocha::Mockery
#states — Mocha::API
#stub — Mocha::Central
#stub — Mocha::ClassMethod
#stub — Mocha::API
#stub_everything — Mocha::Mock
#stub_everything — Mocha::API
#stubba — Mocha::Mockery
#stubba_method — Mocha::ModuleMethods
#stubba_method — Mocha::ClassMethods
#stubba_method — Mocha::ClassMethods::AnyInstance
#stubba_method — Mocha::ObjectMethods
#stubba_object — Mocha::ObjectMethods
#stubba_object — Mocha::ClassMethods::AnyInstance
#stubs — Mocha::ObjectMethods
#stubs — Mocha::Mock
#teardown — Mocha::Mockery
#then — Mocha::Expectation
#throws — Mocha::Expectation
#times — Mocha::Cardinality
#times — Mocha::Expectation
#to_a — Mocha::ExpectationList
#to_matcher — Mocha::ParameterMatchers::Base
#to_matcher — Mocha::ObjectMethods
#to_s — Mocha::UnexpectedInvocation
#to_s — Mocha::ClassMethod
#to_set — Mocha::ExpectationList
#twice — Mocha::Expectation
#unnamed_mock — Mocha::Mockery
#unstub — Mocha::ClassMethod
#unstub — Mocha::Central
#unstub — Mocha::ObjectMethods
#unstub — Mocha::Mock
#unstub_all — Mocha::Central
#used? — Mocha::Expectation
#used? — Mocha::Cardinality
#verified? — Mocha::ExpectationList
#verified? — Mocha::Expectation
#verified? — Mocha::Cardinality
#verify — Mocha::Mockery
#warn — Mocha::Logger
#when — Mocha::Expectation
#with — Mocha::Expectation
#yaml_equivalent — Mocha::ParameterMatchers
#yields — Mocha::Expectation
#| — Mocha::ParameterMatchers::Base