b975d63ae9
= 0.9.10 () * Added Mocha::ObjectMethods#unstub method - https://github.com/floehopper/mocha/issues#issue/6 * Inherit Mocha::ExpectationError from Exception instead of StandardError to reduce the chances of a test passing by accident - thanks to James Sanders (jsanders) - https://github.com/floehopper/mocha/issues#issue/15 * Fixed bug - GitHub README page to link correctly to code examples - https://github.com/floehopper/mocha/issues/closed#issue/11 * Fixed bug - PASSTHROUGH_EXCEPTIONS are defined on MiniTest::Unit::TestCase not in Mocha - thanks to Brian Troutwine (blt) - https://github.com/floehopper/mocha/issues/closed#issue/14 = 0.9.9 (ee3a79db4d52c3339e8acf07505e01236a2b4810) * Avoid loading bits of the test-unit gem by accident. This is an attempt at a fix for the problem that James Adam reported [1]. By using 'load' instead of 'require' to detect the version of Test::Unit, we can avoid rubygems trying to load bits of the test-unit gem when it's not wanted. [1] http://floehopper.lighthouseapp.com/projects/22289-mocha/tickets/50#ticket-50-13 * Fix exception when running rake without test-unit gem. When test-unit gem >=v2.0.0 was installed but the "use_test_unit_gem" MOCHA_OPTIONS was not specified, a "comparison of Fixnum with Hash failed" exception was being raised when running the performance tests. This was because bits of the test-unit gem were being loaded accidentally and a Hash was being incorrectly supplied to the TestRunner.run method. * Explicitly require rubygems for running tests via rake using test-unit gem. * Handle newer versions of test-unit gem (v2.0.2 to v2.0.9) * Handle newer versions of minitest gem (v1.4.0 to v1.6.0) * Added warnings about monkey-patching test-unit and minitest to aid debugging. These are enabled by including "debug" in the MOCHA_OPTIONS environment variable. This is now a comma-separated list, so that we can specify multiple options e.g. MOCHA_OPTIONS=debug,use_test_unit_gem * Eloy Duran (alloy) made the unit tests run on 1.9.2dev r25249. * Eloy Duran (alloy) also improved some MiniTest TestResult code I'd written and got the acceptance tests running on Ruby 1.9 HEAD. There are still 4 failures because for some reason the backtrace line numbers are off by one. And the minitest_test test case does not run when the whole suite is run with MiniTest. These issues still need investigation. * Fixed some acceptance tests to run in Ruby 1.9.2 - it's no longer possible to subvert the protection of a method by calling it via Object#send. * Fixed "test:performance" rake task so it runs in Ruby 1.9.2. * Fix test incorrectly failing under Rubinius 1.0. This test imposed too many constraints. It appears that Object#inspect legitimately calls Object#object_id in Rubinius. But we're only interested in what 'id' methods Mocha::ObjectMethods#mocha_inspect calls. By stubbing Object#inspect we can relax the constraints imposed by the test. * Luke Redpath (lukeredpath) added new shorthand "any" and "all" composite parameter matchers using "&" and "|". This provides an alternative syntax for expecting any or all matchers to pass, e.g. foo.expects(:bar).with(equals(1) | equals(2)). * Improved documentation for Expectation#raises. A number of people have suggested an extension to the API to cope with custom exceptions that have extra constructor parameters. However, since the arguments supplied to Expectation#raises are just passed on to Kernel#raise, it's possible to pass in an instance of an exception. Thus no change to the API is required, but it does seem worthwhile pointing this out in the docs. * Corrected RDoc example for Expectation#never thanks to Red David (reddavis). * Improved RDoc including a change suggested by Rohit Arondekar (rohit). * Updated gemspec as requested by Sam Woodard (shwoodard).
183 lines
8.9 KiB
Text
183 lines
8.9 KiB
Text
@comment $NetBSD: PLIST,v 1.5 2010/12/04 04:01:54 taca Exp $
|
|
${GEM_HOME}/cache/${GEM_NAME}.gem
|
|
${GEM_LIBDIR}/COPYING.rdoc
|
|
${GEM_LIBDIR}/MIT-LICENSE.rdoc
|
|
${GEM_LIBDIR}/README.rdoc
|
|
${GEM_LIBDIR}/RELEASE.rdoc
|
|
${GEM_LIBDIR}/Rakefile
|
|
${GEM_LIBDIR}/examples/misc.rb
|
|
${GEM_LIBDIR}/examples/mocha.rb
|
|
${GEM_LIBDIR}/examples/stubba.rb
|
|
${GEM_LIBDIR}/lib/mocha.rb
|
|
${GEM_LIBDIR}/lib/mocha/any_instance_method.rb
|
|
${GEM_LIBDIR}/lib/mocha/api.rb
|
|
${GEM_LIBDIR}/lib/mocha/argument_iterator.rb
|
|
${GEM_LIBDIR}/lib/mocha/backtrace_filter.rb
|
|
${GEM_LIBDIR}/lib/mocha/cardinality.rb
|
|
${GEM_LIBDIR}/lib/mocha/central.rb
|
|
${GEM_LIBDIR}/lib/mocha/change_state_side_effect.rb
|
|
${GEM_LIBDIR}/lib/mocha/class_method.rb
|
|
${GEM_LIBDIR}/lib/mocha/configuration.rb
|
|
${GEM_LIBDIR}/lib/mocha/deprecation.rb
|
|
${GEM_LIBDIR}/lib/mocha/exception_raiser.rb
|
|
${GEM_LIBDIR}/lib/mocha/expectation.rb
|
|
${GEM_LIBDIR}/lib/mocha/expectation_error.rb
|
|
${GEM_LIBDIR}/lib/mocha/expectation_list.rb
|
|
${GEM_LIBDIR}/lib/mocha/in_state_ordering_constraint.rb
|
|
${GEM_LIBDIR}/lib/mocha/inspect.rb
|
|
${GEM_LIBDIR}/lib/mocha/instance_method.rb
|
|
${GEM_LIBDIR}/lib/mocha/integration.rb
|
|
${GEM_LIBDIR}/lib/mocha/integration/mini_test.rb
|
|
${GEM_LIBDIR}/lib/mocha/integration/mini_test/assertion_counter.rb
|
|
${GEM_LIBDIR}/lib/mocha/integration/mini_test/exception_translation.rb
|
|
${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_13.rb
|
|
${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_140.rb
|
|
${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_141.rb
|
|
${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_142_and_above.rb
|
|
${GEM_LIBDIR}/lib/mocha/integration/test_unit.rb
|
|
${GEM_LIBDIR}/lib/mocha/integration/test_unit/assertion_counter.rb
|
|
${GEM_LIBDIR}/lib/mocha/integration/test_unit/gem_version_200.rb
|
|
${GEM_LIBDIR}/lib/mocha/integration/test_unit/gem_version_201_to_202.rb
|
|
${GEM_LIBDIR}/lib/mocha/integration/test_unit/gem_version_203_to_209.rb
|
|
${GEM_LIBDIR}/lib/mocha/integration/test_unit/ruby_version_185_and_below.rb
|
|
${GEM_LIBDIR}/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb
|
|
${GEM_LIBDIR}/lib/mocha/is_a.rb
|
|
${GEM_LIBDIR}/lib/mocha/logger.rb
|
|
${GEM_LIBDIR}/lib/mocha/metaclass.rb
|
|
${GEM_LIBDIR}/lib/mocha/method_matcher.rb
|
|
${GEM_LIBDIR}/lib/mocha/mock.rb
|
|
${GEM_LIBDIR}/lib/mocha/mockery.rb
|
|
${GEM_LIBDIR}/lib/mocha/module_method.rb
|
|
${GEM_LIBDIR}/lib/mocha/multiple_yields.rb
|
|
${GEM_LIBDIR}/lib/mocha/names.rb
|
|
${GEM_LIBDIR}/lib/mocha/no_yields.rb
|
|
${GEM_LIBDIR}/lib/mocha/object.rb
|
|
${GEM_LIBDIR}/lib/mocha/options.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/all_of.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/any_of.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/any_parameters.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/anything.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/base.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/equals.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/has_entries.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/has_entry.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/has_key.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/has_value.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/includes.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/instance_of.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/is_a.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/kind_of.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/not.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/object.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/optionally.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/regexp_matches.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/responds_with.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameter_matchers/yaml_equivalent.rb
|
|
${GEM_LIBDIR}/lib/mocha/parameters_matcher.rb
|
|
${GEM_LIBDIR}/lib/mocha/pretty_parameters.rb
|
|
${GEM_LIBDIR}/lib/mocha/return_values.rb
|
|
${GEM_LIBDIR}/lib/mocha/sequence.rb
|
|
${GEM_LIBDIR}/lib/mocha/single_return_value.rb
|
|
${GEM_LIBDIR}/lib/mocha/single_yield.rb
|
|
${GEM_LIBDIR}/lib/mocha/standalone.rb
|
|
${GEM_LIBDIR}/lib/mocha/state_machine.rb
|
|
${GEM_LIBDIR}/lib/mocha/stubbing_error.rb
|
|
${GEM_LIBDIR}/lib/mocha/unexpected_invocation.rb
|
|
${GEM_LIBDIR}/lib/mocha/yield_parameters.rb
|
|
${GEM_LIBDIR}/lib/mocha_standalone.rb
|
|
${GEM_LIBDIR}/lib/stubba.rb
|
|
${GEM_LIBDIR}/test/acceptance/acceptance_test_helper.rb
|
|
${GEM_LIBDIR}/test/acceptance/api_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/bug_18914_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/bug_21465_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/bug_21563_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/exception_rescue_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/expected_invocation_count_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/failure_messages_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/minitest_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/mocha_example_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/mocha_test_result_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/mock_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/mock_with_initializer_block_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/mocked_methods_dispatch_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/optional_parameters_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/parameter_matcher_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/partial_mocks_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/return_value_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/sequence_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/states_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stub_any_instance_method_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stub_class_method_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stub_everything_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stub_instance_method_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stub_module_method_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stub_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stubba_example_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stubba_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stubba_test_result_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stubbing_error_backtrace_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stubbing_method_unnecessarily_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stubbing_non_existent_any_instance_method_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stubbing_non_existent_class_method_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stubbing_non_existent_instance_method_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stubbing_non_public_any_instance_method_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stubbing_non_public_class_method_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stubbing_non_public_instance_method_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/stubbing_on_non_mock_object_test.rb
|
|
${GEM_LIBDIR}/test/acceptance/unstubbing_test.rb
|
|
${GEM_LIBDIR}/test/deprecation_disabler.rb
|
|
${GEM_LIBDIR}/test/execution_point.rb
|
|
${GEM_LIBDIR}/test/method_definer.rb
|
|
${GEM_LIBDIR}/test/mini_test_result.rb
|
|
${GEM_LIBDIR}/test/simple_counter.rb
|
|
${GEM_LIBDIR}/test/test_helper.rb
|
|
${GEM_LIBDIR}/test/test_runner.rb
|
|
${GEM_LIBDIR}/test/unit/any_instance_method_test.rb
|
|
${GEM_LIBDIR}/test/unit/array_inspect_test.rb
|
|
${GEM_LIBDIR}/test/unit/backtrace_filter_test.rb
|
|
${GEM_LIBDIR}/test/unit/cardinality_test.rb
|
|
${GEM_LIBDIR}/test/unit/central_test.rb
|
|
${GEM_LIBDIR}/test/unit/change_state_side_effect_test.rb
|
|
${GEM_LIBDIR}/test/unit/class_method_test.rb
|
|
${GEM_LIBDIR}/test/unit/configuration_test.rb
|
|
${GEM_LIBDIR}/test/unit/date_time_inspect_test.rb
|
|
${GEM_LIBDIR}/test/unit/exception_raiser_test.rb
|
|
${GEM_LIBDIR}/test/unit/expectation_list_test.rb
|
|
${GEM_LIBDIR}/test/unit/expectation_test.rb
|
|
${GEM_LIBDIR}/test/unit/hash_inspect_test.rb
|
|
${GEM_LIBDIR}/test/unit/in_state_ordering_constraint_test.rb
|
|
${GEM_LIBDIR}/test/unit/metaclass_test.rb
|
|
${GEM_LIBDIR}/test/unit/method_matcher_test.rb
|
|
${GEM_LIBDIR}/test/unit/mock_test.rb
|
|
${GEM_LIBDIR}/test/unit/mockery_test.rb
|
|
${GEM_LIBDIR}/test/unit/multiple_yields_test.rb
|
|
${GEM_LIBDIR}/test/unit/no_yields_test.rb
|
|
${GEM_LIBDIR}/test/unit/object_inspect_test.rb
|
|
${GEM_LIBDIR}/test/unit/object_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/all_of_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/any_of_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/anything_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/equals_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/has_entries_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/has_entry_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/has_key_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/has_value_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/includes_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/instance_of_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/is_a_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/kind_of_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/not_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/regexp_matches_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/responds_with_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/stub_matcher.rb
|
|
${GEM_LIBDIR}/test/unit/parameter_matchers/yaml_equivalent_test.rb
|
|
${GEM_LIBDIR}/test/unit/parameters_matcher_test.rb
|
|
${GEM_LIBDIR}/test/unit/return_values_test.rb
|
|
${GEM_LIBDIR}/test/unit/sequence_test.rb
|
|
${GEM_LIBDIR}/test/unit/single_return_value_test.rb
|
|
${GEM_LIBDIR}/test/unit/single_yield_test.rb
|
|
${GEM_LIBDIR}/test/unit/state_machine_test.rb
|
|
${GEM_LIBDIR}/test/unit/string_inspect_test.rb
|
|
${GEM_LIBDIR}/test/unit/yield_parameters_test.rb
|
|
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
|