(null),255 def known_good_way_to_build_xml(builder)known_good_way_to_build_xml160,4493 def new_way_to_build_xml(builder)new_way_to_build_xml164,4562 class QuoteServiceQuoteService235,6473 class PortfolioPortfolio238,6501 def valuevalue239,6519 doc/examples/test_unit_examples_test.rb,1490 class TestSimple < Test::Unit::TestCaseTestSimple3,30 def test_simple_mocktest_simple_mock7,108 class TestUndefined < Test::Unit::TestCaseTestUndefined15,244 def test_undefined_valuestest_undefined_values19,364 class TestDb < Test::Unit::TestCaseTestDb27,549 def test_dbtest_db36,862 class TestOrdered < Test::Unit::TestCaseTestOrdered48,1069 def test_query_and_updatetest_query_and_update55,1231 class MoreOrdered < Test::Unit::TestCaseMoreOrdered67,1457 def test_ordered_queriestest_ordered_queries81,2092 class EvenMoreOrderedTest < Test::Unit::TestCaseEvenMoreOrderedTest102,2633 def test_ordered_queries_in_record_modetest_ordered_queries_in_record_mode112,2998 class RecordedTest < Test::Unit::TestCaseRecordedTest132,3462 def test_build_xmltest_build_xml148,4182 def known_good_way_to_build_xml(builder)known_good_way_to_build_xml157,4437 def new_way_to_build_xml(builder)new_way_to_build_xml161,4506 class MultipleReturnValueTest < Test::Unit::TestCaseMultipleReturnValueTest167,4573 def test_multiple_getstest_multiple_gets175,4844 class IgnoreUnimportantMessages < Test::Unit::TestCaseIgnoreUnimportantMessages187,5119 def test_an_important_messagetest_an_important_message196,5444 class PartialMockTest < Test::Unit::TestCasePartialMockTest213,5869 def test_portfolio_valuetest_portfolio_value222,6185 class QuoteServiceQuoteService231,6439 class PortfolioPortfolio234,6467 def valuevalue235,6485 /Users/jim/working/git/flexmock/doc/jamis.rb,43 module RDocRDoc1,0 module PagePage2,12 éü,0 ,0 ûéü,0 ,0 html/doc/examples/test_unit_examples_test_rdoc.html,0 html/doc/releases/flexmock-0_4_0_rdoc.html,0 html/doc/releases/flexmock-0_4_1_rdoc.html,0 html/doc/releases/flexmock-0_4_2_rdoc.html,0 html/doc/releases/flexmock-0_4_3_rdoc.html,0 html/doc/releases/flexmock-0_5_0_rdoc.html,0 html/doc/releases/flexmock-0_5_1_rdoc.html,0 html/doc/releases/flexmock-0_6_0_rdoc.html,0 html/doc/releases/flexmock-0_6_1_rdoc.html,0 html/doc/releases/flexmock-0_6_2_rdoc.html,0 html/doc/releases/flexmock-0_6_3_rdoc.html,0 html/doc/releases/flexmock-0_6_4_rdoc.html,0 html/doc/releases/flexmock-0_7_0_rdoc.html,0 html/doc/releases/flexmock-0_7_1_rdoc.html,0 html/doc/releases/flexmock-0_8_0_rdoc.html,0 html/doc/releases/flexmock-0_8_2_rdoc.html,0 html/doc/releases/flexmock-0_8_3_rdoc.html,0 html/doc/releases/flexmock-0_8_4_rdoc.html,0 html/doc/releases/flexmock-0_8_5_rdoc.html,0 html/doc/releases/flexmock-0_9_0_rdoc.html,0 html/doc/releases/flexmock-1_0_0_rdoc.html,0 ,0 /usr/local/bin/exuberant_ctags,0 html/FlexMock/ArgumentTypes.html,0 html/FlexMock/AtLeastCountValidator.html,0 html/FlexMock/AtMostCountValidator.html,0 html/FlexMock/CompositeExpectation.html,0 html/FlexMock/CountValidator.html,0 ,0 html/FlexMock/DefaultFrameworkAdapter/AssertionFailedError.htm,0 html/FlexMock/DefaultFrameworkAdapter.html,0 html/FlexMock/EqualMatcher.html,0 ,0 ,0 /usr/local/bin/exuberant_ctags,0 html/FlexMock/ExpectationRecorder.html,0 html/FlexMock/ExplicitNeeded.html,0 Xéü,0 /usr/local/bin/exuberant_ctags,0 html/FlexMock/MockContainerHelper.html,0 ,0 /usr/local/bin/exuberant_ctags,0 html/FlexMock/OptionalProcMatcher.html,0 /var/folders/b9/zwv8g_296jq17rcjpjw_94jc0000gn/T//tags.WyR1wB,0 html/FlexMock/PartialMockProxy.html,0 html/FlexMock/Recorder.html,0 ,0 zwv8g_296jq17rcjpjw_94jc0000gn/T//tags.gydXV6,0 html/FlexMock/RSpecMatchers/HaveReceived.html,0 html/FlexMock/RSpecMatchers.html,0 html/FlexMock/SpyDescribers.html,0 ,0 /usr/local/bin/exuberant_ctags,0 html/FlexMock/TestUnitFrameworkAdapter.html,0 Xéü,0 html/FlexMock/UsageError.html,0 html/FlexMock/UseContainer.html,0 html/FlexMock/Version.html,0 html/FlexMock.html,0 /usr/local/bin/exuberant_ctags,0 ,792 window.console[names[i]] = function() {};window.console17,504 $.fn.unwrap = function( expr ) {$.fn.unwrap24,655 function showSource( e ) {showSource31,792 function hookSourceViews() {hookSourceViews43,1041 function toggleDebuggingSection() {toggleDebuggingSection47,1118 function hookDebuggingToggle() {hookDebuggingToggle51,1199 function hookTableOfContentsToggle() {hookTableOfContentsToggle55,1298 search.renderItem = function(result) {search.renderItem79,1844 search.select = function(result) {search.select101,2471 function hookSearch() {hookSearch69,1578 function highlightTarget( anchor ) {highlightTarget109,2676 function highlightLocationTarget() {highlightLocationTarget123,3142 function highlightClickTarget( event ) {highlightClickTarget133,3488 html/js/jquery.js,680783 (function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"":"")+"
"),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){setTimeout(cq,0);return cn=f.now()}function cf(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ce(){try{return new a.XMLHttpRequest}catch(b){}}function b$(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bx(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function bm(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(be,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bl(a){f.nodeName(a,"input")?bk(a):"getElementsByTagName"in a&&f.grep(a.getElementsByTagName("input"),bk)}function bk(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bj(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function bi(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bh(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in g)for(var i=0,j=g[h].length;it |
t |
t |
t |
t |
t |
t |
t |
t |
t |
t |
t |
t |
t |
t |
t |
t |
t |
t |
t |
t |
Detecting whether a class has a definition for a method or not changes\nbetween Ruby 1.8 and Ruby 1.9. …\n"],["FlexMock","","FlexMock.html","","
FlexMock is a flexible mock object framework for supporting testing.\n
FlexMock has a simple interface that’s …\n"],["FlexMock::AnyMatcher","","FlexMock/AnyMatcher.html","","
Match any object\n"],["FlexMock::ArgumentMatching","","FlexMock/ArgumentMatching.html","",""],["FlexMock::ArgumentTypes","","FlexMock/ArgumentTypes.html","","
Include this module in your test class if you wish to use the\neq
and any
argument matching methods without …\n"],["FlexMock::AtLeastCountValidator","","FlexMock/AtLeastCountValidator.html","","
Validator for call counts greater than or equal to a limit.\n"],["FlexMock::AtMostCountValidator","","FlexMock/AtMostCountValidator.html","","
Validator for call counts less than or equal to a limit.\n"],["FlexMock::CompositeExpectation","","FlexMock/CompositeExpectation.html","","
A composite expectation allows several expectations to be grouped into a\nsingle composite and then apply …\n"],["FlexMock::CountValidator","","FlexMock/CountValidator.html","","
Base class for all the count validators.\n"],["FlexMock::DefaultFrameworkAdapter","","FlexMock/DefaultFrameworkAdapter.html","",""],["FlexMock::DefaultFrameworkAdapter::AssertionFailedError","","FlexMock/DefaultFrameworkAdapter/AssertionFailedError.html","",""],["FlexMock::DuckMatcher","","FlexMock/DuckMatcher.html","","
Match objects that implement all the methods in methods
.\n"],["FlexMock::EqualMatcher","","FlexMock/EqualMatcher.html","","
Match only things that are equal.\n"],["FlexMock::ExactCountValidator","","FlexMock/ExactCountValidator.html","","
Validator for exact call counts.\n"],["FlexMock::Expectation","","FlexMock/Expectation.html","","
An Expectation is returned from each should_receive
message\nsent to mock object. Each expectation records …\n"],["FlexMock::ExpectationDirector","","FlexMock/ExpectationDirector.html","","
The expectation director is responsible for routing calls to the correct\nexpectations for a given argument …\n"],["FlexMock::ExpectationRecorder","","FlexMock/ExpectationRecorder.html","","
An expectation recorder records any expectations received and plays them\nback on demand. This is used …\n"],["FlexMock::ExplicitNeeded","","FlexMock/ExplicitNeeded.html","","
Expectations on mocks with a base class can only be defined on methods\nsupported by the base class. …\n"],["FlexMock::HashMatcher","","FlexMock/HashMatcher.html","","
Match hashes that match all the fields of hash
.\n"],["FlexMock::MockContainer","","FlexMock/MockContainer.html","","
###################################################################### Mock\ncontainer methods\n
Include …\n"],["FlexMock::MockContainerHelper","","FlexMock/MockContainerHelper.html","","
################################################################# Helper\nmethods for mock containers. …\n"],["FlexMock::MockError","","FlexMock/MockError.html","",""],["FlexMock::OptionalProcMatcher","","FlexMock/OptionalProcMatcher.html","","
Match objects that implement all the methods in methods
.\n"],["FlexMock::Ordering","","FlexMock/Ordering.html","","
################################################################# The\nordering module contains the methods …\n"],["FlexMock::PartialMockProxy","","FlexMock/PartialMockProxy.html","","
#########################################################################\nPartialMockProxy is used to …\n"],["FlexMock::ProcMatcher","","FlexMock/ProcMatcher.html","","
Match only things where the block evaluates to true.\n"],["FlexMock::RSpecFrameworkAdapter","","FlexMock/RSpecFrameworkAdapter.html","",""],["FlexMock::RSpecFrameworkAdapter::AssertionFailedError","","FlexMock/RSpecFrameworkAdapter/AssertionFailedError.html","",""],["FlexMock::RSpecMatchers","","FlexMock/RSpecMatchers.html","",""],["FlexMock::RSpecMatchers::HaveReceived","","FlexMock/RSpecMatchers/HaveReceived.html","",""],["FlexMock::Recorder","","FlexMock/Recorder.html","","
Translate arbitrary method calls into expectations on the given mock\nobject.\n"],["FlexMock::SpyDescribers","","FlexMock/SpyDescribers.html","",""],["FlexMock::TestCase","","FlexMock/TestCase.html","","
Test::Unit::TestCase Integration.\n
Include this module in any TestCase class in a Test::Unit test suite …\n"],["FlexMock::TestUnitAssertions","","FlexMock/TestUnitAssertions.html","",""],["FlexMock::TestUnitFrameworkAdapter","","FlexMock/TestUnitFrameworkAdapter.html","","
Adapter for adapting FlexMock to the Test::Unit framework.\n"],["FlexMock::Undefined","","FlexMock/Undefined.html","","
Undefined is a self preserving undefined object. The result of any\ninteraction with the undefined object …\n"],["FlexMock::UsageError","","FlexMock/UsageError.html","","
Error raised when flexmock is used incorrectly.\n"],["FlexMock::UseContainer","","FlexMock/UseContainer.html","","
Container object to be used by the FlexMock.use method.\n"],["FlexMock::Version","","FlexMock/Version.html","",""],["Module","","Module.html","","
+\n"],["Object","","Object.html","",""],["Symbol","","Symbol.html","",""],["Test","","Test.html","",""],["Test::Unit","","Test/Unit.html","",""],["Test::Unit::TestCase","","Test/Unit/TestCase.html","",""],["<<","FlexMock::ExpectationDirector","FlexMock/ExpectationDirector.html#method-i-3C-3C","(expectation)","
Append an expectation to this director.\n"],["<=>","FlexMock::Undefined","FlexMock/Undefined.html#method-i-3C-3D-3E","(other)",""],["===","FlexMock::AnyMatcher","FlexMock/AnyMatcher.html#method-i-3D-3D-3D","(target)",""],["===","FlexMock::DuckMatcher","FlexMock/DuckMatcher.html#method-i-3D-3D-3D","(target)",""],["===","FlexMock::EqualMatcher","FlexMock/EqualMatcher.html#method-i-3D-3D-3D","(target)",""],["===","FlexMock::HashMatcher","FlexMock/HashMatcher.html#method-i-3D-3D-3D","(target)",""],["===","FlexMock::OptionalProcMatcher","FlexMock/OptionalProcMatcher.html#method-i-3D-3D-3D","(target)",""],["===","FlexMock::ProcMatcher","FlexMock/ProcMatcher.html#method-i-3D-3D-3D","(target)",""],["add","FlexMock::CompositeExpectation","FlexMock/CompositeExpectation.html#method-i-add","(expectation)","
Add an expectation to the composite.\n"],["add_mock_method","FlexMock::PartialMockProxy","FlexMock/PartialMockProxy.html#method-i-add_mock_method","(method_name)",""],["add_model_methods","FlexMock::MockContainerHelper","FlexMock/MockContainerHelper.html#method-i-add_model_methods","(mock, model_class, id)","
Automatically add mocks for some common methods in ActiveRecord models.\n"],["all_match?","FlexMock::ArgumentMatching","FlexMock/ArgumentMatching.html#method-i-all_match-3F","(expected_args, actual_args)",""],["and_raise","FlexMock::Expectation","FlexMock/Expectation.html#method-i-and_raise","(exception, *args)","
Declares that the method will raise the given exception (with an optional\nmessage) when executed.\n
If an …\n"],["and_return","FlexMock::Expectation","FlexMock/Expectation.html#method-i-and_return","(*args, &block)","
Declare that the method returns a particular value (when the argument list\nis matched).\n
If a single value …\n"],["and_return_undefined","FlexMock::Expectation","FlexMock/Expectation.html#method-i-and_return_undefined","()","
Declare that the method returns and undefined object (FlexMock.undefined). \nSince the undefined object …\n"],["and_throw","FlexMock::Expectation","FlexMock/Expectation.html#method-i-and_throw","(sym, value=nil)","
Declares that the method will throw the given symbol (with an optional\nvalue) when executed.\n
throws
is …\n"],["and_yield","FlexMock::Expectation","FlexMock/Expectation.html#method-i-and_yield","(*yield_values)","
Declare that the mocked method is expected to be given a block and that the\nblock will be called with …\n"],["any","FlexMock::ArgumentTypes","FlexMock/ArgumentTypes.html#method-i-any","()","
Return an argument matcher that matches any argument.\n"],["any_instance","FlexMock::PartialMockProxy","FlexMock/PartialMockProxy.html#method-i-any_instance","(&block)","
any_instance is present for backwards compatibility with version 0.5.0.\n@deprecated\n"],["apply","FlexMock::ExpectationRecorder","FlexMock/ExpectationRecorder.html#method-i-apply","(mock)","
Apply the recorded messages to the given object in a chaining fashion (i.e.\nthe result of the previous …\n"],["assert_block","FlexMock::DefaultFrameworkAdapter","FlexMock/DefaultFrameworkAdapter.html#method-i-assert_block","(msg, &block)",""],["assert_block","FlexMock::RSpecFrameworkAdapter","FlexMock/RSpecFrameworkAdapter.html#method-i-assert_block","(msg, &block)",""],["assert_equal","FlexMock::DefaultFrameworkAdapter","FlexMock/DefaultFrameworkAdapter.html#method-i-assert_equal","(a, b, msg=nil)",""],["assert_equal","FlexMock::RSpecFrameworkAdapter","FlexMock/RSpecFrameworkAdapter.html#method-i-assert_equal","(a, b, msg=nil)",""],["assert_spy_called","FlexMock::TestUnitAssertions","FlexMock/TestUnitAssertions.html#method-i-assert_spy_called","(spy, method_name, *args)",""],["assert_spy_not_called","FlexMock::TestUnitAssertions","FlexMock/TestUnitAssertions.html#method-i-assert_spy_not_called","(spy, method_name, *args)",""],["assertion_failed_error","FlexMock::DefaultFrameworkAdapter","FlexMock/DefaultFrameworkAdapter.html#method-i-assertion_failed_error","()",""],["assertion_failed_error","FlexMock::RSpecFrameworkAdapter","FlexMock/RSpecFrameworkAdapter.html#method-i-assertion_failed_error","()",""],["assertion_failed_error","FlexMock::TestUnitFrameworkAdapter","FlexMock/TestUnitFrameworkAdapter.html#method-i-assertion_failed_error","()",""],["at_least","FlexMock::Expectation","FlexMock/Expectation.html#method-i-at_least","()","
Modifies the next call count declarator (times
,\nnever
, once
or twice
) so that the\ndeclarator means the …\n"],["at_most","FlexMock::Expectation","FlexMock/Expectation.html#method-i-at_most","()","
Modifies the next call count declarator (times
,\nnever
, once
or twice
) so that the\ndeclarator means the …\n"],["by_default","FlexMock","FlexMock.html#method-i-by_default","()",""],["by_default","FlexMock::Expectation","FlexMock/Expectation.html#method-i-by_default","()",""],["call","FlexMock::ExpectationDirector","FlexMock/ExpectationDirector.html#method-i-call","(*args)","
Invoke the expectations for a given set of arguments.\n
First, look for an expectation that matches the …\n"],["call_count_constrained?","FlexMock::Expectation","FlexMock/Expectation.html#method-i-call_count_constrained-3F","()","
Is this expectation constrained by any call counts?\n"],["clone","FlexMock::Undefined","FlexMock/Undefined.html#method-i-clone","()",""],["coerce","FlexMock::Undefined","FlexMock/Undefined.html#method-i-coerce","(other)",""],["describe_spy_expectation","FlexMock::SpyDescribers","FlexMock/SpyDescribers.html#method-i-describe_spy_expectation","(spy, sym, args, options={})",""],["describe_spy_negative_expectation","FlexMock::SpyDescribers","FlexMock/SpyDescribers.html#method-i-describe_spy_negative_expectation","(spy, sym, args, options={})",""],["ducktype","FlexMock::ArgumentTypes","FlexMock/ArgumentTypes.html#method-i-ducktype","(*methods)","
Return an argument matcher that matches any object that implementes (i.e.\nresponds to) the given method …\n"],["eligible?","FlexMock::AtLeastCountValidator","FlexMock/AtLeastCountValidator.html#method-i-eligible-3F","(n)","
If the expectation has been called n
times, is it still\neligible to be called again? Since this validator …\n"],["eligible?","FlexMock::CountValidator","FlexMock/CountValidator.html#method-i-eligible-3F","(n)","
If the expectation has been called n
times, is it still\neligible to be called again? The default answer …\n"],["eligible?","FlexMock::Expectation","FlexMock/Expectation.html#method-i-eligible-3F","()","
Is this expectation eligible to be called again? It is eligible only if\nall of its count validators …\n"],["eq","FlexMock::ArgumentTypes","FlexMock/ArgumentTypes.html#method-i-eq","(obj)","
Return an argument matcher that only matches things equal to (==) the given\nobject.\n"],["explicit?","FlexMock::ExplicitNeeded","FlexMock/ExplicitNeeded.html#method-i-explicit-3F","()",""],["explicitly","FlexMock::Expectation","FlexMock/Expectation.html#method-i-explicitly","()","
No-op for allowing explicit calls when explicit not explicitly needed.\n"],["explicitly","FlexMock::ExplicitNeeded","FlexMock/ExplicitNeeded.html#method-i-explicitly","()",""],["failure_message_for_should","FlexMock::RSpecMatchers::HaveReceived","FlexMock/RSpecMatchers/HaveReceived.html#method-i-failure_message_for_should","()",""],["failure_message_for_should_not","FlexMock::RSpecMatchers::HaveReceived","FlexMock/RSpecMatchers/HaveReceived.html#method-i-failure_message_for_should_not","()",""],["flexmock","FlexMock::MockContainer","FlexMock/MockContainer.html#method-i-flexmock","(*args)","
Create a mocking object in the FlexMock framework. The\nflexmock
method has a number of options available, …\n"],["flexmock_allocate_order","FlexMock::Ordering","FlexMock/Ordering.html#method-i-flexmock_allocate_order","()","
Allocate the next available order number.\n"],["flexmock_as_name","Symbol","Symbol.html#method-i-flexmock_as_name","()",""],["flexmock_based_on","FlexMock","FlexMock.html#method-i-flexmock_based_on","(base_class)",""],["flexmock_calls","FlexMock","FlexMock.html#method-i-flexmock_calls","()","
Return the list of calls made on this mock. Used in formatting error\nmessages.\n"],["flexmock_calls","FlexMock::PartialMockProxy","FlexMock/PartialMockProxy.html#method-i-flexmock_calls","()","
Forward to the mock\n"],["flexmock_close","FlexMock::MockContainer","FlexMock/MockContainer.html#method-i-flexmock_close","()","
Close all the mock objects in the container. Closing a mock object\nrestores any original behavior that …\n"],["flexmock_container","FlexMock::PartialMockProxy","FlexMock/PartialMockProxy.html#method-i-flexmock_container","()","
Forward to the mock’s container.\n"],["flexmock_container=","FlexMock::PartialMockProxy","FlexMock/PartialMockProxy.html#method-i-flexmock_container-3D","(container)","
Set the proxy’s mock container. This set value is ignored because the\nproxy always uses the container …\n"],["flexmock_created_mocks","FlexMock::MockContainer","FlexMock/MockContainer.html#method-i-flexmock_created_mocks","()","
List of mocks created in this container\n"],["flexmock_current_order","FlexMock::Ordering","FlexMock/Ordering.html#method-i-flexmock_current_order","()","
Current order number in this ordering.\n"],["flexmock_current_order=","FlexMock::Ordering","FlexMock/Ordering.html#method-i-flexmock_current_order-3D","(value)","
Set the current order for this ordering.\n"],["flexmock_defined?","Class","Class.html#method-i-flexmock_defined-3F","(method_name)","
Does a class directly define a method named “method_name�\n"],["flexmock_deprecate","Module","Module.html#method-i-flexmock_deprecate","(*method_names)",""],["flexmock_expectations_for","FlexMock::PartialMockProxy","FlexMock/PartialMockProxy.html#method-i-flexmock_expectations_for","(method_name)","
Forward the request for the expectation director to the mock.\n"],["flexmock_get","FlexMock::PartialMockProxy","FlexMock/PartialMockProxy.html#method-i-flexmock_get","()","
Get the mock object for the partial mock.\n"],["flexmock_groups","FlexMock::Ordering","FlexMock/Ordering.html#method-i-flexmock_groups","()","
Hash of groups defined in this ordering.\n"],["flexmock_invoke_original","FlexMock","FlexMock.html#method-i-flexmock_invoke_original","(sym, args)","
Invocke the original non-mocked functionality for the given symbol.\n"],["flexmock_invoke_original","FlexMock::PartialMockProxy","FlexMock/PartialMockProxy.html#method-i-flexmock_invoke_original","(method, args)",""],["flexmock_original_teardown","Test::Unit::TestCase","Test/Unit/TestCase.html#method-i-flexmock_original_teardown","()","
Alias the original teardown behavior for later use.\n"],["flexmock_received?","FlexMock","FlexMock.html#method-i-flexmock_received-3F","(sym, args, options={})","
True if the mock received the given method and arguments.\n"],["flexmock_received?","FlexMock::PartialMockProxy","FlexMock/PartialMockProxy.html#method-i-flexmock_received-3F","(*args)","
Forward to the mock\n"],["flexmock_remember","FlexMock::MockContainer","FlexMock/MockContainer.html#method-i-flexmock_remember","(mocking_object)","
Remember the mock object / stub in the mock container.\n"],["flexmock_respond_to?","FlexMock","FlexMock.html#method-i-flexmock_respond_to-3F","(sym, *args)","
Save the original definition of respond_to? for use a bit later.\n"],["flexmock_singleton_defined?","Object","Object.html#method-i-flexmock_singleton_defined-3F","(method_name)",""],["flexmock_teardown","FlexMock","FlexMock.html#method-i-flexmock_teardown","()","
Teardown and infrastructure setup for this mock.\n"],["flexmock_teardown","FlexMock::MockContainer","FlexMock/MockContainer.html#method-i-flexmock_teardown","()","
Do the flexmock specific teardown stuff. If you need finer control, you\ncan use either flexmock_verify
…\n"],["flexmock_teardown","FlexMock::PartialMockProxy","FlexMock/PartialMockProxy.html#method-i-flexmock_teardown","()","
Remove all traces of the mocking framework from the existing object.\n"],["flexmock_validate_order","FlexMock::Ordering","FlexMock/Ordering.html#method-i-flexmock_validate_order","(method_name, order_number)",""],["flexmock_verify","FlexMock","FlexMock.html#method-i-flexmock_verify","()","
Verify that each method that had an explicit expected count was actually\ncalled that many times.\n"],["flexmock_verify","FlexMock::Expectation","FlexMock/Expectation.html#method-i-flexmock_verify","()","
Validate the correct number of calls have been made. Called by the\nteardown process.\n"],["flexmock_verify","FlexMock::MockContainer","FlexMock/MockContainer.html#method-i-flexmock_verify","()","
Perform verification on all mocks in the container.\n"],["flexmock_verify","FlexMock::PartialMockProxy","FlexMock/PartialMockProxy.html#method-i-flexmock_verify","()","
Verify that the mock has been properly called. After verification, detach\nthe mocking infrastructure …\n"],["flexstub","FlexMock::MockContainer","FlexMock/MockContainer.html#method-i-flexstub","(*args)",""],["globally","FlexMock::Expectation","FlexMock/Expectation.html#method-i-globally","()","
Modifier that changes the next ordered constraint to apply globally across\nall mock objects in the container. …\n"],["have_received","FlexMock::RSpecMatchers","FlexMock/RSpecMatchers.html#method-i-have_received","(method_name)",""],["hsh","FlexMock::ArgumentTypes","FlexMock/ArgumentTypes.html#method-i-hsh","(hash)","
Return an argument matcher that matches a hash with the given entries.\n"],["inspect","FlexMock","FlexMock.html#method-i-inspect","()","
Return the inspection string for a mock.\n"],["inspect","FlexMock::AnyMatcher","FlexMock/AnyMatcher.html#method-i-inspect","()",""],["inspect","FlexMock::DuckMatcher","FlexMock/DuckMatcher.html#method-i-inspect","()",""],["inspect","FlexMock::EqualMatcher","FlexMock/EqualMatcher.html#method-i-inspect","()",""],["inspect","FlexMock::HashMatcher","FlexMock/HashMatcher.html#method-i-inspect","()",""],["inspect","FlexMock::OptionalProcMatcher","FlexMock/OptionalProcMatcher.html#method-i-inspect","()",""],["inspect","FlexMock::ProcMatcher","FlexMock/ProcMatcher.html#method-i-inspect","()",""],["inspect","FlexMock::Undefined","FlexMock/Undefined.html#method-i-inspect","()",""],["make_partial_proxy","FlexMock::MockContainerHelper","FlexMock/MockContainerHelper.html#method-i-make_partial_proxy","(container, obj, name, safe_mode)","
Create a PartialMockProxy for the given object. Use name
as\nthe name of the mock object.\n"],["match?","FlexMock::ArgumentMatching","FlexMock/ArgumentMatching.html#method-i-match-3F","(expected, actual)","
Does the expected argument match the corresponding actual value.\n"],["match_args","FlexMock::Expectation","FlexMock/Expectation.html#method-i-match_args","(args)","
Does the argument list match this expectation’s argument specification.\n"],["matches?","FlexMock::RSpecMatchers::HaveReceived","FlexMock/RSpecMatchers/HaveReceived.html#method-i-matches-3F","(spy)",""],["method","FlexMock","FlexMock.html#method-i-method","(sym)","
Override the built-in method
to include the mocked methods.\n"],["method_missing","FlexMock","FlexMock.html#method-i-method_missing","(sym, *args, &block)","
Handle missing methods by attempting to look up a handler.\n"],["method_missing","FlexMock::CompositeExpectation","FlexMock/CompositeExpectation.html#method-i-method_missing","(sym, *args, &block)","
Apply the constraint method to all expectations in the composite.\n"],["method_missing","FlexMock::ExpectationRecorder","FlexMock/ExpectationRecorder.html#method-i-method_missing","(sym, *args, &block)","
Save any incoming messages to be played back later.\n"],["method_missing","FlexMock::ExplicitNeeded","FlexMock/ExplicitNeeded.html#method-i-method_missing","(sym, *args, &block)",""],["method_missing","FlexMock::Recorder","FlexMock/Recorder.html#method-i-method_missing","(sym, *args, &block)","
Record an expectation for receiving the method sym
with the\ngiven arguments.\n"],["method_missing","FlexMock::Undefined","FlexMock/Undefined.html#method-i-method_missing","(sym, *args, &block)",""],["missing?","FlexMock::ArgumentMatching","FlexMock/ArgumentMatching.html#method-i-missing-3F","(arg)",""],["mock","FlexMock::CompositeExpectation","FlexMock/CompositeExpectation.html#method-i-mock","()","
Return the associated mock object.\n"],["mock_ignore_missing","FlexMock","FlexMock.html#method-i-mock_ignore_missing","()",""],["never","FlexMock::Expectation","FlexMock/Expectation.html#method-i-never","()","
Declare that the method is never expected to be called with the given\nargument list. This may be modified …\n"],["never","FlexMock::RSpecMatchers::HaveReceived","FlexMock/RSpecMatchers/HaveReceived.html#method-i-never","()",""],["new","FlexMock","FlexMock.html#method-c-new","(name=\"unknown\", container=nil)","
Create a FlexMock object with the given name. The name is used in error\nmessages. If no container is …\n"],["new","FlexMock::CompositeExpectation","FlexMock/CompositeExpectation.html#method-c-new","()","
Initialize the composite expectation.\n"],["new","FlexMock::CountValidator","FlexMock/CountValidator.html#method-c-new","(expectation, limit)",""],["new","FlexMock::DuckMatcher","FlexMock/DuckMatcher.html#method-c-new","(methods)",""],["new","FlexMock::EqualMatcher","FlexMock/EqualMatcher.html#method-c-new","(obj)",""],["new","FlexMock::Expectation","FlexMock/Expectation.html#method-c-new","(mock, sym)","
Create an expectation for a method named sym
.\n"],["new","FlexMock::ExpectationDirector","FlexMock/ExpectationDirector.html#method-c-new","(sym)","
Create an ExpectationDirector for a mock object.\n"],["new","FlexMock::ExpectationRecorder","FlexMock/ExpectationRecorder.html#method-c-new","()","
Initialize the recorder.\n"],["new","FlexMock::ExplicitNeeded","FlexMock/ExplicitNeeded.html#method-c-new","(expectation, method_name, base_class)",""],["new","FlexMock::HashMatcher","FlexMock/HashMatcher.html#method-c-new","(hash)",""],["new","FlexMock::OptionalProcMatcher","FlexMock/OptionalProcMatcher.html#method-c-new","()",""],["new","FlexMock::PartialMockProxy","FlexMock/PartialMockProxy.html#method-c-new","(obj, mock, safe_mode)","
Initialize a PartialMockProxy object.\n"],["new","FlexMock::ProcMatcher","FlexMock/ProcMatcher.html#method-c-new","(&block)",""],["new","FlexMock::RSpecMatchers::HaveReceived","FlexMock/RSpecMatchers/HaveReceived.html#method-c-new","(method_name)",""],["new","FlexMock::Recorder","FlexMock/Recorder.html#method-c-new","(mock)","
Create a method recorder for the mock mock
.\n"],["new","FlexMock::UseContainer","FlexMock/UseContainer.html#method-c-new","()",""],["new_instances","FlexMock::PartialMockProxy","FlexMock/PartialMockProxy.html#method-i-new_instances","(*allocators, &block)","
new_instances is a short cut method for overriding the behavior of any new\ninstances created via a mocked …\n"],["next_id","FlexMock::MockContainerHelper","FlexMock/MockContainerHelper.html#method-i-next_id","()","
Return the next id for mocked models.\n"],["on","FlexMock::ArgumentTypes","FlexMock/ArgumentTypes.html#method-i-on","(&block)","
Return an argument matcher that matches any object, that when passed to the\nsupplied block, will cause …\n"],["once","FlexMock::Expectation","FlexMock/Expectation.html#method-i-once","()","
Declare that the method is expected to be called exactly once with the\ngiven argument list. This may …\n"],["once","FlexMock::RSpecMatchers::HaveReceived","FlexMock/RSpecMatchers/HaveReceived.html#method-i-once","()",""],["optional_proc","FlexMock::ArgumentTypes","FlexMock/ArgumentTypes.html#method-i-optional_proc","()",""],["order_number","FlexMock::CompositeExpectation","FlexMock/CompositeExpectation.html#method-i-order_number","()","
Return the order number of the first expectation in the list.\n"],["ordered","FlexMock::Expectation","FlexMock/Expectation.html#method-i-ordered","(group_name=nil)","
Declare that the given method must be called in order. All ordered method\ncalls must be received in …\n"],["pass_thru","FlexMock::Expectation","FlexMock/Expectation.html#method-i-pass_thru","()",""],["passed?","FlexMock::UseContainer","FlexMock/UseContainer.html#method-i-passed-3F","()",""],["rails_version","FlexMock::MockContainer","FlexMock/MockContainer.html#method-i-rails_version","()",""],["raises","FlexMock::Expectation","FlexMock/Expectation.html#method-i-raises","(exception, *args)",""],["respond_to?","FlexMock","FlexMock.html#method-i-respond_to-3F","(sym, *args)","
Override the built-in respond_to? to include the mocked methods.\n"],["returns","FlexMock::Expectation","FlexMock/Expectation.html#method-i-returns","(*args, &block)",""],["returns_undefined","FlexMock::Expectation","FlexMock/Expectation.html#method-i-returns_undefined","()",""],["should_be_strict","FlexMock::Recorder","FlexMock/Recorder.html#method-i-should_be_strict","(is_strict=true)","
Place the record in strict mode. While recording expectations in strict\nmode, the following will be …\n"],["should_expect","FlexMock","FlexMock.html#method-i-should_expect","()","
Declare that the mock object should expect methods by providing a recorder\nfor the methods and having …\n"],["should_ignore_missing","FlexMock","FlexMock.html#method-i-should_ignore_missing","()","
Ignore all undefined (missing) method calls.\n"],["should_receive","FlexMock","FlexMock.html#method-i-should_receive","(*args)","
Declare that the mock object should receive a message with the given name.\n
If more than one method name …\n"],["should_receive","FlexMock::CompositeExpectation","FlexMock/CompositeExpectation.html#method-i-should_receive","(*args, &block)","
Start a new method expectation. The following constraints will be applied\nto the new expectation.\n"],["should_receive","FlexMock::PartialMockProxy","FlexMock/PartialMockProxy.html#method-i-should_receive","(*args)","
Declare that the partial mock should receive a message with the given name.\n
If more than one method name …\n"],["should_render_view","FlexMock::MockContainer","FlexMock/MockContainer.html#method-i-should_render_view","(template_name=nil)","
Declare that the Rails controller under test should render the named view. \nIf a view template name is …\n"],["strict?","FlexMock::Recorder","FlexMock/Recorder.html#method-i-strict-3F","()","
Is the recorder in strict mode?\n"],["teardown","FlexMock::TestCase","FlexMock/TestCase.html#method-i-teardown","()","
Teardown the test case, verifying any mocks that might have been defined in\nthis test case.\n"],["teardown","Test::Unit::TestCase","Test/Unit/TestCase.html#method-i-teardown","()","
Teardown the test case, verifying any mocks that might have been defined in\nthis test case.\n"],["throws","FlexMock::Expectation","FlexMock/Expectation.html#method-i-throws","(sym, value=nil)",""],["times","FlexMock::Expectation","FlexMock/Expectation.html#method-i-times","(limit)","
Declare that the method is called limit
times with the\ndeclared argument list. This may be modified …\n"],["times","FlexMock::RSpecMatchers::HaveReceived","FlexMock/RSpecMatchers/HaveReceived.html#method-i-times","(n)",""],["to_s","FlexMock::CompositeExpectation","FlexMock/CompositeExpectation.html#method-i-to_s","()","
Return a string representations\n"],["to_s","FlexMock::Expectation","FlexMock/Expectation.html#method-i-to_s","()",""],["to_s","FlexMock::Undefined","FlexMock/Undefined.html#method-i-to_s","()",""],["twice","FlexMock::Expectation","FlexMock/Expectation.html#method-i-twice","()","
Declare that the method is expected to be called exactly twice with the\ngiven argument list. This may …\n"],["twice","FlexMock::RSpecMatchers::HaveReceived","FlexMock/RSpecMatchers/HaveReceived.html#method-i-twice","()",""],["undefined","FlexMock","FlexMock.html#method-c-undefined","()","
Undefined is normally available as FlexMock.undefined\n"],["use","FlexMock","FlexMock.html#method-c-use","(*names)","
Class method to make sure that verify is called at the end of a test. One\nmock object will be created …\n"],["validate","FlexMock::AtLeastCountValidator","FlexMock/AtLeastCountValidator.html#method-i-validate","(n)","
Validate the method expectation was called no more than n
\ntimes.\n"],["validate","FlexMock::AtMostCountValidator","FlexMock/AtMostCountValidator.html#method-i-validate","(n)","
Validate the method expectation was called at least n
times.\n"],["validate","FlexMock::ExactCountValidator","FlexMock/ExactCountValidator.html#method-i-validate","(n)","
Validate that the method expectation was called exactly n
\ntimes.\n"],["verify_call","FlexMock::Expectation","FlexMock/Expectation.html#method-i-verify_call","(*args)","
Verify the current call with the given arguments matches the expectations\nrecorded in this object.\n"],["with","FlexMock::Expectation","FlexMock/Expectation.html#method-i-with","(*args)","
Declare that the method should expect the given argument list.\n"],["with","FlexMock::RSpecMatchers::HaveReceived","FlexMock/RSpecMatchers/HaveReceived.html#method-i-with","(*args)",""],["with_a_block","FlexMock::RSpecMatchers::HaveReceived","FlexMock/RSpecMatchers/HaveReceived.html#method-i-with_a_block","()",""],["with_any_args","FlexMock::Expectation","FlexMock/Expectation.html#method-i-with_any_args","()","
Declare that the method can be called with any number of arguments of any\ntype.\n"],["with_no_args","FlexMock::Expectation","FlexMock/Expectation.html#method-i-with_no_args","()","
Declare that the method should be called with no arguments.\n"],["without_a_block","FlexMock::RSpecMatchers::HaveReceived","FlexMock/RSpecMatchers/HaveReceived.html#method-i-without_a_block","()",""],["yields","FlexMock::Expectation","FlexMock/Expectation.html#method-i-yields","(*yield_values)",""],["zero_or_more_times","FlexMock::Expectation","FlexMock/Expectation.html#method-i-zero_or_more_times","()","
Declare that the method may be called any number of times.\n"],["CHANGES","","CHANGES.html","","
Changes for FlexMock\n
Version 1.0.0\n
Added spy support.\n"],["README","","README_rdoc.html","","
Flex Mock – Making Mocking Easy\n
FlexMock is a simple, but flexible, mock object library for Ruby unit …\n"],["GoogleExample","","doc/GoogleExample_rdoc.html","","
Extended FlexMock Example Using Google4R\n
Google4R is a simple Ruby wrapper around the Google APIs. In …\n"],["rspec_examples_spec","","doc/examples/rspec_examples_spec_rdoc.html","","
FlexMock Examples\n\n
RSpec.configure do |config|\n config.mock_with :flexmock\nend\n\ndescribe "Simple Spec" ...\n\n"],["test_unit_examples_test","","doc/examples/test_unit_examples_test_rdoc.html","","
FlexMock Examples\n\n
require 'flexmock/test_unit'\n\nclass TestSimple < Test::Unit::TestCase\n\n # Simple stubbing ...\n\n"],["flexmock-0.4.0","","doc/releases/flexmock-0_4_0_rdoc.html","","
FlexMock 0.4.0 Released\n
FlexMock is a flexible mocking library for use in Ruby’s Test::Unit test\nframework. …\n"],["flexmock-0.4.1","","doc/releases/flexmock-0_4_1_rdoc.html","","
FlexMock 0.4.1 Released\n
FlexMock is a flexible mocking library for use in Ruby’s Test::Unit test\nframework. …\n"],["flexmock-0.4.2","","doc/releases/flexmock-0_4_2_rdoc.html","","
FlexMock 0.4.2 Released\n
FlexMock is a flexible mocking library for use in Ruby’s Test::Unit test\nframework. …\n"],["flexmock-0.4.3","","doc/releases/flexmock-0_4_3_rdoc.html","","
FlexMock 0.4.3 Released\n
FlexMock is a flexible mocking library for use in Ruby’s Test::Unit test\nframework. …\n"],["flexmock-0.5.0","","doc/releases/flexmock-0_5_0_rdoc.html","","
FlexMock 0.5.0 Released\n
FlexMock is a flexible mocking library for use in Ruby’s Test::Unit test\nframework. …\n"],["flexmock-0.5.1","","doc/releases/flexmock-0_5_1_rdoc.html","","
FlexMock 0.5.0 Released\n
FlexMock is a flexible mocking library for use in Ruby’s Test::Unit test\nframework. …\n"],["flexmock-0.6.0","","doc/releases/flexmock-0_6_0_rdoc.html","","
FlexMock 0.6.0 Released\n
FlexMock is a flexible mocking library for use in unit testing and behavior\nspecification …\n"],["flexmock-0.6.1","","doc/releases/flexmock-0_6_1_rdoc.html","","
FlexMock 0.6.1 Released\n
FlexMock is a flexible mocking library for use in unit testing and behavior\nspecification …\n"],["flexmock-0.6.2","","doc/releases/flexmock-0_6_2_rdoc.html","","
FlexMock 0.6.2 Released\n
FlexMock is a flexible mocking library for use in unit testing and behavior\nspecification …\n"],["flexmock-0.6.3","","doc/releases/flexmock-0_6_3_rdoc.html","","
FlexMock 0.6.3 Released\n
FlexMock is a flexible mocking library for use in unit testing and behavior\nspecification …\n"],["flexmock-0.6.4","","doc/releases/flexmock-0_6_4_rdoc.html","","
FlexMock 0.6.4 Released\n
FlexMock is a flexible mocking library for use in unit testing and behavior\nspecification …\n"],["flexmock-0.7.0","","doc/releases/flexmock-0_7_0_rdoc.html","","
FlexMock 0.7.0 Released\n
FlexMock is a flexible mocking library for use in unit testing and behavior\nspecification …\n"],["flexmock-0.7.1","","doc/releases/flexmock-0_7_1_rdoc.html","","
FlexMock 0.7.1 Released\n
FlexMock is a flexible mocking library for use in unit testing and behavior\nspecification …\n"],["flexmock-0.8.0","","doc/releases/flexmock-0_8_0_rdoc.html","","
FlexMock 0.8.0 Released\n
FlexMock is a flexible mocking library for use in unit testing and behavior\nspecification …\n"],["flexmock-0.8.2","","doc/releases/flexmock-0_8_2_rdoc.html","","
FlexMock 0.8.2 Released\n
FlexMock is a flexible mocking library for use in unit testing and behavior\nspecification …\n"],["flexmock-0.8.3","","doc/releases/flexmock-0_8_3_rdoc.html","","
FlexMock 0.8.3 Released\n
FlexMock is a flexible mocking library for use in unit testing and behavior\nspecification …\n"],["flexmock-0.8.4","","doc/releases/flexmock-0_8_4_rdoc.html","","
FlexMock 0.8.4 Released\n
FlexMock is a flexible mocking library for use in unit testing and behavior\nspecification …\n"],["flexmock-0.8.5","","doc/releases/flexmock-0_8_5_rdoc.html","","
FlexMock 0.8.5 Released\n
FlexMock is a flexible mocking library for use in unit testing and behavior\nspecification …\n"],["flexmock-0.9.0","","doc/releases/flexmock-0_9_0_rdoc.html","","
FlexMock 0.9.0 Released\n
FlexMock is a flexible mocking library for use in unit testing and behavior\nspecification …\n"],["flexmock-1.0.0","","doc/releases/flexmock-1_0_0_rdoc.html","","
FlexMock 1.0.0 Released\n
FlexMock is a flexible mocking library for use in unit testing and behavior\nspecification …\n"]]}search_data.index1,0 html/js/searcher.js,1669 Searcher = function(data) {Searcher1,0 var MAX_RESULTS = 100;MAX_RESULTS10,253 var huid = 1;huid11,278 var suid = 1;suid12,294 var runs = 0;runs13,310 var state = { from: 0, pass: 0, limit: MAX_RESULTS, n: suid++};find.state.from19,486 var state = { from: 0, pass: 0, limit: MAX_RESULTS, n: suid++};find.state.pass19,486 var state = { from: 0, pass: 0, limit: MAX_RESULTS, n: suid++};find.state.limit19,486 var state = { from: 0, pass: 0, limit: MAX_RESULTS, n: suid++};find.state.n19,486 var run = function() {run26,635 this.find = function(query) {find15,327 this.ready = function(fn) {ready47,1140 function splitQuery(query) {splitQuery53,1256 function buildRegexps(queries) {buildRegexps59,1406 function buildHilighters(queries) {buildHilighters65,1574 function matchPassBeginning(index, longIndex, queries, regexps) {matchPassBeginning87,2209 function matchPassLongIndex(index, longIndex, queries, regexps) {matchPassLongIndex100,2628 function matchPassContains(index, longIndex, queries, regexps) {matchPassContains113,3013 function matchPassRegexp(index, longIndex, queries, regexps) {matchPassRegexp126,3421 function highlightRegexp(info, queries, regexps, highlighters) {highlightRegexp137,3742 function hltSubstring(string, pos, length) {hltSubstring146,4081 function highlightQuery(info, queries, regexps, highlighters) {highlightQuery150,4263 function createResult(info) {createResult168,4883 function performSearch(data, regexps, queries, highlighters, state) {performSearch179,5139 function triggerResults(results, isLast) {triggerResults222,6458 html/Module.html,0 html/Object.html,0 html/README_rdoc.html,0 html/Symbol.html,0 html/table_of_contents.html,0 html/Test/Unit/TestCase.html,0 html/Test/Unit.html,0 /usr/local/bin/exuberant_ctags,0 install.rb,29 def indir(newdir)indir7,68 ,880 class FlexMockFlexMock14,320 class AnyMatcherAnyMatcher17,427 def ===(target)===18,446 def inspectinspect21,485 class EqualMatcherEqualMatcher28,637 def initialize(obj)initialize29,658 def ===(target)===32,707 def inspectinspect35,756 class ProcMatcherProcMatcher44,967 def initialize(&block)initialize45,987 def ===(target)===48,1043 def inspectinspect51,1097 class HashMatcherHashMatcher58,1269 def initialize(hash)initialize59,1289 def ===(target)===62,1341 def inspectinspect65,1412 class DuckMatcherDuckMatcher72,1607 def initialize(methods)initialize73,1627 def ===(target)===76,1688 def inspectinspect79,1766 class OptionalProcMatcherOptionalProcMatcher86,1990 def initializeinitialize87,2018 def ===(target)===89,2045 def inspectinspect92,2132 lib/flexmock/argument_matching.rb,224 class FlexMockFlexMock1,0 module ArgumentMatchingArgumentMatching2,15 def all_match?(expected_args, actual_args)all_match?7,92 def match?(expected, actual)match?23,595 def missing?(arg)missing?29,752 /var/folders/b9/zwv8g_296jq17rcjpjw_94jc0000gn/T//tags.WFw6Ar,272 class FlexMockFlexMock14,332 module ArgumentTypesArgumentTypes21,625 def anyany23,708 def eq(obj)eq29,835 def on(&block)on36,1035 def hsh(hash)hsh42,1176 def ducktype(*methods)ducktype48,1353 def optional_procoptional_proc52,1420 lib/flexmock/base.rb,0 éü,87 class ClassClass10,415 def flexmock_defined?(method_name)flexmock_defined?13,491 éü,30 class FlexMockFlexMock8,133 lib/flexmock/core.rb,1161 class FlexMockFlexMock49,1379 def initialize(name="unknown", container=nil)initialize58,1649 def inspectinspect70,1981 def flexmock_verifyflexmock_verify76,2141 def flexmock_teardownflexmock_teardown87,2382 def should_ignore_missingshould_ignore_missing91,2462 def by_defaultby_default97,2583 def method_missing(sym, *args, &block)method_missing103,2712 def respond_to?(sym, *args)respond_to?123,3331 def flexmock_find_expectation(method_name, *args) # :nodoc:flexmock_find_expectation128,3487 def flexmock_expectations_for(method_name) # :nodoc:flexmock_expectations_for134,3692 def flexmock_based_on(base_class)flexmock_based_on138,3785 def flexmock_received?(sym, args, options={})flexmock_received?144,3960 def flexmock_callsflexmock_calls159,4364 def flexmock_invoke_original(sym, args)flexmock_invoke_original165,4479 def method(sym)method170,4624 def should_receive(*args)should_receive199,5663 def should_expectshould_expect223,6507 def flexmock_wrap(&block)flexmock_wrap231,6697 def override_existing_method(sym)override_existing_method245,7252 def sclasssclass254,7472 ,289 class FlexMockFlexMock15,353 def use(*names)use39,1294 def format_args(sym, args) # :nodoc:format_args53,1691 def check(msg, &block) # :nodoc:check63,1992 class UseContainerUseContainer70,2165 def initializeinitialize75,2247 def passed?passed?79,2304 lib/flexmock/default_framework_adapter.rb,345 class FlexMockFlexMock14,319 class DefaultFrameworkAdapterDefaultFrameworkAdapter15,334 def assert_block(msg, &block)assert_block16,366 def assert_equal(a, b, msg=nil)assert_equal22,479 class AssertionFailedError < StandardError; endAssertionFailedError26,579 def assertion_failed_errorassertion_failed_error27,631 lib/flexmock/deprecated_methods.rb,340 class ModuleModule13,296 def flexmock_deprecate(*method_names)flexmock_deprecate14,309 class FlexMockFlexMock33,809 def mock_handle(sym, expected_count=nil, &block) # :nodoc:mock_handle40,1107 class PartialMockProxyPartialMockProxy47,1397 def any_instance(&block)any_instance53,1554 module OrderingOrdering59,1702 ,137 class FlexMockFlexMock14,320 class UsageError < ::RuntimeErrorUsageError17,388 class MockError < ::RuntimeErrorMockError20,431 lib/flexmock/expectation.rb,2083 class FlexMockFlexMock15,356 class ExpectationExpectation29,889 def initialize(mock, sym)initialize35,1035 def to_sto_s50,1397 def verify_call(*args)verify_call56,1579 def _return_value(args) # :nodoc:_return_value65,1799 def return_value(args)return_value70,1939 def perform_yielding(args)perform_yielding84,2267 def eligible?eligible?100,2852 def call_count_constrained?call_count_constrained?105,3001 def validate_ordervalidate_order110,3105 def flexmock_verifyflexmock_verify122,3480 def match_args(args)match_args130,3677 def with(*args)with135,3836 def with_no_argswith_no_args141,3970 def with_any_argswith_any_args147,4103 def and_return(*args, &block)and_return178,5112 def and_return_undefinedand_return_undefined202,5829 def and_yield(*yield_values)and_yield218,6398 def and_raise(exception, *args)and_raise242,7151 def and_throw(sym, value=nil)and_throw256,7516 def pass_thrupass_thru261,7626 def zero_or_more_timeszero_or_more_times268,7804 def times(limit)times275,8027 def nevernever284,8374 def onceonce291,8589 def twicetwice298,8804 def at_leastat_least310,9130 def at_mostat_most323,9509 def ordered(group_name=nil)ordered352,10778 def globallyglobally364,11158 def define_ordered(group_name, ordering)define_ordered370,11273 def explicitlyexplicitly386,11854 def by_defaultby_default390,11893 class CompositeExpectationCompositeExpectation401,12300 def initializeinitialize404,12374 def add(expectation)add409,12470 def method_missing(sym, *args, &block)method_missing414,12611 def order_numberorder_number425,12986 def mockmock430,13096 def should_receive(*args, &block)should_receive436,13260 def to_sto_s441,13406 class ExpectationRecorderExpectationRecorder455,13864 def initializeinitialize458,13924 def method_missing(sym, *args, &block)method_missing463,14035 def apply(mock)apply471,14307 ,483 class FlexMockFlexMock15,345 class ExpectationDirectorExpectationDirector20,556 def initialize(sym)initialize23,640 def call(*args)call38,1188 def <<(expectation)<<46,1441 def find_expectation(*args) # :nodoc:find_expectation51,1565 def flexmock_verify # :nodoc:flexmock_verify62,1939 def defaultify_expectation(exp) # :nodoc:defaultify_expectation69,2150 def find_expectation_in(expectations, *args)find_expectation_in81,2431 ,285 class FlexMockFlexMock2,1 class ExplicitNeededExplicitNeeded11,389 def initialize(expectation, method_name, base_class)initialize12,412 def explicitlyexplicitly19,599 def explicit?explicit?24,661 def method_missing(sym, *args, &block)method_missing28,704 lib/flexmock/mock_container.rb,1013 class FlexMockFlexMock16,381 module MockContainerMockContainer26,782 def flexmock_teardownflexmock_teardown31,966 def flexmock_verifyflexmock_verify38,1146 def flexmock_created_mocksflexmock_created_mocks45,1302 def flexmock_closeflexmock_close51,1522 def flexmock(*args)flexmock119,4730 def flexmock_remember(mocking_object)flexmock_remember172,6289 def flexmock_test_has_failed?flexmock_test_has_failed?185,6760 class MockContainerHelperMockContainerHelper198,7272 def next_idnext_id202,7381 def parse_should_args(mock, args, &block) # :nodoc:parse_should_args215,7854 def add_model_methods(mock, model_class, id)add_model_methods233,8367 def make_partial_proxy(container, obj, name, safe_mode)make_partial_proxy262,9585 def build_demeter_chain(mock, arg, &block)build_demeter_chain308,11571 def check_proper_mock(mock, method_name)check_proper_mock333,12418 def check_method_names(names)check_method_names343,12827 lib/flexmock/noop.rb,0 ,104 class ObjectObject1,0 def flexmock_singleton_defined?(method_name)flexmock_singleton_defined?2,13 /var/folders/b9/zwv8g_296jq17rcjpjw_94jc0000gn/T//tags.ofytMk,399 class FlexMockFlexMock12,294 module OrderingOrdering20,666 def flexmock_allocate_orderflexmock_allocate_order23,733 def flexmock_groupsflexmock_groups29,896 def flexmock_current_orderflexmock_current_order34,1004 def flexmock_current_order=(value)flexmock_current_order=39,1127 def flexmock_validate_order(method_name, order_number)flexmock_validate_order43,1213 lib/flexmock/partial_mock.rb,1723 class FlexMockFlexMock14,319 class PartialMockProxyPartialMockProxy26,949 def initialize(obj, mock, safe_mode)initialize41,1331 def flexmock_getflexmock_get57,1731 def should_receive(*args)should_receive81,2671 def add_mock_method(method_name)add_mock_method92,2949 def new_instances(*allocators, &block)new_instances124,4165 def invoke_original(method, args)invoke_original146,5013 def flexmock_invoke_original(method, args)flexmock_invoke_original152,5167 def flexmock_verifyflexmock_verify158,5399 def flexmock_teardownflexmock_teardown163,5535 def flexmock_containerflexmock_container175,5873 def flexmock_received?(*args)flexmock_received?180,5966 def flexmock_callsflexmock_calls185,6073 def flexmock_container=(container)flexmock_container=191,6260 def flexmock_expectations_for(method_name)flexmock_expectations_for195,6376 def check_allocate_method(allocate_method)check_allocate_method201,6496 def sclasssclass208,6759 def singleton?(method_name)singleton?212,6814 def hide_existing_method(method_name)hide_existing_method222,7275 def stow_existing_definition(method_name)stow_existing_definition229,7492 def create_alias_for_existing_method(method_name)create_alias_for_existing_method249,8209 def safe_alias_method(new_alias, method_name)safe_alias_method261,8651 def define_proxy_method(method_name)define_proxy_method274,9012 def restore_original_definition(method_name)restore_original_definition295,9770 def remove_current_method(method_name)remove_current_method312,10241 def detached?detached?317,10402 def new_name(old_name)new_name322,10510 pjw_94jc0000gn/T//tags.Ceysqf,665 class FlexMockFlexMock3,20 module MockContainerMockContainer4,35 def rails_versionrails_version6,59 def should_render_view(template_name=nil)should_render_view25,684 def should_render_view_prior_version_124(template_name) # :nodoc:should_render_view_prior_version_12443,1310 def should_render_view_after_version_124(template_name)should_render_view_after_version_12464,2093 def should_render_view_after_version_202(template_name)should_render_view_after_version_20288,3015 def should_render_view_22x(template_name)should_render_view_22x109,3813 def should_render_view_23x(template_name)should_render_view_23x129,4575 lib/flexmock/rails/view_mocking.rb,0 lib/flexmock/recorder.rb,271 class FlexMockFlexMock14,329 class RecorderRecorder20,505 def initialize(mock)initialize24,611 def should_be_strict(is_strict=true)should_be_strict48,1543 def strict?strict?53,1657 def method_missing(sym, *args, &block)method_missing59,1787 lib/flexmock/rspec.rb,341 class FlexMockFlexMock16,321 class RSpecFrameworkAdapterRSpecFrameworkAdapter23,418 def assert_block(msg, &block)assert_block24,448 def assert_equal(a, b, msg=nil)assert_equal28,550 class AssertionFailedError < StandardError; endAssertionFailedError33,713 def assertion_failed_errorassertion_failed_error34,765 ,657 class FlexMockFlexMock3,35 module RSpecMatchersRSpecMatchers4,50 class HaveReceivedHaveReceived6,74 def initialize(method_name)initialize9,126 def matches?(spy)matches?17,295 def failure_message_for_shouldfailure_message_for_should25,548 def failure_message_for_should_notfailure_message_for_should_not29,666 def with(*args)with33,797 def with_a_blockwith_a_block38,864 def without_a_blockwithout_a_block43,939 def times(n)times48,1018 def nevernever53,1080 def onceonce57,1124 def twicetwice61,1167 def have_received(method_name)have_received66,1219 éü,542 class FlexMockFlexMock1,0 module SpyDescribersSpyDescribers3,16 def describe_spy_expectation(spy, sym, args, options={})describe_spy_expectation4,41 def describe_spy_negative_expectation(spy, sym, args, options={})describe_spy_negative_expectation8,157 def describe(spy, sym, args, options, not_clause="")describe14,305 def times_description(times)times_description29,893 def block_description(needs_block)block_description44,1142 def call_description(sym, args)call_description55,1349 ,120 class SymbolSymbol1,0 def flexmock_as_nameflexmock_as_name5,58 def flexmock_as_nameflexmock_as_name10,117 ,120 module TestTest14,336 module UnitUnit15,348 class TestCaseTestCase16,362 def teardownteardown25,677 +éü,328 class FlexMockFlexMock3,35 module TestUnitAssertionsTestUnitAssertions4,50 def assert_spy_called(spy, method_name, *args)assert_spy_called7,115 def assert_spy_not_called(spy, method_name, *args)assert_spy_not_called11,232 def _assert_spy_called(negative, spy, method_name, *args)_assert_spy_called17,365 lib/flexmock/test_unit_integration.rb,227 class FlexMockFlexMock16,386 module TestCaseTestCase30,943 def teardownteardown37,1149 class TestUnitFrameworkAdapterTestUnitFrameworkAdapter47,1356 def assertion_failed_errorassertion_failed_error49,1424 ‹éü,318 class FlexMockFlexMock12,294 class UndefinedUndefined17,465 def method_missing(sym, *args, &block)method_missing18,483 def to_sto_s22,546 def inspectinspect26,588 def cloneclone30,624 def <=>(other)<=>34,658 def coerce(other)coerce38,697 def self.undefinedundefined47,902 lib/flexmock/validators.rb,545 class FlexMockFlexMock14,319 class CountValidatorCountValidator19,455 def initialize(expectation, limit)initialize20,478 def eligible?(n)eligible?28,734 class ExactCountValidator < CountValidatorExactCountValidator36,899 def validate(n)validate39,1023 class AtLeastCountValidator < CountValidatorAtLeastCountValidator48,1314 def validate(n)validate51,1440 def eligible?(n)eligible?61,1857 class AtMostCountValidator < CountValidatorAtMostCountValidator69,2040 def validate(n)validate71,2155 lib/flexmock/version.rb,58 class FlexMockFlexMock1,0 module VersionVersion2,15 lib/flexmock/version.rb,0 ,0 norspec/rs/autotest/rspec2.rb,429 class Autotest::Rspec2 < AutotestAutotest8,219 def initializeinitialize12,325 def setup_rspec_project_mappingssetup_rspec_project_mappings24,786 def consolidate_failures(failed)consolidate_failures37,1156 def make_test_cmd(files_to_test)make_test_cmd48,1439 def normalize(files_to_test)normalize54,1705 def suffixsuffix62,1872 def using_bundler?using_bundler?66,1954 def gemfile?gemfile?70,2010 norspec/rs/rspec/autorun.rb,0 ,299 module RSpecRSpec1,0 module CoreCore2,13 module ConstMissingConstMissing4,42 def const_missing(name)const_missing7,166 module RunnerRunner34,860 def self.configure(&block)configure36,923 module RakeRake43,1079 def self.const_missing(name)const_missing46,1204 norspec/rs/rspec/core/command_line.rb,223 module RSpecRSpec1,0 module CoreCore2,13 class CommandLineCommandLine3,27 def initialize(options, configuration=RSpec::configuration, world=RSpec::world)initialize4,49 def run(err, out)run18,468 norspec/rs/rspec/core/configuration.rb,4175 module RSpecRSpec3,21 module CoreCore4,34 class ConfigurationConfiguration23,587 class MustBeConfiguredBeforeExampleGroupsError < StandardError; endMustBeConfiguredBeforeExampleGroupsError26,645 def self.define_reader(name)define_reader29,737 def self.deprecate_alias_keydeprecate_alias_key38,946 def self.define_aliases(name, alias_name)define_aliases46,1184 def self.define_predicate_for(*names)define_predicate_for53,1388 def self.add_setting(name, opts={})add_setting61,1665 def initializeinitialize179,6003 def force(hash)force198,6585 def resetreset208,6866 def add_setting(name, opts={})add_setting248,8306 def cleaned_from_backtrace?(line)cleaned_from_backtrace?258,8688 def mock_frameworkmock_framework266,9058 def mock_framework=(framework)mock_framework=272,9214 def mock_with(framework)mock_with305,10474 def expectation_frameworksexpectation_frameworks342,11795 def expectation_framework=(framework)expectation_framework=348,11976 def expect_with(*frameworks)expect_with374,12874 def full_backtrace=(true_or_false)full_backtrace=404,13966 def colorcolor408,14102 def color=(bool)color=413,14206 def libs=(libs)libs=429,14737 def requires=(paths)requires=433,14818 def debug=(bool)debug=437,14896 def line_numbers=(line_numbers)line_numbers=459,15382 def full_description=(description)full_description=463,15496 def add_formatter(formatter_to_use, path=nil)add_formatter478,16170 def formattersformatters489,16604 def reporterreporter493,16663 def files_or_directories_to_run=(*files)files_or_directories_to_run=501,16885 def alias_example_to(new_name, *args)alias_example_to528,17751 def alias_it_behaves_like_to(new_name, report_label = '')alias_it_behaves_like_to554,18633 def filter_run_including(*args)filter_run_including591,20368 def inclusion_filter=(filter)inclusion_filter=604,20818 def inclusion_filterinclusion_filter612,21074 def filter_run_excluding(*args)filter_run_excluding649,22691 def exclusion_filter=(filter)exclusion_filter=660,23086 def exclusion_filterexclusion_filter666,23293 def include(mod, *filters)include702,24388 def extend(mod, *filters)extend735,25402 def configure_group(group)configure_group743,25653 def safe_include(mod, host)safe_include751,25924 def safe_extend(mod, host)safe_extend757,26070 def safe_extend(mod, host)safe_extend761,26195 def configure_mock_frameworkconfigure_mock_framework767,26362 def configure_expectation_frameworkconfigure_expectation_framework772,26490 def load_spec_filesload_spec_files779,26685 def seed=(seed)seed=787,26892 def order=(type)order=794,27062 def randomize?randomize?798,27136 def get_files_to_run(paths)get_files_to_run804,27214 def gather_directories(path, patterns)gather_directories812,27527 def extract_location(path)extract_location818,27718 def commandcommand826,27943 def value_for(key, default=nil)value_for830,28011 def assert_no_example_groups_defined(config_option)assert_no_example_groups_defined834,28137 def raise_if_rspec_1_is_loadedraise_if_rspec_1_is_loaded843,28508 def output_to_tty?output_to_tty?859,28948 def built_in_formatter(key)built_in_formatter867,29092 def custom_formatter(formatter_ref)custom_formatter884,29782 def string_const?(str)string_const?897,30114 def path_for(const_ref)path_for901,30216 def underscore_with_fix_for_non_standard_rspec_naming(string)underscore_with_fix_for_non_standard_rspec_naming905,30326 def underscore(camel_cased_word)underscore910,30544 def file_at(path)file_at920,30826 def order_and_seed_from_seed(value)order_and_seed_from_seed925,30935 def set_order_and_seed(hash)set_order_and_seed929,31031 def order_and_seed_from_order(type)order_and_seed_from_order934,31181 norspec/rs/rspec/core/configuration_options.rb,1180 module RSpecRSpec4,36 module CoreCore5,49 class ConfigurationOptionsConfigurationOptions7,78 def initialize(args)initialize10,137 def configure(config)configure14,196 def parse_optionsparse_options26,604 def drb_argvdrb_argv34,871 def filter_managerfilter_manager38,957 def force?(key)force?51,1309 def order(keys, *ordered)order55,1384 def extract_filters_from(*configs)extract_filters_from62,1538 def all_configsall_configs69,1851 def file_optionsfile_options73,1961 def env_optionsenv_options77,2076 def command_line_optionscommand_line_options81,2191 def custom_optionscustom_options85,2332 def local_optionslocal_options89,2410 def global_optionsglobal_options93,2505 def options_from(path)options_from97,2603 def args_from_options_file(path)args_from_options_file101,2694 def options_file_as_erb_string(path)options_file_as_erb_string107,2918 def custom_options_filecustom_options_file111,3021 def local_options_filelocal_options_file115,3113 def global_options_fileglobal_options_file119,3170 norspec/rs/rspec/core/deprecation.rb,158 module RSpecRSpec1,0 def deprecate(method, alternate_method=nil, version=nil)deprecate6,102 def warn_deprecation(message)warn_deprecation32,814 norspec/rs/rspec/core/drb_command_line.rb,210 module RSpecRSpec4,52 module CoreCore5,65 class DRbCommandLineDRbCommandLine6,79 def initialize(options)initialize7,104 def drb_portdrb_port11,172 def run(err, out)run15,266 norspec/rs/rspec/core/drb_options.rb,550 module RSpec::CoreRSpec3,71 class DrbOptionsDrbOptions5,103 def initialize(submitted_options, filter_manager)initialize6,122 def optionsoptions11,269 def add_failure_exit_code(argv)add_failure_exit_code33,1220 def add_full_description(argv)add_full_description39,1408 def add_line_numbers(argv)add_line_numbers51,1928 def add_filter(argv, name, hash)add_filter59,2161 def add_formatters(argv)add_formatters68,2440 def add_libs(argv)add_libs75,2660 def add_requires(argv)add_requires81,2807 éü,135 module RSpecRSpec1,0 module CoreCore2,13 module DSLDSL4,88 def describe(*args, &example_group_block)describe17,404 ,1833 module RSpecRSpec1,0 module CoreCore2,13 class ExampleExample36,1049 def self.delegate_to_metadata(*keys)delegate_to_metadata40,1164 def descriptiondescription51,1703 def initialize(example_group_class, description, metadata, example_block=nil)initialize78,2697 def optionsoptions86,3106 def example_groupexample_group92,3252 def run(example_group_instance, reporter)run102,3573 def self.procsy(metadata, &proc)procsy145,4896 module ProcsyProcsy166,5669 def self.extended(proc)extended175,6000 def proc.run; call; endrun178,6076 def with(metadata)with182,6146 def any_apply?(filters)any_apply?189,6259 def all_apply?(filters)all_apply?194,6354 def around_each_hooksaround_each_hooks199,6494 def set_exception(exception, context=nil)set_exception207,6752 def fail_with_exception(reporter, exception)fail_with_exception228,7427 def instance_eval(&block)instance_eval235,7588 def instance_eval_with_rescue(context = nil, &block)instance_eval_with_rescue240,7702 def instance_eval_with_args(*args, &block)instance_eval_with_args245,7864 def with_around_each_hooks(&block)with_around_each_hooks251,8008 def start(reporter)start261,8311 module NotPendingExampleFixedNotPendingExampleFixed267,8443 def pending_fixed?; false; endpending_fixed?268,8479 def finish(reporter)finish271,8529 def record_finished(status, results={})record_finished292,9292 def run_before_eachrun_before_each297,9517 def run_after_eachrun_after_each302,9665 def verify_mocksverify_mocks311,9928 def assign_generated_descriptionassign_generated_description317,10083 def record(results={})record325,10389 norspec/rs/rspec/core/example_group.rb,3088 module RSpecRSpec1,0 module CoreCore2,13 class ExampleGroupExampleGroup15,497 def self.worldworld27,830 def self.registerregister32,899 def self.delegate_to_metadata(*names)delegate_to_metadata38,1002 def self.define_example_method(name, extra_options={})define_example_method56,1574 def alias_example_to name, extra={}alias_example_to101,3912 def self.define_nested_shared_group_method(new_name, report_label=nil)define_nested_shared_group_method109,4165 def alias_it_behaves_like_to name, *args, &blockalias_it_behaves_like_to135,5510 def self.include_context(name, *args, &block)include_context145,5964 def self.include_examples(name, *args, &block)include_examples154,6371 def self.find_and_eval_shared(label, name, *args, &customization_block)find_and_eval_shared159,6514 def self.examplesexamples168,6880 def self.filtered_examplesfiltered_examples173,6957 def self.descendant_filtered_examplesdescendant_filtered_examples178,7056 def self.metadatametadata184,7325 def self.superclass_metadatasuperclass_metadata190,7496 def self.describe(*args, &example_group_block)describe215,8381 def self.subclass(parent, args, &example_group_block)subclass235,8961 def self.childrenchildren243,9211 def self.descendantsdescendants248,9316 def self.ancestorsancestors253,9459 def self.top_level?top_level258,9587 def self.ensure_example_groups_are_configuredensure_example_groups_are_configured263,9691 def self.set_it_up(*args)set_it_up272,9998 def self.before_all_ivarsbefore_all_ivars291,10960 def self.store_before_all_ivars(example_group_instance)store_before_all_ivars296,11053 def self.assign_before_all_ivars(ivars, example_group_instance)assign_before_all_ivars304,11370 def self.run_before_all_hooks(example_group_instance)run_before_all_hooks309,11559 def self.run_around_each_hooks(example, initial_procsy)run_around_each_hooks317,11897 def self.run_before_each_hooks(example)run_before_each_hooks322,12045 def self.run_after_each_hooks(example)run_after_each_hooks327,12161 def self.run_after_all_hooks(example_group_instance)run_after_all_hooks332,12275 def self.run(reporter)run351,12850 def self.run_examples(reporter)run_examples373,13553 def self.fail_filtered_examples(exception, reporter)fail_filtered_examples385,13937 def self.fail_fast?fail_fast397,14335 def self.any_apply?(filters)any_apply402,14428 def self.all_apply?(filters)all_apply407,14528 def self.declaration_line_numbersdeclaration_line_numbers412,14628 def self.top_level_descriptiontop_level_description419,14906 def self.set_ivars(instance, ivars)set_ivars424,15006 def running_examplerunning_example434,15324 def described_classdescribed_class449,15747 def instance_eval_with_rescue(context = nil, &hook)instance_eval_with_rescue456,15925 ,227 module RSpecRSpec1,0 module CoreCore2,13 module ExtensionsExtensions3,27 module InstanceEvalWithArgsInstanceEvalWithArgs5,66 def instance_eval_with_args(*args, &block)instance_eval_with_args15,534 ,64 module KernelKernel1,0 def debugger(*args)debugger5,176 ‹éü,219 module RSpecRSpec1,0 module CoreCore2,13 module ExtensionsExtensions3,27 module ModuleEvalWithArgsModuleEvalWithArgs5,66 def module_eval_with_args(*args, &block)module_eval_with_args11,231 /var/folders/b9/zwv8g_296jq17rcjpjw_94jc0000gn/T//tags.fB6IWD,155 module RSpecRSpec1,0 module CoreCore2,13 module ExtensionsExtensions4,42 module OrderedOrdered8,192 def orderedordered10,232 norspec/rs/rspec/core/extensions.rb,0 norspec/rs/rspec/core/filter_manager.rb,1630 module RSpecRSpec1,0 module CoreCore2,13 class FilterManagerFilterManager68,2281 module DescribableDescribable76,2508 def descriptiondescription80,2619 def empty_without_conditional_filters?empty_without_conditional_filters?84,2817 module BackwardCompatibilityBackwardCompatibility89,2977 def merge(orig, opposite, *updates)merge90,3012 def reverse_merge(orig, opposite, *updates)reverse_merge95,3131 def _warn_deprecated_keys(updates)_warn_deprecated_keys102,3359 def _warn_deprecated_key(key, updates)_warn_deprecated_key109,3666 def initializeinitialize117,4023 def add_location(file_path, line_numbers)add_location123,4203 def empty?empty?133,4642 def prune(examples)prune137,4745 def exclude(*args)exclude141,4840 def exclude!(*args)exclude!145,4923 def exclude_with_low_priority(*args)exclude_with_low_priority149,5009 def exclude?(example)exclude?153,5118 def include(*args)include157,5226 def include!(*args)include!161,5338 def include_with_low_priority(*args)include_with_low_priority165,5453 def include?(example)include?169,5591 def unless_standalone(*args)unless_standalone175,5713 def merge(orig, opposite, *updates)merge179,5879 def replace(orig, opposite, *updates)replace183,6000 def reverse_merge(orig, opposite, *updates)reverse_merge188,6145 def already_set_standalone_filter?already_set_standalone_filter?194,6351 def is_standalone_filter?(filter)is_standalone_filter?198,6445 +éü,1625 module RSpecRSpec4,60 module CoreCore5,73 module FormattersFormatters6,87 class BaseFormatterBaseFormatter8,110 def initialize(output)initialize15,371 def start(example_count)start30,986 def example_group_started(example_group)example_group_started40,1372 def example_group_finished(example_group)example_group_finished46,1607 def example_started(example)example_started49,1670 def example_passed(example)example_passed53,1750 def example_pending(example)example_pending56,1799 def example_failed(example)example_failed60,1888 def message(message)message64,1975 def stopstop67,2017 def start_dumpstart_dump72,2225 def dump_failuresdump_failures76,2326 def dump_summary(duration, example_count, failure_count, pending_count)dump_summary80,2442 def dump_pendingdump_pending88,2762 def seed(number)seed91,2800 def closeclose95,2949 def format_backtrace(backtrace, example)format_backtrace99,3010 def configurationconfiguration113,3485 def backtrace_line(line)backtrace_line117,3554 def read_failed_line(exception, example)read_failed_line122,3721 def find_failed_line(backtrace, path)find_failed_line136,4224 def start_sync_outputstart_sync_output144,4480 def restore_sync_outputrestore_sync_output148,4600 def output_supports_syncoutput_supports_sync152,4723 def profile_examples?profile_examples?156,4806 def color_enabled?color_enabled?160,4890 norspec/rs/rspec/core/formatters/base_text_formatter.rb,1814 module RSpecRSpec3,48 module CoreCore4,61 module FormattersFormatters5,75 class BaseTextFormatter < BaseFormatterBaseTextFormatter7,98 def message(message)message9,145 def dump_failuresdump_failures13,217 def colorise_summary(summary)colorise_summary24,595 def dump_summary(duration, example_count, failure_count, pending_count)dump_summary34,820 def dump_commands_to_rerun_failed_examplesdump_commands_to_rerun_failed_examples43,1359 def dump_profiledump_profile54,1753 def summary_line(example_count, failure_count, pending_count)summary_line72,2572 def dump_pendingdump_pending79,2865 def seed(number)seed96,3592 def closeclose102,3729 def color(text, color_code)color108,3838 def bold(text)bold112,3949 def red(text)red116,4016 def green(text)green120,4083 def yellow(text)yellow124,4152 def blue(text)blue128,4222 def magenta(text)magenta132,4290 def cyan(text)cyan136,4361 def white(text)white140,4429 def short_paddingshort_padding144,4498 def long_paddinglong_padding148,4552 def format_caller(caller_info)format_caller154,4623 def dump_backtrace(example)dump_backtrace158,4744 def dump_pending_fixed(example, index)dump_pending_fixed164,4983 def pending_fixed?(example)pending_fixed?169,5283 def dump_failure(example, index)dump_failure173,5394 def dump_failure_info(example)dump_failure_info178,5568 def dump_shared_failure_info(group)dump_shared_failure_info188,6154 def find_shared_group(example)find_shared_group193,6404 def group_and_ancestors(example)group_and_ancestors197,6545 norspec/rs/rspec/core/formatters/documentation_formatter.rb,925 module RSpecRSpec3,53 module CoreCore4,66 module FormattersFormatters5,80 class DocumentationFormatter < BaseTextFormatterDocumentationFormatter6,102 def initialize(output)initialize7,157 def example_group_started(example_group)example_group_started12,252 def example_group_finished(example_group)example_group_finished21,499 def example_passed(example)example_passed25,590 def example_pending(example)example_pending30,709 def example_failed(example)example_failed35,874 def failure_output(example, exception)failure_output40,1032 def next_failure_indexnext_failure_index44,1193 def passed_output(example)passed_output49,1308 def pending_output(example, message)pending_output53,1426 def current_indentationcurrent_indentation57,1577 def example_group_chainexample_group_chain61,1652 /var/folders/b9/zwv8g_296jq17rcjpjw_94jc0000gn/T//tags.sYIN3r,360 module RSpecRSpec1,0 module CoreCore2,13 module FormattersFormatters3,27 module HelpersHelpers5,50 def format_duration(duration)format_duration9,135 def format_seconds(float)format_seconds20,461 def strip_trailing_zeroes(string)strip_trailing_zeroes26,686 def pluralize(count, string)pluralize31,832 ,1447 module RSpecRSpec4,67 module CoreCore5,80 module FormattersFormatters6,94 class HtmlFormatter < BaseTextFormatterHtmlFormatter7,116 def initialize(output)initialize10,209 def method_missing(m, *a, &b)method_missing18,387 def message(message)message23,471 def example_group_numberexample_group_number27,573 def example_numberexample_number32,724 def start(example_count)start36,790 def example_group_started(example_group)example_group_started43,963 def start_dumpstart_dump57,1568 def example_started(example)example_started63,1693 def example_passed(example)example_passed68,1799 def example_failed(example)example_failed74,2111 def example_pending(example)example_pending96,3634 def extra_failure_content(exception)extra_failure_content109,4583 def move_progressmove_progress117,4956 def percent_donepercent_done122,5126 def dump_failuresdump_failures130,5338 def dump_pendingdump_pending133,5377 def dump_summary(duration, example_count, failure_count, pending_count)dump_summary136,5415 def current_indentationcurrent_indentation154,6346 def html_headerhtml_header158,6472 def report_headerreport_header191,7240 def global_scriptsglobal_scripts217,8063 def global_stylesglobal_styles296,10799 norspec/rs/rspec/core/formatters/progress_formatter.rb,376 module RSpecRSpec2,52 module CoreCore3,65 module FormattersFormatters4,79 class ProgressFormatter < BaseTextFormatterProgressFormatter6,102 def example_passed(example)example_passed8,153 def example_pending(example)example_pending13,261 def example_failed(example)example_failed18,371 def start_dumpstart_dump23,477 norspec/rs/rspec/core/formatters/snippet_extractor.rb,459 module RSpecRSpec1,0 module CoreCore2,13 module FormattersFormatters3,27 class SnippetExtractorSnippetExtractor5,139 class NullConverter; def convert(code, pre); code; end; endNullConverter6,168 def snippet(backtrace)snippet15,449 def snippet_for(error_line)snippet_for22,793 def lines_around(file, line)lines_around32,1065 def post_process(highlighted, offending_line)post_process45,1461 norspec/rs/rspec/core/formatters/text_mate_formatter.rb,411 module RSpecRSpec4,62 module CoreCore5,75 module FormattersFormatters6,89 class TextMateFormatter < HtmlFormatterTextMateFormatter8,171 def backtrace_line(line, skip_textmate_conversion=false)backtrace_line9,217 def format_backtrace_line_for_textmate(line)format_backtrace_line_for_textmate17,446 def extra_failure_content(exception)extra_failure_content24,721 ,2520 module RSpecRSpec1,0 module CoreCore2,13 module HooksHooks3,27 module HookExtensionHookExtension6,98 def with(options)with9,155 def options_apply?(example_or_group)options_apply?14,238 module BeforeHookExtensionBeforeHookExtension19,353 def run(example)run22,417 def display_namedisplay_name26,494 module AfterHookExtensionAfterHookExtension31,566 def run(example)run34,629 def display_namedisplay_name38,738 module AroundHookExtensionAroundHookExtension43,809 def display_namedisplay_name46,873 module HookCollectionAliasesHookCollectionAliases51,945 def self.included(host)included52,980 class HookCollection < ArrayHookCollection58,1140 def for(example_or_group)for61,1214 def with(example)with66,1377 def runrun71,1460 class AroundHookCollection < ArrayAroundHookCollection76,1551 def for(example, initial_procsy=nil)for79,1631 def with(example, initial_procsy)with84,1803 def runrun90,1945 class GroupHookCollection < ArrayGroupHookCollection99,2194 def for(group)for100,2234 def runrun105,2310 module RegistersGlobalsRegistersGlobals110,2390 def register_globals host, globalsregister_globals111,2420 def process host, globals, position, scopeprocess120,2727 def hookshooks130,3075 def before(*args, &block)before295,9697 def prepend_before(*args, &block)prepend_before305,10012 def after(*args, &block)after357,12204 def append_after(*args, &block)append_after367,12514 def around(*args, &block)around415,14546 def run_hook(hook, scope, example_or_group=ExampleGroup.new, initial_procsy=nil)run_hook423,14817 def around_each_hooks_for(example, initial_procsy=nil)around_each_hooks_for428,15001 def before_all_hooks_for(group)before_all_hooks_for442,15387 def after_all_hooks_for(group)after_all_hooks_for446,15501 def before_each_hooks_for(example)before_each_hooks_for450,15613 def after_each_hooks_for(example)after_each_hooks_for454,15766 def register_hook prepend_or_append, hook, *args, &blockregister_hook458,15909 def find_hook(hook, scope, example_or_group, initial_procsy)find_hook463,16135 def scope_and_options_from(*args)scope_and_options_from480,16762 def extract_scope_from(args)extract_scope_from484,16885 norspec/rs/rspec/core/let.rb,355 module RSpecRSpec1,0 module CoreCore2,13 module LetLet3,27 module ExampleGroupMethodsExampleGroupMethods5,43 def let(name, &block)let31,1144 def let!(name, &block)let!90,2825 module ExampleMethodsExampleMethods97,2960 def __memoized__memoized99,3007 def self.included(mod)included104,3082 ,0 norspec/rs/rspec/core/metadata.rb,1879 module RSpecRSpec1,0 module CoreCore2,13 class Metadata < HashMetadata27,1097 def self.relative_path(line)relative_path29,1124 module MetadataHashMetadataHash37,1338 def [](key)[]43,1588 def locationlocation71,2507 def file_and_line_numberfile_and_line_number75,2595 def first_caller_from_outside_rspecfirst_caller_from_outside_rspec80,2763 def build_description_from(*parts)build_description_from84,2883 module ExampleMetadataHashExampleMetadataHash93,3203 def described_classdescribed_class96,3266 def full_descriptionfull_description100,3354 module GroupMetadataHashGroupMetadataHash107,3629 def described_classdescribed_class110,3690 def full_descriptionfull_description124,4127 def container_stackcontainer_stack128,4267 def initialize(parent_group_metadata=nil)initialize140,4726 def process(*args)process152,5141 def for_example(description, user_metadata)for_example163,5474 def any_apply?(filters)any_apply?168,5642 def all_apply?(filters)all_apply?173,5750 def filter_applies?(key, value, metadata=self)filter_applies?178,5858 def filters_apply?(key, value)filters_apply?201,6694 def filter_applies_to_any_value?(key, value)filter_applies_to_any_value?206,6820 def location_filter_applies?(locations)location_filter_applies?211,6968 def line_number_filter_applies?(line_numbers)line_number_filter_applies?218,7230 def configure_for_example(description, user_metadata)configure_for_example225,7483 def ensure_valid_keys(user_metadata)ensure_valid_keys243,7904 def example_group_declaration_line(locations)example_group_declaration_line264,8381 def relevant_line_numbers(metadata=self)relevant_line_numbers270,8677 norspec/rs/rspec/core/metadata_hash_builder.rb,637 module RSpecRSpec1,0 module CoreCore2,13 module MetadataHashBuilderMetadataHashBuilder4,42 module CommonCommon6,90 def build_metadata_hash_from(args)build_metadata_hash_from7,110 def add_symbols_to_hash(hash, args)add_symbols_to_hash21,464 def warn_about_symbol_usage(args)warn_about_symbol_usage27,619 module WithConfigWarningWithConfigWarning35,857 def symbol_metadata_warning(symbols)symbol_metadata_warning40,929 module WithDeprecationWarningWithDeprecationWarning64,1662 def symbol_metadata_warning(symbols)symbol_metadata_warning69,1739 ,306 module RSpecRSpec1,0 module CoreCore2,13 module MockFrameworkAdapterMockFrameworkAdapter3,27 def setup_mocks_for_rspec; endsetup_mocks_for_rspec5,60 def verify_mocks_for_rspec; endverify_mocks_for_rspec6,97 def teardown_mocks_for_rspec; endteardown_mocks_for_rspec7,135 ,368 module RSpecRSpec8,134 module CoreCore9,147 module MockFrameworkAdapterMockFrameworkAdapter10,161 def self.framework_name; :flexmock endframework_name12,200 def setup_mocks_for_rspecsetup_mocks_for_rspec15,284 def verify_mocks_for_rspecverify_mocks_for_rspec18,354 def teardown_mocks_for_rspecteardown_mocks_for_rspec21,421 norspec/rs/rspec/core/mocking/with_mocha.rb,360 module RSpecRSpec4,51 module CoreCore5,64 module MockFrameworkAdapterMockFrameworkAdapter6,78 def self.framework_name; :mocha endframework_name7,110 def setup_mocks_for_rspecsetup_mocks_for_rspec16,320 def verify_mocks_for_rspecverify_mocks_for_rspec20,383 def teardown_mocks_for_rspecteardown_mocks_for_rspec24,448 norspec/rs/rspec/core/mocking/with_rr.rb,359 module RSpecRSpec5,99 module CoreCore6,112 module MockFrameworkAdapterMockFrameworkAdapter7,126 def self.framework_name; :rr endframework_name9,165 def setup_mocks_for_rspecsetup_mocks_for_rspec13,252 def verify_mocks_for_rspecverify_mocks_for_rspec17,328 def teardown_mocks_for_rspecteardown_mocks_for_rspec21,414 norspec/rs/rspec/core/mocking/with_rspec.rb,358 module RSpecRSpec3,23 module CoreCore4,36 module MockFrameworkAdapterMockFrameworkAdapter5,50 def self.framework_name; :rspec endframework_name7,89 def setup_mocks_for_rspecsetup_mocks_for_rspec9,138 def verify_mocks_for_rspecverify_mocks_for_rspec13,215 def teardown_mocks_for_rspecteardown_mocks_for_rspec17,288 norspec/rs/rspec/core/option_parser.rb,170 module RSpec::CoreRSpec4,100 class ParserParser5,119 def self.parse!(args)parse6,134 def parse!(args)parse!14,254 def parser(options)parser27,626 norspec/rs/rspec/core/pending.rb,539 module RSpecRSpec1,0 module CoreCore2,13 module PendingPending3,27 class PendingDeclaredInExample < StandardError; endPendingDeclaredInExample4,46 class PendingExampleFixedError < Test::Unit::AssertionFailedError; endPendingExampleFixedError9,279 class PendingExampleFixedError < StandardError; endPendingExampleFixedError11,371 class PendingExampleFixedErrorPendingExampleFixedError14,442 def pending_fixed?; true; endpending_fixed?15,479 def pending(*args)pending71,2569 norspec/rs/rspec/core/project_initializer.rb,477 module RSpecRSpec1,0 module CoreCore2,13 class ProjectInitializerProjectInitializer3,27 def initialize(arg=nil)initialize4,56 def runrun8,116 def create_dot_rspec_filecreate_dot_rspec_file23,708 def create_spec_helper_filecreate_spec_helper_file37,999 def delete_if_confirmed(path, message)delete_if_confirmed67,2088 def report_exists(file)report_exists77,2329 def report_creating(file)report_creating81,2404 norspec/rs/rspec/core/rake_task.rb,487 module RSpecRSpec6,93 module CoreCore7,106 class RakeTask < ::Rake::TaskLibRakeTask8,120 def skip_bundler=(*)skip_bundler=25,520 def gemfile=(*)gemfile=31,720 def warning=(true_or_false)warning=43,1041 def spec_opts=(opts)spec_opts=107,2444 def initialize(*args)initialize112,2584 def files_to_runfiles_to_run145,3600 def spec_commandspec_command153,3795 def runnerrunner170,4478 def blankblank174,4544 norspec/rs/rspec/core/reporter.rb,739 module RSpec::CoreRSpec1,0 class ReporterReporter2,19 def initialize(*formatters)initialize3,36 def report(expected_example_count, seed=nil)report31,942 def start(expected_example_count)start40,1111 def message(message)message45,1226 def example_group_started(group)example_group_started49,1291 def example_group_finished(group)example_group_finished53,1429 def example_started(example)example_started57,1569 def example_passed(example)example_passed62,1676 def example_failed(example)example_failed66,1755 def example_pending(example)example_pending71,1860 def finish(seed)finish76,1967 def stopstop91,2310 def notify(method, *args, &block)notify96,2397 norspec/rs/rspec/core/ruby_project.rb,410 module RSpecRSpec7,155 module CoreCore8,168 module RubyProjectRubyProject9,182 def add_to_load_path(*dirs)add_to_load_path10,205 def add_dir_to_load_path(dir)add_dir_to_load_path14,318 def rootroot18,429 def determine_rootdetermine_root22,496 def find_first_parent_containing(dir)find_first_parent_containing26,584 def ascend_untilascend_until30,704 ,451 module RSpecRSpec1,0 module CoreCore2,13 class RunnerRunner3,27 def self.autorunautorun6,99 def self.disable_autorun!disable_autorun13,391 def self.autorun_disabled?autorun_disabled17,467 def self.installed_at_exit?installed_at_exit21,547 def self.running_in_drb?running_in_drb25,629 def self.trap_interrupttrap_interrupt31,801 def self.run(args, err=$stderr, out=$stdout)run55,1659 ,263 module RSpecRSpec1,0 module CoreCore2,13 module SharedContextSharedContext19,450 def included(group)included23,535 def describe(name, *args, &block)describe34,863 def _nested_group_declarations_nested_group_declarations42,1028 norspec/rs/rspec/core/shared_example_group.rb,534 module RSpecRSpec1,0 module CoreCore2,13 module SharedExampleGroupSharedExampleGroup3,27 def shared_examples *args, &blockshared_examples31,1025 def share_as(name, &block)share_as51,1665 def self.created_from_caller(other_caller)created_from_caller61,1953 def self.included(kls)included65,2067 def key? candidatekey?77,2374 def raise_name_errorraise_name_error81,2476 def raise_key_taken keyraise_key_taken85,2638 def key_taken? keykey_taken?89,2755 norspec/rs/rspec/core/subject.rb,706 module RSpecRSpec1,0 module CoreCore2,13 module SubjectSubject3,27 module ExampleMethodsExampleMethods4,46 def subjectsubject44,1514 def should(matcher=nil, message=nil)should63,2096 def should_not(matcher=nil, message=nil)should_not77,2549 def _attribute_chain(attribute)_attribute_chain83,2728 def _nested_attribute(subject, attribute)_nested_attribute87,2817 module ExampleGroupMethodsExampleGroupMethods94,3020 def its(attribute, &block)its148,4814 def subject(name=nil, &block)subject195,6677 def explicit_subjectexplicit_subject204,6929 def implicit_subjectimplicit_subject212,7184 norspec/rs/rspec/core/version.rb,79 module RSpecRSpec1,0 module CoreCore2,13 module VersionVersion3,27 +éü,969 module RSpecRSpec1,0 module CoreCore2,13 class WorldWorld3,27 def initialize(configuration=RSpec.configuration)initialize10,192 def resetreset24,669 def filter_managerfilter_manager29,761 def register(example_group)register33,835 def inclusion_filterinclusion_filter38,942 def exclusion_filterexclusion_filter42,1020 def configure_group(group)configure_group46,1098 def example_countexample_count50,1188 def preceding_declaration_line(filter_line)preceding_declaration_line56,1358 def reporterreporter62,1593 def announce_filtersannounce_filters66,1655 def everything_filtered_messageeverything_filtered_message102,2965 def announce_inclusion_filter(announcements)announce_inclusion_filter106,3057 def announce_exclusion_filter(announcements)announce_exclusion_filter112,3239 def declaration_line_numbersdeclaration_line_numbers120,3462 norspec/rs/rspec/core.rb,574 def require_rspec(path)require_rspec3,43 def require_rspec(path)require_rspec8,119 module RSpecRSpec42,1012 def self.wants_to_quitwants_to_quit46,1094 def self.wants_to_quit=(maybe)wants_to_quit53,1303 def self.worldworld59,1445 def self.resetreset66,1619 def self.configurationconfiguration79,2028 def self.configureconfigure91,2351 def self.clear_remaining_example_groupsclear_remaining_example_groups97,2500 def self.windows_os?windows_os102,2593 module CoreCore106,2675 def self.const_missing(name)const_missing109,2696 ,163 module RSpecRSpec1,0 def deprecate(method, alternate_method=nil, version=nil)deprecate7,281 def warn_deprecation(message)warn_deprecation33,1148 norspec/rs/rspec/expectations/differ.rb,363 module RSpecRSpec5,57 module ExpectationsExpectations6,70 class DifferDiffer7,92 def diff_as_string(data_new, data_old)diff_as_string9,186 def diff_as_object(actual, expected)diff_as_object41,1354 def formatformat57,1853 def context_linescontext_lines61,1898 def object_to_string(object)object_to_string65,1943 norspec/rs/rspec/expectations/errors.rb,253 module RSpecRSpec1,0 module ExpectationsExpectations2,13 class ExpectationNotMetError < Test::Unit::AssertionFailedError; endExpectationNotMetError4,85 class ExpectationNotMetError < ::StandardError; endExpectationNotMetError6,169 ,371 module RSpecRSpec1,0 module ExpectationsExpectations2,13 class ExpectationTargetExpectationTarget12,289 def initialize(target)initialize14,338 def to(matcher=nil, message=nil, &block)to27,800 def to_not(matcher=nil, message=nil, &block)to_not41,1417 def prevent_operator_matchers(verb, matcher)prevent_operator_matchers49,1676 norspec/rs/rspec/expectations/extensions/array.rb,57 class ArrayArray2,11 def none?(&block)none?5,150 norspec/rs/rspec/expectations/extensions/object.rb,208 module RSpecRSpec1,0 module ExpectationsExpectations2,13 module DeprecatedConstantsDeprecatedConstants3,35 def const_missing(name)const_missing6,174 def differ=(ignore)differ=33,895 /var/folders/b9/zwv8g_296jq17rcjpjw_94jc0000gn/T//tags.Ye6fmL,0 norspec/rs/rspec/expectations/fail_with.rb,380 module RSpecRSpec1,0 module ExpectationsExpectations2,13 def differdiffer5,70 def fail_with(message, expected=nil, actual=nil)fail_with16,407 def no_procs?(*args)no_procs?38,1244 def all_strings?(*args)all_strings?42,1326 def any_multiline_strings?(*args)any_multiline_strings?46,1412 def no_numbers?(*args)no_numbers?50,1520 norspec/rs/rspec/expectations/handler.rb,389 module RSpecRSpec1,0 module ExpectationsExpectations2,13 class PositiveExpectationHandler PositiveExpectationHandler3,35 def self.handle_matcher(actual, matcher, message=nil, &block)handle_matcher4,80 class NegativeExpectationHandlerNegativeExpectationHandler24,852 def self.handle_matcher(actual, matcher, message=nil, &block)handle_matcher25,889 norspec/rs/rspec/expectations/syntax.rb,853 module RSpecRSpec1,0 module ExpectationsExpectations2,13 module SyntaxSyntax6,165 def default_should_hostdefault_should_host42,1449 def enable_should(syntax_host = default_should_host)enable_should48,1605 def should(matcher=nil, message=nil, &block)should52,1747 def should_not(matcher=nil, message=nil, &block)should_not56,1926 def disable_should(syntax_host = default_should_host)disable_should64,2190 def enable_expect(syntax_host = ::RSpec::Matchers)enable_expect75,2468 def expect(*target, &target_block)expect79,2608 def disable_expect(syntax_host = ::RSpec::Matchers)disable_expect89,2996 def should_enabled?(syntax_host = default_should_host)should_enabled?99,3273 def expect_enabled?(syntax_host = ::RSpec::Matchers)expect_enabled?105,3476 norspec/rs/rspec/expectations/version.rb,95 module RSpecRSpec1,0 module ExpectationsExpectations2,13 module VersionVersion4,50 norspec/rs/rspec/expectations.rb,69 module RSpecRSpec12,379 module ExpectationsExpectations45,1707 norspec/rs/rspec/matchers/be_close.rb,103 module RSpecRSpec1,0 module MatchersMatchers2,13 def be_close(expected, delta)be_close4,74 ,630 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class BaseMatcherBaseMatcher14,455 def initialize(expected = nil)initialize19,580 def matches?(actual)matches?23,663 def match_unless_raises(*exceptions)match_unless_raises28,766 def failure_message_for_shouldfailure_message_for_should38,1018 def failure_message_for_should_notfailure_message_for_should_not43,1200 def descriptiondescription48,1390 def diffable?diffable?52,1510 def ==(other)==56,1561 def assert_ivars *ivarsassert_ivars62,1639 /var/folders/b9/zwv8g_296jq17rcjpjw_94jc0000gn/T//tags.Zr9SJH,2389 module RSpecRSpec3,30 module MatchersMatchers4,43 module BuiltInBuiltIn5,61 class BeTrue < BaseMatcherBeTrue6,80 def match(_, actual)match7,113 def failure_message_for_shouldfailure_message_for_should11,174 def failure_message_for_should_notfailure_message_for_should_not15,288 class BeFalse < BaseMatcherBeFalse20,420 def match(_, actual)match21,454 def failure_message_for_shouldfailure_message_for_should25,514 def failure_message_for_should_notfailure_message_for_should_not29,629 class BeNil < BaseMatcherBeNil34,762 def match(_, actual)match35,794 def failure_message_for_shouldfailure_message_for_should39,858 def failure_message_for_should_notfailure_message_for_should_not43,965 class Be < BaseMatcherBe48,1076 def initialize(*args, &block)initialize49,1105 def match(_, actual)match53,1179 def failure_message_for_shouldfailure_message_for_should57,1240 def failure_message_for_should_notfailure_message_for_should_not61,1352 def args_to_sargs_to_s73,1664 def parenthesize(string)parenthesize77,1769 def inspected_argsinspected_args81,1839 def expected_to_sentenceexpected_to_sentence85,1918 def args_to_sentenceargs_to_sentence89,1997 class BeComparedTo < BeBeComparedTo94,2078 def initialize(operand, operator)initialize95,2108 def matches?(actual)matches?100,2237 def failure_message_for_shouldfailure_message_for_should105,2350 def failure_message_for_should_notfailure_message_for_should_not109,2521 def descriptiondescription120,2940 class BePredicate < BeBePredicate125,3058 def initialize(*args, &block)initialize126,3087 def matches?(actual)matches?132,3235 def failure_message_for_shouldfailure_message_for_should147,3763 def failure_message_for_should_notfailure_message_for_should_not151,3900 def descriptiondescription155,4042 def predicatepredicate161,4172 def present_tense_predicatepresent_tense_predicate165,4240 def parse_expected(expected)parse_expected169,4323 def prefix_and_expected(symbol)prefix_and_expected174,4452 def prefix_to_sentenceprefix_to_sentence179,4574 ,195 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class BeAnInstanceOf < BaseMatcherBeAnInstanceOf4,50 def match(expected, actual)match5,91 norspec/rs/rspec/matchers/built_in/be_kind_of.rb,185 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class BeAKindOf < BaseMatcherBeAKindOf4,50 def match(expected, actual)match5,86 /var/folders/b9/zwv8g_296jq17rcjpjw_94jc0000gn/T//tags.DRzt43,550 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class BeWithinBeWithin4,50 def initialize(delta)initialize5,71 def matches?(actual)matches?9,139 def of(expected)of16,381 def failure_message_for_shouldfailure_message_for_should21,465 def failure_message_for_should_notfailure_message_for_should_not25,567 def descriptiondescription29,677 def needs_subtractableneeds_subtractable35,779 def needs_expectedneeds_expected39,911 norspec/rs/rspec/matchers/built_in/change.rb,1315 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class ChangeChange4,50 def initialize(receiver=nil, message=nil, &block)initialize5,69 def matches?(event_proc)matches?12,374 def raise_block_syntax_errorraise_block_syntax_error22,730 def evaluate_value_procevaluate_value_proc28,906 def failure_message_for_shouldfailure_message_for_should37,1080 def actual_deltaactual_delta53,2113 def failure_message_for_should_notfailure_message_for_should_not57,2192 def by(expected_delta)by61,2370 def by_at_least(minimum)by_at_least66,2472 def by_at_most(maximum)by_at_most71,2562 def to(to)to76,2657 def from (before)from82,2764 def descriptiondescription88,2884 def messagemessage94,2969 def change_expected?change_expected?98,3033 def changed?changed?102,3106 def matches_before?matches_before?106,3182 def matches_after?matches_after?110,3314 def matches_expected_delta?matches_expected_delta?114,3442 def matches_min?matches_min?118,3578 def matches_max?matches_max?122,3689 def expected_matches_actual?(expected, actual)expected_matches_actual?126,3800 norspec/rs/rspec/matchers/built_in/cover.rb,281 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class Cover < BaseMatcherCover4,50 def initialize(*expected)initialize5,82 def matches?(range)matches?9,160 def does_not_match?(range)does_not_match?14,276 norspec/rs/rspec/matchers/built_in/eq.rb,374 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class Eq < BaseMatcherEq4,50 def match(expected, actual)match5,79 def failure_message_for_shouldfailure_message_for_should9,157 def failure_message_for_should_notfailure_message_for_should_not13,307 def diffable?; true; enddiffable?17,470 norspec/rs/rspec/matchers/built_in/eql.rb,365 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class Eql < BaseMatcherEql4,50 def match(expected, actual)match5,80 def failure_message_for_shouldfailure_message_for_should9,160 def failure_message_for_should_notfailure_message_for_should_not13,312 def diffable?diffable?17,477 norspec/rs/rspec/matchers/built_in/equal.rb,432 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class Equal < BaseMatcherEqual4,50 def match(expected, actual)match5,82 def failure_message_for_shouldfailure_message_for_should9,164 def failure_message_for_should_notfailure_message_for_should_not23,521 def diffable?; true; enddiffable?34,751 def inspect_object(o)inspect_object38,802 norspec/rs/rspec/matchers/built_in/exist.rb,224 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class Exist < BaseMatcherExist4,50 def initialize(*expected)initialize5,82 def matches?(actual)matches?9,160 norspec/rs/rspec/matchers/built_in/has.rb,657 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class HasHas4,50 def initialize(expected, *args)initialize5,66 def matches?(actual)matches?9,163 def failure_message_for_shouldfailure_message_for_should13,261 def failure_message_for_should_notfailure_message_for_should_not17,420 def descriptiondescription21,583 def predicate(sym)predicate27,715 def method_description(method)method_description31,807 def args_descriptionargs_description35,896 def failure_message_args_descriptionfailure_message_args_description40,1028 norspec/rs/rspec/matchers/built_in/have.rb,885 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class HaveHave4,50 def initialize(expected, relativity=:exactly)initialize5,67 def relativitiesrelativities15,427 def matches?(collection_or_owner)matches?23,608 def determine_collection(collection_or_owner)determine_collection35,1085 def determine_query_method(collection)determine_query_method47,1661 def not_a_collectionnot_a_collection51,1795 def failure_message_for_shouldfailure_message_for_should55,1949 def failure_message_for_should_notfailure_message_for_should_not59,2082 def descriptiondescription81,2914 def respond_to?(m)respond_to?85,3012 def method_missing(method, *args, &block)method_missing91,3113 def relative_expectationrelative_expectation101,3543 norspec/rs/rspec/matchers/built_in/include.rb,627 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class Include < BaseMatcherInclude4,50 def initialize(*expected)initialize5,84 def matches?(actual)matches?9,162 def does_not_match?(actual)does_not_match?14,289 def descriptiondescription19,424 def diffable?diffable?23,504 def perform_match(predicate, hash_predicate, actuals, expecteds)perform_match29,571 def comparing_hash_keys?(actual, expected)comparing_hash_keys?41,1019 def comparing_hash_values?(actual, expected)comparing_hash_values?45,1137 norspec/rs/rspec/matchers/built_in/match.rb,177 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class Match < BaseMatcherMatch4,50 def match(expected, actual)match6,83 réü,521 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class MatchArray < BaseMatcherMatchArray4,50 def match(expected, actual)match5,87 def failure_message_for_shouldfailure_message_for_should11,330 def failure_message_for_should_notfailure_message_for_should_not19,818 def descriptiondescription23,922 def safe_sort(array)safe_sort29,1031 def difference_between_arrays(array_1, array_2)difference_between_arrays33,1107 norspec/rs/rspec/matchers/built_in/raise_error.rb,731 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class RaiseErrorRaiseError4,50 def initialize(expected_error_or_message=Exception, expected_message=nil, &block)initialize5,73 def matches?(given_proc)matches?16,510 def eval_blockeval_block39,1433 def verify_messageverify_message49,1666 def failure_message_for_shouldfailure_message_for_should60,1936 def failure_message_for_should_notfailure_message_for_should_not64,2079 def descriptiondescription68,2191 def expected_errorexpected_error74,2281 def given_errorgiven_error85,2603 def negative_expectation?negative_expectation?89,2732 norspec/rs/rspec/matchers/built_in/respond_to.rb,779 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class RespondToRespondTo4,50 def initialize(*names)initialize5,72 def matches?(actual)matches?10,173 def does_not_match?(actual)does_not_match?14,275 def failure_message_for_shouldfailure_message_for_should18,384 def failure_message_for_should_notfailure_message_for_should_not22,570 def descriptiondescription26,705 def with(n)with30,790 def argumentargument35,868 def find_failing_method_names(actual, filter_method)find_failing_method_names42,969 def matches_arity?(actual, name)matches_arity?49,1225 def with_aritywith_arity61,1610 def pp_namespp_names66,1765 /var/folders/b9/zwv8g_296jq17rcjpjw_94jc0000gn/T//tags.N1vvsO,416 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class SatisfySatisfy4,50 def initialize(&block)initialize5,70 def matches?(actual, &block)matches?9,139 def failure_message_for_shouldfailure_message_for_should15,280 def failure_message_for_should_notfailure_message_for_should_not19,381 def descriptiondescription23,490 +éü,794 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class StartAndEndWith < BaseMatcherStartAndEndWith4,50 def initialize(*expected)initialize5,92 def matches?(actual)matches?9,210 def failure_message_for_shouldfailure_message_for_should18,647 def failure_message_for_should_notfailure_message_for_should_not22,828 class StartWith < StartAndEndWithStartWith27,1027 def subset_matches?(expected, actual)subset_matches?28,1067 def element_matches?(expected, actual)element_matches?32,1175 class EndWith < StartAndEndWithEndWith37,1279 def subset_matches?(expected, actual)subset_matches?38,1317 def element_matches?(expected, actual)element_matches?42,1440 norspec/rs/rspec/matchers/built_in/throw_symbol.rb,624 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class ThrowSymbolThrowSymbol4,50 def initialize(expected_symbol = nil, expected_arg=nil)initialize5,74 def matches?(given_proc)matches?11,280 def failure_message_for_shouldfailure_message_for_should55,1691 def failure_message_for_should_notfailure_message_for_should_not59,1804 def descriptiondescription63,1963 def expected(symbol_desc = 'a Symbol')expected69,2047 def caughtcaught73,2183 def throw_description(symbol, arg)throw_description77,2285 ,2121 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 class YieldProbeYieldProbe4,50 def self.probe(block)probe5,73 def initializeinitialize15,305 def to_procto_proc20,418 def single_yield_argssingle_yield_args30,615 def yielded_once?(matcher_name)yielded_once?34,687 def successive_yield_argssuccessive_yield_args45,1066 def assert_used!assert_used!51,1231 def self.assert_valid_expect_block!(block)assert_valid_expect_block60,1655 class YieldControl < BaseMatcherYieldControl67,1940 def matches?(block)matches?68,1979 def failure_message_for_shouldfailure_message_for_should73,2108 def failure_message_for_should_notfailure_message_for_should_not77,2210 class YieldWithNoArgs < BaseMatcherYieldWithNoArgs82,2330 def matches?(block)matches?84,2373 def failure_message_for_shouldfailure_message_for_should89,2543 def failure_message_for_should_notfailure_message_for_should_not93,2678 def failure_reasonfailure_reason99,2822 class YieldWithArgsYieldWithArgs108,3040 def initialize(*args)initialize109,3066 def matches?(block)matches?113,3136 def failure_message_for_shouldfailure_message_for_should119,3329 def failure_message_for_should_notfailure_message_for_should_not123,3470 def descriptiondescription127,3619 def positive_failure_reasonpositive_failure_reason135,3812 def negative_failure_reasonnegative_failure_reason143,3990 def args_match?args_match?153,4297 def all_args_match?all_args_match?168,4799 class YieldSuccessiveArgsYieldSuccessiveArgs177,5036 def initialize(*args)initialize178,5068 def matches?(block)matches?182,5138 def failure_message_for_shouldfailure_message_for_should188,5293 def failure_message_for_should_notfailure_message_for_should_not194,5578 def descriptiondescription200,5881 def args_match?args_match?208,6062 norspec/rs/rspec/matchers/built_in.rb,87 module RSpecRSpec1,0 module MatchersMatchers2,13 module BuiltInBuiltIn3,31 norspec/rs/rspec/matchers/compatibility.rb,0 norspec/rs/rspec/matchers/configuration.rb,308 module RSpecRSpec3,37 module MatchersMatchers4,50 class ConfigurationConfiguration6,129 def syntax=(values)syntax=19,539 def syntaxsyntax35,1001 def add_should_and_should_not_to(*modules)add_should_and_should_not_to49,1557 def self.configurationconfiguration58,1820 norspec/rs/rspec/matchers/dsl.rb,130 module RSpecRSpec1,0 module MatchersMatchers2,13 module DSLDSL3,31 def define(name, &declarations)define6,109 ,235 module RSpecRSpec1,0 module MatchersMatchers2,13 module ExtensionsExtensions3,31 module InstanceEvalWithArgsInstanceEvalWithArgs4,53 def instance_eval_with_args(*args, &block)instance_eval_with_args10,414 norspec/rs/rspec/matchers/generated_descriptions.rb,248 module RSpecRSpec1,0 module MatchersMatchers2,13 def self.clear_generated_descriptionclear_generated_description7,106 def self.generated_descriptiongenerated_description12,215 def self.last_descriptionlast_description19,377 ,1716 module RSpecRSpec3,15 module MatchersMatchers4,28 module DSLDSL5,46 class MatcherMatcher8,169 def initialize(name, &declarations)initialize17,460 def for_expected(*expected)for_expected34,1006 def matches?(actual)matches?49,1558 def match(&block)match90,3011 def match_for_should_not(&block)match_for_should_not102,3520 def match_unless_raises(exception=Exception, &block)match_unless_raises118,4124 def failure_message_for_should(&block)failure_message_for_should138,4833 def failure_message_for_should_not(&block)failure_message_for_should_not158,5582 def description(&block)description175,6126 def diffablediffable181,6325 def chain(method, &block)chain203,7068 def diffable?diffable?212,7316 def does_not_match?(actual)does_not_match?218,7436 def respond_to?(method, include_private=false)respond_to?225,7658 def method_missing(method, *args, &block)method_missing231,7825 def include(*args)include239,8082 def define_method(name, &block)define_method243,8174 def making_declared_methods_publicmaking_declared_methods_public247,8292 def cache_or_call_cached(key, &block)cache_or_call_cached263,9192 def cache(key, &block)cache267,9307 def call_cached(key)call_cached271,9384 def default_descriptiondefault_description279,9618 def default_failure_message_for_shoulddefault_failure_message_for_should283,9718 def default_failure_message_for_should_notdefault_failure_message_for_should_not287,9863 def singleton_classsingleton_class292,10065 norspec/rs/rspec/matchers/method_missing.rb,121 module RSpecRSpec1,0 module MatchersMatchers2,13 def method_missing(method, *args, &block)method_missing6,45 norspec/rs/rspec/matchers/operator_matcher.rb,940 module RSpecRSpec1,0 module MatchersMatchers2,13 class OperatorMatcherOperatorMatcher3,31 def registryregistry5,77 def register(klass, operator, matcher)register9,138 def get(klass, operator)get14,277 def initialize(actual)initialize19,388 def self.use_custom_matcher_or_delegate(operator)use_custom_matcher_or_delegate23,453 def fail_with_message(message)fail_with_message46,1422 def descriptiondescription50,1537 def eval_match(actual, operator, expected)eval_match56,1629 module BuiltInBuiltIn63,1849 class PositiveOperatorMatcher < OperatorMatcherPositiveOperatorMatcher64,1868 def __delegate_operator(actual, operator, expected)__delegate_operator65,1922 class NegativeOperatorMatcher < OperatorMatcherNegativeOperatorMatcher76,2398 def __delegate_operator(actual, operator, expected)__delegate_operator77,2452 norspec/rs/rspec/matchers/pretty.rb,424 module RSpecRSpec1,0 module MatchersMatchers2,13 module PrettyPretty3,31 def split_words(sym)split_words4,49 def to_sentence(words)to_sentence8,118 def _pretty_print(array)_pretty_print23,487 def name_to_sentencename_to_sentence37,862 def expected_to_sentenceexpected_to_sentence41,926 def namename45,1022 def underscore(camel_cased_word)underscore50,1163 ,1539 module RSpecRSpec1,0 module MatchersMatchers161,5496 module RSpecRSpec189,6444 module MatchersMatchers190,6457 def be_truebe_true193,6537 def be_falsebe_false198,6635 def be_nilbe_nil203,6718 def be(*args)be227,7702 def be_a(klass)be_a233,7837 def be_an_instance_of(expected)be_an_instance_of246,8125 def be_a_kind_of(expected)be_a_kind_of259,8453 def be_within(delta)be_within271,8743 def change(receiver=nil, message=nil, &block)change337,10854 def cover(*values)cover353,11400 def end_with(*expected)end_with367,11942 def eq(expected)eq379,12257 def eql(expected)eql391,12556 def equal(expected)equal403,12966 def exist(*args)exist411,13149 def have(n)have443,14382 def have_at_least(n)have_at_least456,14648 def have_at_most(n)have_at_most468,14898 def include(*expected)include484,15436 def match(expected)match494,15714 def raise_error(error=Exception, message=nil, &block)raise_error516,16991 def respond_to(*names)respond_to527,17302 def satisfy(&block)satisfy546,17866 def start_with(*expected)start_with560,18389 def throw_symbol(expected_symbol=nil, expected_arg=nil)throw_symbol580,19215 def yield_controlyield_control596,19819 def yield_with_no_argsyield_with_no_args613,20512 def yield_with_args(*args)yield_with_args642,21815 def yield_successive_args(*args)yield_successive_args662,22675 def match_array(array)match_array683,23561 ,514 module RSpecRSpec1,0 module MocksMocks2,13 module AnyInstanceAnyInstance3,28 class ChainChain4,51 def record(method_name)record15,412 def playback!(instance)playback!39,1003 def constrained_to_any_of?(*constraints)constrained_to_any_of?46,1203 def expectation_fulfilled!expectation_fulfilled!55,1444 def messagesmessages61,1549 def last_messagelast_message65,1610 def record(rspec_method_name, *args, &block)record69,1707 ,765 module RSpecRSpec1,0 module MocksMocks2,13 module AnyInstanceAnyInstance3,28 class ExpectationChain < ChainExpectationChain5,72 def expectation_fulfilled?expectation_fulfilled?6,109 def initialize(*args, &block)initialize10,246 def verify_invocation_order(rspec_method_name, *args, &block)verify_invocation_order16,386 class PositiveExpectationChain < ExpectationChainPositiveExpectationChain21,500 def initialize(*args, &block)initialize22,556 def invocation_orderinvocation_order28,672 class NegativeExpectationChain < ExpectationChainNegativeExpectationChain39,973 def initialize(*args, &block)initialize40,1029 def invocation_orderinvocation_order46,1149 norspec/rs/rspec/mocks/any_instance/message_chains.rb,786 module RSpecRSpec1,0 module MocksMocks2,13 module AnyInstanceAnyInstance3,28 class MessageChains < HashMessageChains5,68 def initializeinitialize6,101 def add(method_name, chain)add11,190 def remove_stub_chains_for!(method_name)remove_stub_chains_for!17,311 def has_expectation?(method_name)has_expectation?22,461 def all_expectations_fulfilled?all_expectations_fulfilled?27,608 def unfulfilled_expectationsunfulfilled_expectations32,770 def received_expected_message!(method_name)received_expected_message!39,1010 def playback!(instance, method_name)playback!44,1166 def raise_if_second_instance_to_receive_message(instance)raise_if_second_instance_to_receive_message51,1374 /var/folders/b9/zwv8g_296jq17rcjpjw_94jc0000gn/T//tags.auxxXr,1698 module RSpecRSpec1,0 module MocksMocks2,13 module AnyInstanceAnyInstance3,28 class RecorderRecorder12,370 def initialize(klass)initialize16,447 def stub(method_name_or_method_map, &block)stub28,840 def stub_chain(*method_names_and_optional_return_values, &block)stub_chain44,1508 def should_receive(method_name, &block)should_receive56,2027 def should_not_receive(method_name, &block)should_not_receive62,2247 def unstub(method_name)unstub71,2596 def verifyverify83,3123 def stub!(*)stub!90,3459 def stop_all_observation!stop_all_observation!95,3588 def playback!(instance, method_name)playback!100,3732 def instance_that_received(method_name)instance_that_received108,4059 def normalize_chain(*args)normalize_chain114,4176 def received_expected_message!(method_name)received_expected_message!119,4347 def restore_method!(method_name)restore_method!125,4553 def build_alias_method_name(method_name)build_alias_method_name133,4827 def restore_original_method!(method_name)restore_original_method!137,4941 def remove_dummy_method!(method_name)remove_dummy_method!146,5255 def backup_method!(method_name)backup_method!152,5397 def public_protected_or_private_method_defined?(method_name)public_protected_or_private_method_defined?159,5678 def stop_observing!(method_name)stop_observing!163,5853 def already_observing?(method_name)already_observing?168,5994 def observe!(method_name)observe!172,6101 def mark_invoked!(method_name)mark_invoked!185,6612 ‹éü,408 module RSpecRSpec1,0 module MocksMocks2,13 module AnyInstanceAnyInstance3,28 class StubChain < ChainStubChain5,68 def initialize(*args, &block)initialize8,118 def expectation_fulfilled?expectation_fulfilled?13,227 def invocation_orderinvocation_order19,307 def verify_invocation_order(rspec_method_name, *args, &block)verify_invocation_order29,579 norspec/rs/rspec/mocks/any_instance/stub_chain_chain.rb,256 module RSpecRSpec1,0 module MocksMocks2,13 module AnyInstanceAnyInstance3,28 class StubChainChain < StubChainStubChainChain5,68 def initialize(*args, &block)initialize8,127 def invocation_orderinvocation_order14,240 ,462 module RSpecRSpec8,287 module MocksMocks9,300 module AnyInstanceAnyInstance10,315 def any_instanceany_instance28,1008 def rspec_verifyrspec_verify35,1175 def rspec_resetrspec_reset45,1372 def __recorder__recorder51,1475 def modify_dup_to_remove_mock_proxy_when_invokedmodify_dup_to_remove_mock_proxy_when_invoked56,1583 def __rspec_dup__rspec_dup59,1754 def restore_duprestore_dup70,2022 norspec/rs/rspec/mocks/argument_list_matcher.rb,475 module RSpecRSpec3,41 module MocksMocks4,54 class ArgumentListMatcherArgumentListMatcher27,1022 def initialize(*expected_args, &block)initialize41,1528 def args_match?(*args)args_match?64,2233 def matcher_for(arg)matcher_for70,2362 def is_matcher?(obj)is_matcher?76,2611 def block_passes?(*args)block_passes?80,2786 def matchers_match?(*args)matchers_match?84,2865 def match_any_args?match_any_args?88,2935 norspec/rs/rspec/mocks/argument_matchers.rb,2191 module RSpecRSpec1,0 module MocksMocks2,13 module ArgumentMatchersArgumentMatchers12,364 class AnyArgsMatcherAnyArgsMatcher14,393 def descriptiondescription15,420 class AnyArgMatcherAnyArgMatcher20,488 def initialize(ignore)initialize21,514 def ==(other)==24,558 class NoArgsMatcherNoArgsMatcher29,618 def descriptiondescription30,644 class RegexpMatcherRegexpMatcher35,711 def initialize(regexp)initialize36,737 def ==(value)==40,808 class BooleanMatcherBooleanMatcher45,918 def initialize(ignore)initialize46,945 def ==(value)==49,989 class HashIncludingMatcherHashIncludingMatcher54,1073 def initialize(expected)initialize55,1106 def ==(actual)==59,1183 def descriptiondescription65,1334 class HashExcludingMatcherHashExcludingMatcher70,1458 def initialize(expected)initialize71,1491 def ==(actual)==75,1568 def descriptiondescription81,1720 class DuckTypeMatcherDuckTypeMatcher86,1848 def initialize(*methods_to_respond_to)initialize87,1876 def ==(value)==91,1993 class MatcherMatcherMatcherMatcher96,2115 def initialize(matcher)initialize97,2142 def ==(value)==101,2216 class EqualityProxyEqualityProxy106,2296 def initialize(given)initialize107,2322 def ==(expected)==111,2390 class InstanceOfInstanceOf116,2467 def initialize(klass)initialize117,2490 def ==(actual)==121,2558 class KindOfKindOf126,2642 def initialize(klass)initialize127,2661 def ==(actual)==131,2729 def any_argsany_args142,3012 def anythinganything151,3196 def no_argsno_args160,3376 def duck_type(*args)duck_type170,3681 def booleanboolean179,3878 def hash_including(*args)hash_including191,4316 def hash_excluding(*args)hash_excluding202,4766 def instance_of(klass)instance_of213,5076 def kind_of(klass)kind_of223,5325 def anythingize_lonely_keys(*args)anythingize_lonely_keys231,5443 norspec/rs/rspec/mocks/error_generator.rb,1380 module RSpecRSpec1,0 module MocksMocks2,13 class ErrorGeneratorErrorGenerator4,43 def initialize(target, name, options={})initialize7,93 def optsopts14,271 def raise_unexpected_message_error(message, *args)raise_unexpected_message_error19,335 def raise_unexpected_message_args_error(expectation, *args)raise_unexpected_message_args_error24,508 def raise_missing_default_stub_error(expectation,*args)raise_missing_default_stub_error31,858 def raise_similar_message_args_error(expectation, *args)raise_similar_message_args_error38,1324 def raise_expectation_error(message, expected_received_count, actual_received_count, *args)raise_expectation_error45,1698 def raise_out_of_order_error(message)raise_out_of_order_error50,1997 def raise_block_failed_error(message, detail)raise_block_failed_error55,2130 def raise_missing_block_error(args_to_yield)raise_missing_block_error60,2298 def raise_wrong_arity_error(args_to_yield, arity)raise_wrong_arity_error65,2473 def introintro71,2652 def __raise(message)__raise85,2955 def arg_message(*args)arg_message94,3265 def format_args(*args)format_args98,3343 def arg_list(*args)arg_list102,3447 def count_message(count)count_message106,3586 def pretty_print(count)pretty_print111,3729 norspec/rs/rspec/mocks/errors.rb,192 module RSpecRSpec1,0 module MocksMocks2,13 class MockExpectationError < ExceptionMockExpectationError4,43 class AmbiguousReturnError < StandardErrorAmbiguousReturnError8,114 norspec/rs/rspec/mocks/example_methods.rb,431 module RSpecRSpec1,0 module MocksMocks2,13 module ExampleMethodsExampleMethods3,28 def double(*args)double21,634 def mock(*args)mock26,734 def stub(*args)stub31,830 def allow_message_expectations_on_nilallow_message_expectations_on_nil40,1151 def stub_const(constant_name, value, options = {})stub_const81,3126 def declare_double(declared_as, *args)declare_double87,3273 ,153 module RSpecRSpec1,0 module MocksMocks2,13 module InstanceExecInstanceExec4,43 def instance_exec(*args, &block)instance_exec15,510 /var/folders/b9/zwv8g_296jq17rcjpjw_94jc0000gn/T//tags.dVqZOB,79 module MarshalMarshal1,0 def dump_with_mocks(*args)dump_with_mocks3,31 norspec/rs/rspec/mocks/extensions/psych.rb,88 module PsychPsych2,47 def dump_with_mocks(object, *args)dump_with_mocks4,80 norspec/rs/rspec/mocks/framework.rb,0 norspec/rs/rspec/mocks/message_expectation.rb,3237 module RSpecRSpec1,0 module MocksMocks2,13 class MessageExpectationMessageExpectation4,29 def initialize(error_generator, expectation_ordering, expected_from, message, expected_received_count=1, opts={}, &implementation)initialize12,336 def implementation=(implementation)implementation=32,1167 def build_child(expected_from, expected_received_count, opts={}, &implementation)build_child39,1340 def expected_argsexpected_args54,1966 def and_return(*values, &implementation)and_return94,3309 def and_raise(exception=RuntimeError)and_raise118,4298 def and_throw(symbol, object = nil)and_throw132,4743 def and_yield(*args, &block)and_yield142,5032 def matches?(message, *args)matches?155,5352 def invoke(*args, &block)invoke160,5488 def raise_exceptionraise_exception188,6470 def called_max_times?called_max_times?201,7046 def matches_name_but_not_args(message, *args)matches_name_but_not_args209,7273 def verify_messages_receivedverify_messages_received214,7431 def expected_messages_received?expected_messages_received?222,7703 def ignoring_args?ignoring_args?227,7869 def matches_at_least_count?matches_at_least_count?232,7963 def matches_at_most_count?matches_at_most_count?237,8097 def matches_exact_count?matches_exact_count?242,8229 def similar_messagessimilar_messages247,8347 def advise(*args)advise252,8435 def generate_errorgenerate_error257,8520 def raise_out_of_order_errorraise_out_of_order_error265,8829 def with(*args, &block)with293,9914 def exactly(n, &block)exactly305,10293 def at_least(n, &block)at_least317,10630 def at_most(n, &block)at_most329,10968 def times(&block)times342,11394 def any_number_of_times(&block)any_number_of_times349,11555 def nevernever360,11825 def once(&block)once370,12032 def twice(&block)twice381,12300 def ordered(&block)ordered394,12666 def negative_expectation_for?(message)negative_expectation_for?402,12834 def actual_received_count_matters?actual_received_count_matters?407,12928 def increase_actual_received_count!increase_actual_received_count!412,13039 def call_with_yield(&block)call_with_yield418,13145 def call_implementation_consecutive(*args, &block)call_implementation_consecutive430,13595 def call_implementation(*args, &block)call_implementation435,13777 def clone_args_to_yield(*args)clone_args_to_yield439,13937 def failed_fast?failed_fast?444,14063 def set_expected_received_count(relativity, n)set_expected_received_count448,14118 def clear_actual_received_count!clear_actual_received_count!459,14564 def build_implementation(values)build_implementation465,14664 class NegativeMessageExpectation < MessageExpectationNegativeMessageExpectation472,14819 def initialize(error_generator, expectation_ordering, expected_from, message, &implementation)initialize474,14894 def and_return(*)and_return478,15107 def negative_expectation_for?(message)negative_expectation_for?483,15175 norspec/rs/rspec/mocks/method_double.rb,1633 module RSpecRSpec1,0 module MocksMocks2,13 class MethodDouble < HashMethodDouble4,43 def initialize(object, method_name, proxy)initialize9,139 def expectationsexpectations19,383 def stubsstubs24,462 def visibilityvisibility29,527 def object_singleton_classobject_singleton_class42,867 def obfuscate(method_name)obfuscate47,964 def stashed_method_namestashed_method_name52,1077 def object_responds_to?(method_name)object_responds_to?57,1166 def configure_methodconfigure_method68,1508 def stash_original_methodstash_original_method78,1751 def define_proxy_methoddefine_proxy_method88,2054 def restore_original_methodrestore_original_method100,2457 def verifyverify116,2998 def resetreset121,3102 def clearclear128,3231 def add_expectation(error_generator, expectation_ordering, expected_from, opts, &implementation)add_expectation134,3322 def add_negative_expectation(error_generator, expectation_ordering, expected_from, &implementation)add_negative_expectation146,3872 def add_stub(error_generator, expectation_ordering, expected_from, opts={}, &implementation)add_stub154,4230 def add_default_stub(*args, &implementation)add_default_stub162,4557 def remove_stubremove_stub168,4706 def proxy_for_nil_class?proxy_for_nil_class?174,4861 def warn_if_nil_classwarn_if_nil_class179,4941 def raise_method_not_stubbed_errorraise_method_not_stubbed_error186,5255 def reset_nil_expectations_warningreset_nil_expectations_warning191,5432 norspec/rs/rspec/mocks/methods.rb,806 module RSpecRSpec1,0 module MocksMocks2,13 module MethodsMethods4,74 def should_receive(message, opts={}, &block)should_receive14,431 def should_not_receive(message, &block)should_not_receive20,712 def stub(message_or_hash, opts={}, &block)stub31,1098 def unstub(message)unstub46,1743 def stub_chain(*chain, &blk)stub_chain80,3033 def as_null_objectas_null_object99,3726 def null_object?null_object?105,3893 def received_message?(message, *args, &block)received_message?110,3976 def rspec_verifyrspec_verify115,4119 def rspec_resetrspec_reset120,4198 def __mock_proxy__mock_proxy126,4271 def __remove_mock_proxy__remove_mock_proxy139,4545 def format_chain(*chain, &blk)format_chain143,4612 +éü,74 module RSpecRSpec1,0 module MocksMocks2,13 class MockMock3,28 ,394 module RSpecRSpec1,0 module MocksMocks2,13 class OrderGroupOrderGroup4,43 def initializeinitialize5,64 def register(expectation)register10,143 def ready_for?(expectation)ready_for?15,236 def consumeconsume20,337 def handle_order_constraint(expectation)handle_order_constraint25,407 def clearclear31,614 def empty?empty?35,665 ,2295 module RSpecRSpec1,0 module MocksMocks2,13 class ProxyProxy4,43 def warn_about_expectations_on_nilwarn_about_expectations_on_nil7,98 def warn_about_expectations_on_nil=(new_value)warn_about_expectations_on_nil=12,266 def allow_message_expectations_on_nilallow_message_expectations_on_nil17,407 def allow_message_expectations_on_nil?allow_message_expectations_on_nil?26,771 def initialize(object, name=nil, options={})initialize32,900 def null_object?null_object?44,1298 def as_null_objectas_null_object51,1487 def already_proxied_respond_toalready_proxied_respond_to57,1584 def already_proxied_respond_to?already_proxied_respond_to?62,1692 def add_message_expectation(location, method_name, opts={}, &block) add_message_expectation67,1794 def add_negative_message_expectation(location, method_name, &implementation)add_negative_message_expectation80,2234 def add_stub(location, method_name, opts={}, &implementation)add_stub85,2472 def remove_stub(method_name)remove_stub90,2685 def verifyverify95,2795 def resetreset102,2910 def received_message?(method_name, *args, &block)received_message?107,2996 def has_negative_expectation?(message)has_negative_expectation?112,3158 def record_message_received(message, *args, &block)record_message_received117,3345 def message_received(message, *args, &block)message_received122,3484 def raise_unexpected_message_error(method_name, *args)raise_unexpected_message_error148,4814 def raise_unexpected_message_args_error(expectation, *args)raise_unexpected_message_args_error153,4978 def raise_missing_default_stub_error(expectation, *args)raise_missing_default_stub_error158,5153 def method_doublemethod_double164,5320 def method_doublesmethod_doubles168,5442 def find_matching_expectation(method_name, *args)find_matching_expectation172,5507 def find_almost_matching_expectation(method_name, *args)find_almost_matching_expectation177,5836 def find_matching_method_stub(method_name, *args)find_matching_method_stub181,6071 def find_almost_matching_stub(method_name, *args)find_almost_matching_stub185,6227 ,221 module RSpecRSpec4,102 module MocksMocks5,115 module SerializationSerialization7,145 def self.fix_for(object)fix_for9,187 module YAMLYAML16,378 def to_yaml(options = {})to_yaml18,415 ‹éü,275 module RSpecRSpec1,0 module MocksMocks2,13 class SpaceSpace4,47 def add(obj)add5,63 def verify_allverify_all9,161 def reset_allreset_all15,266 def expectation_orderingexpectation_ordering23,428 def receiversreceivers29,536 ,0 norspec/rs/rspec/mocks/stub_const.rb,2080 module RSpecRSpec1,0 module MocksMocks2,13 module RecursiveConstMethodsRecursiveConstMethods6,132 def const_defined_on?(mod, const_name)const_defined_on?25,978 def get_const_defined_on(mod, const_name)get_const_defined_on29,1079 def const_defined_on?(mod, const_name)const_defined_on?37,1339 def get_const_defined_on(mod, const_name)get_const_defined_on41,1447 def recursive_const_get(const_name)recursive_const_get46,1563 def recursive_const_defined?(const_name)recursive_const_defined?50,1710 class ConstantConstant61,2171 def initialize(name)initialize65,2247 def previously_defined?previously_defined?82,2790 def stubbed?stubbed?88,2949 def to_sto_s92,2996 def self.unstubbed(name)unstubbed98,3108 def self.original(name)original113,3646 class ConstantStubberConstantStubber120,3838 def self.stub(constant_name, value, options = {})stub134,4342 class BaseStubberBaseStubber152,4891 def initialize(full_constant_name, stubbed_value, transfer_nested_constants)initialize157,5012 def to_constantto_constant165,5415 class DefinedConstantReplacer < BaseStubberDefinedConstantReplacer178,5763 def stubstub179,5813 def previously_defined?previously_defined?191,6219 def rspec_resetrspec_reset195,6279 def transfer_nested_constants(constants)transfer_nested_constants200,6427 def verify_constants_to_transfer!verify_constants_to_transfer!206,6628 class UndefinedConstantSetter < BaseStubberUndefinedConstantSetter240,8078 def stubstub241,8128 def previously_defined?previously_defined?257,8712 def rspec_resetrspec_reset261,8773 def self.ensure_registered_with_mocks_spaceensure_registered_with_mocks_space271,9075 def self.rspec_resetrspec_reset281,9453 def self.stubbersstubbers296,9884 def self.find(name)find300,9944 def self.raise_on_invalid_constraise_on_invalid_const310,10328 norspec/rs/rspec/mocks/test_double.rb,789 module RSpecRSpec1,0 module MocksMocks2,13 module TestDoubleTestDouble6,245 def self.extend_onto(object, name=nil, stubs_and_options={})extend_onto17,571 def initialize(name=nil, stubs_and_options={})initialize24,850 def ==(other)==32,1221 def inspectinspect37,1299 def to_sto_s42,1429 def respond_to?(message, incl_private=false)respond_to?49,1551 def __initialize_as_test_double(name=nil, stubs_and_options={})__initialize_as_test_double55,1697 def method_missing(message, *args, &block)method_missing66,2033 def extract_options(stubs_and_options)extract_options78,2453 def extract_option(source, target, key, default=nil)extract_option88,2847 def assign_stubs(stubs)assign_stubs96,3049 norspec/rs/rspec/mocks/version.rb,81 module RSpecRSpec1,0 module MocksMocks2,13 module VersionVersion3,28 ,253 module RSpecRSpec5,101 module MocksMocks6,114 def setup(host)setup10,175 def verifyverify18,411 def teardownteardown22,464 def add_extensionsadd_extensions28,531 def extensions_added?extensions_added?34,737 norspec/rs/rspec/version.rb,73 module RSpec # :nodoc:RSpec1,0 module Version # :nodoc:Version2,23 ,0 üéü,0 norspec/rs/spec/mocks.rb,0 norspec/x_spec.rb,0 test/aliasing_test.rb,521 class FlexMockFlexMock5,48 module StubsAndExpectsStubsAndExpects6,63 def expects(*args)expects7,88 def stubs(*args)stubs12,234 module MockContainerMockContainer17,298 class PartialMockProxyPartialMockProxy24,407 class AliasingTest < Test::Unit::TestCaseAliasingTest30,510 def test_mockingtest_mocking33,582 def test_once_mockingtest_once_mocking39,741 def test_twice_mockingtest_twice_mocking43,833 def test_stubbingtest_stubbing48,1000 def test_partialtest_partial53,1123 test/assert_spy_called_test.rb,908 class AssertSpyCalledTest < Test::Unit::TestCaseAssertSpyCalledTest6,95 class FooBarFooBar9,174 def foofoo10,189 def barbar12,209 def setupsetup16,236 def spyspy21,298 def test_assert_detects_basic_calltest_assert_detects_basic_call25,324 def test_assert_detects_basic_call_with_argstest_assert_detects_basic_call_with_args30,412 def test_assert_rejects_incorrect_argstest_assert_rejects_incorrect_args35,521 def test_assert_detects_multiple_callstest_assert_detects_multiple_calls42,742 def test_assert_rejects_incorrect_typetest_assert_rejects_incorrect_type49,873 def test_assert_detects_blockstest_assert_detects_blocks57,1114 def test_assert_detects_any_argstest_assert_detects_any_args64,1252 def test_assert_rejects_bad_count_on_any_argstest_assert_rejects_bad_count_on_any_args72,1442 def assert_fails(message_pattern)assert_fails81,1697 test/base_class_test.rb,1070 class BaseClassTest < Test::Unit::TestCaseBaseClassTest3,27 class FooBarFooBar6,100 def foofoo7,115 def method_missing(sym, *args, &block)method_missing10,136 def respond_to?(method)respond_to?15,235 def mockmock20,309 def test_base_class_auto_mocks_classtest_base_class_auto_mocks_class24,363 def test_base_class_auto_mocks_base_class_methodstest_base_class_auto_mocks_base_class_methods28,445 def test_base_class_does_not_mock_non_base_class_methodstest_base_class_does_not_mock_non_base_class_methods32,550 def test_can_stub_existing_methodstest_can_stub_existing_methods38,675 def test_can_not_stub_non_class_defined_methodstest_can_not_stub_non_class_defined_methods43,789 def test_can_not_stub_non_class_methods_in_single_linetest_can_not_stub_non_class_methods_in_single_line52,1097 def test_can_explicitly_stub_non_class_defined_methodstest_can_explicitly_stub_non_class_defined_methods61,1422 def test_can_explicitly_stub_meta_programmed_methodstest_can_explicitly_stub_meta_programmed_methods66,1576 test/container_methods_test.rb,1111 class TestFlexmockContainerMethods < Test::Unit::TestCaseTestFlexmockContainerMethods15,379 def test_simple_mock_creationtest_simple_mock_creation18,467 def test_mock_with_nametest_mock_with_name24,606 def test_mock_with_symbol_nametest_mock_with_symbol_name31,803 def test_mock_with_hashtest_mock_with_hash38,1006 def test_mock_with_name_and_hashtest_mock_with_name_and_hash44,1149 def test_mock_with_name_hash_and_blocktest_mock_with_name_hash_and_block53,1445 def test_basic_stubtest_basic_stub61,1666 def test_basic_stub_with_nametest_basic_stub_with_name68,1826 def test_stub_with_quick_definitionstest_stub_with_quick_definitions76,2076 def test_stub_with_name_quick_definitionstest_stub_with_name_quick_definitions82,2213 def test_stubs_are_auto_verifiedtest_stubs_are_auto_verified91,2525 def test_stubbing_a_stringtest_stubbing_a_string98,2710 def test_multiple_stubs_work_with_same_partial_mock_proxytest_multiple_stubs_work_with_same_partial_mock_proxy104,2828 def test_multiple_stubs_layer_behaviortest_multiple_stubs_layer_behavior111,2998 ,473 class TestFlexmockDefaultFrameworkAdapter < Test::Unit::TestCaseTestFlexmockDefaultFrameworkAdapter14,321 def setupsetup15,386 def test_assert_block_raises_exceptiontest_assert_block_raises_exception19,458 def test_assert_block_doesnt_raise_exceptiontest_assert_block_doesnt_raise_exception25,645 def test_assert_equal_doesnt_raise_exceptiontest_assert_equal_doesnt_raise_exception29,753 def test_assert_equal_can_failtest_assert_equal_can_fail33,857 ,1568 class TestDemeterMocking < Test::Unit::TestCaseTestDemeterMocking5,48 def test_demeter_mockingtest_demeter_mocking8,126 def test_demeter_mocking_with_operatorstest_demeter_mocking_with_operators16,353 def test_demeter_mocking_with_multiple_operatorstest_demeter_mocking_with_multiple_operators25,642 def test_multiple_demeter_mocks_on_same_branch_is_oktest_multiple_demeter_mocks_on_same_branch_is_ok31,803 def test_multi_level_deep_demeter_violationtest_multi_level_deep_demeter_violation39,1095 def test_final_method_can_have_multiple_expecationstest_final_method_can_have_multiple_expecations45,1280 def test_conflicting_mock_declarations_raises_an_errortest_conflicting_mock_declarations_raises_an_error53,1571 def test_conflicting_mock_declarations_in_reverse_order_does_not_raise_errortest_conflicting_mock_declarations_in_reverse_order_does_not_raise_error65,1976 def test_preestablishing_existing_mock_is_oktest_preestablishing_existing_mock_is_ok75,2320 def test_quick_defs_can_use_demeter_mockingtest_quick_defs_can_use_demeter_mocking83,2583 def test_quick_defs_can_use_demeter_mocking_twotest_quick_defs_can_use_demeter_mocking_two93,2892 def test_errors_on_ill_formed_method_namestest_errors_on_ill_formed_method_names100,3121 def test_no_errors_on_well_formed_method_namestest_no_errors_on_well_formed_method_names109,3375 def test_readme_example_1test_readme_example_1118,3593 def test_readme_example_2test_readme_example_2128,3967 def test_readme_example_3test_readme_example_3134,4168 test/deprecated_methods_test.rb,2237 class TestFlexMock < Test::Unit::TestCaseTestFlexMock15,359 def s(&block)s19,465 def setupsetup23,515 def test_handletest_handle27,563 def test_handle_no_blocktest_handle_no_block34,707 def test_called_with_blocktest_called_with_block40,837 def test_return_valuetest_return_value47,1035 def test_handle_missing_methodtest_handle_missing_method52,1140 def test_ignore_missing_methodtest_ignore_missing_method60,1370 def test_good_countstest_good_counts66,1501 def test_bad_countstest_bad_counts74,1640 def test_undetermined_countstest_undetermined_counts85,1847 def test_zero_countstest_zero_counts94,1992 def test_file_io_with_usetest_file_io_with_use103,2161 def count_lines(stream)count_lines111,2358 def test_usetest_use119,2465 def test_failures_during_usetest_failures_during_use128,2612 def test_sequential_valuestest_sequential_values138,2831 def test_respond_to_returns_false_for_non_handled_methodstest_respond_to_returns_false_for_non_handled_methods147,3063 def test_respond_to_returns_true_for_explicit_methodstest_respond_to_returns_true_for_explicit_methods151,3198 def test_respond_to_returns_true_for_missing_methods_when_ignoring_missingtest_respond_to_returns_true_for_missing_methods_when_ignoring_missing156,3357 def test_respond_to_returns_true_for_missing_methods_when_ignoring_missing_using_shouldtest_respond_to_returns_true_for_missing_methods_when_ignoring_missing_using_should161,3538 def test_method_proc_raises_error_on_unknowntest_method_proc_raises_error_on_unknown166,3734 def test_method_returns_callable_proctest_method_returns_callable_proc172,3852 def test_method_returns_do_nothing_proc_for_missing_methodstest_method_returns_do_nothing_proc_for_missing_methods181,4108 class TestDeprecatedOrderingMethods < Test::Unit::TestCaseTestDeprecatedOrderingMethods189,4335 def test_deprecated_ordering_methodstest_deprecated_ordering_methods193,4458 class TestAnyInstance < Test::Unit::TestCaseTestAnyInstance205,4854 class DogDog209,4963 def barkbark210,4975 def test_any_instance_still_works_for_backwards_compatibilitytest_any_instance_still_works_for_backwards_compatibility215,5015 ,1206 class TemperatureSamplerTemperatureSampler14,321 def initialize(sensor)initialize15,346 def average_tempaverage_temp19,399 class TestTemperatureSampler < Test::Unit::TestCaseTestTemperatureSampler25,526 def test_tempurature_samplertest_tempurature_sampler28,608 class TestExamplesFromReadme < Test::Unit::TestCaseTestExamplesFromReadme37,887 def test_simple_return_valuestest_simple_return_values40,969 def test_returning_an_undefined_valuetest_returning_an_undefined_value46,1109 def test_dbtest_db52,1247 def test_query_and_updatetest_query_and_update61,1477 def test_ordered_queriestest_ordered_queries70,1730 def test_ordered_queries_in_record_modetest_ordered_queries_in_record_mode88,2327 def test_build_xmltest_build_xml105,2859 def known_good_way_to_build_xml(rec)known_good_way_to_build_xml114,3114 def new_way_to_build_xml(rec)new_way_to_build_xml119,3184 def test_multiple_getstest_multiple_gets123,3272 def test_an_important_messagetest_an_important_message132,3517 class QuoteServiceQuoteService141,3747 class PortfolioPortfolio143,3774 def valuevalue144,3792 def test_portfolio_valuetest_portfolio_value149,3850 test/extended_should_receive_test.rb,808 module ExtendedShouldReceiveTestsExtendedShouldReceiveTests14,321 def test_accepts_expectation_hashtest_accepts_expectation_hash15,355 def test_accepts_list_of_methodstest_accepts_list_of_methods21,519 def test_contraints_apply_to_all_expectationstest_contraints_apply_to_all_expectations28,677 def test_count_contraints_apply_to_all_expectationstest_count_contraints_apply_to_all_expectations35,944 def test_multiple_should_receives_are_allowedtest_multiple_should_receives_are_allowed41,1135 class TestExtendedShouldReceiveOnFullMocks < Test::Unit::TestCaseTestExtendedShouldReceiveOnFullMocks49,1352 def setupsetup53,1485 class TestExtendedShouldReceiveOnPartialMockProxies < Test::Unit::TestCaseTestExtendedShouldReceiveOnPartialMockProxies60,1555 def setupsetup64,1697 ,528 class DummyModelDummyModel5,48 class ChildModel < DummyModelChildModel8,70 class TestFlexModel < Test::Unit::TestCaseTestFlexModel12,176 def test_initial_conditionstest_initial_conditions15,249 def test_classifying_mock_modelstest_classifying_mock_models27,650 def test_mock_models_have_different_idstest_mock_models_have_different_ids37,897 def test_mock_models_can_have_quick_defstest_mock_models_can_have_quick_defs43,1048 def test_mock_models_can_have_blockstest_mock_models_can_have_blocks48,1188 test/naming_test.rb,816 class TestNaming < Test::Unit::TestCaseTestNaming14,321 def test_nametest_name17,391 def test_name_in_no_handler_found_errortest_name_in_no_handler_found_error22,474 def test_name_in_received_count_errortest_name_in_received_count_error31,690 def test_naming_with_usetest_naming_with_use40,910 def test_naming_with_multiple_mocks_in_usetest_naming_with_multiple_mocks_in_use46,1027 def test_inspect_returns_reasonable_nametest_inspect_returns_reasonable_name53,1215 def test_mock_can_override_inspecttest_mock_can_override_inspect60,1399 class DummyDummy67,1602 def inspectinspect68,1616 def test_partial_mocks_use_original_inspecttest_partial_mocks_use_original_inspect73,1669 def test_partial_mocks_can_override_inspecttest_partial_mocks_can_override_inspect79,1833 test/new_instances_test.rb,2428 class TestNewInstances < Test::Unit::TestCaseTestNewInstances14,321 class DogDog18,431 def barkbark19,443 def wagwag22,476 def self.makemake25,508 class CatCat30,551 def initialize(name, &block)initialize32,585 class ConnectionConnection38,691 def initialize(*args)initialize39,710 def send(args)send42,778 def post(args)post45,822 def test_new_instances_allows_stubbing_of_existing_methodstest_new_instances_allows_stubbing_of_existing_methods50,873 def test_new_instances_stubs_still_have_existing_methodstest_new_instances_stubs_still_have_existing_methods58,1094 def test_new_instances_will_pass_args_to_newtest_new_instances_will_pass_args_to_new66,1309 def test_new_gets_block_after_restubbingtest_new_gets_block_after_restubbing79,1715 def test_new_instances_stub_verification_happens_on_teardowntest_new_instances_stub_verification_happens_on_teardown92,2036 def test_new_instances_reports_error_on_non_classestest_new_instances_reports_error_on_non_classes102,2374 def test_does_not_by_default_stub_objects_created_with_allocatetest_does_not_by_default_stub_objects_created_with_allocate112,2653 def test_explicitly_mocking_allocation_in_new_instances_fails_in_ruby_19test_explicitly_mocking_allocation_in_new_instances_fails_in_ruby_19121,2908 def test_can_explicitly_stub_objects_created_with_allocatetest_can_explicitly_stub_objects_created_with_allocate129,3178 def test_can_stub_objects_created_with_arbitrary_class_methodstest_can_stub_objects_created_with_arbitrary_class_methods138,3435 def test_stubbing_arbitrary_class_methods_leaves_new_alonetest_stubbing_arbitrary_class_methods_leaves_new_alone145,3658 def test_stubbing_new_and_allocate_doesnt_double_stub_objects_on_newtest_stubbing_new_and_allocate_doesnt_double_stub_objects_on_new152,3873 def test_blocks_on_new_do_not_have_stubs_installedtest_blocks_on_new_do_not_have_stubs_installed165,4326 def test_new_instances_accept_chained_expectationstest_new_instances_accept_chained_expectations179,4664 def test_fancy_use_of_chained_should_receivedtest_fancy_use_of_chained_should_received187,4934 def test_writable_accessorstest_writable_accessors192,5089 def test_ordering_can_be_specifiedtest_ordering_can_be_specified198,5234 def test_ordering_can_be_specified_in_groupstest_ordering_can_be_specified_in_groups206,5428 test/object_extensions_test.rb,377 class ObjectExtensionsTest < Test::Unit::TestCaseObjectExtensionsTest6,85 def setupsetup7,135 def test_undefined_methods_are_not_singletonstest_undefined_methods_are_not_singletons14,215 def test_normal_methods_are_not_singletonstest_normal_methods_are_not_singletons18,324 def test_singleton_methods_are_singletonstest_singleton_methods_are_singletons22,429 test/partial_mock_test.rb,5829 class TestStubbing < Test::Unit::TestCaseTestStubbing14,321 class DogDog17,393 def barkbark18,405 def Dog.createcreate21,438 class DogPlus < DogDogPlus26,487 def should_receiveshould_receive27,509 def new_instancesnew_instances30,558 def by_defaultby_default33,603 def test_attempting_to_partially_mock_existing_mock_is_nooptest_attempting_to_partially_mock_existing_mock_is_noop38,659 def test_stub_command_add_behavior_to_arbitrary_objectstest_stub_command_add_behavior_to_arbitrary_objects44,844 def test_stub_command_can_configure_via_blocktest_stub_command_can_configure_via_block50,1028 def test_stubbed_methods_can_take_blockstest_stubbed_methods_can_take_blocks58,1225 def test_multiple_stubs_on_the_same_object_reuse_the_same_partial_mocktest_multiple_stubs_on_the_same_object_reuse_the_same_partial_mock65,1450 def test_stubbed_methods_can_invoke_original_behaviortest_stubbed_methods_can_invoke_original_behavior70,1597 def test_multiple_methods_can_be_stubbedtest_multiple_methods_can_be_stubbed76,1766 def test_original_behavior_can_be_restoredtest_original_behavior_can_be_restored84,2018 def test_original_missing_behavior_can_be_restoredtest_original_missing_behavior_can_be_restored94,2353 def test_multiple_stubs_on_single_method_can_be_restored_missing_methodtest_multiple_stubs_on_single_method_can_be_restored_missing_method103,2632 def test_original_behavior_is_restored_when_multiple_methods_are_mockedtest_original_behavior_is_restored_when_multiple_methods_are_mocked114,3041 def test_original_behavior_is_restored_on_class_objectstest_original_behavior_is_restored_on_class_objects123,3370 def test_original_behavior_is_restored_on_singleton_methodstest_original_behavior_is_restored_on_singleton_methods130,3617 def obj.hi() :hello endhi132,3700 def test_original_behavior_is_restored_on_singleton_methods_with_multiple_stubstest_original_behavior_is_restored_on_singleton_methods_with_multiple_stubs140,3896 def obj.hi(n) "hello#{n}" endhi142,3999 def test_original_behavior_is_restored_on_nonsingleton_methods_with_multiple_stubstest_original_behavior_is_restored_on_nonsingleton_methods_with_multiple_stubs152,4320 def test_stubbing_file_shouldnt_break_writingtest_stubbing_file_shouldnt_break_writing168,4814 def test_original_behavior_is_restored_even_when_errorstest_original_behavior_is_restored_even_when_errors184,5253 def m.flexmock_verify() endflexmock_verify196,5630 def test_not_calling_stubbed_method_is_an_errortest_not_calling_stubbed_method_is_an_error199,5669 def test_mock_is_verified_when_the_stub_is_verifiedtest_mock_is_verified_when_the_stub_is_verified208,5887 def test_stub_can_have_explicit_nametest_stub_can_have_explicit_name217,6144 def test_unamed_stub_will_use_default_naming_conventiontest_unamed_stub_will_use_default_naming_convention223,6323 def test_partials_can_be_defined_in_a_blocktest_partials_can_be_defined_in_a_block229,6519 def test_partials_defining_block_return_real_obj_not_proxytest_partials_defining_block_return_real_obj_not_proxy237,6706 def test_partial_mocks_always_return_domain_objecttest_partial_mocks_always_return_domain_object244,6900 def test_domain_objects_do_not_have_mock_methodstest_domain_objects_do_not_have_mock_methods255,7180 def test_partial_mocks_have_mock_methodstest_partial_mocks_have_mock_methods262,7372 def test_partial_mocks_do_not_have_mock_methods_after_teardowntest_partial_mocks_do_not_have_mock_methods_after_teardown270,7568 class NoMethodsNoMethods284,8160 def methods(arg = true)methods285,8178 def xtest_object_methods_method_is_not_used_in_singleton_checksxtest_object_methods_method_is_not_used_in_singleton_checks290,8278 def obj.mock() :original endmock292,8368 def test_partial_mocks_with_mock_method_singleton_colision_have_original_defs_restoredtest_partial_mocks_with_mock_method_singleton_colision_have_original_defs_restored296,8453 def dog.mock() :original endmock298,8560 class MockColisionMockColision304,8681 def mockmock305,8702 def test_partial_mocks_with_mock_method_non_singleton_colision_have_original_defs_restoredtest_partial_mocks_with_mock_method_non_singleton_colision_have_original_defs_restored310,8746 def test_safe_partial_mocks_do_not_support_mock_methodstest_safe_partial_mocks_do_not_support_mock_methods317,8950 def test_safe_partial_mocks_require_blocktest_safe_partial_mocks_require_block325,9178 def test_safe_partial_mocks_are_actually_mockedtest_safe_partial_mocks_are_actually_mocked330,9311 def test_should_receive_does_not_override_preexisting_deftest_should_receive_does_not_override_preexisting_def335,9481 def test_should_receive_does_override_should_receive_preexisting_deftest_should_receive_does_override_should_receive_preexisting_def341,9681 class LiarLiar346,9865 def respond_to?(method_name)respond_to?347,9878 def test_liar_actually_liestest_liar_actually_lies357,10047 def test_partial_mock_where_respond_to_is_true_yet_method_is_not_theretest_partial_mock_where_respond_to_is_true_yet_method_is_not_there363,10199 class MetaDog < DogMetaDog369,10384 def method_missing(method, *args, &block)method_missing370,10406 def respond_to_missing?(method, *)respond_to_missing?377,10540 def test_partial_mock_where_method_created_by_method_missing_and_respond_to_missingtest_partial_mock_where_method_created_by_method_missing_and_respond_to_missing382,10626 class ValueObjectValueObject393,11052 def initialize(val)initialize396,11094 def ==(other)==400,11144 def test_partial_mocks_in_the_presense_of_equal_definitiontest_partial_mocks_in_the_presense_of_equal_definition405,11201 test/rails_view_stub_test.rb,1492 module ViewTestsViewTests6,86 def test_view_mocks_as_stubtest_view_mocks_as_stub7,103 def test_fails_if_no_rendertest_fails_if_no_render12,197 def test_view_mocks_with_expectationtest_view_mocks_with_expectation19,331 def test_view_mocks_with_expectation_fails_with_different_templatetest_view_mocks_with_expectation_fails_with_different_template24,435 def test_view_mocks_with_expectation_and_multiple_templatestest_view_mocks_with_expectation_and_multiple_templates32,644 def pretend_to_be_rails_version(version)pretend_to_be_rails_version39,820 class TestRailsViewStubForVersionsUpTo_1_2_4 < Test::Unit::TestCaseTestRailsViewStubForVersionsUpTo_1_2_445,1015 def setupsetup49,1133 def render(*names)render56,1362 class TestRailsViewStubForVersionsAfter_1_2_4 < Test::Unit::TestCaseTestRailsViewStubForVersionsAfter_1_2_470,1640 def setupsetup74,1759 def render(*names)render82,2032 class TestRailsViewStubForVersionsAfter_2_0_2 < Test::Unit::TestCaseTestRailsViewStubForVersionsAfter_2_0_297,2334 def setupsetup101,2453 def render(*names)render109,2728 class FlexMockFlexMock123,2983 module MockContainerMockContainer124,2998 module RailsRails125,3021 module VERSIONVERSION126,3038 class TestRailsVersion < Test::Unit::TestCaseTestRailsVersion133,3107 def test_rails_version_to_get_code_coveragetest_rails_version_to_get_code_coverage135,3182 module ActionViewActionView142,3280 class BaseBase143,3298 test/record_mode_test.rb,1339 class TestRecordMode < Test::Unit::TestCaseTestRecordMode14,321 def test_recording_mode_workstest_recording_mode_works17,395 def test_arguments_are_passed_to_recording_mode_blocktest_arguments_are_passed_to_recording_mode_block25,569 def test_recording_mode_handles_multiple_returnstest_recording_mode_handles_multiple_returns36,833 def test_recording_mode_does_not_specify_ordertest_recording_mode_does_not_specify_order50,1243 def test_recording_mode_gets_block_args_tootest_recording_mode_gets_block_args_too61,1478 def test_recording_mode_should_validate_args_with_equalstest_recording_mode_should_validate_args_with_equals73,1748 def test_recording_mode_should_allow_arg_contraint_validationtest_recording_mode_should_allow_arg_contraint_validation84,1972 def test_recording_mode_should_handle_multiplicity_contraintstest_recording_mode_should_handle_multiplicity_contraints95,2201 def test_strict_record_mode_requires_exact_argument_matchestest_strict_record_mode_requires_exact_argument_matches107,2456 def test_strict_record_mode_requires_exact_orderingtest_strict_record_mode_requires_exact_ordering119,2724 def test_strict_record_mode_requires_oncetest_strict_record_mode_requires_once133,3015 def test_strict_record_mode_can_not_failtest_strict_record_mode_can_not_fail146,3277 test/redirect_error.rb,114 class FlexMockFlexMock3,20 module RedirectErrorRedirectError4,35 def redirect_errorredirect_error5,58 ,0 test/rspec_integration/spy_example_spec.rb,134 class DogDog8,106 def wags(arg)wags9,118 def barksbarks13,179 def should_fail(message_pattern)should_fail134,3188 ,2164 class TestSamples < Test::Unit::TestCaseTestSamples16,347 def test_file_iotest_file_io24,717 def count_lines(file)count_lines32,968 class TestUndefined < Test::Unit::TestCaseTestUndefined42,1061 def test_undefined_valuestest_undefined_values45,1134 class TestSimple < Test::Unit::TestCaseTestSimple54,1320 def test_simple_mocktest_simple_mock57,1390 class TestDog < Test::Unit::TestCaseTestDog64,1525 def test_dog_wagstest_dog_wags67,1592 class WooferWoofer73,1703 class DogDog76,1721 def initializeinitialize77,1731 def barkbark80,1779 def wagwag83,1813 class TestDogBarking < Test::Unit::TestCaseTestDogBarking88,1845 def setupsetup93,2007 def test_dogtest_dog98,2080 class TestDogBarkingWithNewInstances < Test::Unit::TestCaseTestDogBarkingWithNewInstances104,2211 def setupsetup109,2375 def test_dogtest_dog113,2460 class TestDefaults < Test::Unit::TestCaseTestDefaults119,2594 def setupsetup122,2666 def test_something_where_bark_must_be_called_oncetest_something_where_bark_must_be_called_once127,2793 class TestDemeter < Test::Unit::TestCaseTestDemeter135,2995 def test_manual_mockingtest_manual_mocking137,3065 def test_demetertest_demeter150,3499 class TestDb < Test::Unit::TestCaseTestDb160,3714 def test_dbtest_db163,3780 class TestDb < Test::Unit::TestCaseTestDb174,3985 def test_query_and_updatetest_query_and_update177,4051 def test_ordered_queriestest_ordered_queries188,4328 def test_ordered_queries_in_record_modetest_ordered_queries_in_record_mode206,4868 def known_good_way_to_build_xml(builder)known_good_way_to_build_xml223,5343 def new_way_to_build_xml(builder)new_way_to_build_xml227,5410 def test_build_xmltest_build_xml231,5494 class TestMoreSamples < Test::Unit::TestCaseTestMoreSamples242,5754 def test_multiple_getstest_multiple_gets245,5829 def test_an_important_messagetest_an_important_message254,6074 class QuoteServiceQuoteService263,6335 class PortfolioPortfolio266,6363 def initializeinitialize267,6381 def valuevalue270,6448 def test_portfolio_valuetest_portfolio_value275,6504 ,1266 class TestShouldIgnoreMissing < Test::Unit::TestCaseTestShouldIgnoreMissing14,321 def setupsetup17,404 def test_mocks_do_not_respond_to_undefined_methodstest_mocks_do_not_respond_to_undefined_methods21,452 def test_mocks_do_respond_to_defined_methodstest_mocks_do_respond_to_defined_methods25,556 def test_mocks_do_respond_to_any_method_when_ignoring_missingtest_mocks_do_respond_to_any_method_when_ignoring_missing30,696 def test_should_ignore_missing_returns_mocktest_should_ignore_missing_returns_mock35,842 def test_ignored_methods_return_undefinedtest_ignored_methods_return_undefined40,967 def test_undefined_mocking_with_argumentstest_undefined_mocking_with_arguments46,1141 def test_method_chains_with_undefined_are_self_preservingtest_method_chains_with_undefined_are_self_preserving51,1289 def test_method_proc_raises_error_on_unknowntest_method_proc_raises_error_on_unknown56,1454 def test_method_returns_callable_proctest_method_returns_callable_proc62,1578 def test_not_calling_method_proc_will_fail_count_constraintstest_not_calling_method_proc_will_fail_count_constraints69,1762 def test_method_returns_do_nothing_proc_for_missing_methodstest_method_returns_do_nothing_proc_for_missing_methods78,2024 ,11559 def mock_top_level_functionmock_top_level_function14,321 module KernelKernel18,362 def mock_kernel_functionmock_kernel_function19,376 class CatCat25,442 def purrpurr26,452 def meowmeow28,469 class TestFlexMockShoulds < Test::Unit::TestCaseTestFlexMockShoulds32,491 def test_defaultstest_defaults43,996 def test_returns_with_valuetest_returns_with_value52,1164 def test_returns_with_multiple_valuestest_returns_with_multiple_values60,1331 def test_multiple_returnstest_multiple_returns71,1591 def test_returns_with_blocktest_returns_with_block82,1851 def test_block_example_from_readmetest_block_example_from_readme91,2054 def test_return_with_and_without_block_interleavedtest_return_with_and_without_block_interleaved101,2350 def test_and_returns_aliastest_and_returns_alias111,2630 def test_and_return_undefinedtest_and_return_undefined118,2767 def test_and_yield_will_continue_to_yield_the_same_valuetest_and_yield_will_continue_to_yield_the_same_value128,3116 def test_and_yield_with_multiple_values_yields_the_valuestest_and_yield_with_multiple_values_yields_the_values136,3362 def test_multiple_yields_are_done_sequentiallytest_multiple_yields_are_done_sequentially143,3572 def test_multiple_yields_and_multiple_returns_are_syncedtest_multiple_yields_and_multiple_returns_are_synced152,3844 def test_failure_if_no_block_giventest_failure_if_no_block_given165,4361 def test_failure_different_return_value_than_yield_returntest_failure_different_return_value_than_yield_return172,4544 def test_multiple_yieldstest_multiple_yields181,4830 def test_multiple_yields_will_yield_the_last_value_settest_multiple_yields_will_yield_the_last_value_set189,5068 def test_yielding_then_not_yielding_and_then_yielding_againtest_yielding_then_not_yielding_and_then_yielding_again200,5445 def test_yields_syntaxtest_yields_syntax211,5792 class MyError < RuntimeErrorMyError218,5937 def test_and_raises_with_exception_class_throws_exceptiontest_and_raises_with_exception_class_throws_exception221,5975 def test_and_raises_with_arguments_throws_exception_made_with_argstest_and_raises_with_arguments_throws_exception_made_with_args230,6184 def test_and_raises_with_a_specific_exception_throws_the_exceptiontest_and_raises_with_a_specific_exception_throws_the_exception240,6465 def test_raises_is_an_alias_for_and_raisetest_raises_is_an_alias_for_and_raise251,6735 def test_multiple_and_raise_clauses_will_be_done_sequentiallytest_multiple_and_raise_clauses_will_be_done_sequentially260,6935 def test_and_throw_will_throw_a_symboltest_and_throw_will_throw_a_symbol272,7333 def test_and_throw_with_expression_will_throwtest_and_throw_with_expression_will_throw283,7576 def test_throws_is_an_alias_for_and_throwtest_throws_is_an_alias_for_and_throw294,7858 def test_multiple_throws_will_be_done_sequentiallytest_multiple_throws_will_be_done_sequentially305,8133 def test_pass_thru_just_returns_undefined_on_mockstest_pass_thru_just_returns_undefined_on_mocks317,8463 def test_multiple_expectationstest_multiple_expectations324,8637 def test_with_no_args_with_no_argstest_with_no_args_with_no_args334,8868 def test_with_no_args_but_with_argstest_with_no_args_but_with_args341,8996 def test_with_any_argstest_with_any_args350,9190 def test_with_any_single_arg_matchingtest_with_any_single_arg_matching360,9368 def test_with_any_single_arg_nonmatchingtest_with_any_single_arg_nonmatching368,9561 def test_with_equal_arg_matchingtest_with_equal_arg_matching378,9796 def test_with_ducktype_arg_matchingtest_with_ducktype_arg_matching385,9959 def test_with_ducktype_arg_matching_no_matchtest_with_ducktype_arg_matching_no_match392,10138 def test_with_hash_matchingtest_with_hash_matching401,10362 def test_with_hash_non_matchingtest_with_hash_non_matching408,10550 def test_with_equal_arg_nonmatchingtest_with_equal_arg_nonmatching417,10770 def test_with_optional_proctest_with_optional_proc426,11007 def test_with_optional_proc_and_missing_proctest_with_optional_proc_and_missing_proc433,11155 def test_with_optional_proc_distinquishes_between_nil_and_missingtest_with_optional_proc_distinquishes_between_nil_and_missing440,11316 def test_with_arbitrary_arg_matchingtest_with_arbitrary_arg_matching448,11547 def test_args_matching_with_regextest_args_matching_with_regex463,11978 def test_arg_matching_with_regex_matching_non_stringtest_arg_matching_with_regex_matching_non_string475,12299 def test_arg_matching_with_classtest_arg_matching_with_class482,12476 def test_arg_matching_with_no_matchtest_arg_matching_with_no_match493,12760 def test_arg_matching_with_string_doesnt_over_matchtest_arg_matching_with_string_doesnt_over_match502,12973 def test_block_arg_given_to_no_argstest_block_arg_given_to_no_args511,13192 def test_block_arg_given_to_matching_proctest_block_arg_given_to_matching_proc520,13396 def test_arg_matching_precedence_when_best_firsttest_arg_matching_precedence_when_best_first531,13681 def test_arg_matching_precedence_when_best_last_but_still_matches_firsttest_arg_matching_precedence_when_best_last_but_still_matches_first539,13890 def test_never_and_never_calledtest_never_and_never_called547,14122 def test_never_and_called_oncetest_never_and_called_once553,14237 def test_once_called_oncetest_once_called_once562,14424 def test_once_but_never_calledtest_once_but_never_called569,14558 def test_once_but_called_twicetest_once_but_called_twice577,14740 def test_twice_and_called_twicetest_twice_and_called_twice587,14954 def test_zero_or_more_called_zerotest_zero_or_more_called_zero595,15109 def test_zero_or_more_called_oncetest_zero_or_more_called_once601,15231 def test_zero_or_more_called_100test_zero_or_more_called_100608,15364 def test_timestest_times615,15510 def test_at_least_called_oncetest_at_least_called_once622,15651 def test_at_least_but_never_calledtest_at_least_but_never_called629,15798 def test_at_least_once_but_called_twicetest_at_least_once_but_called_twice637,15996 def test_at_least_and_exacttest_at_least_and_exact645,16167 def test_at_most_but_never_calledtest_at_most_but_never_called655,16392 def test_at_most_called_oncetest_at_most_called_once661,16528 def test_at_most_called_twicetest_at_most_called_twice668,16673 def test_at_most_and_at_least_called_nevertest_at_most_and_at_least_called_never678,16896 def test_at_most_and_at_least_called_oncetest_at_most_and_at_least_called_once686,17116 def test_at_most_and_at_least_called_twicetest_at_most_and_at_least_called_twice693,17289 def test_at_most_and_at_least_called_three_timestest_at_most_and_at_least_called_three_times701,17477 def test_call_counts_only_apply_to_matching_argstest_call_counts_only_apply_to_matching_args712,17750 def test_call_counts_only_apply_to_matching_args_with_mismatchtest_call_counts_only_apply_to_matching_args_with_mismatch724,18028 def test_ordered_calls_in_order_will_passtest_ordered_calls_in_order_will_pass740,18461 def test_ordered_calls_out_of_order_will_failtest_ordered_calls_out_of_order_will_fail750,18643 def test_order_calls_with_different_arg_lists_and_in_order_will_passtest_order_calls_with_different_arg_lists_and_in_order_will_pass762,18899 def test_order_calls_with_different_arg_lists_and_out_of_order_will_failtest_order_calls_with_different_arg_lists_and_out_of_order_will_fail772,19146 def test_unordered_calls_do_not_effect_ordered_testingtest_unordered_calls_do_not_effect_ordered_testing784,19467 def test_ordered_with_multiple_calls_will_passtest_ordered_with_multiple_calls_will_pass798,19731 def test_grouped_ordering_with_numberstest_grouped_ordering_with_numbers810,19940 def test_grouped_ordering_with_symbolstest_grouped_ordering_with_symbols825,20255 def test_explicit_ordering_mixed_with_implicit_ordering_should_not_overlaptest_explicit_ordering_mixed_with_implicit_ordering_should_not_overlap840,20611 def test_explicit_ordering_with_explicit_misorderstest_explicit_ordering_with_explicit_misorders850,20984 def test_ordering_with_explicit_no_args_matches_correctlytest_ordering_with_explicit_no_args_matches_correctly866,21507 def test_ordering_with_any_arg_matching_correctly_matchestest_ordering_with_any_arg_matching_correctly_matches878,21880 def test_ordering_between_mocks_is_not_normally_definedtest_ordering_between_mocks_is_not_normally_defined889,22188 def test_ordering_between_mocks_is_honored_for_global_orderingtest_ordering_between_mocks_is_honored_for_global_ordering901,22442 def test_expectation_formatingtest_expectation_formating913,22746 def test_multi_expectation_formattingtest_multi_expectation_formatting922,22974 def test_explicit_ordering_with_limits_allow_multiple_return_valuestest_explicit_ordering_with_limits_allow_multiple_return_values928,23137 def test_global_methods_can_be_mockedtest_global_methods_can_be_mocked947,23848 def test_kernel_methods_can_be_mockedtest_kernel_methods_can_be_mocked953,24032 def test_undefing_kernel_methods_dont_effect_other_mockstest_undefing_kernel_methods_dont_effect_other_mocks959,24210 def test_expectations_can_by_marked_as_defaulttest_expectations_can_by_marked_as_default967,24478 def test_default_expectations_are_search_in_the_proper_ordertest_default_expectations_are_search_in_the_proper_order973,24640 def test_expectations_with_count_constraints_can_by_marked_as_defaulttest_expectations_with_count_constraints_can_by_marked_as_default981,24943 def test_default_expectations_are_overridden_by_later_expectationstest_default_expectations_are_overridden_by_later_expectations989,25179 def test_default_expectations_can_be_changed_by_later_expectationstest_default_expectations_can_be_changed_by_later_expectations997,25407 def test_ordered_default_expectations_can_be_specifiedtest_ordered_default_expectations_can_be_specified1008,25769 def test_ordered_default_expectations_can_be_overriddentest_ordered_default_expectations_can_be_overridden1016,26010 def test_by_default_works_at_mock_leveltest_by_default_works_at_mock_level1028,26281 def test_by_default_at_mock_level_does_nothing_with_no_expectationstest_by_default_at_mock_level_does_nothing_with_no_expectations1039,26556 def test_partial_mocks_can_have_default_expectationstest_partial_mocks_can_have_default_expectations1045,26701 def test_partial_mocks_can_have_default_expectations_overriddentest_partial_mocks_can_have_default_expectations_overridden1051,26882 def test_wicked_and_evil_tricks_with_by_default_are_thwartedtest_wicked_and_evil_tricks_with_by_default_are_thwarted1058,27130 def test_mocks_can_handle_multi_parameter_respond_tostest_mocks_can_handle_multi_parameter_respond_tos1070,27535 def test_can_mock_operatorstest_can_mock_operators1081,27882 def assert_operator(op, &block)assert_operator1111,28946 class TestFlexMockShouldsWithInclude < Test::Unit::TestCaseTestFlexMockShouldsWithInclude1119,29100 def test_include_enables_unqualified_arg_type_referencestest_include_enables_unqualified_arg_type_references1121,29194 class TestFlexMockArgTypesDontLeak < Test::Unit::TestCaseTestFlexMockArgTypesDontLeak1129,29358 def test_unqualified_arg_type_references_are_undefined_by_defaulttest_unqualified_arg_type_references_are_undefined_by_default1130,29416 test/spys_test.rb,2374 class TestSpys < Test::Unit::TestCaseTestSpys5,48 class FooBarFooBar8,116 def foofoo9,131 def barbar12,165 def setupsetup16,192 def test_spy_detects_simple_calltest_spy_detects_simple_call21,254 def test_spy_detects_simple_call_ignoring_argstest_spy_detects_simple_call_ignoring_args26,342 def test_spy_rejects_a_never_made_calltest_spy_rejects_a_never_made_call31,451 def test_spy_detects_call_with_literal_argtest_spy_detects_call_with_literal_arg36,549 def test_spy_detects_call_with_class_argtest_spy_detects_call_with_class_arg41,653 def test_spy_rejects_call_with_non_matching_literal_argtest_spy_rejects_call_with_non_matching_literal_arg46,761 def test_spy_detects_call_with_multiple_argumentstest_spy_detects_call_with_multiple_arguments51,882 def test_spy_detects_multiple_calls_with_different_argumentstest_spy_detects_multiple_calls_with_different_arguments56,1021 def test_spy_rejects_if_times_options_not_matchingtest_spy_rejects_if_times_options_not_matching62,1174 def test_spy_detects_a_blocktest_spy_detects_a_block68,1321 def test_spy_rejects_a_blocktest_spy_rejects_a_block73,1415 def test_spy_detects_a_missing_blocktest_spy_detects_a_missing_block78,1531 def test_spy_rejects_a_missing_blocktest_spy_rejects_a_missing_block83,1647 def test_spy_ignores_blocktest_spy_ignores_block88,1749 def test_spy_methods_can_be_stubbedtest_spy_methods_can_be_stubbed93,1841 def test_spy_cannot_see_normal_methodstest_spy_cannot_see_normal_methods100,2016 def test_spy_cannot_see_normal_methods2test_spy_cannot_see_normal_methods2107,2173 def test_calling_non_spy_base_methods_is_an_errortest_calling_non_spy_base_methods_is_an_error114,2358 def test_cant_put_expectations_on_non_base_class_methodsxtest_cant_put_expectations_on_non_base_class_methodsx120,2475 def test_cant_put_expectations_on_non_base_class_methods_unless_explicittest_cant_put_expectations_on_non_base_class_methods_unless_explicit129,2815 def test_ok_to_use_explicit_even_when_its_not_neededtest_ok_to_use_explicit_even_when_its_not_needed135,3001 def test_can_spy_on_partial_mockstest_can_spy_on_partial_mocks141,3167 def test_can_spy_on_class_defined_methodstest_can_spy_on_class_defined_methods150,3381 def test_can_spy_on_regular_mockstest_can_spy_on_regular_mocks156,3543 test/symbol_extensions_test.rb,161 class SymbolEtentensionsTest < Test::Unit::TestCaseSymbolEtentensionsTest3,27 def test_as_name_converts_appropriatlytest_as_name_converts_appropriatly4,79 test/test_class_extensions.rb,477 class ClassExtensionsTest < Test::Unit::TestCaseClassExtensionsTest3,27 class DogDog5,77 def wagwag6,89 def method_missing(sym, *args, &block)method_missing9,110 def responds_to?(sym)responds_to?17,233 def test_class_directly_defines_methodtest_class_directly_defines_method22,302 def test_class_indirectly_defines_methodtest_class_indirectly_defines_method26,389 def test_class_does_not_define_methodtest_class_does_not_define_method30,481 test/test_setup.rb,180 class FlexMockFlexMock7,91 module TestCaseTestCase8,106 def assertion_failed_errorassertion_failed_error9,124 def assert_failure(message=nil)assert_failure16,378 ,263 class TestFlexmockTestUnit < Test::Unit::TestCaseTestFlexmockTestUnit17,375 def teardownteardown18,425 def test_can_create_mockstest_can_create_mocks23,484 def test_should_fail__mocks_are_auto_verifiedtest_should_fail__mocks_are_auto_verified30,627 /var/folders/b9/zwv8g_296jq17rcjpjw_94jc0000gn/T//tags.9ZWM26,1606 class TestTuIntegrationFlexMockMethod < Test::Unit::TestCaseTestTuIntegrationFlexMockMethod19,548 def test_can_construct_flexmocktest_can_construct_flexmock22,643 def test_can_construct_flexmock_with_blocktest_can_construct_flexmock_with_block28,800 class TestTuIntegrationMockVerificationInTeardown < Test::Unit::TestCaseTestTuIntegrationMockVerificationInTeardown36,990 def teardownteardown39,1097 def test_mock_verification_occurs_during_teardowntest_mock_verification_occurs_during_teardown45,1193 class TestTuIntegrationMockVerificationWithoutSetup < Test::Unit::TestCaseTestTuIntegrationMockVerificationWithoutSetup50,1319 def teardownteardown53,1428 def test_mock_verification_occurs_during_teardowntest_mock_verification_occurs_during_teardown59,1524 class TestTuIntegrationMockVerificationForgetfulSetup < Test::Unit::TestCaseTestTuIntegrationMockVerificationForgetfulSetup64,1650 def teardownteardown67,1761 def test_mock_verification_occurs_during_teardowntest_mock_verification_occurs_during_teardown73,1857 class TestTuIntegrationSetupOverridenAndNoMocksOk < Test::Unit::TestCaseTestTuIntegrationSetupOverridenAndNoMocksOk78,1983 def test_mock_verification_occurs_during_teardowntest_mock_verification_occurs_during_teardown81,2090 class TestTuIntegrationFailurePreventsVerification < Test::Unit::TestCaseTestTuIntegrationFailurePreventsVerification85,2159 def test_mock_verification_occurs_during_teardowntest_mock_verification_occurs_during_teardown88,2267 def simulate_failuresimulate_failure95,2411 test/undefined_test.rb,873 class UndefinedTest < Test::Unit::TestCaseUndefinedTest14,321 def test_undefined_method_calls_return_undefinedtest_undefined_method_calls_return_undefined15,364 def test_equalstest_equals19,482 def test_math_operatorstest_math_operators24,580 def test_math_operators_reversedtest_math_operators_reversed32,789 def test_comparisonstest_comparisons40,1007 def test_comparisons_reversedtest_comparisons_reversed48,1216 def test_base_level_methodstest_base_level_methods56,1434 def test_cant_create_a_new_undefinedtest_cant_create_a_new_undefined60,1521 def test_cant_clone_undefinedtest_cant_clone_undefined64,1631 def test_string_representationstest_string_representations69,1765 def test_undefined_is_not_niltest_undefined_is_not_nil74,1903 def assert_undefined(obj)assert_undefined80,1981 def undefinedundefined84,2044 (null),0 ,22 module TagsTags4,36