ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- PKP]CAMock/cdesc-Mock.rinu[U:RDoc::NormalClass[iI" Mock:ETI"MiniTest::Mock;TI" Object;To:RDoc::Markup::Document: @parts[o;;[o:RDoc::Markup::Paragraph;[I"-All mock objects are an instance of Mock;T: @fileI"lib/minitest/mock.rb;T:0@omit_headings_from_table_of_contents_below0; 0; 0[[[[[I" class;T[[: public[[:protected[[: private[[I" instance;T[[; [[I" expect;FI"lib/minitest/mock.rb;T[I" verify;F@&[; [[;[[[U:RDoc::Context::Section[i0o;;[; 0; 0[@I" MiniTest;FcRDoc::NormalModulePKP]MHeMock/expect-i.rinu[U:RDoc::AnyMethod[iI" expect:EFI"MiniTest::Mock#expect;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"FExpect that method +name+ is called, optionally with +args+ or a ;TI"!+blk+, and returns +retval+.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"(@mock.expect(:meaning_of_life, 42) ;TI"#@mock.meaning_of_life # => 42 ;TI" ;TI">@mock.expect(:do_something_with, true, [some_obj, true]) ;TI"7@mock.do_something_with(some_obj, true) # => true ;TI" ;TI"8@mock.expect(:do_something_else, true) do |a1, a2| ;TI"% a1 == "buggs" && a2 == :bunny ;TI" end ;T: @format0o; ; [I"J+args+ is compared to the expected args using case equality (ie, the ;TI">'===' operator), allowing for less specific expectations.;T@o; ; [ I"4@mock.expect(:uses_any_string, true, [String]) ;TI",@mock.uses_any_string("foo") # => true ;TI"@mock.verify # => true ;TI" ;TI"2@mock.expect(:uses_one_string, true, ["foo"] ;TI",@mock.uses_one_string("bar") # => true ;TI"3@mock.verify # => raises MockExpectationError;T; 0: @fileI"lib/minitest/mock.rb;T:0@omit_headings_from_table_of_contents_below000[I""(name, retval, args=[], &blk);T@(FI" Mock;TcRDoc::NormalClass00PKP]GTǠMock/verify-i.rinu[U:RDoc::AnyMethod[iI" verify:EFI"MiniTest::Mock#verify;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"=Verify that all methods were called as expected. Raises ;TI"A+MockExpectationError+ if the mock object was not called as ;TI"expected.;T: @fileI"lib/minitest/mock.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Mock;TcRDoc::NormalClass00PKP]gv2Assertion/cdesc-Assertion.rinu[U:RDoc::NormalClass[iI"Assertion:ETI"MiniTest::Assertion;TI"Exception;To:RDoc::Markup::Document: @parts[o;;[o:RDoc::Markup::Paragraph;[I"Assertion base class;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below0; 0; 0[[[[[I" class;T[[: public[[:protected[[: private[[I" instance;T[[; [[; [[;[[[U:RDoc::Context::Section[i0o;;[; 0; 0[@I" MiniTest;FcRDoc::NormalModulePKP](DSkip/cdesc-Skip.rinu[U:RDoc::NormalClass[iI" Skip:ETI"MiniTest::Skip;TI"MiniTest::Assertion;To:RDoc::Markup::Document: @parts[o;;[o:RDoc::Markup::Paragraph;[I"*Assertion raised when skipping a test;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below0; 0; 0[[[[[I" class;T[[: public[[:protected[[: private[[I" instance;T[[; [[; [[;[[[U:RDoc::Context::Section[i0o;;[; 0; 0[@I" MiniTest;FcRDoc::NormalModulePKP]R__!Assertions/exception_details-i.rinu[U:RDoc::AnyMethod[iI"exception_details:EFI"+MiniTest::Assertions#exception_details;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"&Returns details for exception +e+;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I" (e, msg);T@FI"Assertions;FcRDoc::NormalModule00PKP]DllAssertions/synchronize-i.rinu[U:RDoc::AnyMethod[iI"synchronize:EFI"%MiniTest::Assertions#synchronize;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"?Takes a block and wraps it with the runner's shared mutex.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below00I";T[I"();T@FI"Assertions;FcRDoc::NormalModule00PKP]՞99Assertions/flunk-i.rinu[U:RDoc::AnyMethod[iI" flunk:EFI"MiniTest::Assertions#flunk;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Fails with +msg+;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]}ggAssertions/cdesc-Assertions.rinu[U:RDoc::NormalModule[iI"Assertions:EFI"MiniTest::Assertions;T0o:RDoc::Markup::Document: @parts[o;;[o:RDoc::Markup::Paragraph;[I"IMiniTest Assertions. All assertion methods accept a +msg+ which is ;TI"$printed if the assertion fails.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below0; 0; 0[[[[[I" class;T[[: public[[I" diff;FI"lib/minitest/unit.rb;T[I" diff=;F@[:protected[[: private[[I" instance;T[[; [2[I" assert;F@[I"assert_empty;F@[I"assert_equal;F@[I"assert_in_delta;F@[I"assert_in_epsilon;F@[I"assert_includes;F@[I"assert_instance_of;F@[I"assert_kind_of;F@[I"assert_match;F@[I"assert_nil;F@[I"assert_operator;F@[I"assert_output;F@[I"assert_predicate;F@[I"assert_raises;F@[I"assert_respond_to;F@[I"assert_same;F@[I"assert_send;F@[I"assert_silent;F@[I"assert_throws;F@[I"capture_io;F@[I"capture_subprocess_io;F@[I" diff;F@[I"exception_details;F@[I" flunk;F@[I" message;F@[I" mu_pp;F@[I"mu_pp_for_diff;F@[I" pass;F@[I" refute;F@[I"refute_empty;F@[I"refute_equal;F@[I"refute_in_delta;F@[I"refute_in_epsilon;F@[I"refute_includes;F@[I"refute_instance_of;F@[I"refute_kind_of;F@[I"refute_match;F@[I"refute_nil;F@[I"refute_operator;F@[I"refute_predicate;F@[I"refute_respond_to;F@[I"refute_same;F@[I" skip;F@[I" skipped?;F@[I"synchronize;F@[; [[;[[[U:RDoc::Context::Section[i0o;;[; 0; 0[@I" MiniTest;FcRDoc::NormalModulePKP]H!Assertions/refute_in_epsilon-i.rinu[U:RDoc::AnyMethod[iI"refute_in_epsilon:EFI"+MiniTest::Assertions#refute_in_epsilon;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"KFor comparing Floats. Fails if +exp+ and +act+ have a relative error ;TI"less than +epsilon+.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"'(a, b, epsilon = 0.001, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP] xxAssertions/refute_same-i.rinu[U:RDoc::AnyMethod[iI"refute_same:EFI"%MiniTest::Assertions#refute_same;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I">Fails if +exp+ is the same (by object identity) as +act+.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(exp, act, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]drr!Assertions/assert_respond_to-i.rinu[U:RDoc::AnyMethod[iI"assert_respond_to:EFI"+MiniTest::Assertions#assert_respond_to;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"+Fails unless +obj+ responds to +meth+.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(obj, meth, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]YAssertions/assert_equal-i.rinu[U:RDoc::AnyMethod[iI"assert_equal:EFI"&MiniTest::Assertions#assert_equal;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"FFails unless exp == act printing the difference between ;TI"the two, if possible.;To:RDoc::Markup::BlankLineo; ; [I"DIf there is no visible difference but the assertion fails, you ;TI"Fshould suspect that your #== is buggy, or your inspect output is ;TI"missing crucial details.;T@o; ; [I"$For floats use assert_in_delta.;T@o; ; [I"(See also: MiniTest::Assertions.diff;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(exp, act, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]k6UUAssertions/assert-i.rinu[U:RDoc::AnyMethod[iI" assert:EFI" MiniTest::Assertions#assert;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I")Fails unless +test+ is a true value.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(test, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]@Assertions/assert_raises-i.rinu[U:RDoc::AnyMethod[iI"assert_raises:EFI"'MiniTest::Assertions#assert_raises;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"=Fails unless the block raises one of +exp+. Returns the ;TI"Eexception matched so you can check the message, attributes, etc.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below00I";T[I" (*exp);T@FI"Assertions;FcRDoc::NormalModule00PKP]xb,Assertions/assert_send-i.rinu[U:RDoc::AnyMethod[iI"assert_send:EFI"%MiniTest::Assertions#assert_send;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"5+send_ary+ is a receiver, message and arguments.;To:RDoc::Markup::BlankLineo; ; [I"0Fails unless the call returns a true value ;TI"1TODO: I should prolly remove this from specs;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(send_ary, m = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]n߉S((Assertions/assert_in_delta-i.rinu[U:RDoc::AnyMethod[iI"assert_in_delta:EFI")MiniTest::Assertions#assert_in_delta;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"LFor comparing Floats. Fails unless +exp+ and +act+ are within +delta+ ;TI"of each other.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"1assert_in_delta Math::PI, (22.0 / 7.0), 0.01;T: @format0: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I")(exp, act, delta = 0.001, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]dq,Assertions/refute_equal-i.rinu[U:RDoc::AnyMethod[iI"refute_equal:EFI"&MiniTest::Assertions#refute_equal;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I""Fails if exp == act.;To:RDoc::Markup::BlankLineo; ; [I"$For floats use refute_in_delta.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(exp, act, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]R]ggAssertions/refute_kind_of-i.rinu[U:RDoc::AnyMethod[iI"refute_kind_of:EFI"(MiniTest::Assertions#refute_kind_of;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"'Fails if +obj+ is a kind of +cls+.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(cls, obj, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]TTAssertions/refute_empty-i.rinu[U:RDoc::AnyMethod[iI"refute_empty:EFI"&MiniTest::Assertions#refute_empty;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Fails if +obj+ is empty.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(obj, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]ݣ77Assertions/mu_pp_for_diff-i.rinu[U:RDoc::AnyMethod[iI"mu_pp_for_diff:EFI"(MiniTest::Assertions#mu_pp_for_diff;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [ I"DThis returns a diff-able human-readable version of +obj+. This ;TI"?differs from the regular mu_pp because it expands escaped ;TI"Cnewlines and makes hex-values generic (like object_ids). This ;TI";uses mu_pp to do the first pass and then cleans it up.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I" (obj);T@FI"Assertions;FcRDoc::NormalModule00PKP]ǿRl  Assertions/refute_operator-i.rinu[U:RDoc::AnyMethod[iI"refute_operator:EFI")MiniTest::Assertions#refute_operator;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"(Fails if +o1+ is not +op+ +o2+. Eg:;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"'refute_operator 1, :>, 2 #=> pass ;TI"&refute_operator 1, :<, 2 #=> fail;T: @format0: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"((o1, op, o2 = UNDEFINED, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]51QQAssertions/assert_nil-i.rinu[U:RDoc::AnyMethod[iI"assert_nil:EFI"$MiniTest::Assertions#assert_nil;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Fails unless +obj+ is nil;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(obj, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]|FF Assertions/assert_predicate-i.rinu[U:RDoc::AnyMethod[iI"assert_predicate:EFI"*MiniTest::Assertions#assert_predicate;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"!For testing with predicates.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"#assert_predicate str, :empty? ;T: @format0o; ; [I"JThis is really meant for specs and is front-ended by assert_operator:;T@o; ; [I"str.must_be :empty?;T; 0: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(o1, op, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]xcggAssertions/assert_same-i.rinu[U:RDoc::AnyMethod[iI"assert_same:EFI"%MiniTest::Assertions#assert_same;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"-Fails unless +exp+ and +act+ are #equal?;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(exp, act, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]Assertions/assert_output-i.rinu[U:RDoc::AnyMethod[iI"assert_output:EFI"'MiniTest::Assertions#assert_output;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [ I"CFails if stdout or stderr do not output the expected results. ;TI"FPass in nil if you don't care about that streams output. Pass in ;TI"E"" if you require it to be silent. Pass in a regexp if you want ;TI"to pattern match.;To:RDoc::Markup::BlankLineo; ; [I"=NOTE: this uses #capture_io, not #capture_subprocess_io.;T@o; ; [I"See also: #assert_silent;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below00I";T[I"!(stdout = nil, stderr = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]KFF Assertions/refute_predicate-i.rinu[U:RDoc::AnyMethod[iI"refute_predicate:EFI"*MiniTest::Assertions#refute_predicate;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"!For testing with predicates.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"#refute_predicate str, :empty? ;T: @format0o; ; [I"JThis is really meant for specs and is front-ended by refute_operator:;T@o; ; [I"str.wont_be :empty?;T; 0: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(o1, op, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]Assertions/diff-c.rinu[U:RDoc::AnyMethod[iI" diff:EFI"MiniTest::Assertions::diff;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"FReturns the diff command to use in #diff. Tries to intelligently ;TI"!figure out what diff to use.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI"Assertions;FcRDoc::NormalModule00PKP]}|+ggAssertions/assert_throws-i.rinu[U:RDoc::AnyMethod[iI"assert_throws:EFI"'MiniTest::Assertions#assert_throws;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"(Fails unless the block throws +sym+;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below00I";T[I"(sym, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]-!Assertions/assert_in_epsilon-i.rinu[U:RDoc::AnyMethod[iI"assert_in_epsilon:EFI"+MiniTest::Assertions#assert_in_epsilon;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"IFor comparing Floats. Fails unless +exp+ and +act+ have a relative ;TI"error less than +epsilon+.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"'(a, b, epsilon = 0.001, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]ƩnnAssertions/assert_match-i.rinu[U:RDoc::AnyMethod[iI"assert_match:EFI"&MiniTest::Assertions#assert_match;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I".Fails unless +matcher+ =~ +obj+.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(matcher, obj, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]|Assertions/capture_io-i.rinu[U:RDoc::AnyMethod[iI"capture_io:EFI"$MiniTest::Assertions#capture_io;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"/Captures $stdout and $stderr into strings:;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"out, err = capture_io do ;TI" puts "Some info" ;TI"" warn "You did a bad thing" ;TI" end ;TI" ;TI" assert_match %r%info%, out ;TI"assert_match %r%bad%, err ;T: @format0o; ; [I"BNOTE: For efficiency, this method uses StringIO and does not ;TI"Acapture IO for subprocesses. Use #capture_subprocess_io for ;TI" that.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below00I";T[I"();T@FI"Assertions;FcRDoc::NormalModule00PKP]#9iXXAssertions/assert_empty-i.rinu[U:RDoc::AnyMethod[iI"assert_empty:EFI"&MiniTest::Assertions#assert_empty;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"!Fails unless +obj+ is empty.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(obj, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]jjAssertions/refute_match-i.rinu[U:RDoc::AnyMethod[iI"refute_match:EFI"&MiniTest::Assertions#refute_match;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"*Fails if +matcher+ =~ +obj+.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(matcher, obj, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]  Assertions/diff-i.rinu[U:RDoc::AnyMethod[iI" diff:EFI"MiniTest::Assertions#diff;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [ I"BReturns a diff between +exp+ and +act+. If there is no known ;TI"Adiff command or if it doesn't make sense to diff the output ;TI"A(single line, short output), then it simply returns a basic ;TI" comparison between the two.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(exp, act);T@FI"Assertions;FcRDoc::NormalModule00PKP]wVAssertions/message-i.rinu[U:RDoc::AnyMethod[iI" message:EFI"!MiniTest::Assertions#message;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"JReturns a proc that will output +msg+ along with the default message.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"((msg = nil, ending = ".", &default);T@FI"Assertions;FcRDoc::NormalModule00PKP]H_bb%Assertions/capture_subprocess_io-i.rinu[U:RDoc::AnyMethod[iI"capture_subprocess_io:EFI"/MiniTest::Assertions#capture_subprocess_io;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"BCaptures $stdout and $stderr into strings, using Tempfile to ;TI"3ensure that subprocess IO is captured as well.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I")out, err = capture_subprocess_io do ;TI" system "echo Some info" ;TI". system "echo You did a bad thing 1>&2" ;TI" end ;TI" ;TI" assert_match %r%info%, out ;TI"assert_match %r%bad%, err ;T: @format0o; ; [I"GNOTE: This method is approximately 10x slower than #capture_io so ;TI"Bonly use it when you need to test the output of a subprocess.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below00I";T[I"();T@FI"Assertions;FcRDoc::NormalModule00PKP]{ȷAssertions/skip-i.rinu[U:RDoc::AnyMethod[iI" skip:EFI"MiniTest::Assertions#skip;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"CSkips the current test. Gets listed at the end of the run but ;TI"'doesn't cause a failure exit code.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(msg = nil, bt = caller);T@FI"Assertions;FcRDoc::NormalModule00PKP]檐kkAssertions/assert_kind_of-i.rinu[U:RDoc::AnyMethod[iI"assert_kind_of:EFI"(MiniTest::Assertions#assert_kind_of;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"+Fails unless +obj+ is a kind of +cls+.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(cls, obj, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]1xx"Assertions/assert_instance_of-i.rinu[U:RDoc::AnyMethod[iI"assert_instance_of:EFI",MiniTest::Assertions#assert_instance_of;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"0Fails unless +obj+ is an instance of +cls+.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(cls, obj, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]8fAssertions/assert_operator-i.rinu[U:RDoc::AnyMethod[iI"assert_operator:EFI")MiniTest::Assertions#assert_operator;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"'For testing with binary operators.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"assert_operator 5, :<=, 4;T: @format0: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"((o1, op, o2 = UNDEFINED, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]I!wwAssertions/assert_includes-i.rinu[U:RDoc::AnyMethod[iI"assert_includes:EFI")MiniTest::Assertions#assert_includes;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I".Fails unless +collection+ includes +obj+.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"!(collection, obj, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]tt"Assertions/refute_instance_of-i.rinu[U:RDoc::AnyMethod[iI"refute_instance_of:EFI",MiniTest::Assertions#refute_instance_of;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I",Fails if +obj+ is an instance of +cls+.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(cls, obj, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]C'Assertions/refute_in_delta-i.rinu[U:RDoc::AnyMethod[iI"refute_in_delta:EFI")MiniTest::Assertions#refute_in_delta;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"FFor comparing Floats. Fails if +exp+ is within +delta+ of +act+.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"+refute_in_delta Math::PI, (22.0 / 7.0);T: @format0: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I")(exp, act, delta = 0.001, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]>wYAssertions/mu_pp-i.rinu[U:RDoc::AnyMethod[iI" mu_pp:EFI"MiniTest::Assertions#mu_pp;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"@This returns a human-readable version of +obj+. By default ;TI"D#inspect is called. You can override this to use #pretty_print ;TI"if you want.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I" (obj);T@FI"Assertions;FcRDoc::NormalModule00PKP]똻CCAssertions/pass-i.rinu[U:RDoc::AnyMethod[iI" pass:EFI"MiniTest::Assertions#pass;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"!used for counting assertions;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]~rNNAssertions/refute_nil-i.rinu[U:RDoc::AnyMethod[iI"refute_nil:EFI"$MiniTest::Assertions#refute_nil;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Fails if +obj+ is nil.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(obj, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]׿UUAssertions/skipped%3f-i.rinu[U:RDoc::AnyMethod[iI" skipped?:EFI""MiniTest::Assertions#skipped?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"4Was this testcase skipped? Meant for #teardown.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI"Assertions;FcRDoc::NormalModule00PKP](zz!Assertions/refute_respond_to-i.rinu[U:RDoc::AnyMethod[iI"refute_respond_to:EFI"+MiniTest::Assertions#refute_respond_to;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"3Fails if +obj+ responds to the message +meth+.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(obj, meth, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]?oAssertions/assert_silent-i.rinu[U:RDoc::AnyMethod[iI"assert_silent:EFI"'MiniTest::Assertions#assert_silent;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"=Fails if the block outputs anything to stderr or stdout.;To:RDoc::Markup::BlankLineo; ; [I"See also: #assert_output;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below00I";T[I"();T@FI"Assertions;FcRDoc::NormalModule00PKP]WJPPAssertions/refute-i.rinu[U:RDoc::AnyMethod[iI" refute:EFI" MiniTest::Assertions#refute;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"$Fails if +test+ is a true value;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(test, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]oGGAssertions/diff%3d-c.rinu[U:RDoc::AnyMethod[iI" diff=:EFI" MiniTest::Assertions::diff=;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"*Set the diff command to use in #diff.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"(o);T@FI"Assertions;FcRDoc::NormalModule00PKP]xssAssertions/refute_includes-i.rinu[U:RDoc::AnyMethod[iI"refute_includes:EFI")MiniTest::Assertions#refute_includes;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"*Fails if +collection+ includes +obj+.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"!(collection, obj, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00PKP]ȎMMcdesc-MiniTest.rinu[U:RDoc::NormalModule[iI" MiniTest:EF@0o:RDoc::Markup::Document: @parts[o;;[o:RDoc::Markup::Paragraph;[I"8Minimal (mostly drop-in) replacement for test-unit.;To:RDoc::Markup::BlankLineS:RDoc::Markup::Heading: leveli: textI"(minitest/{unit,spec,mock,benchmark};T@o:RDoc::Markup::List: @type: NOTE: @items[o:RDoc::Markup::ListItem: @label[I" home ;T;[o; ;[I"*https://github.com/seattlerb/minitest;To;;[I" rdoc ;T;[o; ;[I"'http://docs.seattlerb.org/minitest;To;;[I" vim ;T;[o; ;[I"0https://github.com/sunaku/vim-ruby-minitest;T@S; ; i; I"DESCRIPTION:;T@o; ;[I"Iminitest provides a complete suite of testing facilities supporting ;TI")TDD, BDD, mocking, and benchmarking.;T@o:RDoc::Markup::Verbatim;[I"F"I had a class with Jim Weirich on testing last week and we were ;TI"G allowed to choose our testing frameworks. Kirk Haines and I were ;TI"< paired up and we cracked open the code for a few test ;TI" frameworks... ;TI" ;TI"C I MUST say that minitest is *very* readable / understandable ;TI"H compared to the 'other two' options we looked at. Nicely done and ;TI"8 thank you for helping us keep our mental sanity." ;TI" ;TI"-- Wayne E. Seguin ;T: @format0o; ;[I"Jminitest/unit is a small and incredibly fast unit testing framework. ;TI"GIt provides a rich set of assertions to make your tests clean and ;TI"readable.;T@o; ;[I"Iminitest/spec is a functionally complete spec engine. It hooks onto ;TI"Gminitest/unit and seamlessly bridges test assertions over to spec ;TI"expectations.;T@o; ;[ I"Lminitest/benchmark is an awesome way to assert the performance of your ;TI"Jalgorithms in a repeatable manner. Now you can assert that your newb ;TI"Ico-worker doesn't replace your linear algorithm with an exponential ;TI" one!;T@o; ;[I"Jminitest/mock by Steven Baker, is a beautifully tiny mock (and stub) ;TI"object framework.;T@o; ;[I"Jminitest/pride shows pride in testing and adds coloring to your test ;TI"Foutput. I guess it is an example of how to write IO pipes too. :P;T@o; ;[ I"Hminitest/unit is meant to have a clean implementation for language ;TI"Limplementors that need a minimal set of methods to bootstrap a working ;TI"Gtest suite. For example, there is no magic involved for test-case ;TI"discovery.;T@o;;[ I"A"Again, I can't praise enough the idea of a testing/specing ;TI"B framework that I can actually read in full in one sitting!" ;TI" ;TI"-- Piotr Szotkowski ;T;0o; ;[I"Comparing to rspec:;T@o;;[I"/rspec is a testing DSL. minitest is ruby. ;TI" ;TI",-- Adam Hawkins, "Bow Before MiniTest" ;T;0o; ;[ I"Jminitest doesn't reinvent anything that ruby already provides, like: ;TI"Iclasses, modules, inheritance, methods. This means you only have to ;TI"Jlearn ruby to use minitest and all of your regular OO practices like ;TI"-extract-method refactorings still apply.;T@S; ; i; I"FEATURES/PROBLEMS:;T@o;;: BULLET;[ o;;0;[o; ;[I"Hminitest/autorun - the easy and explicit way to run all your tests.;To;;0;[o; ;[I"@minitest/unit - a very fast, simple, and clean test system.;To;;0;[o; ;[I"@minitest/spec - a very fast, simple, and clean spec system.;To;;0;[o; ;[I"9minitest/mock - a simple and clean mock/stub system.;To;;0;[o; ;[I"Pminitest/benchmark - an awesome way to assert your algorithm's performance.;To;;0;[o; ;[I"1minitest/pride - show your pride in testing!;To;;0;[o; ;[I"AIncredibly small and fast runner, but no bells and whistles.;T@S; ; i; I"RATIONALE:;T@o; ;[I"ISee design_rationale.rb to see how specs and tests work in minitest.;T@S; ; i; I"SYNOPSIS:;T@o; ;[I"7Given that you'd like to test the following class:;T@o;;[I"class Meme ;TI"" def i_can_has_cheezburger? ;TI" "OHAI!" ;TI" end ;TI" ;TI" def will_it_blend? ;TI" "YES!" ;TI" end ;TI" end ;T;0S; ; i; I"Unit tests;T@o;;[I" require 'minitest/autorun' ;TI" ;TI"/class TestMeme < MiniTest::Unit::TestCase ;TI" def setup ;TI" @meme = Meme.new ;TI" end ;TI" ;TI"# def test_that_kitty_can_eat ;TI"< assert_equal "OHAI!", @meme.i_can_has_cheezburger? ;TI" end ;TI" ;TI"' def test_that_it_will_not_blend ;TI"3 refute_match /^no/i, @meme.will_it_blend? ;TI" end ;TI" ;TI"% def test_that_will_be_skipped ;TI" skip "test this later" ;TI" end ;TI" end ;T;0S; ; i; I" Specs;T@o;;[I" require 'minitest/autorun' ;TI" ;TI"describe Meme do ;TI" before do ;TI" @meme = Meme.new ;TI" end ;TI" ;TI"4 describe "when asked about cheeseburgers" do ;TI") it "must respond positively" do ;TI"; @meme.i_can_has_cheezburger?.must_equal "OHAI!" ;TI" end ;TI" end ;TI" ;TI"= describe "when asked about blending possibilities" do ;TI" it "won't say no" do ;TI"2 @meme.will_it_blend?.wont_match /^no/i ;TI" end ;TI" end ;TI" end ;T;0o; ;[I"$For matchers support check out:;T@o; ;[I"3https://github.com/zenspider/minitest-matchers;T@S; ; i; I"Benchmarks;T@o; ;[I"LAdd benchmarks to your regular unit tests. If the unit tests fail, the ;TI"benchmarks won't run.;T@o;;[I"9# optionally run benchmarks, good for CI-only work! ;TI"2require 'minitest/benchmark' if ENV["BENCH"] ;TI" ;TI"/class TestMeme < MiniTest::Unit::TestCase ;TI"S # Override self.bench_range or default range is [1, 10, 100, 1_000, 10_000] ;TI" def bench_my_algorithm ;TI"F assert_performance_linear 0.9999 do |n| # n is a range value ;TI" @obj.my_algorithm(n) ;TI" end ;TI" end ;TI" end ;T;0o; ;[I"HOr add them to your specs. If you make benchmarks optional, you'll ;TI"Kneed to wrap your benchmarks in a conditional since the methods won't ;TI"be defined.;T@o;;[I"describe Meme do ;TI" if ENV["BENCH"] then ;TI"@ bench_performance_linear "my_algorithm", 0.9999 do |n| ;TI" 100.times do ;TI"" @obj.my_algorithm(n) ;TI" end ;TI" end ;TI" end ;TI" end ;T;0o; ;[I"outputs something like:;T@o;;[ I"# Running benchmarks: ;TI" ;TI"'TestBlah 100 1000 10000 ;TI"Cbench_my_algorithm 0.006167 0.079279 0.786993 ;TI"Kbench_other_algorithm 0.061679 0.792797 7.869932 ;T;0o; ;[I"IOutput is tab-delimited to make it easy to paste into a spreadsheet.;T@S; ; i; I" Mocks;T@o;;["I"class MemeAsker ;TI" def initialize(meme) ;TI" @meme = meme ;TI" end ;TI" ;TI" def ask(question) ;TI"- method = question.tr(" ","_") + "?" ;TI" @meme.__send__(method) ;TI" end ;TI" end ;TI" ;TI" require 'minitest/autorun' ;TI" ;TI"describe MemeAsker do ;TI" before do ;TI"$ @meme = MiniTest::Mock.new ;TI"+ @meme_asker = MemeAsker.new @meme ;TI" end ;TI" ;TI" describe "#ask" do ;TI"< describe "when passed an unpunctuated question" do ;TI"N it "should invoke the appropriate predicate method on the meme" do ;TI"9 @meme.expect :will_it_blend?, :return_value ;TI"- @meme_asker.ask "will it blend" ;TI" @meme.verify ;TI" end ;TI" end ;TI" end ;TI" end ;T;0S; ; i; I" Stubs;T@o;;[I"def test_stale_eh ;TI"& obj_under_test = Something.new ;TI" ;TI"$ refute obj_under_test.stale? ;TI" ;TI"O Time.stub :now, Time.at(0) do # stub goes away once the block is done ;TI"& assert obj_under_test.stale? ;TI" end ;TI" end ;T;0o; ;[I"DA note on stubbing: In order to stub a method, the method must ;TI"Jactually exist prior to stubbing. Use a singleton method to create a ;TI"new non-existing method:;T@o;;[I"$def obj_under_test.fake_method ;TI" ... ;TI" end ;T;0S; ; i; I"$Customizable Test Runner Types:;T@o; ;[ I"LMiniTest::Unit.runner=(runner) provides an easy way of creating custom ;TI"Ctest runners for specialized needs. Justin Weiss provides the ;TI"Ffollowing real-world example to create an alternative to regular ;TI"fixture loading:;T@o;;[1I"4class MiniTestWithHooks::Unit < MiniTest::Unit ;TI" def before_suites ;TI" end ;TI" ;TI" def after_suites ;TI" end ;TI" ;TI"% def _run_suites(suites, type) ;TI" begin ;TI" before_suites ;TI" super(suites, type) ;TI" ensure ;TI" after_suites ;TI" end ;TI" end ;TI" ;TI"# def _run_suite(suite, type) ;TI" begin ;TI" suite.before_suite ;TI" super(suite, type) ;TI" ensure ;TI" suite.after_suite ;TI" end ;TI" end ;TI" end ;TI" ;TI"%module MiniTestWithTransactions ;TI", class Unit < MiniTestWithHooks::Unit ;TI"! include TestSetupHelper ;TI" ;TI" def before_suites ;TI" super ;TI"% setup_nested_transactions ;TI"; # load any data we want available for all tests ;TI" end ;TI" ;TI" def after_suites ;TI"( teardown_nested_transactions ;TI" super ;TI" end ;TI" end ;TI" end ;TI" ;TI"@MiniTest::Unit.runner = MiniTestWithTransactions::Unit.new ;T;0S; ; i; I"FAQ;T@S; ; i; I"!How to test SimpleDelegates?;T@o; ;[I"+The following implementation and test:;T@o;;[I"$class Worker < SimpleDelegator ;TI" def work ;TI" end ;TI" end ;TI" ;TI"describe Worker do ;TI" before do ;TI"* @worker = Worker.new(Object.new) ;TI" end ;TI" ;TI"$ it "must respond to work" do ;TI"' @worker.must_respond_to :work ;TI" end ;TI" end ;T;0o; ;[I"outputs a failure:;T@o;;[I" 1) Failure: ;TI":Worker#test_0001_must respond to work [bug11.rb:16]: ;TI"GExpected # (Object) to respond to #work. ;T;0o; ;[ I"LWorker is a SimpleDelegate which in 1.9+ is a subclass of BasicObject. ;TI"CExpectations are put on Object (one level down) so the Worker ;TI"F(SimpleDelegate) hits `method_missing` and delegates down to the ;TI"L`Object.new` instance. That object doesn't respond to work so the test ;TI" fails.;T@o; ;[I"LYou can bypass `SimpleDelegate#method_missing` by extending the worker ;TI"Lwith `MiniTest::Expectations`. You can either do that in your setup at ;TI"the instance level, like:;T@o;;[ I"before do ;TI"( @worker = Worker.new(Object.new) ;TI"- @worker.extend MiniTest::Expectations ;TI" end ;T;0o; ;[I"For you can extend the Worker class (within the test file!), like:;T@o;;[I"class Worker ;TI"( include ::MiniTest::Expectations ;TI" end ;T;0S; ; i; I"Known Extensions:;T@o;;;;[2o;;[I"!capybara_minitest_spec ;T;[o; ;[I"sBridge between Capybara RSpec matchers and MiniTest::Spec expectations (e.g. page.must_have_content('Title')).;To;;[I"!minispec-metadata ;T;[o; ;[I"%Metadata for describe/it blocks ;TI"2(e.g. `it 'requires JS driver', js: true do`);To;;[I"!minitest-ansi ;T;[o; ;[I"/Colorize minitest output with ANSI colors.;To;;[I"!minitest-around ;T;[o; ;[I"GAround block for minitest. An alternative to setup/teardown dance.;To;;[I"!minitest-capistrano ;T;[o; ;[I"?Assertions and expectations for testing Capistrano recipes;To;;[I"!minitest-capybara ;T;[o; ;[I"9Capybara matchers support for minitest unit and spec;To;;[I"!minitest-chef-handler ;T;[o; ;[I"0Run Minitest suites as Chef report handlers;To;;[I"!minitest-ci ;T;[o; ;[I"%CI reporter plugin for MiniTest.;To;;[I"!minitest-colorize ;T;[o; ;[I"?Colorize MiniTest output and show failing tests instantly.;To;;[I"!minitest-context ;T;[o; ;[I"1Defines contexts for code reuse in MiniTest ;TI"*specs that share common expectations.;To;;[I"!minitest-debugger ;T;[o; ;[I"1Wraps assert so failed assertions drop into ;TI"the ruby debugger.;To;;[I"!minitest-display ;T;[o; ;[I"APatches MiniTest to allow for an easily configurable output.;To;;[I"!minitest-emoji ;T;[o; ;[I"+Unit/LifecycleHooks/cdesc-LifecycleHooks.rinu[U:RDoc::NormalModule[iI"LifecycleHooks:EFI"#MiniTest::Unit::LifecycleHooks;T0o:RDoc::Markup::Document: @parts[o;;[o:RDoc::Markup::Paragraph;[I"CProvides before/after hooks for setup and teardown. These are ;TI"Bmeant for library writers, NOT for regular test authors. See ;TI""#before_setup for an example.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below0; 0; 0[[[[[I" class;T[[: public[[:protected[[: private[[I" instance;T[[; [ [I"after_setup;FI"lib/minitest/unit.rb;T[I"after_teardown;F@'[I"before_setup;F@'[I"before_teardown;F@'[; [[;[[[U:RDoc::Context::Section[i0o;;[; 0; 0[@I"MiniTest::Unit;TcRDoc::NormalClassPKP]ԇ%Unit/LifecycleHooks/before_setup-i.rinu[U:RDoc::AnyMethod[iI"before_setup:EFI"0MiniTest::Unit::LifecycleHooks#before_setup;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"BRuns before every test, before setup. This hook is meant for ;TI"Alibraries to extend minitest. It is not meant to be used by ;TI"test developers.;To:RDoc::Markup::BlankLineo; ; [I"As a simplistic example:;T@o:RDoc::Markup::Verbatim; [I"module MyMinitestPlugin ;TI" def before_setup ;TI" super ;TI"/ # ... stuff to do before setup is run ;TI" end ;TI" ;TI" def after_setup ;TI". # ... stuff to do after setup is run ;TI" super ;TI" end ;TI" ;TI" def before_teardown ;TI" super ;TI"2 # ... stuff to do before teardown is run ;TI" end ;TI" ;TI" def after_teardown ;TI"1 # ... stuff to do after teardown is run ;TI" super ;TI" end ;TI" end ;TI" ;TI"$class MiniTest::Unit::TestCase ;TI" include MyMinitestPlugin ;TI"end;T: @format0: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@/FI"LifecycleHooks;FcRDoc::NormalModule00PKP] hhUnit/TestCase/setup-i.rinu[U:RDoc::AnyMethod[iI" setup:EFI"#MiniTest::Unit::TestCase#setup;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"ARuns before every test. Use this to set up before each test ;TI" run.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" TestCase;TcRDoc::NormalClass00PKP]fnGGUnit/TestCase/bench_range-c.rinu[U:RDoc::AnyMethod[iI"bench_range:EFI"*MiniTest::Unit::TestCase::bench_range;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"@Specifies the ranges used for benchmarking for that class. ;TI"CDefaults to exponential growth from 1 to 10k by powers of 10. ;TI"?Override if you need different ranges for your benchmarks.;To:RDoc::Markup::BlankLineo; ; [I".See also: ::bench_exp and ::bench_linear.;T: @fileI"lib/minitest/benchmark.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" TestCase;TcRDoc::NormalClass00PKP]w $$,Unit/TestCase/assert_performance_linear-i.rinu[U:RDoc::AnyMethod[iI"assert_performance_linear:EFI"7MiniTest::Unit::TestCase#assert_performance_linear;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"FRuns the given +work+ and asserts that the times gathered fit to ;TI" 1 + 2 + 3 => 7 ;TI"9sigma([1, 2, 3]) { |n| n ** 2 } # => 1 + 4 + 9 => 14;T: @format0: @fileI"lib/minitest/benchmark.rb;T:0@omit_headings_from_table_of_contents_below000[I"(enum, &block);T@FI" TestCase;TcRDoc::NormalClass00PKP]9!!+Unit/TestCase/assert_performance_power-i.rinu[U:RDoc::AnyMethod[iI"assert_performance_power:EFI"6MiniTest::Unit::TestCase#assert_performance_power;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"ERuns the given +work+ and asserts that the times gathered curve ;TI"Afit to match a power curve within a given error +threshold+.;To:RDoc::Markup::BlankLineo; ; [I"%Fit is calculated by #fit_power.;T@o; ; [I"+Ranges are specified by ::bench_range.;T@o; ; [I"Eg:;T@o:RDoc::Markup::Verbatim; [ I"def bench_algorithm ;TI". assert_performance_power 0.9999 do |x| ;TI" @obj.algorithm ;TI" end ;TI"end;T: @format0: @fileI"lib/minitest/benchmark.rb;T:0@omit_headings_from_table_of_contents_below000[I"(threshold = 0.99, &work);T@ FI" TestCase;TcRDoc::NormalClass00PKP]=Unit/TestCase/i_suck_and_my_tests_are_order_dependent%21-c.rinu[U:RDoc::AnyMethod[iI"-i_suck_and_my_tests_are_order_dependent!:EFI"GMiniTest::Unit::TestCase::i_suck_and_my_tests_are_order_dependent!;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"easy to paste into a spreadsheet for graphing or further ;TI"analysis.;To:RDoc::Markup::BlankLineo; ; [I"+Ranges are specified by ::bench_range.;T@o; ; [I"Eg:;T@o:RDoc::Markup::Verbatim; [ I"def bench_algorithm ;TI"( validation = proc { |x, y| ... } ;TI", assert_performance validation do |n| ;TI" @obj.algorithm(n) ;TI" end ;TI"end;T: @format0: @fileI"lib/minitest/benchmark.rb;T:0@omit_headings_from_table_of_contents_below000[I"(validation, &work);T@!FI" TestCase;TcRDoc::NormalClass00PKP])<*Unit/TestCase/make_my_diffs_pretty%21-c.rinu[U:RDoc::AnyMethod[iI"make_my_diffs_pretty!:EFI"4MiniTest::Unit::TestCase::make_my_diffs_pretty!;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [ I"CMake diffs for this TestCase use #pretty_inspect so that diff ;TI"Din assert_equal can be more details. NOTE: this is much slower ;TI"?than the regular inspect but much more usable for complex ;TI" objects.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" TestCase;TcRDoc::NormalClass00PKP]v%Unit/TestCase/validation_for_fit-i.rinu[U:RDoc::AnyMethod[iI"validation_for_fit:EFI"0MiniTest::Unit::TestCase#validation_for_fit;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"DReturns a proc that calls the specified fit method and asserts ;TI"4that the error is within a tolerable threshold.;T: @fileI"lib/minitest/benchmark.rb;T:0@omit_headings_from_table_of_contents_below000[I"(msg, threshold);T@FI" TestCase;TcRDoc::NormalClass00PKP]4RnnUnit/TestCase/teardown-i.rinu[U:RDoc::AnyMethod[iI" teardown:EFI"&MiniTest::Unit::TestCase#teardown;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"ARuns after every test. Use this to clean up after each test ;TI" run.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" TestCase;TcRDoc::NormalClass00PKP])$j$qq#Unit/TestCase/benchmark_suites-c.rinu[U:RDoc::AnyMethod[iI"benchmark_suites:EFI"/MiniTest::Unit::TestCase::benchmark_suites;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"9Returns all test suites that have benchmark methods.;T: @fileI"lib/minitest/benchmark.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" TestCase;TcRDoc::NormalClass00PKP].EEUnit/TestCase/passed%3f-i.rinu[U:RDoc::AnyMethod[iI" passed?:EFI"%MiniTest::Unit::TestCase#passed?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"%Returns true if the test passed.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" TestCase;TcRDoc::NormalClass00PKP]q'Unit/TestCase/bench_exp-c.rinu[U:RDoc::AnyMethod[iI"bench_exp:EFI"(MiniTest::Unit::TestCase::bench_exp;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"AReturns a set of ranges stepped exponentially from +min+ to ;TI"#+max+ by powers of +base+. Eg:;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"+bench_exp(2, 16, 2) # => [2, 4, 8, 16];T: @format0: @fileI"lib/minitest/benchmark.rb;T:0@omit_headings_from_table_of_contents_below000[I"(min, max, base = 10);T@FI" TestCase;TcRDoc::NormalClass00PKP]hjUnit/TestCase/fit_power-i.rinu[U:RDoc::AnyMethod[iI"fit_power:EFI"'MiniTest::Unit::TestCase#fit_power;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"(To fit a functional form: y = ax^b.;To:RDoc::Markup::BlankLineo; ; [I"2Takes x and y values and returns [a, b, r^2].;T@o; ; [I"GSee: http://mathworld.wolfram.com/LeastSquaresFittingPowerLaw.html;T: @fileI"lib/minitest/benchmark.rb;T:0@omit_headings_from_table_of_contents_below000[I" (xs, ys);T@FI" TestCase;TcRDoc::NormalClass00PKP]:TUnit/TestCase/bench_linear-c.rinu[U:RDoc::AnyMethod[iI"bench_linear:EFI"+MiniTest::Unit::TestCase::bench_linear;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"EReturns a set of ranges stepped linearly from +min+ to +max+ by ;TI"+step+. Eg:;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"/bench_linear(20, 40, 10) # => [20, 30, 40];T: @format0: @fileI"lib/minitest/benchmark.rb;T:0@omit_headings_from_table_of_contents_below000[I"(min, max, step = 10);T@FI" TestCase;TcRDoc::NormalClass00PKP]Fr$Unit/TestCase/parallelize_me%21-c.rinu[U:RDoc::AnyMethod[iI"parallelize_me!:EFI".MiniTest::Unit::TestCase::parallelize_me!;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"BCall this at the top of your tests when you want to run your ;TI"Dtests in parallel. In doing so, you're admitting that you rule ;TI" and your tests are awesome.;T: @fileI"lib/minitest/unit.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" TestCase;TcRDoc::NormalClass00PKP]uISSUnit/cdesc-Unit.rinu[U:RDoc::NormalClass[iI" Unit:ETI"MiniTest::Unit;TI" Object;To:RDoc::Markup::Document: @parts[o;;[: @fileI""lib/minitest/parallel_each.rb;T:0@omit_headings_from_table_of_contents_below0; 0; 0[[[[[I" class;T[[: public[[:protected[[: private[[I" instance;T[[; [[I"_old_run_suites;FI""lib/minitest/parallel_each.rb;T[I"_run_suites;F@#[; [[; [[[U:RDoc::Context::Section[i0o;;[; 0; 0[ I"lib/minitest/benchmark.rb;T@I"lib/minitest/unit.rb;TI"lib/test/unit.rb;TI"lib/test/unit/parallel.rb;TI" MiniTest;FcRDoc::NormalModulePKP]h>Expectations/must_output-i.rinu[U:RDoc::MetaMethod[iI"must_output:ETI"'MiniTest::Expectations#must_output;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"+See MiniTest::Assertions#assert_output;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"0proc { ... }.must_output out_or_nil [, err];T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]w6qExpectations/must_include-i.rinu[U:RDoc::MetaMethod[iI"must_include:ETI"(MiniTest::Expectations#must_include;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"-See MiniTest::Assertions#assert_includes;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I" collection.must_include obj;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP],:Expectations/must_send-i.rinu[U:RDoc::MetaMethod[iI"must_send:ETI"%MiniTest::Expectations#must_send;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"*See MiniTest::Assertions#assert_send ;TI"TODO: remove me;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"a.must_send;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]Yu|!Expectations/wont_be_kind_of-i.rinu[U:RDoc::MetaMethod[iI"wont_be_kind_of:ETI"+MiniTest::Expectations#wont_be_kind_of;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I",See MiniTest::Assertions#refute_kind_of;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"obj.wont_be_kind_of mod;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]48_1(Expectations/must_be_within_epsilon-i.rinu[U:RDoc::MetaMethod[iI"must_be_within_epsilon:ETI"2MiniTest::Expectations#must_be_within_epsilon;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"/See MiniTest::Assertions#assert_in_epsilon;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"+n.must_be_within_epsilon m [, epsilon];T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]h2Expectations/must_equal-i.rinu[U:RDoc::MetaMethod[iI"must_equal:ETI"&MiniTest::Expectations#must_equal;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"*See MiniTest::Assertions#assert_equal;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"a.must_equal b;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]BExpectations/wont_be_empty-i.rinu[U:RDoc::MetaMethod[iI"wont_be_empty:ETI")MiniTest::Expectations#wont_be_empty;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"*See MiniTest::Assertions#refute_empty;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"collection.wont_be_empty;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]/S}Expectations/must_throw-i.rinu[U:RDoc::MetaMethod[iI"must_throw:ETI"&MiniTest::Expectations#must_throw;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"+See MiniTest::Assertions#assert_throws;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I" proc { ... }.must_throw sym;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]kQQ&Expectations/must_be_within_delta-i.rinu[U:RDoc::MetaMethod[iI"must_be_within_delta:ETI"0MiniTest::Expectations#must_be_within_delta;TF: publico:RDoc::Markup::Document: @parts[: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@ FI"Expectations;FcRDoc::NormalModule0[I"MiniTest::Expectations;TFI"must_be_close_to;TPKP]gExpectations/must_be_empty-i.rinu[U:RDoc::MetaMethod[iI"must_be_empty:ETI")MiniTest::Expectations#must_be_empty;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"+See MiniTest::Assertions#assert_empty.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"collection.must_be_empty;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]?!Expectations/wont_respond_to-i.rinu[U:RDoc::MetaMethod[iI"wont_respond_to:ETI"+MiniTest::Expectations#wont_respond_to;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"/See MiniTest::Assertions#refute_respond_to;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"obj.wont_respond_to msg;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP] $!Expectations/must_be_same_as-i.rinu[U:RDoc::MetaMethod[iI"must_be_same_as:ETI"+MiniTest::Expectations#must_be_same_as;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I")See MiniTest::Assertions#assert_same;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"a.must_be_same_as b;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP],"Expectations/cdesc-Expectations.rinu[U:RDoc::NormalModule[iI"Expectations:EFI"MiniTest::Expectations;T0o:RDoc::Markup::Document: @parts[o;;[o:RDoc::Markup::Paragraph;[I"+It's where you hide your "assertions".;T: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below0; 0; 0[[[[[I" class;T[[: public[[:protected[[: private[[I" instance;T[[; [$[I" must_be;TI"lib/minitest/spec.rb;T[I"must_be_close_to;T@%[I"must_be_empty;T@%[I"must_be_instance_of;T@%[I"must_be_kind_of;T@%[I"must_be_nil;T@%[I"must_be_same_as;T@%[I"must_be_silent;T@%[I"must_be_within_delta;T@%[I"must_be_within_epsilon;T@%[I"must_equal;T@%[I"must_include;T@%[I"must_match;T@%[I"must_output;T@%[I"must_raise;T@%[I"must_respond_to;T@%[I"must_send;T@%[I"must_throw;T@%[I" wont_be;T@%[I"wont_be_close_to;T@%[I"wont_be_empty;T@%[I"wont_be_instance_of;T@%[I"wont_be_kind_of;T@%[I"wont_be_nil;T@%[I"wont_be_same_as;T@%[I"wont_be_within_delta;T@%[I"wont_be_within_epsilon;T@%[I"wont_equal;T@%[I"wont_include;T@%[I"wont_match;T@%[I"wont_respond_to;T@%[; [[;[[[U:RDoc::Context::Section[i0o;;[; 0; 0[@I" MiniTest;FcRDoc::NormalModulePKP][A"Expectations/wont_be_close_to-i.rinu[U:RDoc::MetaMethod[iI"wont_be_close_to:ETI",MiniTest::Expectations#wont_be_close_to;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"-See MiniTest::Assertions#refute_in_delta;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"#n.wont_be_close_to m [, delta];T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[[I"wont_be_within_delta;To;; [;@;0I";T@FI"Expectations;FcRDoc::NormalModule00PKP]-%Expectations/must_be_instance_of-i.rinu[U:RDoc::MetaMethod[iI"must_be_instance_of:ETI"/MiniTest::Expectations#must_be_instance_of;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"0See MiniTest::Assertions#assert_instance_of;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I""obj.must_be_instance_of klass;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP] ˛"Expectations/must_be_close_to-i.rinu[U:RDoc::MetaMethod[iI"must_be_close_to:ETI",MiniTest::Expectations#must_be_close_to;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"-See MiniTest::Assertions#assert_in_delta;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"#n.must_be_close_to m [, delta];T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[[I"must_be_within_delta;To;; [;@;0I";T@FI"Expectations;FcRDoc::NormalModule00PKP]gExpectations/wont_equal-i.rinu[U:RDoc::MetaMethod[iI"wont_equal:ETI"&MiniTest::Expectations#wont_equal;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"*See MiniTest::Assertions#refute_equal;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"a.wont_equal b;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]'Expectations/wont_include-i.rinu[U:RDoc::MetaMethod[iI"wont_include:ETI"(MiniTest::Expectations#wont_include;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"-See MiniTest::Assertions#refute_includes;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I" collection.wont_include obj;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]V4QExpectations/must_be_nil-i.rinu[U:RDoc::MetaMethod[iI"must_be_nil:ETI"'MiniTest::Expectations#must_be_nil;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"(See MiniTest::Assertions#assert_nil;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"obj.must_be_nil;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]J%Expectations/wont_be_instance_of-i.rinu[U:RDoc::MetaMethod[iI"wont_be_instance_of:ETI"/MiniTest::Expectations#wont_be_instance_of;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"0See MiniTest::Assertions#refute_instance_of;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I""obj.wont_be_instance_of klass;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]SkExpectations/must_match-i.rinu[U:RDoc::MetaMethod[iI"must_match:ETI"&MiniTest::Expectations#must_match;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"*See MiniTest::Assertions#assert_match;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"a.must_match b;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]m#Expectations/wont_be_nil-i.rinu[U:RDoc::MetaMethod[iI"wont_be_nil:ETI"'MiniTest::Expectations#wont_be_nil;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"(See MiniTest::Assertions#refute_nil;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"obj.wont_be_nil;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]-N ۾Expectations/must_raise-i.rinu[U:RDoc::MetaMethod[iI"must_raise:ETI"&MiniTest::Expectations#must_raise;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"+See MiniTest::Assertions#assert_raises;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"&proc { ... }.must_raise exception;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP](Expectations/wont_be_within_epsilon-i.rinu[U:RDoc::MetaMethod[iI"wont_be_within_epsilon:ETI"2MiniTest::Expectations#wont_be_within_epsilon;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"/See MiniTest::Assertions#refute_in_epsilon;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"+n.wont_be_within_epsilon m [, epsilon];T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]` Expectations/must_be_silent-i.rinu[U:RDoc::MetaMethod[iI"must_be_silent:ETI"*MiniTest::Expectations#must_be_silent;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"+See MiniTest::Assertions#assert_silent;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I" proc { ... }.must_be_silent;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP],QQ&Expectations/wont_be_within_delta-i.rinu[U:RDoc::MetaMethod[iI"wont_be_within_delta:ETI"0MiniTest::Expectations#wont_be_within_delta;TF: publico:RDoc::Markup::Document: @parts[: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@ FI"Expectations;FcRDoc::NormalModule0[I"MiniTest::Expectations;TFI"wont_be_close_to;TPKP]Expectations/wont_match-i.rinu[U:RDoc::MetaMethod[iI"wont_match:ETI"&MiniTest::Expectations#wont_match;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"*See MiniTest::Assertions#refute_match;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"a.wont_match b;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]Z!Expectations/wont_be_same_as-i.rinu[U:RDoc::MetaMethod[iI"wont_be_same_as:ETI"+MiniTest::Expectations#wont_be_same_as;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I")See MiniTest::Assertions#refute_same;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"a.wont_be_same_as b;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]0 !Expectations/must_be_kind_of-i.rinu[U:RDoc::MetaMethod[iI"must_be_kind_of:ETI"+MiniTest::Expectations#must_be_kind_of;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I",See MiniTest::Assertions#assert_kind_of;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"obj.must_be_kind_of mod;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]@Expectations/must_be-i.rinu[U:RDoc::MetaMethod[iI" must_be:ETI"#MiniTest::Expectations#must_be;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"-See MiniTest::Assertions#assert_operator;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"n.must_be :<=, 42 ;T: @format0o; ; [I"!This can also do predicates:;T@o; ; [I"str.must_be :empty?;T; 0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]֟Expectations/wont_be-i.rinu[U:RDoc::MetaMethod[iI" wont_be:ETI"#MiniTest::Expectations#wont_be;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"-See MiniTest::Assertions#refute_operator;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"n.wont_be :<=, 42 ;T: @format0o; ; [I"!This can also do predicates:;T@o; ; [I"str.wont_be :empty?;T; 0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP]z!Expectations/must_respond_to-i.rinu[U:RDoc::MetaMethod[iI"must_respond_to:ETI"+MiniTest::Expectations#must_respond_to;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"/See MiniTest::Assertions#assert_respond_to;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"obj.must_respond_to msg;T: @format0: @fileI"lib/minitest/spec.rb;T:0@omit_headings_from_table_of_contents_below000[I";T@FI"Expectations;FcRDoc::NormalModule00PKP])Spec/cdesc-Spec.rinu[U:RDoc::NormalClass[iI" Spec:ETI"MiniTest::Spec;TI"MiniTest::Unit::TestCase;Fo:RDoc::Markup::Document: @parts[: @file0:0@omit_headings_from_table_of_contents_below0[[[[[I" class;T[[: public[[:protected[[: private[[I" instance;T[[; [[; [[; [[[U:RDoc::Context::Section[i0o;;[; 0; 0[I"lib/minitest/benchmark.rb;TI"lib/minitest/spec.rb;T@*cRDoc::TopLevelPKP]5GMuuSpec/DSL/cdesc-DSL.rinu[U:RDoc::NormalModule[iI"DSL:EFI"MiniTest::Spec::DSL;T0o:RDoc::Markup::Document: @parts[: @file0:0@omit_headings_from_table_of_contents_below0[[[[[I" class;T[[: public[[:protected[[: private[[I" instance;T[[; [[; [[; [[[U:RDoc::Context::Section[i0o;;[; 0; 0[I"lib/minitest/spec.rb;TI"MiniTest::Spec;TcRDoc::NormalClassPKP]CAMock/cdesc-Mock.rinu[PKP]MHeQMock/expect-i.rinu[PKP]GTǠoMock/verify-i.rinu[PKP]gv2O Assertion/cdesc-Assertion.rinu[PKP](Dh Skip/cdesc-Skip.rinu[PKP]R__! Assertions/exception_details-i.rinu[PKP]Dll8Assertions/synchronize-i.rinu[PKP]՞99Assertions/flunk-i.rinu[PKP]}ggmAssertions/cdesc-Assertions.rinu[PKP]H!"Assertions/refute_in_epsilon-i.rinu[PKP] xx,Assertions/refute_same-i.rinu[PKP]drr!Assertions/assert_respond_to-i.rinu[PKP]YAssertions/assert_equal-i.rinu[PKP]k6UU!Assertions/assert-i.rinu[PKP]@k#Assertions/assert_raises-i.rinu[PKP]xb,q%Assertions/assert_send-i.rinu[PKP]n߉S(('Assertions/assert_in_delta-i.rinu[PKP]dq,(*Assertions/refute_equal-i.rinu[PKP]R]gg,Assertions/refute_kind_of-i.rinu[PKP]TT-Assertions/refute_empty-i.rinu[PKP]ݣ77p/Assertions/mu_pp_for_diff-i.rinu[PKP]ǿRl  1Assertions/refute_operator-i.rinu[PKP]51QQP4Assertions/assert_nil-i.rinu[PKP]|FF 5Assertions/assert_predicate-i.rinu[PKP]xcgg8Assertions/assert_same-i.rinu[PKP]3:Assertions/assert_output-i.rinu[PKP]KFF @=Assertions/refute_predicate-i.rinu[PKP]?Assertions/diff-c.rinu[PKP]}|+ggAAssertions/assert_throws-i.rinu[PKP]-!QCAssertions/assert_in_epsilon-i.rinu[PKP]Ʃnn_EAssertions/assert_match-i.rinu[PKP]|GAssertions/capture_io-i.rinu[PKP]#9iXXOJAssertions/assert_empty-i.rinu[PKP]jjKAssertions/refute_match-i.rinu[PKP]  MAssertions/diff-i.rinu[PKP]wVOAssertions/message-i.rinu[PKP]H_bb%QAssertions/capture_subprocess_io-i.rinu[PKP]{ȷUAssertions/skip-i.rinu[PKP]檐kk_WAssertions/assert_kind_of-i.rinu[PKP]1xx"YAssertions/assert_instance_of-i.rinu[PKP]8fZAssertions/assert_operator-i.rinu[PKP]I!ww ]Assertions/assert_includes-i.rinu[PKP]tt"^Assertions/refute_instance_of-i.rinu[PKP]C'`Assertions/refute_in_delta-i.rinu[PKP]>wYbAssertions/mu_pp-i.rinu[PKP]똻CCdAssertions/pass-i.rinu[PKP]~rNNpfAssertions/refute_nil-i.rinu[PKP]׿UUhAssertions/skipped%3f-i.rinu[PKP](zz!iAssertions/refute_respond_to-i.rinu[PKP]?orkAssertions/assert_silent-i.rinu[PKP]WJPPomAssertions/refute-i.rinu[PKP]oGGoAssertions/diff%3d-c.rinu[PKP]xsspAssertions/refute_includes-i.rinu[PKP]ȎMMUrcdesc-MiniTest.rinu[PKP]c;;$backtrace_filter-c.rinu[PKP]#AUnit/_run_suites-i.rinu[PKP]*-??Unit/_old_run_suites-i.rinu[PKP]Wڔ^Unit/Guard/cdesc-Guard.rinu[PKP]"LggUnit/Guard/maglev%3f-c.rinu[PKP]OOtUnit/Guard/jruby%3f-i.rinu[PKP]kDlUU Unit/Guard/windows%3f-i.rinu[PKP]}1JggUnit/Guard/maglev%3f-i.rinu[PKP]%aZLLZUnit/Guard/mri%3f-i.rinu[PKP]=h ooUnit/Guard/rubinius%3f-i.rinu[PKP]W,$Unit/LifecycleHooks/after_setup-i.rinu[PKP]@c0##'Unit/LifecycleHooks/after_teardown-i.rinu[PKP]c=&&(Unit/LifecycleHooks/before_teardown-i.rinu[PKP]>+ Unit/LifecycleHooks/cdesc-LifecycleHooks.rinu[PKP]ԇ%GUnit/LifecycleHooks/before_setup-i.rinu[PKP] hh#Unit/TestCase/setup-i.rinu[PKP]fnGGUnit/TestCase/bench_range-c.rinu[PKP]w $$,hUnit/TestCase/assert_performance_linear-i.rinu[PKP]FW<<1Unit/TestCase/assert_performance_exponential-i.rinu[PKP]g!66Unit/TestCase/io-i.rinu[PKP]y7<<1Unit/TestCase/assert_performance_logarithmic-i.rinu[PKP]"Unit/TestCase/fit_logarithmic-i.rinu[PKP] ::Unit/TestCase/io%3f-i.rinu[PKP]6 CUnit/TestCase/fit_error-i.rinu[PKP]0!'RRUnit/TestCase/run-i.rinu[PKP]g"MUnit/TestCase/fit_exponential-i.rinu[PKP]8Unit/TestCase/cdesc-TestCase.rinu[PKP]"Unit/TestCase/fit_linear-i.rinu[PKP]E屢.ZUnit/TestCase/assert_performance_constant-i.rinu[PKP]1T\GGC Unit/TestCase/sigma-i.rinu[PKP]9!!+ Unit/TestCase/assert_performance_power-i.rinu[PKP]=NUnit/TestCase/i_suck_and_my_tests_are_order_dependent%21-c.rinu[PKP]&(%Unit/TestCase/assert_performance-i.rinu[PKP])<*Unit/TestCase/make_my_diffs_pretty%21-c.rinu[PKP]v%:Unit/TestCase/validation_for_fit-i.rinu[PKP]4RnnRUnit/TestCase/teardown-i.rinu[PKP])$j$qq# Unit/TestCase/benchmark_suites-c.rinu[PKP].EEUnit/TestCase/passed%3f-i.rinu[PKP]q'`!Unit/TestCase/bench_exp-c.rinu[PKP]hj#Unit/TestCase/fit_power-i.rinu[PKP]:T &Unit/TestCase/bench_linear-c.rinu[PKP]Fr$i(Unit/TestCase/parallelize_me%21-c.rinu[PKP]uISS*Unit/cdesc-Unit.rinu[PKP]h>--Expectations/must_output-i.rinu[PKP]w6qD/Expectations/must_include-i.rinu[PKP],:P1Expectations/must_send-i.rinu[PKP]Yu|!V3Expectations/wont_be_kind_of-i.rinu[PKP]48_1(f5Expectations/must_be_within_epsilon-i.rinu[PKP]h27Expectations/must_equal-i.rinu[PKP]B9Expectations/wont_be_empty-i.rinu[PKP]/S};Expectations/must_throw-i.rinu[PKP]kQQ&=Expectations/must_be_within_delta-i.rinu[PKP]gG?Expectations/must_be_empty-i.rinu[PKP]?!QAExpectations/wont_respond_to-i.rinu[PKP] $!dCExpectations/must_be_same_as-i.rinu[PKP],"mEExpectations/cdesc-Expectations.rinu[PKP][A"JExpectations/wont_be_close_to-i.rinu[PKP]-%LExpectations/must_be_instance_of-i.rinu[PKP] ˛"OExpectations/must_be_close_to-i.rinu[PKP]g`QExpectations/wont_equal-i.rinu[PKP]'VSExpectations/wont_include-i.rinu[PKP]V4QbUExpectations/must_be_nil-i.rinu[PKP]J%ZWExpectations/wont_be_instance_of-i.rinu[PKP]SkYExpectations/must_match-i.rinu[PKP]m#v[Expectations/wont_be_nil-i.rinu[PKP]-N ۾n]Expectations/must_raise-i.rinu[PKP](x_Expectations/wont_be_within_epsilon-i.rinu[PKP]` aExpectations/must_be_silent-i.rinu[PKP],QQ&cExpectations/wont_be_within_delta-i.rinu[PKP]feExpectations/wont_match-i.rinu[PKP]Z!\gExpectations/wont_be_same_as-i.rinu[PKP]0 !eiExpectations/must_be_kind_of-i.rinu[PKP]@ukExpectations/must_be-i.rinu[PKP]֟mExpectations/wont_be-i.rinu[PKP]z!pExpectations/must_respond_to-i.rinu[PKP])rSpec/cdesc-Spec.rinu[PKP]5GMuusSpec/DSL/cdesc-DSL.rinu[PK/u