=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/
-
-
-
-
- Method List
-
-
-
-
-
-
-
-
-
-
-
-
#+
-
Test::Unit::MixColor
-
-
-
-
-
-
-
#+
-
Test::Unit::Color
-
-
-
-
-
-
-
#<<
-
Test::Unit::TestSuite
-
-
-
-
-
-
-
#<<
-
Test::Unit::DataSets
-
-
-
-
-
-
-
#<=>
-
Test::Unit::Assertions::AssertionMessage::Inspector
-
-
-
-
-
-
-
#==
-
Test::Unit::Util::ProcWrapper
-
-
-
-
-
-
-
#==
-
Test::Unit::DataSets
-
-
-
-
-
-
-
#==
-
Test::Unit::TestCase
-
-
-
-
-
-
-
#==
-
Test::Unit::MixColor
-
-
-
-
-
-
-
#==
-
Test::Unit::Color
-
-
-
-
-
-
-
#==
-
Test::Unit::TestSuite
-
-
-
-
-
-
-
#[]
-
Test::Unit::Attribute::StringifyKeyHash
-
-
-
-
-
-
-
[]
-
Test::Unit::ColorScheme
-
-
-
-
-
-
-
#[]
-
Test::Unit::Diff::UTF8Line
-
-
-
-
-
-
-
#[]
-
Test::Unit::Fixture::Fixture
-
-
-
-
-
-
-
#[]
-
Test::Unit::Attribute
-
-
-
-
-
-
-
#[]
-
Test::Unit::ColorScheme
-
-
-
-
-
-
-
[]=
-
Test::Unit::ColorScheme
-
-
-
-
-
-
-
#[]=
-
Test::Unit::Attribute::StringifyKeyHash
-
-
-
-
-
-
-
#[]=
-
Test::Unit::ColorScheme
-
-
-
-
-
-
-
-
-
-
-
-
#actual
-
Test::Unit::AssertionFailedError
-
-
-
-
-
-
-
#add
-
Test::Unit::DataSets
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#add_error
-
Test::Unit::TestResultErrorSupport
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
all
-
Test::Unit::ColorScheme
-
-
-
-
-
-
-
#assert
-
Test::Unit::Assertions
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#attribute
-
Test::Unit::Attribute::ClassMethods
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#base
-
Test::Unit::AutoRunner
-
-
-
-
-
-
-
#base
-
Test::Unit::Collector::Dir
-
-
-
-
-
-
-
#base
-
Test::Unit::Collector::Load
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#blocks
-
Test::Unit::Diff::SequenceMatcher
-
-
-
-
-
-
-
#bold?
-
Test::Unit::Color
-
-
-
-
-
-
-
-
-
-
-
-
cached_new
-
Test::Unit::Assertions::AssertionMessage::Inspector
-
-
-
-
-
-
-
-
-
-
-
-
check
-
Test::Unit::AutoRunnerLoader
-
-
-
-
-
-
-
-
-
-
-
-
#cleanup
-
Test::Unit::Fixture::ClassMethods
-
-
-
-
-
-
-
#cleanup
-
Test::Unit::Fixture::Fixture
-
-
-
-
-
-
-
#collect
-
Test::Unit::Collector::Load
-
-
-
-
-
-
-
#collect
-
Test::Unit::Collector::ObjectSpace
-
-
-
-
-
-
-
#collect
-
Test::Unit::Collector::Descendant
-
-
-
-
-
-
-
#collect
-
Test::Unit::Collector::XML
-
-
-
-
-
-
-
#collect
-
Test::Unit::Collector::Dir
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#convert
-
Test::Unit::Assertions::AssertionMessage
-
-
-
-
-
-
-
convert
-
Test::Unit::Assertions::AssertionMessage
-
-
-
-
-
-
-
#count
-
Test::Unit::Assertions::AssertionMessage::Template
-
-
-
-
-
-
-
create
-
Test::Unit::Assertions::AssertionMessage::Template
-
-
-
-
-
-
-
#create
-
Test::Unit::TestSuiteCreator
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#data
-
Test::Unit::TestCase
-
-
-
-
-
-
-
#data
-
Test::Unit::Data::ClassMethods
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
default
-
Test::Unit::ColorScheme
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#delete
-
Test::Unit::TestSuite
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff
-
Test::Unit::Diff
-
-
-
-
-
-
-
#diff
-
Test::Unit::Diff::UnifiedDiffer
-
-
-
-
-
-
-
#diff
-
Test::Unit::Diff::ReadableDiffer
-
-
-
-
-
-
-
#diff
-
Test::Unit::Failure
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#each
-
Test::Unit::ColorScheme
-
-
-
-
-
-
-
#each
-
Test::Unit::Diff::UTF8Line
-
-
-
-
-
-
-
#each
-
Test::Unit::Assertions::AssertionMessage::ArrayInspector
-
-
-
-
-
-
-
#each
-
Test::Unit::DataSets
-
-
-
-
-
-
-
#each_pair
-
Test::Unit::Assertions::AssertionMessage::HashInspector
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#empty?
-
Test::Unit::TestSuite
-
-
-
-
-
-
-
enable
-
Test::Unit::Priority
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#eql?
-
Test::Unit::DataSets
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#errors
-
Test::Unit::TestResultErrorSupport
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#exception
-
Test::Unit::Assertions::AssertExceptionHelper::WrappedException
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#exclude
-
Test::Unit::Collector::Dir
-
-
-
-
-
-
-
-
-
-
-
-
#expected
-
Test::Unit::AssertionFailedError
-
-
-
-
-
-
-
-
-
-
-
-
#expected?
-
Test::Unit::Assertions::AssertExceptionHelper
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#failures
-
Test::Unit::TestResultFailureSupport
-
-
-
-
-
-
-
#faults
-
Test::Unit::TestResult
-
-
-
-
-
-
-
#fetch
-
Test::Unit::CodeSnippetFetcher
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
find
-
Test::Unit::Util::MethodOwnerFinder
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#fixture
-
Test::Unit::Fixture::ClassMethods
-
-
-
-
-
-
-
#flunk
-
Test::Unit::Assertions
-
-
-
-
-
-
-
fold
-
Test::Unit::Diff
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#hash
-
Test::Unit::Util::ProcWrapper
-
-
-
-
-
-
-
#hash
-
Test::Unit::DataSets
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#initialize
-
Test::Unit::Assertions::AssertionMessage::Literal
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#initialize
-
Test::Unit::Assertions::AssertExceptionHelper
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#initialize
-
Test::Unit::Assertions::AssertExceptionHelper::WrappedException
-
-
-
-
-
-
-
#initialize
-
Test::Unit::Data::ClassMethods::Loader
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#initialize
-
Test::Unit::UI::Console::ColorizedReadableDiffer
-
-
-
-
-
-
-
#initialize
-
Test::Unit::Assertions::AssertionMessage
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#initialize
-
Test::Unit::Assertions::AssertionMessage::Template
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#initialize
-
Test::Unit::Assertions::AssertionMessage::Inspector
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#initialize
-
Test::Unit::Assertions::AssertionMessage::MaybeContainer
-
-
-
-
-
-
-
#initialize
-
Test::Unit::Assertions::AssertionMessage::NumericInspector
-
-
-
-
-
-
-
#initialize
-
Test::Unit::Assertions::AssertionMessage::HashInspector
-
-
-
-
-
-
-
-
-
-
-
-
#initialize
-
Test::Unit::Assertions::AssertionMessage::DelayedLiteral
-
-
-
-
-
-
-
#initialize
-
Test::Unit::Assertions::AssertionMessage::ArrayInspector
-
-
-
-
-
-
-
-
-
-
-
-
#inspect
-
Test::Unit::Assertions::AssertionMessage::NumericInspector
-
-
-
-
-
-
-
#inspect
-
Test::Unit::Assertions::AssertionMessage::Literal
-
-
-
-
-
-
-
#inspect
-
Test::Unit::Assertions::AssertionMessage::Inspector
-
-
-
-
-
-
-
#inspect
-
Test::Unit::Assertions::AssertionMessage::MaybeContainer
-
-
-
-
-
-
-
#inspect
-
Test::Unit::Assertions::AssertionMessage::DelayedLiteral
-
-
-
-
-
-
-
#inspect
-
Test::Unit::Assertions::AssertionMessage::HashInspector
-
-
-
-
-
-
-
#inspect
-
Test::Unit::Assertions::AssertionMessage::ArrayInspector
-
-
-
-
-
-
-
#inspect
-
Test::Unit::Assertions::AssertExceptionHelper::WrappedException
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#keep
-
Test::Unit::DataSets
-
-
-
-
-
-
-
#key?
-
Test::Unit::Attribute::StringifyKeyHash
-
-
-
-
-
-
-
-
-
-
-
-
#label
-
Test::Unit::Pending
-
-
-
-
-
-
-
#label
-
Test::Unit::Failure
-
-
-
-
-
-
-
#label
-
Test::Unit::Error
-
-
-
-
-
-
-
#label
-
Test::Unit::Omission
-
-
-
-
-
-
-
#label
-
Test::Unit::Notification
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
literal
-
Test::Unit::Assertions::AssertionMessage
-
-
-
-
-
-
-
#load
-
Test::Unit::Data::ClassMethods::Loader
-
-
-
-
-
-
-
-
-
-
-
-
#load_csv
-
Test::Unit::Data::ClassMethods::Loader
-
-
-
-
-
-
-
-
-
-
-
-
#load_tsv
-
Test::Unit::Data::ClassMethods::Loader
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#match?
-
Test::Unit::AttributeMatcher
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#method_missing
-
Test::Unit::Assertions::AssertExceptionHelper::WrappedException
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#name
-
Test::Unit::TestCase
-
-
-
-
-
-
-
#name
-
Test::Unit::TestSuite
-
-
-
-
-
-
-
#name
-
Test::Unit::Color
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#need_diff?
-
Test::Unit::UI::Console::ColorizedReadableDiffer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#notify
-
Test::Unit::TestCaseNotificationSupport
-
-
-
-
-
-
-
-
-
-
-
-
#object
-
Test::Unit::Assertions::AssertionMessage::Inspector
-
-
-
-
-
-
-
-
-
-
-
-
#omissions
-
Test::Unit::TestResultOmissionSupport
-
-
-
-
-
-
-
#omit
-
Test::Unit::TestCaseOmissionSupport
-
-
-
-
-
-
-
#omit_if
-
Test::Unit::TestCaseOmissionSupport
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#passed?
-
Test::Unit::TestCase::InternalData
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#pattern
-
Test::Unit::Collector::Dir
-
-
-
-
-
-
-
-
-
-
-
-
#pend
-
Test::Unit::TestCasePendingSupport
-
-
-
-
-
-
-
-
-
-
-
-
#pendings
-
Test::Unit::TestResultPendingSupport
-
-
-
-
-
-
-
#physical
-
Test::Unit::Util::MemoryUsage
-
-
-
-
-
-
-
-
-
-
-
-
prepare
-
Test::Unit::AutoRunner
-
-
-
-
-
-
-
-
-
-
-
-
#pretty_print
-
Test::Unit::Assertions::AssertionMessage::HashInspector
-
-
-
-
-
-
-
#pretty_print
-
Test::Unit::Assertions::AssertionMessage::Inspector
-
-
-
-
-
-
-
#pretty_print
-
Test::Unit::Assertions::AssertionMessage::ArrayInspector
-
-
-
-
-
-
-
#pretty_print
-
Test::Unit::Assertions::AssertionMessage::NumericInspector
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#priority
-
Test::Unit::Priority::ClassMethods
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
ractor
-
Test::Unit::TestCase
-
-
-
-
-
-
-
#ratio
-
Test::Unit::Diff::SequenceMatcher
-
-
-
-
-
-
-
-
-
-
-
-
#realdir
-
Test::Unit::Collector::Dir
-
-
-
-
-
-
-
-
-
-
-
-
#refute
-
Test::Unit::Assertions
-
-
-
-
-
-
-
#register
-
Test::Unit::Fixture::HookPoint
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#result
-
Test::Unit::Assertions::AssertionMessage::Template
-
-
-
-
-
-
-
#run
-
Test::Unit::UI::TestRunnerUtilities
-
-
-
-
-
-
-
#run
-
Test::Unit::TestCase
-
-
-
-
-
-
-
run
-
Test::Unit::AutoRunner
-
-
-
-
-
-
-
#run
-
Test::Unit::UI::TestRunnerMediator
-
-
-
-
-
-
-
#run
-
Test::Unit::AutoRunner
-
-
-
-
-
-
-
#run
-
Test::Unit::TestSuite
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#run_suite
-
Test::Unit::UI::TestRunnerMediator
-
-
-
-
-
-
-
-
-
-
-
-
runner
-
Test::Unit::AutoRunner
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#setup
-
Test::Unit::Fixture::Fixture
-
-
-
-
-
-
-
#setup
-
Test::Unit::Priority::Checker
-
-
-
-
-
-
-
#setup
-
Test::Unit::TestCase
-
-
-
-
-
-
-
#setup
-
Test::Unit::Fixture::ClassMethods
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#size
-
Test::Unit::TestCase
-
-
-
-
-
-
-
#size
-
Test::Unit::Diff::UTF8Line
-
-
-
-
-
-
-
#size
-
Test::Unit::TestSuite
-
-
-
-
-
-
-
#sort
-
Test::Unit::Collector
-
-
-
-
-
-
-
#source
-
Test::Unit::CodeSnippetFetcher
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#start
-
Test::Unit::UI::TestRunner
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#status
-
Test::Unit::TestResult
-
-
-
-
-
-
-
#stop
-
Test::Unit::TestResult
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
stringify
-
Test::Unit::Attribute::StringifyKeyHash
-
-
-
-
-
-
-
-
-
-
-
-
suite
-
Test::Unit::TestCase
-
-
-
-
-
-
-
#suite
-
Test::Unit::AutoRunner
-
-
-
-
-
-
-
-
-
-
-
-
#tag_end
-
Test::Unit::Collector::XML::Listener
-
-
-
-
-
-
-
#tag_start
-
Test::Unit::Collector::XML::Listener
-
-
-
-
-
-
-
target?
-
Test::Unit::Assertions::AssertionMessage::ArrayInspector
-
-
-
-
-
-
-
target?
-
Test::Unit::Assertions::AssertionMessage::NumericInspector
-
-
-
-
-
-
-
target?
-
Test::Unit::Assertions::AssertionMessage::HashInspector
-
-
-
-
-
-
-
#target?
-
Test::Unit::FaultLocationDetector
-
-
-
-
-
-
-
-
-
-
-
-
#teardown
-
Test::Unit::Priority::Checker
-
-
-
-
-
-
-
#teardown
-
Test::Unit::Fixture::ClassMethods
-
-
-
-
-
-
-
-
-
-
-
-
#template
-
Test::Unit::Assertions::AssertionMessage
-
-
-
-
-
-
-
test
-
Test::Unit::TestCase
-
-
-
-
-
-
-
#test
-
Test::Unit::Priority::Checker
-
-
-
-
-
-
-
-
-
-
-
-
#test_data
-
Test::Unit::TestCase::InternalData
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#tests
-
Test::Unit::TestSuite
-
-
-
-
-
-
-
#text
-
Test::Unit::Collector::XML::Listener
-
-
-
-
-
-
-
-
-
-
-
-
#to_proc
-
Test::Unit::Util::ProcWrapper
-
-
-
-
-
-
-
#to_run
-
Test::Unit::AutoRunner
-
-
-
-
-
-
-
#to_s
-
Test::Unit::Assertions::AssertionMessage
-
-
-
-
-
-
-
#to_s
-
Test::Unit::Failure
-
-
-
-
-
-
-
#to_s
-
Test::Unit::Pending
-
-
-
-
-
-
-
#to_s
-
Test::Unit::Omission
-
-
-
-
-
-
-
#to_s
-
Test::Unit::Error
-
-
-
-
-
-
-
#to_s
-
Test::Unit::TestCase
-
-
-
-
-
-
-
#to_s
-
Test::Unit::Notification
-
-
-
-
-
-
-
#to_s
-
Test::Unit::Diff::UTF8Line
-
-
-
-
-
-
-
#to_s
-
Test::Unit::TestSuite
-
-
-
-
-
-
-
#to_s
-
Test::Unit::TestResult
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
use_pp
-
Test::Unit::Assertions::AssertionMessage
-
-
-
-
-
-
-
use_pp=
-
Test::Unit::Assertions
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#virtual
-
Test::Unit::Util::MemoryUsage
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Method List
+
+
+
+
+
+
+
+
+
+
+
+
#+
+
Test::Unit::MixColor
+
+
+
+
+
+
+
#+
+
Test::Unit::Color
+
+
+
+
+
+
+
#<<
+
Test::Unit::TestSuite
+
+
+
+
+
+
+
#<<
+
Test::Unit::DataSets
+
+
+
+
+
+
+
#<=>
+
Test::Unit::Assertions::AssertionMessage::Inspector
+
+
+
+
+
+
+
#==
+
Test::Unit::Util::ProcWrapper
+
+
+
+
+
+
+
#==
+
Test::Unit::DataSets
+
+
+
+
+
+
+
#==
+
Test::Unit::TestCase
+
+
+
+
+
+
+
#==
+
Test::Unit::MixColor
+
+
+
+
+
+
+
#==
+
Test::Unit::Color
+
+
+
+
+
+
+
#==
+
Test::Unit::TestSuite
+
+
+
+
+
+
+
#[]
+
Test::Unit::Attribute::StringifyKeyHash
+
+
+
+
+
+
+
[]
+
Test::Unit::ColorScheme
+
+
+
+
+
+
+
#[]
+
Test::Unit::Diff::UTF8Line
+
+
+
+
+
+
+
#[]
+
Test::Unit::Fixture::Fixture
+
+
+
+
+
+
+
#[]
+
Test::Unit::Attribute
+
+
+
+
+
+
+
#[]
+
Test::Unit::ColorScheme
+
+
+
+
+
+
+
[]=
+
Test::Unit::ColorScheme
+
+
+
+
+
+
+
#[]=
+
Test::Unit::Attribute::StringifyKeyHash
+
+
+
+
+
+
+
#[]=
+
Test::Unit::ColorScheme
+
+
+
+
+
+
+
+
+
+
+
+
#actual
+
Test::Unit::AssertionFailedError
+
+
+
+
+
+
+
#add
+
Test::Unit::DataSets
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#add_error
+
Test::Unit::TestResultErrorSupport
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
all
+
Test::Unit::ColorScheme
+
+
+
+
+
+
+
#assert
+
Test::Unit::Assertions
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#attribute
+
Test::Unit::Attribute::ClassMethods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#base
+
Test::Unit::AutoRunner
+
+
+
+
+
+
+
#base
+
Test::Unit::Collector::Dir
+
+
+
+
+
+
+
#base
+
Test::Unit::Collector::Load
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#blocks
+
Test::Unit::Diff::SequenceMatcher
+
+
+
+
+
+
+
#bold?
+
Test::Unit::Color
+
+
+
+
+
+
+
+
+
+
+
+
cached_new
+
Test::Unit::Assertions::AssertionMessage::Inspector
+
+
+
+
+
+
+
+
+
+
+
+
check
+
Test::Unit::AutoRunnerLoader
+
+
+
+
+
+
+
+
+
+
+
+
#cleanup
+
Test::Unit::Fixture::ClassMethods
+
+
+
+
+
+
+
#cleanup
+
Test::Unit::Fixture::Fixture
+
+
+
+
+
+
+
#collect
+
Test::Unit::Collector::Load
+
+
+
+
+
+
+
#collect
+
Test::Unit::Collector::ObjectSpace
+
+
+
+
+
+
+
#collect
+
Test::Unit::Collector::Descendant
+
+
+
+
+
+
+
#collect
+
Test::Unit::Collector::XML
+
+
+
+
+
+
+
#collect
+
Test::Unit::Collector::Dir
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#convert
+
Test::Unit::Assertions::AssertionMessage
+
+
+
+
+
+
+
convert
+
Test::Unit::Assertions::AssertionMessage
+
+
+
+
+
+
+
#count
+
Test::Unit::Assertions::AssertionMessage::Template
+
+
+
+
+
+
+
create
+
Test::Unit::Assertions::AssertionMessage::Template
+
+
+
+
+
+
+
#create
+
Test::Unit::TestSuiteCreator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#data
+
Test::Unit::TestCase
+
+
+
+
+
+
+
#data
+
Test::Unit::Data::ClassMethods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
default
+
Test::Unit::ColorScheme
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#delete
+
Test::Unit::TestSuite
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff
+
Test::Unit::Diff
+
+
+
+
+
+
+
#diff
+
Test::Unit::Diff::UnifiedDiffer
+
+
+
+
+
+
+
#diff
+
Test::Unit::Diff::ReadableDiffer
+
+
+
+
+
+
+
#diff
+
Test::Unit::Failure
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#each
+
Test::Unit::ColorScheme
+
+
+
+
+
+
+
#each
+
Test::Unit::Diff::UTF8Line
+
+
+
+
+
+
+
#each
+
Test::Unit::Assertions::AssertionMessage::ArrayInspector
+
+
+
+
+
+
+
#each
+
Test::Unit::DataSets
+
+
+
+
+
+
+
#each_pair
+
Test::Unit::Assertions::AssertionMessage::HashInspector
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#empty?
+
Test::Unit::TestSuite
+
+
+
+
+
+
+
enable
+
Test::Unit::Priority
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#eql?
+
Test::Unit::DataSets
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#errors
+
Test::Unit::TestResultErrorSupport
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#exception
+
Test::Unit::Assertions::AssertExceptionHelper::WrappedException
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#exclude
+
Test::Unit::Collector::Dir
+
+
+
+
+
+
+
+
+
+
+
+
#expected
+
Test::Unit::AssertionFailedError
+
+
+
+
+
+
+
+
+
+
+
+
#expected?
+
Test::Unit::Assertions::AssertExceptionHelper
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#failures
+
Test::Unit::TestResultFailureSupport
+
+
+
+
+
+
+
#faults
+
Test::Unit::TestResult
+
+
+
+
+
+
+
#fetch
+
Test::Unit::CodeSnippetFetcher
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
find
+
Test::Unit::Util::MethodOwnerFinder
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#fixture
+
Test::Unit::Fixture::ClassMethods
+
+
+
+
+
+
+
#flunk
+
Test::Unit::Assertions
+
+
+
+
+
+
+
fold
+
Test::Unit::Diff
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#hash
+
Test::Unit::Util::ProcWrapper
+
+
+
+
+
+
+
#hash
+
Test::Unit::DataSets
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#initialize
+
Test::Unit::Assertions::AssertionMessage::Literal
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#initialize
+
Test::Unit::Assertions::AssertExceptionHelper
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#initialize
+
Test::Unit::Assertions::AssertExceptionHelper::WrappedException
+
+
+
+
+
+
+
#initialize
+
Test::Unit::Data::ClassMethods::Loader
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#initialize
+
Test::Unit::UI::Console::ColorizedReadableDiffer
+
+
+
+
+
+
+
#initialize
+
Test::Unit::Assertions::AssertionMessage
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#initialize
+
Test::Unit::Assertions::AssertionMessage::Template
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#initialize
+
Test::Unit::Assertions::AssertionMessage::Inspector
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#initialize
+
Test::Unit::Assertions::AssertionMessage::MaybeContainer
+
+
+
+
+
+
+
#initialize
+
Test::Unit::Assertions::AssertionMessage::NumericInspector
+
+
+
+
+
+
+
#initialize
+
Test::Unit::Assertions::AssertionMessage::HashInspector
+
+
+
+
+
+
+
+
+
+
+
+
#initialize
+
Test::Unit::Assertions::AssertionMessage::DelayedLiteral
+
+
+
+
+
+
+
#initialize
+
Test::Unit::Assertions::AssertionMessage::ArrayInspector
+
+
+
+
+
+
+
+
+
+
+
+
#inspect
+
Test::Unit::Assertions::AssertionMessage::NumericInspector
+
+
+
+
+
+
+
#inspect
+
Test::Unit::Assertions::AssertionMessage::Literal
+
+
+
+
+
+
+
#inspect
+
Test::Unit::Assertions::AssertionMessage::Inspector
+
+
+
+
+
+
+
#inspect
+
Test::Unit::Assertions::AssertionMessage::MaybeContainer
+
+
+
+
+
+
+
#inspect
+
Test::Unit::Assertions::AssertionMessage::DelayedLiteral
+
+
+
+
+
+
+
#inspect
+
Test::Unit::Assertions::AssertionMessage::HashInspector
+
+
+
+
+
+
+
#inspect
+
Test::Unit::Assertions::AssertionMessage::ArrayInspector
+
+
+
+
+
+
+
#inspect
+
Test::Unit::Assertions::AssertExceptionHelper::WrappedException
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#keep
+
Test::Unit::DataSets
+
+
+
+
+
+
+
#key?
+
Test::Unit::Attribute::StringifyKeyHash
+
+
+
+
+
+
+
+
+
+
+
+
#label
+
Test::Unit::Pending
+
+
+
+
+
+
+
#label
+
Test::Unit::Failure
+
+
+
+
+
+
+
#label
+
Test::Unit::Error
+
+
+
+
+
+
+
#label
+
Test::Unit::Omission
+
+
+
+
+
+
+
#label
+
Test::Unit::Notification
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
literal
+
Test::Unit::Assertions::AssertionMessage
+
+
+
+
+
+
+
#load
+
Test::Unit::Data::ClassMethods::Loader
+
+
+
+
+
+
+
+
+
+
+
+
#load_csv
+
Test::Unit::Data::ClassMethods::Loader
+
+
+
+
+
+
+
+
+
+
+
+
#load_tsv
+
Test::Unit::Data::ClassMethods::Loader
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#match?
+
Test::Unit::AttributeMatcher
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#method_missing
+
Test::Unit::Assertions::AssertExceptionHelper::WrappedException
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#name
+
Test::Unit::TestCase
+
+
+
+
+
+
+
#name
+
Test::Unit::TestSuite
+
+
+
+
+
+
+
#name
+
Test::Unit::Color
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#need_diff?
+
Test::Unit::UI::Console::ColorizedReadableDiffer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#notify
+
Test::Unit::TestCaseNotificationSupport
+
+
+
+
+
+
+
+
+
+
+
+
#object
+
Test::Unit::Assertions::AssertionMessage::Inspector
+
+
+
+
+
+
+
+
+
+
+
+
#omissions
+
Test::Unit::TestResultOmissionSupport
+
+
+
+
+
+
+
#omit
+
Test::Unit::TestCaseOmissionSupport
+
+
+
+
+
+
+
#omit_if
+
Test::Unit::TestCaseOmissionSupport
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#passed?
+
Test::Unit::TestCase::InternalData
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#pattern
+
Test::Unit::Collector::Dir
+
+
+
+
+
+
+
+
+
+
+
+
#pend
+
Test::Unit::TestCasePendingSupport
+
+
+
+
+
+
+
+
+
+
+
+
#pendings
+
Test::Unit::TestResultPendingSupport
+
+
+
+
+
+
+
#physical
+
Test::Unit::Util::MemoryUsage
+
+
+
+
+
+
+
+
+
+
+
+
prepare
+
Test::Unit::AutoRunner
+
+
+
+
+
+
+
+
+
+
+
+
#pretty_print
+
Test::Unit::Assertions::AssertionMessage::HashInspector
+
+
+
+
+
+
+
#pretty_print
+
Test::Unit::Assertions::AssertionMessage::Inspector
+
+
+
+
+
+
+
#pretty_print
+
Test::Unit::Assertions::AssertionMessage::ArrayInspector
+
+
+
+
+
+
+
#pretty_print
+
Test::Unit::Assertions::AssertionMessage::NumericInspector
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#priority
+
Test::Unit::Priority::ClassMethods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
ractor
+
Test::Unit::TestCase
+
+
+
+
+
+
+
#ratio
+
Test::Unit::Diff::SequenceMatcher
+
+
+
+
+
+
+
+
+
+
+
+
#realdir
+
Test::Unit::Collector::Dir
+
+
+
+
+
+
+
+
+
+
+
+
#refute
+
Test::Unit::Assertions
+
+
+
+
+
+
+
#register
+
Test::Unit::Fixture::HookPoint
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#result
+
Test::Unit::Assertions::AssertionMessage::Template
+
+
+
+
+
+
+
#run
+
Test::Unit::UI::TestRunnerUtilities
+
+
+
+
+
+
+
#run
+
Test::Unit::TestCase
+
+
+
+
+
+
+
run
+
Test::Unit::AutoRunner
+
+
+
+
+
+
+
#run
+
Test::Unit::UI::TestRunnerMediator
+
+
+
+
+
+
+
#run
+
Test::Unit::AutoRunner
+
+
+
+
+
+
+
#run
+
Test::Unit::TestSuite
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#run_suite
+
Test::Unit::UI::TestRunnerMediator
+
+
+
+
+
+
+
+
+
+
+
+
runner
+
Test::Unit::AutoRunner
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#setup
+
Test::Unit::Fixture::Fixture
+
+
+
+
+
+
+
#setup
+
Test::Unit::Priority::Checker
+
+
+
+
+
+
+
#setup
+
Test::Unit::TestCase
+
+
+
+
+
+
+
#setup
+
Test::Unit::Fixture::ClassMethods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#size
+
Test::Unit::TestCase
+
+
+
+
+
+
+
#size
+
Test::Unit::Diff::UTF8Line
+
+
+
+
+
+
+
#size
+
Test::Unit::TestSuite
+
+
+
+
+
+
+
#sort
+
Test::Unit::Collector
+
+
+
+
+
+
+
#source
+
Test::Unit::CodeSnippetFetcher
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#start
+
Test::Unit::UI::TestRunner
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#status
+
Test::Unit::TestResult
+
+
+
+
+
+
+
#stop
+
Test::Unit::TestResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
stringify
+
Test::Unit::Attribute::StringifyKeyHash
+
+
+
+
+
+
+
+
+
+
+
+
suite
+
Test::Unit::TestCase
+
+
+
+
+
+
+
#suite
+
Test::Unit::AutoRunner
+
+
+
+
+
+
+
+
+
+
+
+
#tag_end
+
Test::Unit::Collector::XML::Listener
+
+
+
+
+
+
+
#tag_start
+
Test::Unit::Collector::XML::Listener
+
+
+
+
+
+
+
target?
+
Test::Unit::Assertions::AssertionMessage::ArrayInspector
+
+
+
+
+
+
+
target?
+
Test::Unit::Assertions::AssertionMessage::NumericInspector
+
+
+
+
+
+
+
target?
+
Test::Unit::Assertions::AssertionMessage::HashInspector
+
+
+
+
+
+
+
#target?
+
Test::Unit::FaultLocationDetector
+
+
+
+
+
+
+
+
+
+
+
+
#teardown
+
Test::Unit::Priority::Checker
+
+
+
+
+
+
+
#teardown
+
Test::Unit::Fixture::ClassMethods
+
+
+
+
+
+
+
+
+
+
+
+
#template
+
Test::Unit::Assertions::AssertionMessage
+
+
+
+
+
+
+
test
+
Test::Unit::TestCase
+
+
+
+
+
+
+
#test
+
Test::Unit::Priority::Checker
+
+
+
+
+
+
+
+
+
+
+
+
#test_data
+
Test::Unit::TestCase::InternalData
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#tests
+
Test::Unit::TestSuite
+
+
+
+
+
+
+
#text
+
Test::Unit::Collector::XML::Listener
+
+
+
+
+
+
+
+
+
+
+
+
#to_proc
+
Test::Unit::Util::ProcWrapper
+
+
+
+
+
+
+
#to_run
+
Test::Unit::AutoRunner
+
+
+
+
+
+
+
#to_s
+
Test::Unit::Assertions::AssertionMessage
+
+
+
+
+
+
+
#to_s
+
Test::Unit::Failure
+
+
+
+
+
+
+
#to_s
+
Test::Unit::Pending
+
+
+
+
+
+
+
#to_s
+
Test::Unit::Omission
+
+
+
+
+
+
+
#to_s
+
Test::Unit::Error
+
+
+
+
+
+
+
#to_s
+
Test::Unit::TestCase
+
+
+
+
+
+
+
#to_s
+
Test::Unit::Notification
+
+
+
+
+
+
+
#to_s
+
Test::Unit::Diff::UTF8Line
+
+
+
+
+
+
+
#to_s
+
Test::Unit::TestSuite
+
+
+
+
+
+
+
#to_s
+
Test::Unit::TestResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
use_pp
+
Test::Unit::Assertions::AssertionMessage
+
+
+
+
+
+
+
use_pp=
+
Test::Unit::Assertions
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#virtual
+
Test::Unit::Util::MemoryUsage
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test-unit/ja/Test.html b/test-unit/ja/Test.html
index b82d0b0a..a05cd7ae 100644
--- a/test-unit/ja/Test.html
+++ b/test-unit/ja/Test.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test
-
- — test-unit
-
+
+ Module: Test
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit.html b/test-unit/ja/Test/Unit.html
index 43b8abf0..ed0c4224 100644
--- a/test-unit/ja/Test/Unit.html
+++ b/test-unit/ja/Test/Unit.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit
-
- — test-unit
-
+
+ Module: Test::Unit
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .run_at_start_hooks ⇒ Object
+
+
+
+
+
+
+
+
+
+
+ private
+
+
-
-
-
-
-
-
-
-
-
-
-
-
Class Method Details
-
-
-
-
-
- .at_exit { ... } ⇒ void
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
Class Method Details
+
+
+
+
+
+ .at_exit { ... } ⇒ void
+
+
+
+
+
+
+
This method returns an undefined value.
Register a hook that is run after running tests.
To register multiple hooks, call this method multiple times.
@@ -741,100 +741,100 @@
TestMyClass2.shutdown
at_exit
-
-
-
-
-
+
+
+
Yields:
+
+
+
+
+
+
+
+
+
+
A block that is run after running tests.
-
-
-
-
-
-
Yield Returns:
-
-
-
-
-
- (void )
-
-
-
-
-
-
-
Since:
-
+
+
+
+
+
Yield Returns:
+
+
+
+
+
+ (void )
+
+
+
+
+
+
+
Since:
+
-
-
-
-
+
+
+
+
+
+
+
+
+
485
486
-487
-
-
+487
+
+
# File 'lib/test/unit.rb', line 485
def at_exit ( & hook )
@@at_exit_hooks << hook
-end
-
-
-
-
-
-
-
-
- .at_start { ... } ⇒ void
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .at_start { ... } ⇒ void
+
+
+
+
+
+
+
This method returns an undefined value.
Register a hook that is run before running tests.
To register multiple hooks, call this method multiple times.
@@ -899,213 +899,213 @@
TestMyClass2#setup
TestMyClass2#test_my_class2
-
-
-
-
-
+
+
+
Yields:
+
+
+
+
+
+
+
+
+
+
A block that is run before running tests.
-
-
-
-
-
-
Yield Returns:
-
-
-
-
-
- (void )
-
-
-
-
-
-
-
Since:
-
+
+
+
+
+
Yield Returns:
+
+
+
+
+
+ (void )
+
+
+
+
+
+
+
Since:
+
-
-
-
-
+
+
+
+
+
+
+
+
+
400
401
-402
-
-
+402
+
+
# File 'lib/test/unit.rb', line 400
def at_start ( & hook )
@@at_start_hooks << hook
-end
-
-
-
-
-
-
-
-
- .run= (have_run) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .run= (have_run) ⇒ Object
+
+
+
+
+
+
Set true when Test::Unit has run. If set to true Test::Unit
will not automatically run at exit.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
316
317
-318
-
-
+318
+
+
# File 'lib/test/unit.rb', line 316
def run= ( have_run )
AutoRunner . need_auto_run = ( not have_run )
-end
-
-
-
-
-
-
-
-
- .run? ⇒ Boolean
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .run? ⇒ Boolean
+
+
+
+
+
+
Already tests have run?
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
- .run_at_exit_hooks ⇒ Object
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ .run_at_exit_hooks ⇒ Object
+
+
+
+
+
+
+
+
+ This method is part of a private API.
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1113,47 +1113,47 @@
491
492
493
-494
-
-
+494
+
+
# File 'lib/test/unit.rb', line 490
def run_at_exit_hooks
@@at_exit_hooks . each do | hook |
hook . call
end
-end
-
-
-
-
-
-
-
-
- .run_at_start_hooks ⇒ Object
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ .run_at_start_hooks ⇒ Object
+
+
+
+
+
+
+
+
+ This method is part of a private API.
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1161,31 +1161,31 @@
406
407
408
-409
-
-
+409
+
+
# File 'lib/test/unit.rb', line 405
def run_at_start_hooks
@@at_start_hooks . each do | hook |
hook . call
end
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -1221,6 +1221,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/AssertionFailedError.html b/test-unit/ja/Test/Unit/AssertionFailedError.html
index c7450c8f..6aa3232f 100644
--- a/test-unit/ja/Test/Unit/AssertionFailedError.html
+++ b/test-unit/ja/Test/Unit/AssertionFailedError.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Exception: Test::Unit::AssertionFailedError
-
- — test-unit
-
+
+ Exception: Test::Unit::AssertionFailedError
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class Method Summary
+ collapse
+
+
+
+
+
+
+
+
+
+
+ .debug_on_failure? ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- Instance Method Summary
- collapse
-
-
-
+
+
+ Instance Method Summary
+ collapse
+
+
+
-
-
-
-
-
Constructor Details
-
-
-
-
- #initialize (message = nil, options = nil) ⇒ AssertionFailedError
-
-
-
-
-
-
-
-
Returns a new instance of AssertionFailedError.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
Constructor Details
+
+
+
+
+ #initialize (message = nil, options = nil) ⇒ AssertionFailedError
+
+
+
+
+
+
+
+
Returns a new instance of AssertionFailedError
+
+
+
+
+
+
+
+
+
+
@@ -413,9 +413,9 @@
13
14
15
-16
-
-
+16
+
+
# File 'lib/test/unit/assertion-failed-error.rb', line 8
def initialize ( message = nil , options = nil )
@@ -426,327 +426,327 @@
@inspected_actual = options [ :inspected_actual ]
@user_message = options [ :user_message ]
super ( message )
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #actual ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #actual ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute actual
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
6
7
-8
-
-
+8
+
+
# File 'lib/test/unit/assertion-failed-error.rb', line 6
def actual
@actual
-end
-
-
-
-
-
-
-
-
-
-
- #expected ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #expected ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute expected
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
6
7
-8
-
-
+8
+
+
# File 'lib/test/unit/assertion-failed-error.rb', line 6
def expected
@expected
-end
-
-
-
-
-
-
-
-
-
-
- #inspected_actual ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #inspected_actual ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute inspected_actual
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
7
8
-9
-
-
+9
+
+
# File 'lib/test/unit/assertion-failed-error.rb', line 7
def inspected_actual
@inspected_actual
-end
-
-
-
-
-
-
-
-
-
-
- #inspected_expected ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #inspected_expected ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute inspected_expected
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
7
8
-9
-
-
+9
+
+
# File 'lib/test/unit/assertion-failed-error.rb', line 7
def inspected_expected
@inspected_expected
-end
-
-
-
-
-
-
-
-
-
-
- #user_message ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #user_message ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute user_message
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
6
7
-8
-
-
+8
+
+
# File 'lib/test/unit/assertion-failed-error.rb', line 6
def user_message
@user_message
-end
-
-
-
-
-
-
-
-
-
-
Class Method Details
-
-
-
-
-
- .debug_on_failure= (boolean) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
Class Method Details
+
+
+
+
+
+ .debug_on_failure= (boolean) ⇒ Object
+
+
+
+
+
+
+
+
14
15
-16
-
-
+16
+
+
# File 'lib/test/unit/assertion-failed-error.rb', line 14
def debug_on_failure= ( boolean )
@debug_on_failure = boolean
-end
-
-
-
-
-
-
-
-
- .debug_on_failure? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ .debug_on_failure? ⇒ Boolean
+
+
+
+
+
+
+
+
+
18
19
-20
-
-
+20
+
+
# File 'lib/test/unit/assertion-failed-error.rb', line 18
def debug_on_failure?
@debug_on_failure
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -782,6 +782,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Assertions.html b/test-unit/ja/Test/Unit/Assertions.html
index f59da59b..44d56e05 100644
--- a/test-unit/ja/Test/Unit/Assertions.html
+++ b/test-unit/ja/Test/Unit/Assertions.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::Assertions
-
- — test-unit
-
+
+ Module: Test::Unit::Assertions
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #assert_block (message = "assert_block failed.") ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
The assertion upon which all other assertions are based.
-
-
-
-
-
-
-
-
- #assert_boolean (actual, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_boolean (actual, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if actual is a boolean value.
-
-
-
-
-
-
-
-
- #assert_compare (expected, operator, actual, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_compare (expected, operator, actual, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if expression “expected operator actual” is not false nor nil.
-
-
-
-
-
-
-
-
- #assert_const_defined (object, constant_name, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_const_defined (object, constant_name, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if object.const_defined?(constant_name).
-
-
-
-
-
-
-
-
- #assert_empty (object, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_empty (object, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if object is empty.
-
-
-
-
-
-
-
-
- #assert_equal (expected, actual, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_equal (expected, actual, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if expected == actual.
-
-
-
-
-
-
-
-
- #assert_fail_assertion (message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_fail_assertion (message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if assertion is failed in block.
-
-
-
-
-
-
-
-
- #assert_false (actual, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_false (actual, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if actual is false.
-
-
-
-
-
-
-
-
- #assert_in_delta (expected_float, actual_float, delta = 0.001, message = "") ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_in_delta (expected_float, actual_float, delta = 0.001, message = "") ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if expected_float and actual_float are equal within delta tolerance.
-
-
-
-
-
-
-
-
- #assert_in_epsilon (expected_float, actual_float, epsilon = 0.001, message = "") ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_in_epsilon (expected_float, actual_float, epsilon = 0.001, message = "") ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if expected_float and actual_float are equal within epsilon relative error of expected_float.
-
-
-
-
-
-
-
-
- #assert_include (collection, object, message = nil) ⇒ Object
-
-
-
- (also: #assert_includes)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_include (collection, object, message = nil) ⇒ Object
+
+
+
+ (also: #assert_includes)
+
+
+
+
+
+
+
+
+
+
+
Passes if collection includes object.
-
-
-
-
-
-
-
-
- #assert_instance_of (klass, object, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_instance_of (klass, object, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if object.instance_of?(klass).
-
-
-
-
-
-
-
-
- #assert_kind_of (klass, object, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_kind_of (klass, object, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if object.kind_of?(klass).
-
-
-
-
-
-
-
-
- #assert_match (pattern, string, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_match (pattern, string, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if pattern =~ string.
-
-
-
-
-
-
-
-
- #assert_nil (object, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_nil (object, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
- #assert_no_match (regexp, string, message = "") ⇒ Object
-
-
-
-
-
-
-
-
-
- deprecated
-
-
-
+
+
+
+
+
+
+
+
+ #assert_no_match (regexp, string, message = "") ⇒ Object
+
+
+
+
+
+
+
+
+
+ deprecated
+
+
+
Deprecated.
-
-
-
-
-
-
-
- #assert_not_const_defined (object, constant_name, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_not_const_defined (object, constant_name, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if !object.const_defined?(constant_name).
-
-
-
-
-
-
-
-
- #assert_not_empty (object, message = nil) ⇒ Object
-
-
-
- (also: #refute_empty)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_not_empty (object, message = nil) ⇒ Object
+
+
+
+ (also: #refute_empty)
+
+
+
+
+
+
+
+
+
+
+
Passes if object is not empty.
-
-
-
-
-
-
-
-
- #assert_not_equal (expected, actual, message = nil) ⇒ Object
-
-
-
- (also: #refute_equal)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_not_equal (expected, actual, message = nil) ⇒ Object
+
+
+
+ (also: #refute_equal)
+
+
+
+
+
+
+
+
+
+
+
Passes if expected != actual.
-
-
-
-
-
-
-
-
- #assert_not_in_delta (expected_float, actual_float, delta = 0.001, message = "") ⇒ Object
-
-
-
- (also: #refute_in_delta)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_not_in_delta (expected_float, actual_float, delta = 0.001, message = "") ⇒ Object
+
+
+
+ (also: #refute_in_delta)
+
+
+
+
+
+
+
+
+
+
+
Passes if expected_float and actual_float are not equal within delta tolerance.
-
-
-
-
-
-
-
-
- #assert_not_in_epsilon (expected_float, actual_float, epsilon = 0.001, message = "") ⇒ Object
-
-
-
- (also: #refute_in_epsilon)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_not_in_epsilon (expected_float, actual_float, epsilon = 0.001, message = "") ⇒ Object
+
+
+
+ (also: #refute_in_epsilon)
+
+
+
+
+
+
+
+
+
+
+
Passes if expected_float and actual_float are not equal within epsilon relative error of expected_float.
-
-
-
-
-
-
-
-
- #assert_not_include (collection, object, message = nil) ⇒ Object
-
-
-
- (also: #assert_not_includes, #refute_includes)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_not_include (collection, object, message = nil) ⇒ Object
+
+
+
+ (also: #assert_not_includes, #refute_includes)
+
+
+
+
+
+
+
+
+
+
+
Passes if collection doesn’t include object.
-
-
-
-
-
-
-
-
- #assert_not_instance_of (klass, object, message = nil) ⇒ Object
-
-
-
- (also: #refute_instance_of)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_not_instance_of (klass, object, message = nil) ⇒ Object
+
+
+
+ (also: #refute_instance_of)
+
+
+
+
+
+
+
+
+
+
+
Passes if object.instance_of?(klass) does not hold.
-
-
-
-
-
-
-
-
- #assert_not_kind_of (klass, object, message = nil) ⇒ Object
-
-
-
- (also: #refute_kind_of)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_not_kind_of (klass, object, message = nil) ⇒ Object
+
+
+
+ (also: #refute_kind_of)
+
+
+
+
+
+
+
+
+
+
+
Passes if object.kind_of?(klass) does not hold.
-
-
-
-
-
-
-
-
- #assert_not_match (pattern, string, message = nil) ⇒ Object
-
-
-
- (also: #refute_match)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_not_match (pattern, string, message = nil) ⇒ Object
+
+
+
+ (also: #refute_match)
+
+
+
+
+
+
+
+
+
+
+
Passes if regexp !~ string.
-
-
-
-
-
-
-
-
- #assert_not_nil (object, message = nil) ⇒ Object
-
-
-
- (also: #refute_nil)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_not_nil (object, message = nil) ⇒ Object
+
+
+
+ (also: #refute_nil)
+
+
+
+
+
+
+
+
+
+
+
Passes if ! object .nil?.
-
-
-
-
-
-
-
-
- #assert_not_operator (object1, operator, object2, message = nil) ⇒ Object
-
-
-
- (also: #refute_operator)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_not_operator (object1, operator, object2, message = nil) ⇒ Object
+
+
+
+ (also: #refute_operator)
+
+
+
+
+
+
+
+
+
+
+
Compares the object1 with object2 using operator.
-
-
-
-
-
-
-
-
- #assert_not_predicate (object, predicate, message = nil) ⇒ Object
-
-
-
- (also: #refute_predicate)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_not_predicate (object, predicate, message = nil) ⇒ Object
+
+
+
+ (also: #refute_predicate)
+
+
+
+
+
+
+
+
+
+
+
Passes if object.predicate is false or nil.
-
-
-
-
-
-
-
-
- #assert_not_respond_to (object, method, message = nil) ⇒ Object
-
-
-
- (also: #refute_respond_to)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_not_respond_to (object, method, message = nil) ⇒ Object
+
+
+
+ (also: #refute_respond_to)
+
+
+
+
+
+
+
+
+
+
+
Passes if object does not .respond_to? method.
-
-
-
-
-
-
-
-
- #assert_not_same (expected, actual, message = nil) ⇒ Object
-
-
-
- (also: #refute_same)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_not_same (expected, actual, message = nil) ⇒ Object
+
+
+
+ (also: #refute_same)
+
+
+
+
+
+
+
+
+
+
+
Passes if ! actual .equal? expected.
-
-
-
-
-
-
-
-
- #assert_not_send (send_array, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_not_send (send_array, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if the method __send__ returns false or nil.
-
-
-
-
-
-
-
-
- #assert_nothing_leaked_memory (max_increasable_size, target = :physical, message = nil) { ... } ⇒ void
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_nothing_leaked_memory (max_increasable_size, target = :physical, message = nil) { ... } ⇒ void
+
+
+
+
+
+
+
+
+
+
+
+
+
Asserts that increased memory usage by block.call is less than max_increasable_size.
-
-
-
-
-
-
-
-
- #assert_nothing_raised (*args) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_nothing_raised (*args) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if block does not raise an exception.
-
-
-
-
-
-
-
-
- #assert_nothing_thrown (message = nil, &proc) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_nothing_thrown (message = nil, &proc) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if block does not throw anything.
-
-
-
-
-
-
-
-
- #assert_operator (object1, operator, object2, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_operator (object1, operator, object2, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Compares the object1 with object2 using operator.
-
-
-
-
-
-
-
-
- #assert_path_exist (path, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_path_exist (path, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
- #assert_path_not_exist (path, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_path_not_exist (path, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if path doesn’t exist.
-
-
-
-
-
-
-
-
- #assert_predicate (object, predicate, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_predicate (object, predicate, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if object.predicate is not false nor nil.
-
-
-
-
-
-
-
-
- #assert_raise (*args, &block) ⇒ Object
-
-
-
- (also: #assert_raises)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_raise (*args, &block) ⇒ Object
+
+
+
+ (also: #assert_raises)
+
+
+
+
+
+
+
+
+
+
+
Passes if the block raises one of the expected exceptions.
-
-
-
-
-
-
-
-
- #assert_raise_kind_of (*args, &block) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_raise_kind_of (*args, &block) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if the block raises one of the given exceptions or sub exceptions of the given exceptions.
-
-
-
-
-
-
-
-
- #assert_raise_message (expected, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_raise_message (expected, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if an exception is raised in block and its message is expected.
-
-
-
-
-
-
-
-
- #assert_raise_with_message (expected_exception_class, expected_message, message = nil, &block) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_raise_with_message (expected_exception_class, expected_message, message = nil, &block) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if the block raises expected_exception with expected_message.
-
-
-
-
-
-
-
-
- #assert_respond_to (object, method, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_respond_to (object, method, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if object .respond_to? method.
-
-
-
-
-
-
-
-
- #assert_same (expected, actual, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_same (expected, actual, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if actual .equal? expected (i.e. they are the same instance).
-
-
-
-
-
-
-
-
- #assert_send (send_array, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_send (send_array, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if the method __send__ returns not false nor nil.
-
-
-
-
-
-
-
-
- #assert_throw (expected_object, message = nil, &proc) ⇒ Object
-
-
-
- (also: #assert_throws)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_throw (expected_object, message = nil, &proc) ⇒ Object
+
+
+
+ (also: #assert_throws)
+
+
+
+
+
+
+
+
+
+
+
Passes if the block throws expected_object.
-
-
-
-
-
-
-
-
- #assert_true (actual, message = nil) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert_true (actual, message = nil) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Passes if actual is true.
-
-
-
-
-
-
-
-
- #build_message (user_message, template = nil, *arguments) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #build_message (user_message, template = nil, *arguments) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Builds a failure message.
-
-
-
-
-
-
-
-
- #flunk (message = "Flunked") ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #flunk (message = "Flunked") ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
- #refute (object, message = nil) ⇒ void
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #refute (object, message = nil) ⇒ void
+
+
+
+
+
+
+
+
+
+
+
+
+
Asserts that object is false or nil.
-
-
-
-
-
-
-
-
-
-
-
-
Class Method Details
-
-
-
-
-
- .use_pp= (value) ⇒ Object
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
Class Method Details
+
+
+
+
+
+ .use_pp= (value) ⇒ Object
+
+
+
+
+
+
+
Select whether or not to use the pretty-printer. If this option is set
to false before any assertions are made, pp.rb will not be required.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
1652
1653
-1654
-
-
+1654
+
+
# File 'lib/test/unit/assertions.rb', line 1652
def self . use_pp= ( value )
AssertionMessage . use_pp = value
-end
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #add_assertion ⇒ void
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #add_assertion ⇒ void
+
+
+
+
+
+
+
This method returns an undefined value.
Called whenever an assertion is made. Define this in classes
-that include Test::Unit::Assertions to record assertion
-counts.
-
-
This is a public API for developers who extend test-unit.
-
-
-
-
-
-
+that include Test::Unit::Assertions to record assertion
+counts.
-
-
-
+This is a public API for developers who extend test-unit.
+
+
+
+
+
+
+
+
+
+
1646
-1647
-
-
+1647
+
+
# File 'lib/test/unit/assertions.rb', line 1646
def add_assertion
-end
-
-
-
-
-
-
-
-
-
- #assert (object, message = nil) ⇒ void
-
- #assert (message = nil) { ... } ⇒ void
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #assert (object, message = nil) ⇒ void
+
+ #assert (message = nil) { ... } ⇒ void
+
+
+
+
+
+
+
+
-
Parameters:
-
-
-
-
- object
-
-
- (Object )
-
-
-
- —
+assert ( [ 1 , 2 ] . include? ( 5 ) )
+
+
+
Parameters:
+
+
+
+
+ object
+
+
+ (Object )
+
+
+
+ —
-
-
-
-
-
- message
-
-
- (String )
-
-
- (defaults to: nil )
-
-
- —
+
+
+
+
+
+
+ message
+
+
+ (String )
+
+
+ (defaults to: nil )
+
+
+ —
The additional user message. It is
showed when the assertion is failed.
-
-
-
-
-
-
-
-
-
-
-
-
- #assert (message = nil) { ... } ⇒ void
-
+
+
+
+
+ #assert (message = nil) { ... } ⇒ void
+
+
This method returns an undefined value.
Asserts that the givens block returns not false nor nil.
This style uses Power Assert. It means that you can see each
@@ -1712,19 +1712,19 @@
We don’t recommend you use Power Assert for equality
check. You should use #assert_equal for the case. Because
#assert_equal shows more useful message for debugging.
-
-
-
-
-
+
+
assert { true } assert { [ 1 , 2 ] . include? ( 1 ) }
-
-
+assert { [ 1 , 2 ] . include? ( 1 ) }
+
+
-
+
+
assert { nil } assert { false } assert { [ 1 , 2 ] . include? ( 5 ) }
-
-
-Parameters:
-
-
-
-
- message
-
-
- (String )
-
-
- (defaults to: nil )
-
-
- —
+assert { [ 1 , 2 ] . include? ( 5 ) }
+
+
+Parameters:
+
+
+
+
+ message
+
+
+ (String )
+
+
+ (defaults to: nil )
+
+
+ —
The additional user message. It is
showed when the assertion is failed.
-
-
-
-
-
-
-Yields:
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+Yields:
+
+
+
+
+
+
+
+
+
+
[] Given no parameters to the block.
-
-
-
-
-
-Yield Returns:
-
-
-
-
-
- (Object )
-
-
-
- —
+
+
+
+
+
+Yield Returns:
+
+
+
+
+
+ (Object )
+
+
+
+ —
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1862,9 +1862,9 @@
160
161
162
-163
-
-
+163
+
+
# File 'lib/test/unit/assertions.rb', line 124
def assert ( object = NOT_SPECIFIED , message = nil , & block )
@@ -1906,45 +1906,45 @@
end
end
end
-end
-
-
-
-
-
-
-
-
- #assert_alias_method (object, alias_name, original_name, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_alias_method (object, alias_name, original_name, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if object#alias_name is an alias method of
object#original_name.
-
-
-
-
-
+
-
-
+assert_alias_method ( [ ] , :each , :size )
+
+
+
+
+
+
+
@@ -1986,9 +1986,9 @@
1463
1464
1465
-1466
-
-
+1466
+
+
# File 'lib/test/unit/assertions.rb', line 1428
def assert_alias_method ( object , alias_name , original_name , message = nil )
@@ -2029,159 +2029,159 @@
alias_method == original_method
end
end
-end
-
-
-
-
-
-
-
-
- #assert_all (collection, message = nil) {|Object| ... } ⇒ void
-
-
-
- Also known as:
- assert_all?
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_all (collection, message = nil) {|Object| ... } ⇒ void
+
+
+
+ Also known as:
+ assert_all?
+
+
+
+
+
+
+
+
assert_all ( [ 0 , 1 , 2 ] , & :zero? )
+
+
+Parameters:
+
+
+
+
+ collection
+
+
+ (#each )
+
+
+
+ —
-
-
-
-
-
- message
-
-
- (String )
-
-
- (defaults to: nil )
-
-
- —
+
+
+
+
+
+
+ message
+
+
+ (String )
+
+
+ (defaults to: nil )
+
+
+ —
The additional user message. It is
showed when the assertion is failed.
-
-
-
-
-
-
-Yields:
-
-
-
-
-
- (Object )
-
-
-
- —
+
+
+
+
+
+
+Yields:
+
+
+
+
+
+ (Object )
+
+
+
+ —
Give each item in collection to the block.
-
-
-
-
-
-Yield Returns:
-
-
-
-
-
- (Object )
-
-
-
- —
+
+
+
+
+
+Yield Returns:
+
+
+
+
+
+ (Object )
+
+
+
+ —
-
-
-
-
-
-
-
-Since:
-
+
+
+
+Since:
+
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -2206,9 +2206,9 @@
1722
1723
1724
-1725
-
-
+1725
+
+
# File 'lib/test/unit/assertions.rb', line 1704
def assert_all ( collection , message = nil )
@@ -2232,45 +2232,45 @@
not failed
end
end
-end
-
-
-
-
-
-
-
-
- #assert_block (message = "assert_block failed.") ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_block (message = "assert_block failed.") ⇒ Object
+
+
+
+
+
+
+
The assertion upon which all other assertions are based. Passes if the
block yields not false nor nil.
-
-
-
-
-
+
-
-
+end
+
+
+
+
+
+
+
@@ -2280,9 +2280,9 @@
50
51
52
-53
-
-
+53
+
+
# File 'lib/test/unit/assertions.rb', line 47
def assert_block ( message = " assert_block failed. " )
@@ -2291,43 +2291,43 @@
-
-
-
-
-
-
-
-
- #assert_boolean (actual, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_boolean (actual, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if actual is a boolean value.
-
-
-
-
-
+
-
-
+assert_boolean ( nil )
+
+
+
+
+
+
+
@@ -2339,9 +2339,9 @@
1204
1205
1206
-1207
-
-
+1207
+
+
# File 'lib/test/unit/assertions.rb', line 1199
def assert_boolean ( actual , message = nil )
@@ -2352,44 +2352,44 @@
[ true , false ] . include? ( actual )
end
end
-end
-
-
-
-
-
-
-
-
- #assert_compare (expected, operator, actual, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_compare (expected, operator, actual, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if expression “expected operator
actual” is not false nor nil.
-
-
-
-
-
+
-
-
+assert_compare ( 1 , " >= " , 10 )
+
+
+
+
+
+
+
@@ -2418,9 +2418,9 @@
1270
1271
1272
-1273
-
-
+1273
+
+
# File 'lib/test/unit/assertions.rb', line 1248
def assert_compare ( expected , operator , actual , message = nil )
@@ -2448,43 +2448,43 @@
expected . __send__ ( operator , actual )
end
end
-end
-
-
-
-
-
-
-
-
- #assert_const_defined (object, constant_name, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_const_defined (object, constant_name, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if object.const_defined?(constant_name)
-
-
-
-
-
+
-
-
+assert_const_defined ( Object , :Nonexistent )
+
+
+
+
+
+
+
@@ -2497,9 +2497,9 @@
1349
1350
1351
-1352
-
-
+1352
+
+
# File 'lib/test/unit/assertions.rb', line 1343
def assert_const_defined ( object , constant_name , message = nil )
@@ -2511,47 +2511,47 @@
object . const_defined? ( constant_name )
end
end
-end
-
-
-
-
-
-
-
-
- #assert_empty (object, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_empty (object, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if object is empty.
-
-
-
-
-
+
-
-
+assert_empty ( { 1 => 2 } )
+
+
+
+
+
+
+
@@ -2566,9 +2566,9 @@
1581
1582
1583
-1584
-
-
+1584
+
+
# File 'lib/test/unit/assertions.rb', line 1573
def assert_empty ( object , message = nil )
@@ -2582,46 +2582,46 @@
object . empty?
end
end
-end
-
-
-
-
-
-
-
-
- #assert_equal (expected, actual, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_equal (expected, actual, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if expected == actual.
Note that the ordering of arguments is important, since a helpful
error message is generated when this one fails that tells you the
values of expected and actual.
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -2650,9 +2650,9 @@
237
238
239
-240
-
-
+240
+
+
# File 'lib/test/unit/assertions.rb', line 215
def assert_equal ( expected , actual , message = nil )
@@ -2680,43 +2680,43 @@
_set_failed_information ( failure , expected , actual , message )
raise failure end
-end
-
-
-
-
-
-
-
-
- #assert_fail_assertion (message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_fail_assertion (message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if assertion is failed in block.
-
-
-
-
-
+
-
-
+assert_fail_assertion { assert_equal ( " A " , " A " ) }
+
+
+
+
+
+
+
@@ -2733,9 +2733,9 @@
1291
1292
1293
-1294
-
-
+1294
+
+
# File 'lib/test/unit/assertions.rb', line 1281
def assert_fail_assertion ( message = nil )
@@ -2751,43 +2751,43 @@
end
end
end
-end
-
-
-
-
-
-
-
-
- #assert_false (actual, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_false (actual, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if actual is false.
-
-
-
-
-
+
-
-
+assert_false ( nil )
+
+
+
+
+
+
+
@@ -2799,9 +2799,9 @@
1236
1237
1238
-1239
-
-
+1239
+
+
# File 'lib/test/unit/assertions.rb', line 1231
def assert_false ( actual , message = nil )
@@ -2812,43 +2812,43 @@
actual == false
end
end
-end
-
-
-
-
-
-
-
-
- #assert_in_delta (expected_float, actual_float, delta = 0.001, message = "") ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_in_delta (expected_float, actual_float, delta = 0.001, message = "") ⇒ Object
+
+
+
+
+
+
+
Passes if expected_float and actual_float are equal
within delta tolerance.
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -2865,9 +2865,9 @@
870
871
872
-873
-
-
+873
+
+
# File 'lib/test/unit/assertions.rb', line 860
def assert_in_delta ( expected_float , actual_float , delta = 0.001 , message = " " )
@@ -2883,44 +2883,44 @@
( expected_float . to_f - actual_float . to_f ) . abs <= delta . to_f
end
end
-end
-
-
-
-
-
-
-
-
- #assert_in_epsilon (expected_float, actual_float, epsilon = 0.001, message = "") ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_in_epsilon (expected_float, actual_float, epsilon = 0.001, message = "") ⇒ Object
+
+
+
+
+
+
+
Passes if expected_float and actual_float are equal
within epsilon relative error of expected_float.
-
-
-
-
-
+
-
-
+assert_in_epsilon ( 10000.0 , 9899.0 , 0.1 )
+
+
+
+
+
+
+
@@ -2945,9 +2945,9 @@
1000
1001
1002
-1003
-
-
+1003
+
+
# File 'lib/test/unit/assertions.rb', line 982
def assert_in_epsilon ( expected_float , actual_float , epsilon = 0.001 ,
@@ -2971,49 +2971,49 @@
( normalized_expected_float - actual_float . to_f ) . abs <= delta
end
end
-end
-
-
-
-
-
-
-
-
- #assert_include (collection, object, message = nil) ⇒ Object
-
-
-
- Also known as:
- assert_includes
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_include (collection, object, message = nil) ⇒ Object
+
+
+
+ Also known as:
+ assert_includes
+
+
+
+
+
+
Passes if collection includes object.
-
-
-
-
-
+
-
-
+assert_include ( 1 .. 10 , 20 )
+
+
+
+
+
+
+
@@ -3029,9 +3029,9 @@
1521
1522
1523
-1524
-
-
+1524
+
+
# File 'lib/test/unit/assertions.rb', line 1512
def assert_include ( collection , object , message = nil )
@@ -3046,46 +3046,46 @@
collection . include? ( object )
end
end
-end
-
-
-
-
-
-
-
-
- #assert_instance_of (klass, object, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_instance_of (klass, object, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if object.instance_of?(klass). When klass is
an array of classes, it passes if any class
satisfies +object.instance_of?(class).
-
-
-
-
-
+
-
-
+assert_instance_of ( [ Numeric , NilClass ] , 100 )
+
+
+
+
+
+
+
@@ -3112,9 +3112,9 @@
337
338
339
-340
-
-
+340
+
+
# File 'lib/test/unit/assertions.rb', line 317
def assert_instance_of ( klass , object , message = " " )
@@ -3137,49 +3137,49 @@
<?>.
EOT
assert_block ( full_message ) do
- klasses . any? { | k | object . instance_of? ( k ) }
- end
- end
-end
-
-
-
-
-
-
-
-
- #assert_kind_of (klass, object, message = nil) ⇒ Object
-
-
-
-
-
-
-
+ klasses . any? { | k | object . instance_of? ( k ) }
+ end
+ end
+end
+
+
+
+
+
+
+
+
+ #assert_kind_of (klass, object, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if object.kind_of?(klass). When klass is
an array of classes or modules, it passes if any
class or module satisfies +object.kind_of?(class_or_module).
-
-
-
-
-
+
-
-
+assert_kind_of ( [ Fixnum , NilClass ] , " string " )
+
+
+
+
+
+
+
@@ -3208,9 +3208,9 @@
426
427
428
-429
-
-
+429
+
+
# File 'lib/test/unit/assertions.rb', line 404
def assert_kind_of ( klass , object , message = " " )
@@ -3238,42 +3238,42 @@
klasses . any? { | k | object . kind_of? ( k ) }
end
end
-end
-
-
-
-
-
-
-
-
- #assert_match (pattern, string, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_match (pattern, string, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if pattern =~ string.
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -3290,9 +3290,9 @@
537
538
539
-540
-
-
+540
+
+
# File 'lib/test/unit/assertions.rb', line 527
def assert_match ( pattern , string , message = " " )
@@ -3308,42 +3308,42 @@
pattern , string )
assert_block ( full_message ) { pattern =~ string }
end
-end
-
-
-
-
-
-
-
-
- #assert_nil (object, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_nil (object, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if object.nil?.
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -3352,9 +3352,9 @@
390
391
392
-393
-
-
+393
+
+
# File 'lib/test/unit/assertions.rb', line 388
def assert_nil ( object , message = " " )
@@ -3362,45 +3362,45 @@
<?> was expected to be nil.
EOT
assert_block ( full_message ) { object . nil? }
-end
-
-
-
-
-
-
-
-
- #assert_no_match (regexp, string, message = "") ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_no_match (regexp, string, message = "") ⇒ Object
+
+
+
+
+
+
Passes if regexp !~ string
-
-
-
-
-
+
-
-
+assert_no_match ( / three / , ' one 2 three ' )
+
+
+
+
+
+
+
@@ -3411,9 +3411,9 @@
735
736
737
-738
-
-
+738
+
+
# File 'lib/test/unit/assertions.rb', line 731
def assert_no_match ( regexp , string , message = " " )
@@ -3423,43 +3423,43 @@
" should be a Regexp. " )
assert_not_match ( regexp , string , message )
end
-end
-
-
-
-
-
-
-
-
- #assert_not_const_defined (object, constant_name, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_not_const_defined (object, constant_name, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if !object.const_defined?(constant_name)
-
-
-
-
-
+
-
-
+assert_not_const_defined ( Test , :Unit )
+
+
+
+
+
+
+
@@ -3472,9 +3472,9 @@
1366
1367
1368
-1369
-
-
+1369
+
+
# File 'lib/test/unit/assertions.rb', line 1360
def assert_not_const_defined ( object , constant_name , message = nil )
@@ -3486,51 +3486,51 @@
! object . const_defined? ( constant_name )
end
end
-end
-
-
-
-
-
-
-
-
- #assert_not_empty (object, message = nil) ⇒ Object
-
-
-
- Also known as:
- refute_empty
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_not_empty (object, message = nil) ⇒ Object
+
+
+
+ Also known as:
+ refute_empty
+
+
+
+
+
+
Passes if object is not empty.
-
-
-
-
-
+
-
-
+assert_not_empty ( { } )
+
+
+
+
+
+
+
@@ -3545,9 +3545,9 @@
1604
1605
1606
-1607
-
-
+1607
+
+
# File 'lib/test/unit/assertions.rb', line 1596
def assert_not_empty ( object , message = nil )
@@ -3561,46 +3561,46 @@
not object . empty?
end
end
-end
-
-
-
-
-
-
-
-
- #assert_not_equal (expected, actual, message = nil) ⇒ Object
-
-
-
- Also known as:
- refute_equal
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_not_equal (expected, actual, message = nil) ⇒ Object
+
+
+
+ Also known as:
+ refute_equal
+
+
+
+
+
+
Passes if expected != actual
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -3609,9 +3609,9 @@
673
674
675
-676
-
-
+676
+
+
# File 'lib/test/unit/assertions.rb', line 671
def assert_not_equal ( expected , actual , message = " " )
@@ -3619,48 +3619,48 @@
" <?> was expected to be != to\n<?>. " ,
expected , actual )
assert_block ( full_message ) { expected != actual }
-end
-
-
-
-
-
-
-
-
- #assert_not_in_delta (expected_float, actual_float, delta = 0.001, message = "") ⇒ Object
-
-
-
- Also known as:
- refute_in_delta
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_not_in_delta (expected_float, actual_float, delta = 0.001, message = "") ⇒ Object
+
+
+
+ Also known as:
+ refute_in_delta
+
+
+
+
+
+
Passes if expected_float and actual_float are
not equal within delta tolerance.
-
-
-
-
-
+
-
-
+assert_not_in_delta ( 0.05 , ( 50000.0 / 10 ** 6 ) , 0.00001 )
+
+
+
+
+
+
+
@@ -3678,9 +3678,9 @@
893
894
895
-896
-
-
+896
+
+
# File 'lib/test/unit/assertions.rb', line 882
def assert_not_in_delta ( expected_float , actual_float , delta = 0.001 , message = " " )
@@ -3697,49 +3697,49 @@
( expected_float . to_f - actual_float . to_f ) . abs > delta . to_f
end
end
-end
-
-
-
-
-
-
-
-
- #assert_not_in_epsilon (expected_float, actual_float, epsilon = 0.001, message = "") ⇒ Object
-
-
-
- Also known as:
- refute_in_epsilon
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_not_in_epsilon (expected_float, actual_float, epsilon = 0.001, message = "") ⇒ Object
+
+
+
+ Also known as:
+ refute_in_epsilon
+
+
+
+
+
+
Passes if expected_float and actual_float are
not equal within epsilon relative error of
expected_float.
-
-
-
-
-
+
-
-
+assert_not_in_epsilon ( 10000.0 , 9899.0 , 0.1 )
+
+
+
+
+
+
+
@@ -3760,9 +3760,9 @@
1027
1028
1029
-1030
-
-
+1030
+
+
# File 'lib/test/unit/assertions.rb', line 1013
def assert_not_in_epsilon ( expected_float , actual_float , epsilon = 0.001 ,
@@ -3782,49 +3782,49 @@
( normalized_expected_float - actual_float . to_f ) . abs > delta
end
end
-end
-
-
-
-
-
-
-
-
- #assert_not_include (collection, object, message = nil) ⇒ Object
-
-
-
- Also known as:
- assert_not_includes , refute_includes
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_not_include (collection, object, message = nil) ⇒ Object
+
+
+
+ Also known as:
+ assert_not_includes , refute_includes
+
+
+
+
+
+
Passes if collection doesn’t include object.
-
-
-
-
-
+
-
-
+assert_not_include ( 1 .. 10 , 5 )
+
+
+
+
+
+
+
@@ -3840,9 +3840,9 @@
1548
1549
1550
-1551
-
-
+1551
+
+
# File 'lib/test/unit/assertions.rb', line 1539
def assert_not_include ( collection , object , message = nil )
@@ -3857,65 +3857,65 @@
not collection . include? ( object )
end
end
-end
-
-
-
-
-
-
-
-
- #assert_not_instance_of (klass, object, message = nil) ⇒ Object
-
-
-
- Also known as:
- refute_instance_of
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_not_instance_of (klass, object, message = nil) ⇒ Object
+
+
+
+ Also known as:
+ refute_instance_of
+
+
+
+
+
+
Passes if object.instance_of?(klass) does not hold.
When klass is an array of classes, it passes if no class
satisfies +object.instance_of?(class).
-
-
-
-
-
+
+
+
Since:
+
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -3942,9 +3942,9 @@
373
374
375
-376
-
-
+376
+
+
# File 'lib/test/unit/assertions.rb', line 353
def assert_not_instance_of ( klass , object , message = " " )
@@ -3970,65 +3970,65 @@
klasses . none? { | k | object . instance_of? ( k ) }
end
end
-end
-
-
-
-
-
-
-
-
- #assert_not_kind_of (klass, object, message = nil) ⇒ Object
-
-
-
- Also known as:
- refute_kind_of
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_not_kind_of (klass, object, message = nil) ⇒ Object
+
+
+
+ Also known as:
+ refute_kind_of
+
+
+
+
+
+
Passes if object.kind_of?(klass) does not hold.
When klass is an array of classes or modules, it passes only if all
classes (and modules) do not satisfy +object.kind_of?(class_or_module).
-
-
-
-
-
+
+
+
Since:
+
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -4055,9 +4055,9 @@
462
463
464
-465
-
-
+465
+
+
# File 'lib/test/unit/assertions.rb', line 442
def assert_not_kind_of ( klass , object , message = " " )
@@ -4083,47 +4083,47 @@
klasses . none? { | k | object . kind_of? ( k ) }
end
end
-end
-
-
-
-
-
-
-
-
- #assert_not_match (pattern, string, message = nil) ⇒ Object
-
-
-
- Also known as:
- refute_match
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_not_match (pattern, string, message = nil) ⇒ Object
+
+
+
+ Also known as:
+ refute_match
+
+
+
+
+
+
Passes if regexp !~ string
-
-
-
-
-
+
-
-
+assert_not_match ( / three / , ' one 2 three ' )
+
+
+
+
+
+
+
@@ -4137,9 +4137,9 @@
713
714
715
-716
-
-
+716
+
+
# File 'lib/test/unit/assertions.rb', line 706
def assert_not_match ( regexp , string , message = " " )
@@ -4152,46 +4152,46 @@
regexp , string )
assert_block ( full_message ) { regexp !~ string }
end
-end
-
-
-
-
-
-
-
-
- #assert_not_nil (object, message = nil) ⇒ Object
-
-
-
- Also known as:
- refute_nil
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_not_nil (object, message = nil) ⇒ Object
+
+
+
+ Also known as:
+ refute_nil
+
+
+
+
+
+
Passes if ! object .nil?
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -4200,9 +4200,9 @@
690
691
692
-693
-
-
+693
+
+
# File 'lib/test/unit/assertions.rb', line 688
def assert_not_nil ( object , message = " " )
@@ -4210,64 +4210,64 @@
" <?> was expected to not be nil. " ,
object )
assert_block ( full_message ) { ! object . nil? }
-end
-
-
-
-
-
-
-
-
- #assert_not_operator (object1, operator, object2, message = nil) ⇒ Object
-
-
-
- Also known as:
- refute_operator
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_not_operator (object1, operator, object2, message = nil) ⇒ Object
+
+
+
+ Also known as:
+ refute_operator
+
+
+
+
+
+
Compares the object1 with object2 using operator.
Passes if object1.send (operator, object2) is false or nil.
-
-
-
-
-
+
+
+
Since:
+
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -4282,9 +4282,9 @@
597
598
599
-600
-
-
+600
+
+
# File 'lib/test/unit/assertions.rb', line 589
def assert_not_operator ( object1 , operator , object2 , message = " " )
@@ -4298,47 +4298,47 @@
EOT
assert_block ( full_message ) { ! object1 . __send__ ( operator , object2 ) }
end
-end
-
-
-
-
-
-
-
-
- #assert_not_predicate (object, predicate, message = nil) ⇒ Object
-
-
-
- Also known as:
- refute_predicate
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_not_predicate (object, predicate, message = nil) ⇒ Object
+
+
+
+ Also known as:
+ refute_predicate
+
+
+
+
+
+
Passes if object.predicate is false or nil.
-
-
-
-
-
+
-
-
+assert_not_predicate ( [ ] , :empty? )
+
+
+
+
+
+
+
@@ -4356,9 +4356,9 @@
1410
1411
1412
-1413
-
-
+1413
+
+
# File 'lib/test/unit/assertions.rb', line 1399
def assert_not_predicate ( object , predicate , message = nil )
@@ -4375,47 +4375,47 @@
not actual
end
end
-end
-
-
-
-
-
-
-
-
- #assert_not_respond_to (object, method, message = nil) ⇒ Object
-
-
-
- Also known as:
- refute_respond_to
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_not_respond_to (object, method, message = nil) ⇒ Object
+
+
+
+ Also known as:
+ refute_respond_to
+
+
+
+
+
+
Passes if object does not .respond_to? method.
-
-
-
-
-
+
-
-
+assert_not_respond_to ( ' bugbear ' , :size )
+
+
+
+
+
+
+
@@ -4434,9 +4434,9 @@
512
513
514
-515
-
-
+515
+
+
# File 'lib/test/unit/assertions.rb', line 500
def assert_not_respond_to ( object , method , message = " " )
@@ -4454,46 +4454,46 @@
object , method , object . class )
assert_block ( full_message ) { ! object . respond_to? ( method ) }
end
-end
-
-
-
-
-
-
-
-
- #assert_not_same (expected, actual, message = nil) ⇒ Object
-
-
-
- Also known as:
- refute_same
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_not_same (expected, actual, message = nil) ⇒ Object
+
+
+
+ Also known as:
+ refute_same
+
+
+
+
+
+
Passes if ! actual .equal? expected
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -4505,9 +4505,9 @@
656
657
658
-659
-
-
+659
+
+
# File 'lib/test/unit/assertions.rb', line 651
def assert_not_same ( expected , actual , message = " " )
@@ -4518,48 +4518,48 @@
with id <?>.
EOT
assert_block ( full_message ) { ! actual . equal? ( expected ) }
-end
-
-
-
-
-
-
-
-
- #assert_not_send (send_array, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_not_send (send_array, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if the method __send__ returns false or nil.
send_array is composed of:
* A receiver
* A method
* Arguments to the method
-
-
-
-
-
+
-
-
+assert_not_send ( [ [ 1 , 2 ] , :member? , 4 ] )
+
+
+
+
+
+
+
@@ -4590,9 +4590,9 @@
1188
1189
1190
-1191
-
-
+1191
+
+
# File 'lib/test/unit/assertions.rb', line 1164
def assert_not_send ( send_array , message = nil )
@@ -4622,32 +4622,32 @@
not result
end
end
-end
-
-
-
-
-
-
-
-
- #assert_nothing_leaked_memory (max_increasable_size, target = :physical, message = nil) { ... } ⇒ void
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_nothing_leaked_memory (max_increasable_size, target = :physical, message = nil) { ... } ⇒ void
+
+
+
+
+
+
+
-
Parameters:
-
-
-
-
- target
-
-
- (:physical , :virtual )
-
-
- (defaults to: :physical )
-
-
- —
+end
+
+
+Parameters:
+
+
+
+
+ target
+
+
+ (:physical , :virtual )
+
+
+ (defaults to: :physical )
+
+
+ —
which memory usage is
used for comparing. :physical means physical memory usage
-also known as Resident Set Size (RSS). :virtual means
-virtual memory usage.
-
-
-
-
-
-
-Yields:
-
-
-
-
-
-
-
-
-
-
- [] do anything you want to measure memory usage
-in the block.
-
-
-
-
-
-Yield Returns:
-
-
-
-
-
- (void )
-
-
-
-
-
-
-
-
-
-Since:
-
-
-
-
-
-
-
-
+also known as Resident Set Size (RSS). :virtual means
+virtual memory usage.
+
+
+
+
+
+
+Yields:
+
+
+
+
+
+
+
+
+
+
+ [] do anything you want to measure memory usage
+in the block.
+
+
+
+
+
+Yield Returns:
+
+
+
+
+
+ (void )
+
+
+
+
+
+
+
+
+
+Since:
+
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -4805,9 +4805,9 @@
1803
1804
1805
-1806
-
-
+1806
+
+
# File 'lib/test/unit/assertions.rb', line 1779
def assert_nothing_leaked_memory ( max_increasable_size ,
@@ -4837,44 +4837,44 @@
actual_increased_size < max_increasable_size
end
end
-end
-
-
-
-
-
-
-
-
- #assert_nothing_raised (*args) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_nothing_raised (*args) ⇒ Object
+
+
+
+
+
+
+
Passes if block does not raise an exception.
-
-
-
-
-
+
-
-
+end
+
+
+
+
+
+
+
@@ -4899,9 +4899,9 @@
632
633
634
-635
-
-
+635
+
+
# File 'lib/test/unit/assertions.rb', line 614
def assert_nothing_raised ( * args )
@@ -4925,44 +4925,44 @@
end
end
end
-end
-
-
-
-
-
-
-
-
- #assert_nothing_thrown (message = nil, &proc) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_nothing_thrown (message = nil, &proc) ⇒ Object
+
+
+
+
+
+
+
Passes if block does not throw anything.
-
-
-
-
-
+
-
-
+end
+
+
+
+
+
+
+
@@ -4982,9 +4982,9 @@
849
850
851
-852
-
-
+852
+
+
# File 'lib/test/unit/assertions.rb', line 836
def assert_nothing_thrown ( message = " " , & proc )
@@ -5003,44 +5003,44 @@
end
assert ( true , " Expected nothing to be thrown " )
end
-end
-
-
-
-
-
-
-
-
- #assert_operator (object1, operator, object2, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_operator (object1, operator, object2, message = nil) ⇒ Object
+
+
+
+
+
+
+
Compares the object1 with object2 using operator.
Passes if object1.send (operator, object2) is not false nor nil.
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -5055,9 +5055,9 @@
574
575
576
-577
-
-
+577
+
+
# File 'lib/test/unit/assertions.rb', line 566
def assert_operator ( object1 , operator , object2 , message = " " )
@@ -5071,44 +5071,44 @@
EOT
assert_block ( full_message ) { object1 . __send__ ( operator , object2 ) }
end
-end
-
-
-
-
-
-
-
-
- #assert_path_exist (path, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_path_exist (path, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if path exists.
-
-
-
-
-
+
-
-
+assert_path_exist ( " /nonexistent " )
+
+
+
+
+
+
+
@@ -5121,9 +5121,9 @@
1481
1482
1483
-1484
-
-
+1484
+
+
# File 'lib/test/unit/assertions.rb', line 1475
def assert_path_exist ( path , message = nil )
@@ -5135,44 +5135,44 @@
File . exist? ( path )
end
end
-end
-
-
-
-
-
-
-
-
- #assert_path_not_exist (path, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_path_not_exist (path, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if path doesn’t exist.
-
-
-
-
-
+
-
-
+assert_path_not_exist ( " /bin/sh " )
+
+
+
+
+
+
+
@@ -5185,9 +5185,9 @@
1499
1500
1501
-1502
-
-
+1502
+
+
# File 'lib/test/unit/assertions.rb', line 1493
def assert_path_not_exist ( path , message = nil )
@@ -5199,43 +5199,43 @@
not File . exist? ( path )
end
end
-end
-
-
-
-
-
-
-
-
- #assert_predicate (object, predicate, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_predicate (object, predicate, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if object.predicate is not false nor nil.
-
-
-
-
-
+
-
-
+assert_predicate ( [ 1 ] , :empty? )
+
+
+
+
+
+
+
@@ -5253,9 +5253,9 @@
1388
1389
1390
-1391
-
-
+1391
+
+
# File 'lib/test/unit/assertions.rb', line 1377
def assert_predicate ( object , predicate , message = nil )
@@ -5272,40 +5272,40 @@
actual
end
end
-end
-
-
-
-
-
-
-
-
- #assert_raise (*args, &block) ⇒ Object
-
-
-
- Also known as:
- assert_raises
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_raise (*args, &block) ⇒ Object
+
+
+
+ Also known as:
+ assert_raises
+
+
+
+
+
+
Passes if the block raises one of the expected
exceptions. When an expected exception is an Exception
object, passes if expected_exception == actual_exception.
-
-
-
-
-
+
-
-
+assert_raise ( RuntimeError . new ( " ZZZ " ) ) { raise " XXX " }
+
+
+
+
+
+
+
@@ -5347,9 +5347,9 @@
276
277
278
-279
-
-
+279
+
+
# File 'lib/test/unit/assertions.rb', line 259
def assert_raise ( * args , & block )
@@ -5372,45 +5372,45 @@
end
end
_assert_raise ( assert_expected_exception , * args , & block )
-end
-
-
-
-
-
-
-
-
- #assert_raise_kind_of (*args, &block) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_raise_kind_of (*args, &block) ⇒ Object
+
+
+
+
+
+
+
Passes if the block raises one of the given
exceptions or sub exceptions of the given exceptions.
-
-
-
-
-
+
-
-
+end
+
+
+
+
+
+
+
@@ -5427,9 +5427,9 @@
302
303
304
-305
-
-
+305
+
+
# File 'lib/test/unit/assertions.rb', line 292
def assert_raise_kind_of ( * args , & block )
@@ -5445,46 +5445,46 @@
end
end
_assert_raise ( assert_expected_exception , * args , & block )
-end
-
-
-
-
-
-
-
-
- #assert_raise_message (expected, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_raise_message (expected, message = nil) ⇒ Object
+
+
+
+
+
+
+
Passes if an exception is raised in block and its
message is expected.
-
-
-
-
-
+
-
-
+assert_raise_message ( " exception " ) { }
+
+
+
+
+
+
+
@@ -5518,9 +5518,9 @@
1332
1333
1334
-1335
-
-
+1335
+
+
# File 'lib/test/unit/assertions.rb', line 1305
def assert_raise_message ( expected , message = nil )
@@ -5553,88 +5553,88 @@
end
end
end
-end
-
-
-
-
-
-
-
-
- #assert_raise_with_message (expected_exception_class, expected_message, message = nil, &block) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assert_raise_with_message (expected_exception_class, expected_message, message = nil, &block) ⇒ Object
+
+
+
+
+
+
+
Passes if the block raises expected_exception with
expected_message. expected_message can be a String or
Regexp.
-
-
-
-
-
+
+
assert_raise_with_message ( RuntimeError , / !!! / ) do
raise " Boom!!! "
-end
-
-
+
end
+
+
Failure pattern: Exception class isn’t matched
-
-
+
+
assert_raise_with_message ( RuntimeError , " Boom!!! " ) do
raise ArgumentError , " Boom!!! "
-end
-
-
+end
+
+
Failure pattern: Exception message isn’t matched
-
-
+
+
assert_raise_with_message ( RuntimeError , " Boom!!! " ) do
raise " Hello "
-end
-
-
-
-Since:
-
-
-
-
-
-
Constructor Details
-
-
-
-
- #initialize (object, inspected_objects = {}) ⇒ Inspector
-
-
-
-
-
-
-
-
Returns a new instance of Inspector.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
Constructor Details
+
+
+
+
+ #initialize (object, inspected_objects = {}) ⇒ Inspector
+
+
+
+
+
+
+
+
Returns a new instance of Inspector
+
+
+
+
+
+
+
+
+
+
@@ -478,9 +478,9 @@
1831
1832
1833
-1834
-
-
+1834
+
+
# File 'lib/test/unit/assertions.rb', line 1829
def initialize ( object , inspected_objects = { } )
@@ -488,206 +488,206 @@
@object = object
@inspected_objects [ @object . object_id ] = self
@inspect_target = inspect_target
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #object ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #object ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute object
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
1828
1829
-1830
-
-
+1830
+
+
# File 'lib/test/unit/assertions.rb', line 1828
def object
@object
-end
-
-
-
-
-
-
-
-
-
-
Class Method Details
-
-
-
-
-
- .cached_new (object, inspected_objects) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
Class Method Details
+
+
+
+
+
+ .cached_new (object, inspected_objects) ⇒ Object
+
+
+
+
+
+
+
+
1809
1810
1811
-1812
-
-
+1812
+
+
# File 'lib/test/unit/assertions.rb', line 1809
def cached_new ( object , inspected_objects )
inspected_objects [ object . object_id ] ||=
new ( object , inspected_objects )
-end
-
-
-
-
-
-
-
-
- .inspector_classes ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .inspector_classes ⇒ Object
+
+
+
+
+
+
+
+
1815
1816
-1817
-
-
+1817
+
+
# File 'lib/test/unit/assertions.rb', line 1815
def inspector_classes
@@inspector_classes
-end
-
-
-
-
-
-
-
-
- .register_inspector_class (inspector_class) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .register_inspector_class (inspector_class) ⇒ Object
+
+
+
+
+
+
+
+
1819
1820
-1821
-
-
+1821
+
+
# File 'lib/test/unit/assertions.rb', line 1819
def register_inspector_class ( inspector_class )
@@inspector_classes << inspector_class
-end
-
-
-
-
-
-
-
-
- .unregister_inspector_class (inspector_class) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .unregister_inspector_class (inspector_class) ⇒ Object
+
+
+
+
+
+
+
+
1823
1824
-1825
-
-
+1825
+
+
# File 'lib/test/unit/assertions.rb', line 1823
def unregister_inspector_class ( inspector_class )
@@inspector_classes . delete ( inspector_class )
-end
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #<=> (other) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #<=> (other) ⇒ Object
+
+
+
+
+
+
+
+
@@ -697,9 +697,9 @@
1852
1853
1854
-1855
-
-
+1855
+
+
# File 'lib/test/unit/assertions.rb', line 1849
def <=> ( other )
@@ -708,142 +708,142 @@
else
@object <=> other
end
-end
-
-
-
-
-
-
-
-
- #inspect ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #inspect ⇒ Object
+
+
+
+
+
+
+
+
1837
1838
-1839
-
-
+1839
+
+
# File 'lib/test/unit/assertions.rb', line 1837
def inspect
@inspect_target . inspect
-end
-
-
-
-
-
-
-
-
- #native_inspect ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #native_inspect ⇒ Object
+
+
+
+
+
+
+
+
1836
1837
-1838
-
-
+1838
+
+
# File 'lib/test/unit/assertions.rb', line 1836
def inspect
@inspect_target . inspect
-end
-
-
-
-
-
-
-
-
- #pretty_print (q) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #pretty_print (q) ⇒ Object
+
+
+
+
+
+
+
+
1841
1842
-1843
-
-
+1843
+
+
# File 'lib/test/unit/assertions.rb', line 1841
def pretty_print ( q )
@inspect_target . pretty_print ( q )
-end
-
-
-
-
-
-
-
-
- #pretty_print_cycle (q) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #pretty_print_cycle (q) ⇒ Object
+
+
+
+
+
+
+
+
1845
1846
-1847
-
-
+1847
+
+
# File 'lib/test/unit/assertions.rb', line 1845
def pretty_print_cycle ( q )
@inspect_target . pretty_print_cycle ( q )
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -879,6 +879,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/Literal.html b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/Literal.html
index 240a44b3..84fd2b29 100644
--- a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/Literal.html
+++ b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/Literal.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Assertions::AssertionMessage::Literal
-
- — test-unit
-
+
+ Class: Test::Unit::Assertions::AssertionMessage::Literal
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/MaybeContainer.html b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/MaybeContainer.html
index ac22d583..a18fc000 100644
--- a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/MaybeContainer.html
+++ b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/MaybeContainer.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Assertions::AssertionMessage::MaybeContainer
-
- — test-unit
-
+
+ Class: Test::Unit::Assertions::AssertionMessage::MaybeContainer
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/NumericInspector.html b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/NumericInspector.html
index 69b5674e..1804f1b5 100644
--- a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/NumericInspector.html
+++ b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/NumericInspector.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Assertions::AssertionMessage::NumericInspector
-
- — test-unit
-
+
+ Class: Test::Unit::Assertions::AssertionMessage::NumericInspector
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -521,6 +521,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/Template.html b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/Template.html
index ccafddc6..c6ef8bc5 100644
--- a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/Template.html
+++ b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/Template.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Assertions::AssertionMessage::Template
-
- — test-unit
-
+
+ Class: Test::Unit::Assertions::AssertionMessage::Template
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -506,6 +506,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Attribute.html b/test-unit/ja/Test/Unit/Attribute.html
index 1138fb42..26fed3b4 100644
--- a/test-unit/ja/Test/Unit/Attribute.html
+++ b/test-unit/ja/Test/Unit/Attribute.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::Attribute
-
- — test-unit
-
+
+ Module: Test::Unit::Attribute
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Attribute/BaseClassMethods.html b/test-unit/ja/Test/Unit/Attribute/BaseClassMethods.html
index 74f09315..4d637784 100644
--- a/test-unit/ja/Test/Unit/Attribute/BaseClassMethods.html
+++ b/test-unit/ja/Test/Unit/Attribute/BaseClassMethods.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::Attribute::BaseClassMethods
-
- — test-unit
-
+
+ Module: Test::Unit::Attribute::BaseClassMethods
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Attribute/ClassMethods.html b/test-unit/ja/Test/Unit/Attribute/ClassMethods.html
index a903a9ba..a1893f9c 100644
--- a/test-unit/ja/Test/Unit/Attribute/ClassMethods.html
+++ b/test-unit/ja/Test/Unit/Attribute/ClassMethods.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::Attribute::ClassMethods
-
- — test-unit
-
+
+ Module: Test::Unit::Attribute::ClassMethods
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #current_attributes ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #find_attribute (method_name, name, options = {}) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #find_attribute (method_name, name, options = {}) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #method_added (name) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #method_added (name) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #register_attribute_observer (attribute_name, observer = nil, &block) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #register_attribute_observer (attribute_name, observer = nil, &block) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #set_attributes (method_name, new_attributes) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #set_attributes (method_name, new_attributes) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
-
- #attribute (name, value) ⇒ void
-
- #attribute (name, value, *method_names) ⇒ void
-
- #attribute (name, value, options) ⇒ void
-
- #attribute (name, value, options, *method_names) ⇒ void
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+
+ #attribute (name, value) ⇒ void
+
+ #attribute (name, value, *method_names) ⇒ void
+
+ #attribute (name, value, options) ⇒ void
+
+ #attribute (name, value, options, *method_names) ⇒ void
+
+
+
+
+
+
+
+
Set an attribute to test methods.
-
-
-
-
-
-
-
-
-
- #attribute (name, value, *method_names) ⇒ void
-
+
+
+
+
+ #attribute (name, value, *method_names) ⇒ void
+
+
This method returns an undefined value.
-
-
-
-
-
+
+Parameters:
+
+
+
+
+ name
+
+
+ (Object )
+
+
+
+ —
-
-
-
-
-
- value
-
-
- (Object )
-
-
-
- —
+
+
+
+
+
+
+ value
+
+
+ (Object )
+
+
+
+ —
-
-
-
-
-
- method_names
-
-
- (Array<Symbol, String> )
-
-
-
- —
+
+
+
+
+
+
+ method_names
+
+
+ (Array<Symbol, String> )
+
+
+
+ —
the test method names set the attribute
-
-
-
-
-
-
-
-
-
-
-
-
- #attribute (name, value, options) ⇒ void
-
+
+
+
+
+ #attribute (name, value, options) ⇒ void
+
+
This method returns an undefined value.
-
-
-
-
-
+
+Parameters:
+
+
+
+
+ name
+
+
+ (Object )
+
+
+
+ —
-
-
-
-
-
- value
-
-
- (Object )
-
-
-
- —
+
+
+
+
+
+
+ value
+
+
+ (Object )
+
+
+
+ —
-
-
-
-
-
-
-
-
-
-
-
-
-
Options Hash (options ):
-
-
-
- :keep
- (Boolean )
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Options Hash (options ):
+
+
+
+ :keep
+ (Boolean )
+
+
+
+
— whether or not to set attribute to following test methods
-
-
-
-
-
-
-
-
-
-
-
-
-
- #attribute (name, value, options, *method_names) ⇒ void
-
+
+
+
+
+ #attribute (name, value, options, *method_names) ⇒ void
+
+
This method returns an undefined value.
-
-
-
-
-
+
+Parameters:
+
+
+
+
+ name
+
+
+ (Object )
+
+
+
+ —
-
-
-
-
-
- value
-
-
- (Object )
-
-
-
- —
+
+
+
+
+
+
+ value
+
+
+ (Object )
+
+
+
+ —
-
-
-
-
-
- options
-
-
- (Hash )
-
-
-
- —
+
+
+
+
+
+
+ options
+
+
+ (Hash )
+
+
+
+ —
-
-
-
-
-
- method_names
-
-
- (Array<Symbol, String> )
-
-
-
- —
+
+
+
+
+
+
+ method_names
+
+
+ (Array<Symbol, String> )
+
+
+
+ —
the test method names set the attribute
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -762,9 +762,9 @@
125
126
127
-128
-
-
+128
+
+
# File 'lib/test/unit/attribute.rb', line 116
def attribute ( name , value , options = { } , * method_names )
@@ -779,54 +779,54 @@
set_attributes ( method_name , { name => value } )
end
end
-end
-
-
-
-
-
-
-
-
- #attribute_observers (attribute_name) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #attribute_observers (attribute_name) ⇒ Object
+
+
+
+
+
+
+
+
208
209
-210
-
-
+210
+
+
# File 'lib/test/unit/attribute.rb', line 208
def attribute_observers ( attribute_name )
@@attribute_observers [ attribute_name ]
-end
-
-
-
-
-
-
-
-
- #attributes (method_name) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #attributes (method_name) ⇒ Object
+
+
+
+
+
+
+
+
@@ -845,9 +845,9 @@
173
174
175
-176
-
-
+176
+
+
# File 'lib/test/unit/attribute.rb', line 161
def attributes ( method_name )
@@ -865,116 +865,116 @@
-
-
-
-
-
-
-
-
- #attributes_table ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #attributes_table ⇒ Object
+
+
+
+
+
+
+
+
138
139
140
-141
-
-
+141
+
+
# File 'lib/test/unit/attribute.rb', line 138
def attributes_table
@attributes_table ||= StringifyKeyHash . new
super . merge ( @attributes_table )
-end
-
-
-
-
-
-
-
-
- #current_attribute (name) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #current_attribute (name) ⇒ Object
+
+
+
+
+
+
+
+
134
135
-136
-
-
+136
+
+
# File 'lib/test/unit/attribute.rb', line 134
def current_attribute ( name )
current_attributes [ name ] || StringifyKeyHash . new
-end
-
-
-
-
-
-
-
-
- #current_attributes ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #current_attributes ⇒ Object
+
+
+
+
+
+
+
+
130
131
-132
-
-
+132
+
+
# File 'lib/test/unit/attribute.rb', line 130
def current_attributes
@current_attributes ||= StringifyKeyHash . new
-end
-
-
-
-
-
-
-
-
- #find_attribute (method_name, name, options = {}) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #find_attribute (method_name, name, options = {}) ⇒ Object
+
+
+
+
+
+
+
+
@@ -1000,9 +1000,9 @@
197
198
199
-200
-
-
+200
+
+
# File 'lib/test/unit/attribute.rb', line 178
def find_attribute ( method_name , name , options = { } )
@@ -1027,24 +1027,24 @@
end
@cached_parent_test_case . find_attribute ( method_name , name , options )
-end
-
-
-
-
-
-
-
-
- #method_added (name) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #method_added (name) ⇒ Object
+
+
+
+
+
+
+
+
@@ -1060,9 +1060,9 @@
47
48
49
-50
-
-
+50
+
+
# File 'lib/test/unit/attribute.rb', line 38
def method_added ( name )
@@ -1077,56 +1077,56 @@
end
set_attributes ( name , attributes )
@current_attributes = kept_attributes
-end
-
-
-
-
-
-
-
-
- #register_attribute_observer (attribute_name, observer = nil, &block) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #register_attribute_observer (attribute_name, observer = nil, &block) ⇒ Object
+
+
+
+
+
+
+
+
203
204
205
-206
-
-
+206
+
+
# File 'lib/test/unit/attribute.rb', line 203
def register_attribute_observer ( attribute_name , observer = Proc . new )
@@attribute_observers [ attribute_name ] ||= [ ]
@@attribute_observers [ attribute_name ] << observer
-end
-
-
-
-
-
-
-
-
- #set_attributes (method_name, new_attributes) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #set_attributes (method_name, new_attributes) ⇒ Object
+
+
+
+
+
+
+
+
@@ -1146,9 +1146,9 @@
156
157
158
-159
-
-
+159
+
+
# File 'lib/test/unit/attribute.rb', line 143
def set_attributes ( method_name , new_attributes )
@@ -1167,22 +1167,22 @@
end
current_attributes [ key ] = value
end
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -1218,6 +1218,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Attribute/StringifyKeyHash.html b/test-unit/ja/Test/Unit/Attribute/StringifyKeyHash.html
index a9439b22..fb5e66f1 100644
--- a/test-unit/ja/Test/Unit/Attribute/StringifyKeyHash.html
+++ b/test-unit/ja/Test/Unit/Attribute/StringifyKeyHash.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Attribute::StringifyKeyHash
-
- — test-unit
-
+
+ Class: Test::Unit::Attribute::StringifyKeyHash
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/AttributeMatcher.html b/test-unit/ja/Test/Unit/AttributeMatcher.html
index 060a9b33..fc0aee8a 100644
--- a/test-unit/ja/Test/Unit/AttributeMatcher.html
+++ b/test-unit/ja/Test/Unit/AttributeMatcher.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::AttributeMatcher
-
- — test-unit
-
+
+ Class: Test::Unit::AttributeMatcher
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #listeners ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute listeners.
-
-
-
-
-
-
-
-
- #pattern ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #pattern ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute pattern.
-
-
-
-
-
-
-
-
- #runner ⇒ Object
-
-
-
-
-
-
-
-
-
- writeonly
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #runner ⇒ Object
+
+
+
+
+
+
+
+
+
+ writeonly
+
+
+
+
+
+
+
+
Sets the attribute runner.
-
-
-
-
-
-
-
-
- #runner_options ⇒ Object
-
-
-
-
-
-
-
-
- readonly
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #runner_options ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
Returns the value of attribute runner_options.
-
-
-
-
-
-
-
-
- #stop_on_failure ⇒ Object
-
-
-
-
-
-
-
-
-
- writeonly
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #stop_on_failure ⇒ Object
+
+
+
+
+
+
+
+
+
+ writeonly
+
+
+
+
+
+
+
+
Sets the attribute stop_on_failure.
-
-
-
-
-
-
-
-
- #suite ⇒ Object
-
-
-
-
-
-
-
-
- readonly
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #suite ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
Returns the value of attribute suite.
-
-
-
-
-
-
-
-
- #to_run ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #to_run ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute to_run.
-
-
-
-
-
-
-
-
- #workdir ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #workdir ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns the value of attribute workdir.
-
-
-
-
-
-
-
-
-
-
-
-
- Class Method Summary
- collapse
-
-
-
+
+
+
+
+
+
+ Class Method Summary
+ collapse
+
+
+
+
+
+
+
+ .collector (id) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .default_runner ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .default_runner ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .default_runner= (id) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .default_runner= (id) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .need_auto_run= (need) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .need_auto_run= (need) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .need_auto_run? ⇒ Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .need_auto_run? ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .prepare (hook = nil, &block) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .prepare (hook = nil, &block) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .register_collector (id, collector_builder = nil, &block) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .register_collector (id, collector_builder = nil, &block) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .register_color_scheme (id, scheme) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .register_color_scheme (id, scheme) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .register_runner (id, runner_builder = nil, &block) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .register_runner (id, runner_builder = nil, &block) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .run (force_standalone = false, default_dir = nil, argv = ARGV, &block) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .run (force_standalone = false, default_dir = nil, argv = ARGV, &block) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .runner (id) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .runner (id) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .setup_option (option_builder = nil, &block) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .setup_option (option_builder = nil, &block) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .standalone? ⇒ Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .standalone? ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- Instance Method Summary
- collapse
-
-
-
+
+
+ Instance Method Summary
+ collapse
+
+
+
-
-
-
-
Constructor Details
-
-
-
-
- #initialize (standalone) {|_self| ... } ⇒ AutoRunner
-
-
-
-
-
-
-
-
Returns a new instance of AutoRunner.
-
-
-
-
-
+
+
+
+
+
+
+
+
+
Constructor Details
+
+
+
+
+ #initialize (standalone) {|_self| ... } ⇒ AutoRunner
+
+
+
+
+
+
+
+
Returns a new instance of AutoRunner
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
@@ -1202,9 +1202,9 @@
162
163
164
-165
-
-
+165
+
+
# File 'lib/test/unit/autorunner.rb', line 145
def initialize ( standalone )
@@ -1227,1039 +1227,1039 @@
load_global_config
end
yield ( self ) if block_given?
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #base ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #base ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute base
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
140
141
-142
-
-
+142
+
+
# File 'lib/test/unit/autorunner.rb', line 140
def base
@base
-end
-
-
-
-
-
-
-
-
-
-
- #collector= (value) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #collector= (value) ⇒ Object
+
+
+
+
+
+
+
Sets the attribute collector
-
-
-
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
143
144
-145
-
-
+145
+
+
# File 'lib/test/unit/autorunner.rb', line 143
def collector= ( value )
@collector = value
-end
-
-
-
-
-
-
-
-
-
-
- #color_scheme ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #color_scheme ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute color_scheme
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
141
142
-143
-
-
+143
+
+
# File 'lib/test/unit/autorunner.rb', line 141
def color_scheme
@color_scheme
-end
-
-
-
-
-
-
-
-
-
-
- #debug_on_failure= (value) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #debug_on_failure= (value) ⇒ Object
+
+
+
+
+
+
+
Sets the attribute debug_on_failure
-
-
-
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
147
148
-149
-
-
+149
+
+
# File 'lib/test/unit/autorunner.rb', line 147
def debug_on_failure= ( value )
@debug_on_failure = value
-end
-
-
-
-
-
-
-
-
-
-
- #default_test_paths ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #default_test_paths ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute default_test_paths
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
139
140
-141
-
-
+141
+
+
# File 'lib/test/unit/autorunner.rb', line 139
def default_test_paths
@default_test_paths
-end
-
-
-
-
-
-
-
-
-
-
- #exclude ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #exclude ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute exclude
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
140
141
-142
-
-
+142
+
+
# File 'lib/test/unit/autorunner.rb', line 140
def exclude
@exclude
-end
-
-
-
-
-
-
-
-
-
-
- #filters ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #filters ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute filters
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
138
139
-140
-
-
+140
+
+
# File 'lib/test/unit/autorunner.rb', line 138
def filters
@filters
-end
-
-
-
-
-
-
-
-
-
-
- #listeners ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #listeners ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute listeners
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
141
142
-143
-
-
+143
+
+
# File 'lib/test/unit/autorunner.rb', line 141
def listeners
@listeners
-end
-
-
-
-
-
-
-
-
-
-
- #pattern ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #pattern ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute pattern
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
140
141
-142
-
-
+142
+
+
# File 'lib/test/unit/autorunner.rb', line 140
def pattern
@pattern
-end
-
-
-
-
-
-
-
-
-
-
- #runner= (value) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #runner= (value) ⇒ Object
+
+
+
+
+
+
+
Sets the attribute runner
-
-
-
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
143
144
-145
-
-
+145
+
+
# File 'lib/test/unit/autorunner.rb', line 143
def runner= ( value )
@runner = value
-end
-
-
-
-
-
-
-
-
-
-
- #runner_options ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #runner_options ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute runner_options
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
137
138
-139
-
-
+139
+
+
# File 'lib/test/unit/autorunner.rb', line 137
def runner_options
@runner_options
-end
-
-
-
-
-
-
-
-
-
-
- #stop_on_failure= (value) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #stop_on_failure= (value) ⇒ Object
+
+
+
+
+
+
+
Sets the attribute stop_on_failure
-
-
-
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
142
143
-144
-
-
+144
+
+
# File 'lib/test/unit/autorunner.rb', line 142
def stop_on_failure= ( value )
@stop_on_failure = value
-end
-
-
-
-
-
-
-
-
-
-
- #suite ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #suite ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute suite
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
137
138
-139
-
-
+139
+
+
# File 'lib/test/unit/autorunner.rb', line 137
def suite
@suite
-end
-
-
-
-
-
-
-
-
-
-
- #to_run ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #to_run ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute to_run
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
138
139
-140
-
-
+140
+
+
# File 'lib/test/unit/autorunner.rb', line 138
def to_run
@to_run
-end
-
-
-
-
-
-
-
-
-
-
- #workdir ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #workdir ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute workdir
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
140
141
-142
-
-
+142
+
+
# File 'lib/test/unit/autorunner.rb', line 140
def workdir
@workdir
-end
-
-
-
-
-
-
-
-
-
-
Class Method Details
-
-
-
-
-
- .collector (id) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
Class Method Details
+
+
+
+
+
+ .collector (id) ⇒ Object
+
+
+
+
+
+
+
+
41
42
-43
-
-
+43
+
+
# File 'lib/test/unit/autorunner.rb', line 41
def collector ( id )
COLLECTORS [ id . to_s ]
-end
-
-
-
-
-
-
-
-
- .default_runner ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .default_runner ⇒ Object
+
+
+
+
+
+
+
+
28
29
-30
-
-
+30
+
+
# File 'lib/test/unit/autorunner.rb', line 28
def default_runner
runner ( @@default_runner )
-end
-
-
-
-
-
-
-
-
- .default_runner= (id) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .default_runner= (id) ⇒ Object
+
+
+
+
+
+
+
+
32
33
-34
-
-
+34
+
+
# File 'lib/test/unit/autorunner.rb', line 32
def default_runner= ( id )
@@default_runner = id
-end
-
-
-
-
-
-
-
-
- .need_auto_run= (need) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .need_auto_run= (need) ⇒ Object
+
+
+
+
+
+
+
+
78
79
-80
-
-
+80
+
+
# File 'lib/test/unit/autorunner.rb', line 78
def need_auto_run= ( need )
@@need_auto_run = need
-end
-
-
-
-
-
-
-
-
- .need_auto_run? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ .need_auto_run? ⇒ Boolean
+
+
+
+
+
+
+
+
+
74
75
-76
-
-
+76
+
+
# File 'lib/test/unit/autorunner.rb', line 74
def need_auto_run?
@@need_auto_run
-end
-
-
-
-
-
-
-
-
- .prepare (hook = nil, &block) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .prepare (hook = nil, &block) ⇒ Object
+
+
+
+
+
+
+
+
53
54
-55
-
-
+55
+
+
# File 'lib/test/unit/autorunner.rb', line 53
def prepare ( hook = Proc . new )
PREPARE_HOOKS << hook
-end
-
-
-
-
-
-
-
-
- .register_collector (id, collector_builder = nil, &block) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .register_collector (id, collector_builder = nil, &block) ⇒ Object
+
+
+
+
+
+
+
+
36
37
38
-39
-
-
+39
+
+
# File 'lib/test/unit/autorunner.rb', line 36
def register_collector ( id , collector_builder = Proc . new )
COLLECTORS [ id ] = collector_builder
COLLECTORS [ id . to_s ] = collector_builder
-end
-
-
-
-
-
-
-
-
- .register_color_scheme (id, scheme) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .register_color_scheme (id, scheme) ⇒ Object
+
+
+
+
+
+
+
+
45
46
-47
-
-
+47
+
+
# File 'lib/test/unit/autorunner.rb', line 45
def register_color_scheme ( id , scheme )
ColorScheme [ id ] = scheme
-end
-
-
-
-
-
-
-
-
- .register_runner (id, runner_builder = nil, &block) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .register_runner (id, runner_builder = nil, &block) ⇒ Object
+
+
+
+
+
+
+
+
18
19
20
-21
-
-
+21
+
+
# File 'lib/test/unit/autorunner.rb', line 18
def register_runner ( id , runner_builder = Proc . new )
RUNNERS [ id ] = runner_builder
RUNNERS [ id . to_s ] = runner_builder
-end
-
-
-
-
-
-
-
-
- .run (force_standalone = false, default_dir = nil, argv = ARGV, &block) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .run (force_standalone = false, default_dir = nil, argv = ARGV, &block) ⇒ Object
+
+
+
+
+
+
+
+
@@ -2269,9 +2269,9 @@
60
61
62
-63
-
-
+63
+
+
# File 'lib/test/unit/autorunner.rb', line 57
def run ( force_standalone = false , default_dir = nil , argv = ARGV , & block )
@@ -2280,107 +2280,107 @@
r . prepare
r . process_args ( argv )
r . run
-end
-
-
-
-
-
-
-
-
- .runner (id) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .runner (id) ⇒ Object
+
+
+
+
+
+
+
+
23
24
-25
-
-
+25
+
+
# File 'lib/test/unit/autorunner.rb', line 23
def runner ( id )
RUNNERS [ id . to_s ]
-end
-
-
-
-
-
-
-
-
- .setup_option (option_builder = nil, &block) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .setup_option (option_builder = nil, &block) ⇒ Object
+
+
+
+
+
+
+
+
49
50
-51
-
-
+51
+
+
# File 'lib/test/unit/autorunner.rb', line 49
def setup_option ( option_builder = Proc . new )
ADDITIONAL_OPTIONS << option_builder
-end
-
-
-
-
-
-
-
-
- .standalone? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ .standalone? ⇒ Boolean
+
+
+
+
+
+
+
+
+
@@ -2390,9 +2390,9 @@
68
69
70
-71
-
-
+71
+
+
# File 'lib/test/unit/autorunner.rb', line 65
def standalone?
@@ -2401,83 +2401,83 @@
return false if ( klass < TestCase )
end
true
-end
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #debug_on_failure? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #debug_on_failure? ⇒ Boolean
+
+
+
+
+
+
+
+
+
177
178
-179
-
-
+179
+
+
# File 'lib/test/unit/autorunner.rb', line 177
def debug_on_failure?
@debug_on_failure
-end
-
-
-
-
-
-
-
-
- #keyword_display (keywords) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #keyword_display (keywords) ⇒ Object
+
+
+
+
+
+
+
+
@@ -2497,9 +2497,9 @@
416
417
418
-419
-
-
+419
+
+
# File 'lib/test/unit/autorunner.rb', line 403
def keyword_display ( keywords )
@@ -2518,24 +2518,24 @@
i += 1
keyword . sub ( / ^(.{ #{ n } })([A-Za-z]+)(?=\w*$) / , ' \\1[\\2] ' )
end . join ( " , " )
-end
-
-
-
-
-
-
-
-
- #load_config (file) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #load_config (file) ⇒ Object
+
+
+
+
+
+
+
+
@@ -2559,9 +2559,9 @@
456
457
458
-459
-
-
+459
+
+
# File 'lib/test/unit/autorunner.rb', line 439
def load_config ( file )
@@ -2584,24 +2584,24 @@
end
end
@runner_options = @runner_options . merge ( runner_options )
-end
-
-
-
-
-
-
-
-
- #options ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #options ⇒ Object
+
+
+
+
+
+
+
+
@@ -2817,9 +2817,9 @@
398
399
400
-401
-
-
+401
+
+
# File 'lib/test/unit/autorunner.rb', line 189
def options
@@ -3034,24 +3034,24 @@
o . on_tail
end
-end
-
-
-
-
-
-
-
-
- #prepare ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #prepare ⇒ Object
+
+
+
+
+
+
+
+
@@ -3059,33 +3059,33 @@
172
173
174
-175
-
-
+175
+
+
# File 'lib/test/unit/autorunner.rb', line 171
def prepare
PREPARE_HOOKS . each do | handler |
handler . call ( self )
end
-end
-
-
-
-
-
-
-
-
- #process_args (args = ARGV) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #process_args (args = ARGV) ⇒ Object
+
+
+
+
+
+
+
+
@@ -3099,9 +3099,9 @@
184
185
186
-187
-
-
+187
+
+
# File 'lib/test/unit/autorunner.rb', line 177
def process_args ( args = ARGV )
@@ -3114,24 +3114,24 @@
exit ( false )
end
not @to_run . empty?
-end
-
-
-
-
-
-
-
-
- #run ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #run ⇒ Object
+
+
+
+
+
+
+
+
@@ -3151,9 +3151,9 @@
434
435
436
-437
-
-
+437
+
+
# File 'lib/test/unit/autorunner.rb', line 421
def run
@@ -3172,75 +3172,75 @@
change_work_directory do
runner . run ( suite , @runner_options ) . passed?
end
-end
-
-
-
-
-
-
-
-
- #stop_on_failure? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ #stop_on_failure? ⇒ Boolean
+
+
+
+
+
+
+
+
+
167
168
-169
-
-
+169
+
+
# File 'lib/test/unit/autorunner.rb', line 167
def stop_on_failure?
@stop_on_failure
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -3276,6 +3276,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/AutoRunner/StopOnFailureListener.html b/test-unit/ja/Test/Unit/AutoRunner/StopOnFailureListener.html
index e5988f2b..262a1683 100644
--- a/test-unit/ja/Test/Unit/AutoRunner/StopOnFailureListener.html
+++ b/test-unit/ja/Test/Unit/AutoRunner/StopOnFailureListener.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::AutoRunner::StopOnFailureListener
-
- — test-unit
-
+
+ Class: Test::Unit::AutoRunner::StopOnFailureListener
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/AutoRunnerLoader.html b/test-unit/ja/Test/Unit/AutoRunnerLoader.html
index b982ef15..1e499d1d 100644
--- a/test-unit/ja/Test/Unit/AutoRunnerLoader.html
+++ b/test-unit/ja/Test/Unit/AutoRunnerLoader.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::AutoRunnerLoader
-
- — test-unit
-
+
+ Module: Test::Unit::AutoRunnerLoader
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/CodeSnippetFetcher.html b/test-unit/ja/Test/Unit/CodeSnippetFetcher.html
index a09cfd9d..bbf89090 100644
--- a/test-unit/ja/Test/Unit/CodeSnippetFetcher.html
+++ b/test-unit/ja/Test/Unit/CodeSnippetFetcher.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::CodeSnippetFetcher
-
- — test-unit
-
+
+ Class: Test::Unit::CodeSnippetFetcher
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Collector.html b/test-unit/ja/Test/Unit/Collector.html
index da0317ac..8223b748 100644
--- a/test-unit/ja/Test/Unit/Collector.html
+++ b/test-unit/ja/Test/Unit/Collector.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::Collector
-
- — test-unit
-
+
+ Module: Test::Unit::Collector
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #sort (suites) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #add_suite (destination, suite) ⇒ Object
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #add_suite (destination, suite) ⇒ Object
+
+
+
+
+
+
+
+
@@ -313,9 +313,9 @@
20
21
22
-23
-
-
+23
+
+
# File 'lib/test/unit/collector.rb', line 17
def add_suite ( destination , suite )
@@ -324,24 +324,24 @@
end
suite . delete_tests ( to_delete )
destination << suite unless suite . empty?
-end
-
-
-
-
-
-
-
-
- #add_test_cases (suite, test_cases) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #add_test_cases (suite, test_cases) ⇒ Object
+
+
+
+
+
+
+
+
@@ -360,9 +360,9 @@
37
38
39
-40
-
-
+40
+
+
# File 'lib/test/unit/collector.rb', line 25
def add_test_cases ( suite , test_cases )
@@ -380,24 +380,24 @@
root_test_cases . each do | root_test_case |
add_test_case ( suite , root_test_case , children_map )
end
-end
-
-
-
-
-
-
-
-
- #filter= (filters) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #filter= (filters) ⇒ Object
+
+
+
+
+
+
+
+
@@ -408,9 +408,9 @@
12
13
14
-15
-
-
+15
+
+
# File 'lib/test/unit/collector.rb', line 8
def filter= ( filters )
@@ -420,47 +420,47 @@
when Array
filters
end
-end
-
-
-
-
+
end
+
+
+
+
+
+
+
+
+ #include? (test) ⇒ Boolean
+
+
+
+
+
+
+
-
-
-
- #include? (test) ⇒ Boolean
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -470,9 +470,9 @@
45
46
47
-48
-
-
+48
+
+
# File 'lib/test/unit/collector.rb', line 42
def include? ( test )
@@ -481,54 +481,54 @@
return false if filter [ test ] == false
end
true
-end
-
-
-
-
-
-
-
-
- #initialize ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #initialize ⇒ Object
+
+
+
+
+
+
+
+
4
5
-6
-
-
+6
+
+
# File 'lib/test/unit/collector.rb', line 4
def initialize
@filters = [ ]
-end
-
-
-
-
-
-
-
-
- #sort (suites) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #sort (suites) ⇒ Object
+
+
+
+
+
+
+
+
@@ -536,31 +536,31 @@
51
52
53
-54
-
-
+54
+
+
# File 'lib/test/unit/collector.rb', line 50
def sort ( suites )
suites . sort_by do | suite |
[ suite . priority , suite . name || suite . to_s ]
end
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -596,6 +596,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Collector/Descendant.html b/test-unit/ja/Test/Unit/Collector/Descendant.html
index 32d0c36b..cb6d48e6 100644
--- a/test-unit/ja/Test/Unit/Collector/Descendant.html
+++ b/test-unit/ja/Test/Unit/Collector/Descendant.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Collector::Descendant
-
- — test-unit
-
+
+ Class: Test::Unit::Collector::Descendant
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Collector/Dir.html b/test-unit/ja/Test/Unit/Collector/Dir.html
index ca9b15a8..3736b8a2 100644
--- a/test-unit/ja/Test/Unit/Collector/Dir.html
+++ b/test-unit/ja/Test/Unit/Collector/Dir.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Collector::Dir
-
- — test-unit
-
+
+ Class: Test::Unit::Collector::Dir
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #initialize (dir = ::Dir, file = ::File, object_space = ::ObjectSpace, req = nil) ⇒ Dir
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
- #realdir (path) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #realdir (path) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #recursive_collect (name, already_gathered) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #recursive_collect (name, already_gathered) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #add_suite , #add_test_cases , #filter= , #include? , #sort
-
-
Constructor Details
-
-
-
-
- #initialize (dir = ::Dir, file = ::File, object_space = ::ObjectSpace, req = nil) ⇒ Dir
-
-
-
-
-
-
-
-
Returns a new instance of Dir.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #add_suite , #add_test_cases , #filter= , #include? , #sort
+
+
Constructor Details
+
+
+
+
+ #initialize (dir = ::Dir, file = ::File, object_space = ::ObjectSpace, req = nil) ⇒ Dir
+
+
+
+
+
+
+
+
Returns a new instance of Dir
+
+
+
+
+
+
+
+
+
+
@@ -427,9 +427,9 @@
19
20
21
-22
-
-
+22
+
+
# File 'lib/test/unit/collector/dir.rb', line 13
def initialize ( dir = :: Dir , file = :: File , object_space = :: ObjectSpace , req = nil )
@@ -441,162 +441,162 @@
@pattern = [ / \btest_.*\.rb\Z /m ]
@exclude = [ ]
@base = nil
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #base ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #base ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute base
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
11
12
-13
-
-
+13
+
+
# File 'lib/test/unit/collector/dir.rb', line 11
def base
@base
-end
-
-
-
-
-
-
-
-
-
-
- #exclude ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #exclude ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute exclude
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
10
11
-12
-
-
+12
+
+
# File 'lib/test/unit/collector/dir.rb', line 10
def exclude
@exclude
-end
-
-
-
-
-
-
-
-
-
-
- #pattern ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #pattern ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute pattern
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
10
11
-12
-
-
+12
+
+
# File 'lib/test/unit/collector/dir.rb', line 10
def pattern
@pattern
-end
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #collect (*from) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #collect (*from) ⇒ Object
+
+
+
+
+
+
+
+
@@ -619,9 +619,9 @@
40
41
42
-43
-
-
+43
+
+
# File 'lib/test/unit/collector/dir.rb', line 24
def collect ( * from )
@@ -643,24 +643,24 @@
end
ensure
$: . delete_at ( $: . rindex ( basedir ) ) if basedir
-end
-
-
-
-
-
-
-
-
- #collect_file (name, suites, already_gathered) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #collect_file (name, suites, already_gathered) ⇒ Object
+
+
+
+
+
+
+
+
@@ -675,9 +675,9 @@
93
94
95
-96
-
-
+96
+
+
# File 'lib/test/unit/collector/dir.rb', line 85
def collect_file ( name , suites , already_gathered )
@@ -691,24 +691,24 @@
find_test_cases ( already_gathered ) . each { | t | add_suite ( suites , t . suite ) }
ensure
$: . delete_at ( $: . rindex ( dir ) ) if ( dir )
-end
-
-
-
-
-
-
-
-
- #find_test_cases (ignore = []) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #find_test_cases (ignore = []) ⇒ Object
+
+
+
+
+
+
+
+
@@ -719,9 +719,9 @@
49
50
51
-52
-
-
+52
+
+
# File 'lib/test/unit/collector/dir.rb', line 45
def find_test_cases ( ignore = [ ] )
@@ -731,24 +731,24 @@
end
ignore . concat ( cases )
cases
-end
-
-
-
-
-
-
-
-
- #realdir (path) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #realdir (path) ⇒ Object
+
+
+
+
+
+
+
+
@@ -758,9 +758,9 @@
101
102
103
-104
-
-
+104
+
+
# File 'lib/test/unit/collector/dir.rb', line 98
def realdir ( path )
@@ -769,24 +769,24 @@
else
path
end
-end
-
-
-
-
-
-
-
-
- #recursive_collect (name, already_gathered) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #recursive_collect (name, already_gathered) ⇒ Object
+
+
+
+
+
+
+
+
@@ -819,9 +819,9 @@
80
81
82
-83
-
-
+83
+
+
# File 'lib/test/unit/collector/dir.rb', line 54
def recursive_collect ( name , already_gathered )
@@ -853,22 +853,22 @@
suite = TestSuite . new ( @file . basename ( name ) )
sort ( sub_suites ) . each { | s | suite << s }
suite
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -904,6 +904,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Collector/Load.html b/test-unit/ja/Test/Unit/Collector/Load.html
index 5d4b860d..c091e0d1 100644
--- a/test-unit/ja/Test/Unit/Collector/Load.html
+++ b/test-unit/ja/Test/Unit/Collector/Load.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Collector::Load
-
- — test-unit
-
+
+ Class: Test::Unit::Collector::Load
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #find_test_cases (ignore = []) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #initialize ⇒ Load
-
-
-
-
-
-
- constructor
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #initialize ⇒ Load
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
A new instance of Load.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #add_suite , #add_test_cases , #filter= , #include? , #sort
-
-
Constructor Details
-
-
-
-
- #initialize ⇒ Load
-
-
-
-
-
-
-
-
Returns a new instance of Load.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #add_suite , #add_test_cases , #filter= , #include? , #sort
+
+
Constructor Details
+
+
+
+
+ #initialize ⇒ Load
+
+
+
+
+
+
+
+
Returns a new instance of Load
+
+
+
+
+
+
+
+
+
+
@@ -384,9 +384,9 @@
21
22
23
-24
-
-
+24
+
+
# File 'lib/test/unit/collector/load.rb', line 15
def initialize
@@ -398,204 +398,204 @@
@base = nil
@default_test_paths = [ ]
@require_failed_infos = [ ]
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #base ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #base ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute base
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
12
13
-14
-
-
+14
+
+
# File 'lib/test/unit/collector/load.rb', line 12
def base
@base
-end
-
-
-
-
-
-
-
-
-
-
- #default_test_paths ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #default_test_paths ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute default_test_paths
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
13
14
-15
-
-
+15
+
+
# File 'lib/test/unit/collector/load.rb', line 13
def default_test_paths
@default_test_paths
-end
-
-
-
-
-
-
-
-
-
-
- #excludes ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #excludes ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute excludes
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
12
13
-14
-
-
+14
+
+
# File 'lib/test/unit/collector/load.rb', line 12
def excludes
@excludes
-end
-
-
-
-
-
-
-
-
-
-
- #patterns ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #patterns ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute patterns
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
12
13
-14
-
-
+14
+
+
# File 'lib/test/unit/collector/load.rb', line 12
def patterns
@patterns
-end
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #collect (*froms) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #collect (*froms) ⇒ Object
+
+
+
+
+
+
+
+
@@ -627,9 +627,9 @@
62
63
64
-65
-
-
+65
+
+
# File 'lib/test/unit/collector/load.rb', line 37
def collect ( * froms )
@@ -660,24 +660,24 @@
test_suite
end
-end
-
-
-
-
-
-
-
-
- #find_test_cases (ignore = []) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #find_test_cases (ignore = []) ⇒ Object
+
+
+
+
+
+
+
+
@@ -688,9 +688,9 @@
71
72
73
-74
-
-
+74
+
+
# File 'lib/test/unit/collector/load.rb', line 67
def find_test_cases ( ignore = [ ] )
@@ -700,22 +700,22 @@
end
ignore . concat ( test_cases )
test_cases
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -751,6 +751,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Collector/ObjectSpace.html b/test-unit/ja/Test/Unit/Collector/ObjectSpace.html
index 97c4a1be..a3e51707 100644
--- a/test-unit/ja/Test/Unit/Collector/ObjectSpace.html
+++ b/test-unit/ja/Test/Unit/Collector/ObjectSpace.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Collector::ObjectSpace
-
- — test-unit
-
+
+ Class: Test::Unit::Collector::ObjectSpace
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Collector/XML.html b/test-unit/ja/Test/Unit/Collector/XML.html
index 8406ac14..8d97893b 100644
--- a/test-unit/ja/Test/Unit/Collector/XML.html
+++ b/test-unit/ja/Test/Unit/Collector/XML.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Collector::XML
-
- — test-unit
-
+
+ Class: Test::Unit::Collector::XML
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Collector/XML/Listener.html b/test-unit/ja/Test/Unit/Collector/XML/Listener.html
index 925ba9fd..e60c0f0e 100644
--- a/test-unit/ja/Test/Unit/Collector/XML/Listener.html
+++ b/test-unit/ja/Test/Unit/Collector/XML/Listener.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Collector::XML::Listener
-
- — test-unit
-
+
+ Class: Test::Unit::Collector::XML::Listener
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -646,6 +646,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Color.html b/test-unit/ja/Test/Unit/Color.html
index 69516398..3e36570e 100644
--- a/test-unit/ja/Test/Unit/Color.html
+++ b/test-unit/ja/Test/Unit/Color.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Color
-
- — test-unit
-
+
+ Class: Test::Unit::Color
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #bold? ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #escape_sequence ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #escape_sequence ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #foreground? ⇒ Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #foreground? ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #initialize (name, options = {}) ⇒ Color
-
-
-
-
-
-
- constructor
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #initialize (name, options = {}) ⇒ Color
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
A new instance of Color.
-
-
-
-
-
-
-
-
- #intensity? ⇒ Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #intensity? ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #italic? ⇒ Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #italic? ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #sequence ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #sequence ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #underline? ⇒ Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #underline? ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
Constructor Details
-
-
-
-
- #initialize (name, options = {}) ⇒ Color
-
-
-
-
-
-
-
-
Returns a new instance of Color.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
Constructor Details
+
+
+
+
+ #initialize (name, options = {}) ⇒ Color
+
+
+
+
+
+
+
+
Returns a new instance of Color
+
+
+
+
+
+
+
+
+
+
@@ -537,9 +537,9 @@
40
41
42
-43
-
-
+43
+
+
# File 'lib/test/unit/color.rb', line 28
def initialize ( name , options = { } )
@@ -557,78 +557,78 @@
@bold = options [ :bold ]
@italic = options [ :italic ]
@underline = options [ :underline ]
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #name ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #name ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute name
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
27
28
-29
-
-
+29
+
+
# File 'lib/test/unit/color.rb', line 27
def name
@name
-end
-
-
-
-
-
-
-
-
-
-
Class Method Details
-
-
-
-
-
- .parse_256_color (string) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
Class Method Details
+
+
+
+
+
+ .parse_256_color (string) ⇒ Object
+
+
+
+
+
+
+
+
@@ -642,9 +642,9 @@
18
19
20
-21
-
-
+21
+
+
# File 'lib/test/unit/color.rb', line 11
def parse_256_color ( string )
@@ -657,60 +657,60 @@
" are in 0-5: #{ string . inspect } "
raise ParseError , message
end
-end
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #+ (other) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #+ (other) ⇒ Object
+
+
+
+
+
+
+
+
104
105
-106
-
-
+106
+
+
# File 'lib/test/unit/color.rb', line 104
def + ( other )
MixColor . new ( [ self , other ] )
-end
-
-
-
-
-
-
-
-
- #== (other) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #== (other) ⇒ Object
+
+
+
+
+
+
+
+
@@ -720,9 +720,9 @@
72
73
74
-75
-
-
+75
+
+
# File 'lib/test/unit/color.rb', line 69
def == ( other )
@@ -731,319 +731,319 @@
bold? , italic? , underline? ] ==
[ other . name , other . background? , other . intensity? ,
other . bold? , other . italic? , other . underline? ]
-end
-
-
-
-
-
-
-
-
- #background? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ #background? ⇒ Boolean
+
+
+
+
+
+
+
+
+
49
50
-51
-
-
+51
+
+
# File 'lib/test/unit/color.rb', line 49
def background?
@background
-end
-
-
-
-
-
-
-
-
- #bold? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ #bold? ⇒ Boolean
+
+
+
+
+
+
+
+
+
57
58
-59
-
-
+59
+
+
# File 'lib/test/unit/color.rb', line 57
def bold?
@bold
-end
-
-
-
-
-
-
-
-
- #escape_sequence ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #escape_sequence ⇒ Object
+
+
+
+
+
+
+
+
100
101
-102
-
-
+102
+
+
# File 'lib/test/unit/color.rb', line 100
def escape_sequence
" \e[ #{ sequence . join ( ' ; ' ) } m "
-end
-
-
-
-
-
-
-
-
- #foreground? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ #foreground? ⇒ Boolean
+
+
+
+
+
+
+
+
+
45
46
-47
-
-
+47
+
+
# File 'lib/test/unit/color.rb', line 45
def foreground?
not background?
-end
-
-
-
-
-
-
-
-
- #intensity? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ #intensity? ⇒ Boolean
+
+
+
+
+
+
+
+
+
53
54
-55
-
-
+55
+
+
# File 'lib/test/unit/color.rb', line 53
def intensity?
@intensity
-end
-
-
-
-
-
-
-
-
- #italic? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ #italic? ⇒ Boolean
+
+
+
+
+
+
+
+
+
61
62
-63
-
-
+63
+
+
# File 'lib/test/unit/color.rb', line 61
def italic?
@italic
-end
-
-
-
-
-
-
-
-
- #sequence ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #sequence ⇒ Object
+
+
+
+
+
+
+
+
@@ -1068,9 +1068,9 @@
95
96
97
-98
-
-
+98
+
+
# File 'lib/test/unit/color.rb', line 77
def sequence
@@ -1094,75 +1094,75 @@
sequence << " 3 " if italic?
sequence << " 4 " if underline?
sequence
-end
-
-
-
-
-
-
-
-
- #underline? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ #underline? ⇒ Boolean
+
+
+
+
+
+
+
+
+
65
66
-67
-
-
+67
+
+
# File 'lib/test/unit/color.rb', line 65
def underline?
@underline
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -1198,6 +1198,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Color/Error.html b/test-unit/ja/Test/Unit/Color/Error.html
index 54a4fec2..2afcd294 100644
--- a/test-unit/ja/Test/Unit/Color/Error.html
+++ b/test-unit/ja/Test/Unit/Color/Error.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Exception: Test::Unit::Color::Error
-
- — test-unit
-
+
+ Exception: Test::Unit::Color::Error
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Color/ParseError.html b/test-unit/ja/Test/Unit/Color/ParseError.html
index 34e75e4c..1357c332 100644
--- a/test-unit/ja/Test/Unit/Color/ParseError.html
+++ b/test-unit/ja/Test/Unit/Color/ParseError.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Exception: Test::Unit::Color::ParseError
-
- — test-unit
-
+
+ Exception: Test::Unit::Color::ParseError
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/ColorScheme.html b/test-unit/ja/Test/Unit/ColorScheme.html
index d0e92c97..9b1fe55c 100644
--- a/test-unit/ja/Test/Unit/ColorScheme.html
+++ b/test-unit/ja/Test/Unit/ColorScheme.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::ColorScheme
-
- — test-unit
-
+
+ Class: Test::Unit::ColorScheme
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .default_for_256_colors ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .default_for_8_colors ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .default_for_8_colors ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- Instance Method Summary
- collapse
-
-
-
+
+
+ Instance Method Summary
+ collapse
+
+
+
-
-
-
-
-
Constructor Details
-
-
-
-
- #initialize (scheme_spec) ⇒ ColorScheme
-
-
-
-
-
-
-
-
Returns a new instance of ColorScheme.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
Constructor Details
+
+
+
+
+ #initialize (scheme_spec) ⇒ ColorScheme
+
+
+
+
+
+
+
+
Returns a new instance of ColorScheme
+
+
+
+
+
+
+
+
+
+
@@ -518,9 +518,9 @@
153
154
155
-156
-
-
+156
+
+
# File 'lib/test/unit/color-scheme.rb', line 151
def initialize ( scheme_spec )
@@ -528,61 +528,61 @@
scheme_spec . each do | key , color_spec |
self [ key ] = color_spec
end
-end
-
-
-
-
-
-
-
-
-
-
Class Method Details
-
-
-
-
-
- .[] (id) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
Class Method Details
+
+
+
+
+
+ .[] (id) ⇒ Object
+
+
+
+
+
+
+
+
96
97
-98
-
-
+98
+
+
# File 'lib/test/unit/color-scheme.rb', line 96
def [] ( id )
@@schemes [ id . to_s ]
-end
-
-
-
-
-
-
-
-
- .[]= (id, scheme_or_spec) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .[]= (id, scheme_or_spec) ⇒ Object
+
+
+
+
+
+
+
+
@@ -593,9 +593,9 @@
104
105
106
-107
-
-
+107
+
+
# File 'lib/test/unit/color-scheme.rb', line 100
def []= ( id , scheme_or_spec )
@@ -605,54 +605,54 @@
scheme = new ( scheme_or_spec )
end
@@schemes [ id . to_s ] = scheme
-end
-
-
-
-
-
-
-
-
- .all ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .all ⇒ Object
+
+
+
+
+
+
+
+
92
93
-94
-
-
+94
+
+
# File 'lib/test/unit/color-scheme.rb', line 92
def all
@@schemes . merge ( " default " => default )
-end
-
-
-
-
-
-
-
-
- .available_colors ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .available_colors ⇒ Object
+
+
+
+
+
+
+
+
@@ -661,9 +661,9 @@
111
112
113
-114
-
-
+114
+
+
# File 'lib/test/unit/color-scheme.rb', line 109
def available_colors
@@ -671,24 +671,24 @@
guess_available_colors_from_colorterm_env ||
guess_available_colors_from_term_env ||
8
-end
-
-
-
-
-
-
-
-
- .default ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .default ⇒ Object
+
+
+
+
+
+
+
+
@@ -698,9 +698,9 @@
12
13
14
-15
-
-
+15
+
+
# File 'lib/test/unit/color-scheme.rb', line 9
def default
@@ -709,24 +709,24 @@
else
default_for_8_colors
end
-end
-
-
-
-
-
-
-
-
- .default_for_256_colors ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .default_for_256_colors ⇒ Object
+
+
+
+
+
+
+
+
@@ -764,9 +764,9 @@
86
87
88
-89
-
-
+89
+
+
# File 'lib/test/unit/color-scheme.rb', line 55
def default_for_256_colors
@@ -803,24 +803,24 @@
Color . new ( " 555 " , :bold => true ) ,
" diff-deleted " => Color . new ( " 030 " , :background => true ) +
Color . new ( " 555 " , :bold => true ) )
-end
-
-
-
-
-
-
-
-
- .default_for_8_colors ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .default_for_8_colors ⇒ Object
+
+
+
+
+
+
+
+
@@ -858,9 +858,9 @@
49
50
51
-52
-
-
+52
+
+
# File 'lib/test/unit/color-scheme.rb', line 18
def default_for_8_colors
@@ -897,120 +897,120 @@
Color . new ( " white " , :bold => true ) ,
" diff-deleted " => Color . new ( " green " , :background => true ) +
Color . new ( " white " , :bold => true ) )
-end
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #[] (name) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #[] (name) ⇒ Object
+
+
+
+
+
+
+
+
158
159
-160
-
-
+160
+
+
# File 'lib/test/unit/color-scheme.rb', line 158
def [] ( name )
@scheme [ name . to_s ]
-end
-
-
-
-
-
-
-
-
- #[]= (name, color_spec) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #[]= (name, color_spec) ⇒ Object
+
+
+
+
+
+
+
+
162
163
-164
-
-
+164
+
+
# File 'lib/test/unit/color-scheme.rb', line 162
def []= ( name , color_spec )
@scheme [ name . to_s ] = make_color ( color_spec )
-end
-
-
-
-
-
-
-
-
- #each (&block) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #each (&block) ⇒ Object
+
+
+
+
+
+
+
+
166
167
-168
-
-
+168
+
+
# File 'lib/test/unit/color-scheme.rb', line 166
def each ( & block )
@scheme . each ( & block )
-end
-
-
-
-
-
-
-
-
- #to_hash ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #to_hash ⇒ Object
+
+
+
+
+
+
+
+
@@ -1020,9 +1020,9 @@
173
174
175
-176
-
-
+176
+
+
# File 'lib/test/unit/color-scheme.rb', line 170
def to_hash
@@ -1031,22 +1031,22 @@
hash [ key ] = color
end
hash
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -1082,6 +1082,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Data.html b/test-unit/ja/Test/Unit/Data.html
index 633e524c..2ac8085e 100644
--- a/test-unit/ja/Test/Unit/Data.html
+++ b/test-unit/ja/Test/Unit/Data.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::Data
-
- — test-unit
-
+
+ Module: Test::Unit::Data
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Data/ClassMethods.html b/test-unit/ja/Test/Unit/Data/ClassMethods.html
index 19d20e02..ebfee771 100644
--- a/test-unit/ja/Test/Unit/Data/ClassMethods.html
+++ b/test-unit/ja/Test/Unit/Data/ClassMethods.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::Data::ClassMethods
-
- — test-unit
-
+
+ Module: Test::Unit::Data::ClassMethods
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
- #data (data_set, options = {}) ⇒ Object
-
-
+
+
+
+
+ #data (data_set, options = {}) ⇒ Object
+
+
-Parameters:
-
-
-
-
- data_set
-
-
- (Hash )
-
-
-
- —
+end
+
+
+Parameters:
+
+
+
+
+ data_set
+
+
+ (Hash )
+
+
+
+ —
specify test data as a Hash that
key is test label and value is test data.
-
-
-
-
-
-
- options
-
-
- (Hash )
-
-
- (defaults to: {} )
-
-
- —
+
+
+
+
+
+
+ options
+
+
+ (Hash )
+
+
+ (defaults to: {} )
+
+
+ —
-
-
-
-
-
-
-
-
-
-
- Options Hash (options ):
-
-
-
- :keep
- (Boolean )
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ Options Hash (options ):
+
+
+
+ :keep
+ (Boolean )
+
+
+
+
— whether or not to use
this data in the following test methods
-
-
-
-
-
-
-
-
-
-
-
-
-
- #data (options = {}, &block) ⇒ Object
-
-
+
+
+
+
+ #data (options = {}, &block) ⇒ Object
+
+
-Parameters:
-
-
-
-
- options
-
-
- (Hash )
-
-
- (defaults to: {} )
-
-
- —
+end
+
+
+Parameters:
+
+
+
+
+ options
+
+
+ (Hash )
+
+
+ (defaults to: {} )
+
+
+ —
-
-
-
-
-
-
-
-
- Options Hash (options ):
-
-
-
- :keep
- (Boolean )
-
-
-
-
+
+
+
+
+
+
+
+
+
+ Options Hash (options ):
+
+
+
+ :keep
+ (Boolean )
+
+
+
+
— whether or not to use
this data in the following test methods
-
-
-
-
-
-
-
-
-
-Yield Returns:
-
-
-
-
-
- (Hash<String, Object> )
-
-
-
- —
+
+
+
+
+
+
+
+
+
+Yield Returns:
+
+
+
+
+
+ (Hash<String, Object> )
+
+
+
+ —
return test data set
as a Hash that key is test label and value is test data.
-
-
-
-
-
-
-
-
-
-
-
- #data (options = {}, &block) ⇒ Object
-
+
+
+
+
+ #data (options = {}, &block) ⇒ Object
+
+
Generates test matrix from variable and patterns pairs.
-
-
-
-
-
+
-Parameters:
-
-
-
-
- options
-
-
- (Hash )
-
-
- (defaults to: {} )
-
-
- —
+end
+
+
+Parameters:
+
+
+
+
+ options
+
+
+ (Hash )
+
+
+ (defaults to: {} )
+
+
+ —
-
-
-
-
-
-
-
-
- Options Hash (options ):
-
-
-
- :keep
- (Boolean )
-
-
-
-
+
+
+
+
+
+
+
+
+
+ Options Hash (options ):
+
+
+
+ :keep
+ (Boolean )
+
+
+
+
— whether or not to use
this data in the following test methods
-
-
-
-
-
-
-
-
-
-Yield Returns:
-
-
-
-
-
- (Array<Symbol, Array> )
-
-
-
- —
+
+
+
+
+
+
+
+
+
+Yield Returns:
+
+
+
+
+
+ (Array<Symbol, Array> )
+
+
+
+ —
return test data set
as an Array of variable and patterns.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -798,9 +798,9 @@
68
69
70
-71
-
-
+71
+
+
# File 'lib/test/unit/data.rb', line 55
def data ( * arguments , & block )
@@ -819,125 +819,125 @@
end
current_data = current_attribute ( :data ) [ :value ] || [ ]
attribute ( :data , current_data + [ data_set ] )
-end
-
-
-
-
-
-
-
-
- #load_data (file_name) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #load_data (file_name) ⇒ Object
+
+
+
+
+
+
+
データ駆動テスト機能のドキュメントを追加しました。
Load test data from the file. This is shorthand to load
test data from file. If you want to load complex file, you
can use #data with block.
-
-
-
-
-
+
-
Parameters:
-
-
-
-
- file_name
-
-
- (String )
-
-
-
- —
+end
+
+
+Parameters:
+
+
+
+
+ file_name
+
+
+ (String )
+
+
+
+ —
データファイルのフルパスを指定します。ファイルフォーマットはファイルの拡張子から自動的に判別します。
-
-
-
-
-
-
-Raises:
-
-
-
-
-
- (ArgumentError )
-
-
-
- —
+
+
+
+
+
+
+Raises:
+
+
+
+
+
+ (ArgumentError )
+
+
+
+ —
file_name がサポートされていないファイルフォーマットのときに発生します。
-
-
-
-
-
-
- See Also:
-
-
-
-
-
+
+
+
+
+
+
+ See Also:
+
+
+
+
+
90
91
92
-93
-
-
+93
+
+
# File 'lib/test/unit/data.rb', line 90
def load_data ( file_name )
loader = Loader . new ( self )
loader . load ( file_name )
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -973,6 +973,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Data/ClassMethods/Loader.html b/test-unit/ja/Test/Unit/Data/ClassMethods/Loader.html
index 5da0b7bc..13d16ae7 100644
--- a/test-unit/ja/Test/Unit/Data/ClassMethods/Loader.html
+++ b/test-unit/ja/Test/Unit/Data/ClassMethods/Loader.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Data::ClassMethods::Loader
-
- — test-unit
-
+
+ Class: Test::Unit::Data::ClassMethods::Loader
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+end
+
+
+
+
+
+
+
@@ -481,9 +481,9 @@
161
162
163
-164
-
-
+164
+
+
# File 'lib/test/unit/data.rb', line 149
def load_csv ( file_name )
@@ -501,45 +501,45 @@
set_test_data ( , row )
end
-end
-
-
-
-
-
-
-
-
- #load_tsv (file_name) ⇒ Object
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
+
end
+
+
+
+
+
+
+
+
+ #load_tsv (file_name) ⇒ Object
+
+
+
+
+
+
+
+
+ This method is part of a private API.
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
+
TSVファイルからデータを読み込みます。
以下の2種類のサンプルのようなTSVファイルを使用できます。
一つ目は、一行目の最初のカラムが”label”という文字列であるものです。
もう一つは、ヘッダ行のないファイルです。
-
-
-
-
-
+
+
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
@@ -605,9 +605,9 @@
224
225
226
-227
-
-
+227
+
+
# File 'lib/test/unit/data.rb', line 195
def load_tsv ( file_name )
@@ -642,22 +642,22 @@
set_test_data ( , row )
end
end
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -693,6 +693,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/DataSets.html b/test-unit/ja/Test/Unit/DataSets.html
index 15b062ad..2ef63825 100644
--- a/test-unit/ja/Test/Unit/DataSets.html
+++ b/test-unit/ja/Test/Unit/DataSets.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::DataSets
-
- — test-unit
-
+
+ Class: Test::Unit::DataSets
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #hash ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #have_keep? ⇒ Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #have_keep? ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #initialize ⇒ DataSets
-
-
-
-
-
-
- constructor
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #initialize ⇒ DataSets
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
A new instance of DataSets.
-
-
-
-
-
-
-
-
- #keep ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #keep ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
Constructor Details
-
-
-
-
- #initialize ⇒ DataSets
-
-
-
-
-
-
-
-
Returns a new instance of DataSets.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
Constructor Details
+
+
+
+
+ #initialize ⇒ DataSets
+
+
+
+
+
+
+
+
Returns a new instance of DataSets
+
+
+
+
+
+
+
+
+
+
@@ -388,70 +388,70 @@
5
6
7
-8
-
-
+8
+
+
# File 'lib/test/unit/data-sets.rb', line 4
def initialize
@variables = [ ]
@procs = [ ]
@value_sets = [ ]
-end
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #<< (data_set) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #<< (data_set) ⇒ Object
+
+
+
+
+
+
+
+
21
22
-23
-
-
+23
+
+
# File 'lib/test/unit/data-sets.rb', line 21
def << ( data_set )
add ( data_set )
-end
-
-
-
-
-
-
-
-
- #== (other) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #== (other) ⇒ Object
+
+
+
+
+
+
+
+
@@ -459,33 +459,33 @@
68
69
70
-71
-
-
+71
+
+
# File 'lib/test/unit/data-sets.rb', line 67
def == ( other )
@variables == other . instance_variable_get ( :@variables ) and
@procs == other . instance_variable_get ( :@procs ) and
@value_sets == other . instance_variable_get ( :@value_sets )
-end
-
-
-
-
-
-
-
-
- #add (data_set, options = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #add (data_set, options = nil) ⇒ Object
+
+
+
+
+
+
+
+
@@ -498,9 +498,9 @@
16
17
18
-19
-
-
+19
+
+
# File 'lib/test/unit/data-sets.rb', line 10
def add ( data_set , options = nil )
@@ -512,24 +512,24 @@
else
@value_sets << [ data_set , options ]
end
-end
-
-
-
-
-
-
-
-
- #each ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #each ⇒ Object
+
+
+
+
+
+
+
+
@@ -555,9 +555,9 @@
62
63
64
-65
-
-
+65
+
+
# File 'lib/test/unit/data-sets.rb', line 43
def each
@@ -582,130 +582,130 @@
each_pattern ( variables ) do | label , data |
yield ( label , data )
end
-end
-
-
-
-
-
-
-
-
- #eql? (other) ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ #eql? (other) ⇒ Boolean
+
+
+
+
+
+
+
+
+
73
74
-75
-
-
+75
+
+
# File 'lib/test/unit/data-sets.rb', line 73
def eql? ( other )
self == other
-end
-
-
-
-
-
-
-
-
- #hash ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #hash ⇒ Object
+
+
+
+
+
+
+
+
77
78
-79
-
-
+79
+
+
# File 'lib/test/unit/data-sets.rb', line 77
def hash
[ @variables , @procs , @value_sets ] . hash
-end
-
-
-
-
-
-
-
-
- #have_keep? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ #have_keep? ⇒ Boolean
+
+
+
+
+
+
+
+
+
@@ -714,9 +714,9 @@
27
28
29
-30
-
-
+30
+
+
# File 'lib/test/unit/data-sets.rb', line 25
def have_keep?
@@ -724,24 +724,24 @@
return true if options [ :keep ]
end
false
-end
-
-
-
-
-
-
-
-
- #keep ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #keep ⇒ Object
+
+
+
+
+
+
+
+
@@ -761,9 +761,9 @@
38
39
40
-41
-
-
+41
+
+
# File 'lib/test/unit/data-sets.rb', line 25
def keep
@@ -782,22 +782,22 @@
new_data_sets . add ( data_set , options )
end
new_data_sets
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -833,6 +833,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Diff.html b/test-unit/ja/Test/Unit/Diff.html
index 2148564e..499b5b7b 100644
--- a/test-unit/ja/Test/Unit/Diff.html
+++ b/test-unit/ja/Test/Unit/Diff.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::Diff
-
- — test-unit
-
+
+ Module: Test::Unit::Diff
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .unified (from, to, options = {}) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
Class Method Details
-
-
-
-
-
- .diff (differ_class, from, to, options = {}) ⇒ Object
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
Class Method Details
+
+
+
+
+
+ .diff (differ_class, from, to, options = {}) ⇒ Object
+
+
+
+
+
+
+
+
@@ -320,9 +320,9 @@
740
741
742
-743
-
-
+743
+
+
# File 'lib/test/unit/diff.rb', line 725
def diff ( differ_class , from , to , options = { } )
@@ -343,24 +343,24 @@
else
lines . join ( " \n " )
end
-end
-
-
-
-
-
-
-
-
- .fold (string) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .fold (string) ⇒ Object
+
+
+
+
+
+
+
+
@@ -368,174 +368,174 @@
708
709
710
-711
-
-
+711
+
+
# File 'lib/test/unit/diff.rb', line 707
def fold ( string )
string . split ( / \r?\n / ) . collect do | line |
line . gsub ( / (.{78}) / , " \\1\n " )
end . join ( " \n " )
-end
-
-
-
-
-
-
-
-
- .folded_readable (from, to, options = {}) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .folded_readable (from, to, options = {}) ⇒ Object
+
+
+
+
+
+
+
+
713
714
-715
-
-
+715
+
+
# File 'lib/test/unit/diff.rb', line 713
def folded_readable ( from , to , options = { } )
readable ( fold ( from ) , fold ( to ) , options )
-end
-
-
-
-
+
end
+
+
+
+
+
+
+
+
+ .need_fold? (diff) ⇒ Boolean
+
+
+
+
+
+
+
-
-
-
- .need_fold? (diff) ⇒ Boolean
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
703
704
-705
-
-
+705
+
+
# File 'lib/test/unit/diff.rb', line 703
def need_fold? ( diff )
/ ^[-+].{79} / =~ diff
-end
-
-
-
-
-
-
-
-
- .readable (from, to, options = {}) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .readable (from, to, options = {}) ⇒ Object
+
+
+
+
+
+
+
+
717
718
-719
-
-
+719
+
+
# File 'lib/test/unit/diff.rb', line 717
def readable ( from , to , options = { } )
diff ( ReadableDiffer , from , to , options )
-end
-
-
-
-
-
-
-
-
- .unified (from, to, options = {}) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .unified (from, to, options = {}) ⇒ Object
+
+
+
+
+
+
+
+
721
722
-723
-
-
+723
+
+
# File 'lib/test/unit/diff.rb', line 721
def unified ( from , to , options = { } )
diff ( UnifiedDiffer , from , to , options )
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -571,6 +571,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Diff/Differ.html b/test-unit/ja/Test/Unit/Diff/Differ.html
index 1f0c9a14..6ab97161 100644
--- a/test-unit/ja/Test/Unit/Diff/Differ.html
+++ b/test-unit/ja/Test/Unit/Diff/Differ.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Diff::Differ
-
- — test-unit
-
+
+ Class: Test::Unit::Diff::Differ
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Diff/ReadableDiffer.html b/test-unit/ja/Test/Unit/Diff/ReadableDiffer.html
index 94d93b0a..dd22a02f 100644
--- a/test-unit/ja/Test/Unit/Diff/ReadableDiffer.html
+++ b/test-unit/ja/Test/Unit/Diff/ReadableDiffer.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Diff::ReadableDiffer
-
- — test-unit
-
+
+ Class: Test::Unit::Diff::ReadableDiffer
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Diff/SequenceMatcher.html b/test-unit/ja/Test/Unit/Diff/SequenceMatcher.html
index d2bae960..583aabee 100644
--- a/test-unit/ja/Test/Unit/Diff/SequenceMatcher.html
+++ b/test-unit/ja/Test/Unit/Diff/SequenceMatcher.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Diff::SequenceMatcher
-
- — test-unit
-
+
+ Class: Test::Unit::Diff::SequenceMatcher
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #ratio ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
Constructor Details
-
-
-
-
- #initialize (from, to, &junk_predicate) ⇒ SequenceMatcher
-
-
-
-
-
-
-
-
Returns a new instance of SequenceMatcher.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
Constructor Details
+
+
+
+
+ #initialize (from, to, &junk_predicate) ⇒ SequenceMatcher
+
+
+
+
+
+
+
+
Returns a new instance of SequenceMatcher
+
+
+
+
+
+
+
+
+
+
@@ -322,9 +322,9 @@
16
17
18
-19
-
-
+19
+
+
# File 'lib/test/unit/diff.rb', line 14
def initialize ( from , to , & junk_predicate )
@@ -332,61 +332,61 @@
@to = to
@junk_predicate = junk_predicate
update_to_indexes
-end
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #blocks ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #blocks ⇒ Object
+
+
+
+
+
+
+
+
35
36
-37
-
-
+37
+
+
# File 'lib/test/unit/diff.rb', line 35
def blocks
@blocks ||= compute_blocks
-end
-
-
-
-
-
-
-
-
- #grouped_operations (context_size = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #grouped_operations (context_size = nil) ⇒ Object
+
+
+
+
+
+
+
+
@@ -415,9 +415,9 @@
65
66
67
-68
-
-
+68
+
+
# File 'lib/test/unit/diff.rb', line 43
def grouped_operations ( context_size = nil )
@@ -445,24 +445,24 @@
end
groups << group unless group . empty?
groups
-end
-
-
-
-
-
-
-
-
- #longest_match (from_start, from_end, to_start, to_end) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #longest_match (from_start, from_end, to_start, to_end) ⇒ Object
+
+
+
+
+
+
+
+
@@ -478,9 +478,9 @@
30
31
32
-33
-
-
+33
+
+
# File 'lib/test/unit/diff.rb', line 21
def longest_match ( from_start , from_end , to_start , to_end )
@@ -495,82 +495,82 @@
end
best_info
-end
-
-
-
-
-
-
-
-
- #operations ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #operations ⇒ Object
+
+
+
+
+
+
+
+
39
40
-41
-
-
+41
+
+
# File 'lib/test/unit/diff.rb', line 39
def operations
@operations ||= compute_operations
-end
-
-
-
-
-
-
-
-
- #ratio ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #ratio ⇒ Object
+
+
+
+
+
+
+
+
70
71
-72
-
-
+72
+
+
# File 'lib/test/unit/diff.rb', line 70
def ratio
@ratio ||= compute_ratio
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -606,6 +606,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Diff/UTF8Line.html b/test-unit/ja/Test/Unit/Diff/UTF8Line.html
index d4b8dbf0..926daa08 100644
--- a/test-unit/ja/Test/Unit/Diff/UTF8Line.html
+++ b/test-unit/ja/Test/Unit/Diff/UTF8Line.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Diff::UTF8Line
-
- — test-unit
-
+
+ Class: Test::Unit::Diff::UTF8Line
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #size ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #to_s ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #to_s ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
Constructor Details
-
-
-
-
- #initialize (line) ⇒ UTF8Line
-
-
-
-
-
-
-
-
Returns a new instance of UTF8Line.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
Constructor Details
+
+
+
+
+ #initialize (line) ⇒ UTF8Line
+
+
+
+
+
+
+
+
Returns a new instance of UTF8Line
+
+
+
+
+
+
+
+
+
+
374
375
376
-377
-
-
+377
+
+
# File 'lib/test/unit/diff.rb', line 374
def initialize ( line )
@line = line
@characters = @line . unpack ( " U* " )
-end
-
-
-
-
-
-
-
-
-
-
Class Method Details
-
-
-
-
-
- .wide_character? (character) ⇒ Boolean
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
Class Method Details
+
+
+
+
+
+ .wide_character? (character) ⇒ Boolean
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
349
350
351
-352
-
-
+352
+
+
# File 'lib/test/unit/diff.rb', line 349
def wide_character? ( character )
binary_search_ranges ( character , WIDE_CHARACTERS ) or
binary_search_ranges ( character , AMBIGUOUS )
-end
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #[] (*args) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #[] (*args) ⇒ Object
+
+
+
+
+
+
+
+
@@ -551,9 +551,9 @@
383
384
385
-386
-
-
+386
+
+
# File 'lib/test/unit/diff.rb', line 379
def [] ( * args )
@@ -563,24 +563,24 @@
else
result
end
-end
-
-
-
-
-
-
-
-
- #compute_width (start, _end) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #compute_width (start, _end) ⇒ Object
+
+
+
+
+
+
+
+
@@ -594,9 +594,9 @@
407
408
409
-410
-
-
+410
+
+
# File 'lib/test/unit/diff.rb', line 400
def compute_width ( start , _end )
@@ -609,112 +609,112 @@
end
end
width
-end
-
-
-
-
-
-
-
-
- #each (&block) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #each (&block) ⇒ Object
+
+
+
+
+
+
+
+
388
389
-390
-
-
+390
+
+
# File 'lib/test/unit/diff.rb', line 388
def each ( & block )
@characters . each ( & block )
-end
-
-
-
-
-
-
-
-
- #size ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #size ⇒ Object
+
+
+
+
+
+
+
+
392
393
-394
-
-
+394
+
+
# File 'lib/test/unit/diff.rb', line 392
def size
@characters . size
-end
-
-
-
-
-
-
-
-
- #to_s ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #to_s ⇒ Object
+
+
+
+
+
+
+
+
396
397
-398
-
-
+398
+
+
# File 'lib/test/unit/diff.rb', line 396
def to_s
@line
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -750,6 +750,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Diff/UnifiedDiffer.html b/test-unit/ja/Test/Unit/Diff/UnifiedDiffer.html
index 9432534e..683b6fe9 100644
--- a/test-unit/ja/Test/Unit/Diff/UnifiedDiffer.html
+++ b/test-unit/ja/Test/Unit/Diff/UnifiedDiffer.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Diff::UnifiedDiffer
-
- — test-unit
-
+
+ Class: Test::Unit::Diff::UnifiedDiffer
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Error.html b/test-unit/ja/Test/Unit/Error.html
index df9ae6a0..505735fe 100644
--- a/test-unit/ja/Test/Unit/Error.html
+++ b/test-unit/ja/Test/Unit/Error.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Error
-
- — test-unit
-
+
+ Class: Test::Unit::Error
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #label ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #location ⇒ Object
-
-
-
- (also: #backtrace)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #location ⇒ Object
+
+
+
+ (also: #backtrace)
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #long_display ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #long_display ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns a verbose version of the error description.
-
-
-
-
-
-
-
-
- #message ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #message ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns the message associated with the error.
-
-
-
-
-
-
-
-
- #short_display ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #short_display ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns a brief version of the error description.
-
-
-
-
-
-
-
-
- #single_character_display ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #single_character_display ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns a single character representation of an error.
-
-
-
-
-
-
-
-
- #to_s ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #to_s ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Overridden to return long_display.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- filter_backtrace
-
-
Constructor Details
-
-
-
-
- #initialize (test_name, exception, options = {}) ⇒ Error
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
filter_backtrace
+
+
Constructor Details
+
+
+
+
+ #initialize (test_name, exception, options = {}) ⇒ Error
+
+
+
+
+
+
+
Creates a new Error with the given test_name and
exception.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -537,488 +537,488 @@
21
22
23
-24
-
-
+24
+
+
# File 'lib/test/unit/error.rb', line 20
def initialize ( test_name , exception , options = { } )
@test_name = test_name
@exception = exception
@method_name = options [ :method_name ]
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #exception ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #exception ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute exception
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
12
13
-14
-
-
+14
+
+
# File 'lib/test/unit/error.rb', line 12
def exception
@exception
-end
-
-
-
-
-
-
-
-
-
-
- #method_name ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #method_name ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute method_name
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
13
14
-15
-
-
+15
+
+
# File 'lib/test/unit/error.rb', line 13
def method_name
@method_name
-end
-
-
-
-
-
-
-
-
-
-
- #test_name ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #test_name ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute test_name
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
12
13
-14
-
-
+14
+
+
# File 'lib/test/unit/error.rb', line 12
def test_name
@test_name
-end
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #critical? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #critical? ⇒ Boolean
+
+
+
+
+
+
+
+
+
61
62
-63
-
-
+63
+
+
# File 'lib/test/unit/error.rb', line 61
def critical?
true
-end
-
-
-
-
-
-
-
-
- #label ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #label ⇒ Object
+
+
+
+
+
+
+
+
31
32
-33
-
-
+33
+
+
# File 'lib/test/unit/error.rb', line 31
def label
LABEL
-end
-
-
-
-
-
-
-
-
- #location ⇒ Object
-
-
-
- Also known as:
- backtrace
-
-
-
-
-
+
+
+
+
+
+ #location ⇒ Object
+
+
+
+ Also known as:
+ backtrace
+
+
+
+
+
+
+
51
52
-53
-
-
+53
+
+
# File 'lib/test/unit/error.rb', line 51
def location
@location ||= filter_backtrace ( @exception . backtrace )
-end
-
-
-
-
-
-
-
-
- #long_display ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #long_display ⇒ Object
+
+
+
+
+
+
+
Returns a verbose version of the error description.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
46
47
48
-49
-
-
+49
+
+
# File 'lib/test/unit/error.rb', line 46
def long_display
backtrace_display = location . join ( " \n " )
" #{ label } :\n # @test_name :\n #{ message } \n #{ backtrace_display } "
-end
-
-
-
-
-
-
-
-
- #message ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #message ⇒ Object
+
+
+
+
+
+
+
Returns the message associated with the error.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
36
37
-38
-
-
+38
+
+
# File 'lib/test/unit/error.rb', line 36
def message
" #{ @exception . class . name } : #{ @exception . message } "
-end
-
-
-
-
-
-
-
-
- #short_display ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #short_display ⇒ Object
+
+
+
+
+
+
+
Returns a brief version of the error description.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
41
42
-43
-
-
+43
+
+
# File 'lib/test/unit/error.rb', line 41
def short_display
" # @test_name : #{ message . split ( " \n " ) [ 0 ] } "
-end
-
-
-
-
-
-
-
-
- #single_character_display ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #single_character_display ⇒ Object
+
+
+
+
+
+
+
Returns a single character representation of an error.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
27
28
-29
-
-
+29
+
+
# File 'lib/test/unit/error.rb', line 27
def single_character_display
SINGLE_CHARACTER
-end
-
-
-
-
-
-
-
-
- #to_s ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #to_s ⇒ Object
+
+
+
+
+
+
+
Overridden to return long_display.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
57
58
-59
-
-
+59
+
+
# File 'lib/test/unit/error.rb', line 57
def to_s
long_display
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -1054,6 +1054,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/ErrorHandler.html b/test-unit/ja/Test/Unit/ErrorHandler.html
index 438e5893..a9f09553 100644
--- a/test-unit/ja/Test/Unit/ErrorHandler.html
+++ b/test-unit/ja/Test/Unit/ErrorHandler.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::ErrorHandler
-
- — test-unit
-
+
+ Module: Test::Unit::ErrorHandler
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/ExceptionHandler.html b/test-unit/ja/Test/Unit/ExceptionHandler.html
index 4d565440..5b35ef13 100644
--- a/test-unit/ja/Test/Unit/ExceptionHandler.html
+++ b/test-unit/ja/Test/Unit/ExceptionHandler.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::ExceptionHandler
-
- — test-unit
-
+
+ Module: Test::Unit::ExceptionHandler
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/ExceptionHandler/ClassMethods.html b/test-unit/ja/Test/Unit/ExceptionHandler/ClassMethods.html
index 32a39443..b4c45b29 100644
--- a/test-unit/ja/Test/Unit/ExceptionHandler/ClassMethods.html
+++ b/test-unit/ja/Test/Unit/ExceptionHandler/ClassMethods.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::ExceptionHandler::ClassMethods
-
- — test-unit
-
+
+ Module: Test::Unit::ExceptionHandler::ClassMethods
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -521,6 +521,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Failure.html b/test-unit/ja/Test/Unit/Failure.html
index 011f0942..d3ae153f 100644
--- a/test-unit/ja/Test/Unit/Failure.html
+++ b/test-unit/ja/Test/Unit/Failure.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Failure
-
- — test-unit
-
+
+ Class: Test::Unit::Failure
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #message ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
Returns the value of attribute message.
-
-
-
-
-
-
-
-
- #method_name ⇒ Object
-
-
-
-
-
-
-
-
- readonly
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #method_name ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
Returns the value of attribute method_name.
-
-
-
-
-
-
-
-
- #source_location ⇒ Object
-
-
-
-
-
-
-
-
- readonly
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #source_location ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
Returns the value of attribute source_location.
-
-
-
-
-
-
-
-
- #test_name ⇒ Object
-
-
-
-
-
-
-
-
- readonly
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #test_name ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
Returns the value of attribute test_name.
-
-
-
-
-
-
-
-
- #user_message ⇒ Object
-
-
-
-
-
-
-
-
- readonly
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #user_message ⇒ Object
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
Returns the value of attribute user_message.
-
-
-
-
-
-
-
-
-
-
-
-
- Instance Method Summary
- collapse
-
-
-
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
-
-
-
-
Constructor Details
-
-
-
-
- #initialize (test_name, location, message, options = {}) ⇒ Failure
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
Constructor Details
+
+
+
+
+ #initialize (test_name, location, message, options = {}) ⇒ Failure
+
+
+
+
+
+
+
Creates a new Failure with the given location and
message.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -692,9 +692,9 @@
25
26
27
-28
-
-
+28
+
+
# File 'lib/test/unit/failure.rb', line 17
def initialize ( test_name , location , message , options = { } )
@@ -708,579 +708,579 @@
@inspected_expected = options [ :inspected_expected ]
@inspected_actual = options [ :inspected_actual ]
@user_message = options [ :user_message ]
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #actual ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #actual ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute actual
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
9
10
-11
-
-
+11
+
+
# File 'lib/test/unit/failure.rb', line 9
def actual
@actual
-end
-
-
-
-
-
-
-
-
-
-
- #expected ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #expected ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute expected
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
9
10
-11
-
-
+11
+
+
# File 'lib/test/unit/failure.rb', line 9
def expected
@expected
-end
-
-
-
-
-
-
-
-
-
-
- #inspected_actual ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #inspected_actual ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute inspected_actual
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
10
11
-12
-
-
+12
+
+
# File 'lib/test/unit/failure.rb', line 10
def inspected_actual
@inspected_actual
-end
-
-
-
-
-
-
-
-
-
-
- #inspected_expected ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #inspected_expected ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute inspected_expected
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
10
11
-12
-
-
+12
+
+
# File 'lib/test/unit/failure.rb', line 10
def inspected_expected
@inspected_expected
-end
-
-
-
-
-
-
-
-
-
-
- #location ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #location ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute location
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
7
8
-9
-
-
+9
+
+
# File 'lib/test/unit/failure.rb', line 7
def location
@location
-end
-
-
-
-
-
-
-
-
-
-
- #message ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #message ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute message
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
7
8
-9
-
-
+9
+
+
# File 'lib/test/unit/failure.rb', line 7
def message
@message
-end
-
-
-
-
-
-
-
-
-
-
- #method_name ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #method_name ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute method_name
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
8
9
-10
-
-
+10
+
+
# File 'lib/test/unit/failure.rb', line 8
def method_name
@method_name
-end
-
-
-
-
-
-
-
-
-
-
- #source_location ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #source_location ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute source_location
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
8
9
-10
-
-
+10
+
+
# File 'lib/test/unit/failure.rb', line 8
def source_location
@source_location
-end
-
-
-
-
-
-
-
-
-
-
- #test_name ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #test_name ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute test_name
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
7
8
-9
-
-
+9
+
+
# File 'lib/test/unit/failure.rb', line 7
def test_name
@test_name
-end
-
-
-
-
-
-
-
-
-
-
- #user_message ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #user_message ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute user_message
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
9
10
-11
-
-
+11
+
+
# File 'lib/test/unit/failure.rb', line 9
def user_message
@user_message
-end
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #critical? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #critical? ⇒ Boolean
+
+
+
+
+
+
+
+
+
59
60
-61
-
-
+61
+
+
# File 'lib/test/unit/failure.rb', line 59
def critical?
true
-end
-
-
-
-
-
-
-
-
- #diff ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #diff ⇒ Object
+
+
+
+
+
+
+
+
63
64
-65
-
-
+65
+
+
# File 'lib/test/unit/failure.rb', line 63
def diff
@diff ||= compute_diff
-end
-
-
-
-
-
-
-
-
- #label ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #label ⇒ Object
+
+
+
+
+
+
+
+
35
36
-37
-
-
+37
+
+
# File 'lib/test/unit/failure.rb', line 35
def label
LABEL
-end
-
-
-
-
-
-
-
-
- #long_display ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #long_display ⇒ Object
+
+
+
+
+
+
+
Returns a verbose version of the error description.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -1291,9 +1291,9 @@
49
50
51
-52
-
-
+52
+
+
# File 'lib/test/unit/failure.rb', line 45
def long_display
@@ -1303,142 +1303,142 @@
location_display = " \n [ #{ location . join ( " \n " ) } ] "
end
" #{ label } :\n # @test_name #{ location_display } :\n # @message "
-end
-
-
-
-
-
-
-
-
- #short_display ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #short_display ⇒ Object
+
+
+
+
+
+
+
Returns a brief version of the error description.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
40
41
-42
-
-
+42
+
+
# File 'lib/test/unit/failure.rb', line 40
def short_display
" # @test_name : #{ @message . split ( " \n " ) [ 0 ] } "
-end
-
-
-
-
-
-
-
-
- #single_character_display ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #single_character_display ⇒ Object
+
+
+
+
+
+
+
Returns a single character representation of a failure.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
31
32
-33
-
-
+33
+
+
# File 'lib/test/unit/failure.rb', line 31
def single_character_display
SINGLE_CHARACTER
-end
-
-
-
-
-
-
-
-
- #to_s ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #to_s ⇒ Object
+
+
+
+
+
+
+
Overridden to return long_display.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
55
56
-57
-
-
+57
+
+
# File 'lib/test/unit/failure.rb', line 55
def to_s
long_display
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -1474,6 +1474,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/FailureHandler.html b/test-unit/ja/Test/Unit/FailureHandler.html
index 7ea78f13..348788ff 100644
--- a/test-unit/ja/Test/Unit/FailureHandler.html
+++ b/test-unit/ja/Test/Unit/FailureHandler.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::FailureHandler
-
- — test-unit
-
+
+ Module: Test::Unit::FailureHandler
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -358,9 +358,9 @@
111
112
113
-114
-
-
+114
+
+
# File 'lib/test/unit/failure.rb', line 106
def add_failure ( message , backtrace , options = { } )
@@ -371,22 +371,22 @@
failure = Failure . new ( name , filter_backtrace ( backtrace ) , message ,
default_options . merge ( options ) )
current_result . add_failure ( failure )
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -422,6 +422,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/FaultLocationDetector.html b/test-unit/ja/Test/Unit/FaultLocationDetector.html
index fb9c1bdd..5ca07906 100644
--- a/test-unit/ja/Test/Unit/FaultLocationDetector.html
+++ b/test-unit/ja/Test/Unit/FaultLocationDetector.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::FaultLocationDetector
-
- — test-unit
-
+
+ Class: Test::Unit::FaultLocationDetector
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -555,6 +555,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Fixture/Fixture.html b/test-unit/ja/Test/Unit/Fixture/Fixture.html
index 607b31ce..1588d1bc 100644
--- a/test-unit/ja/Test/Unit/Fixture/Fixture.html
+++ b/test-unit/ja/Test/Unit/Fixture/Fixture.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Fixture::Fixture
-
- — test-unit
-
+
+ Class: Test::Unit::Fixture::Fixture
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #before_callbacks (type) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #initialize (test_case) ⇒ Fixture
-
-
-
-
-
-
- constructor
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #initialize (test_case) ⇒ Fixture
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
A new instance of Fixture.
-
-
-
-
-
-
-
-
-
-
Constructor Details
-
-
-
-
- #initialize (test_case) ⇒ Fixture
-
-
-
-
-
-
-
-
Returns a new instance of Fixture.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
Constructor Details
+
+
+
+
+ #initialize (test_case) ⇒ Fixture
+
+
+
+
+
+
+
+
Returns a new instance of Fixture
+
+
+
+
+
+
+
+
+
+
@@ -365,9 +365,9 @@
29
30
31
-32
-
-
+32
+
+
# File 'lib/test/unit/fixture.rb', line 25
def initialize ( test_case )
@@ -377,162 +377,162 @@
@teardown = HookPoint . new ( @test_case , :teardown , :before => :prepend )
@cached_before_callbacks = { }
@cached_after_callbacks = { }
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #cleanup ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #cleanup ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute cleanup
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
23
24
-25
-
-
+25
+
+
# File 'lib/test/unit/fixture.rb', line 23
def cleanup
@cleanup
-end
-
-
-
-
-
-
-
-
-
-
- #setup ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #setup ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute setup
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
22
23
-24
-
-
+24
+
+
# File 'lib/test/unit/fixture.rb', line 22
def setup
@setup
-end
-
-
-
-
-
-
-
-
-
-
- #teardown ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #teardown ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute teardown
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
24
25
-26
-
-
+26
+
+
# File 'lib/test/unit/fixture.rb', line 24
def teardown
@teardown
-end
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #[] (type) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #[] (type) ⇒ Object
+
+
+
+
+
+
+
+
@@ -545,9 +545,9 @@
40
41
42
-43
-
-
+43
+
+
# File 'lib/test/unit/fixture.rb', line 34
def [] ( type )
@@ -559,82 +559,82 @@
when :teardown
@teardown
end
-end
-
-
-
-
-
-
-
-
- #after_callbacks (type) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #after_callbacks (type) ⇒ Object
+
+
+
+
+
+
+
+
49
50
-51
-
-
+51
+
+
# File 'lib/test/unit/fixture.rb', line 49
def after_callbacks ( type )
@cached_after_callbacks [ type ] ||= collect_after_callbacks ( type )
-end
-
-
-
-
-
-
-
-
- #before_callbacks (type) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #before_callbacks (type) ⇒ Object
+
+
+
+
+
+
+
+
45
46
-47
-
-
+47
+
+
# File 'lib/test/unit/fixture.rb', line 45
def before_callbacks ( type )
@cached_before_callbacks [ type ] ||= collect_before_callbacks ( type )
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -670,6 +670,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Fixture/HookPoint.html b/test-unit/ja/Test/Unit/Fixture/HookPoint.html
index 073eb43f..7d0585d1 100644
--- a/test-unit/ja/Test/Unit/Fixture/HookPoint.html
+++ b/test-unit/ja/Test/Unit/Fixture/HookPoint.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Fixture::HookPoint
-
- — test-unit
-
+
+ Class: Test::Unit::Fixture::HookPoint
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #unregister (method_name_or_callback) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
Constructor Details
-
-
-
-
- #initialize (test_case, type, default_options) ⇒ HookPoint
-
-
-
-
-
-
-
-
Returns a new instance of HookPoint.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
Constructor Details
+
+
+
+
+ #initialize (test_case, type, default_options) ⇒ HookPoint
+
+
+
+
+
+
+
+
Returns a new instance of HookPoint
+
+
+
+
+
+
+
+
+
+
@@ -347,9 +347,9 @@
108
109
110
-111
-
-
+111
+
+
# File 'lib/test/unit/fixture.rb', line 102
def initialize ( test_case , type , default_options )
@@ -361,151 +361,151 @@
@after_prepend_callbacks = [ ]
@after_append_callbacks = [ ]
@unregistered_callbacks = [ ]
-end
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #after_append_callbacks ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #after_append_callbacks ⇒ Object
+
+
+
+
+
+
+
+
162
163
-164
-
-
+164
+
+
# File 'lib/test/unit/fixture.rb', line 162
def after_append_callbacks
@after_append_callbacks - @unregistered_callbacks
-end
-
-
-
-
-
-
-
-
- #after_prepend_callbacks ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #after_prepend_callbacks ⇒ Object
+
+
+
+
+
+
+
+
158
159
-160
-
-
+160
+
+
# File 'lib/test/unit/fixture.rb', line 158
def after_prepend_callbacks
@after_prepend_callbacks - @unregistered_callbacks
-end
-
-
-
-
-
-
-
-
- #before_append_callbacks ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #before_append_callbacks ⇒ Object
+
+
+
+
+
+
+
+
154
155
-156
-
-
+156
+
+
# File 'lib/test/unit/fixture.rb', line 154
def before_append_callbacks
@before_append_callbacks - @unregistered_callbacks
-end
-
-
-
-
-
-
-
-
- #before_prepend_callbacks ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #before_prepend_callbacks ⇒ Object
+
+
+
+
+
+
+
+
150
151
-152
-
-
+152
+
+
# File 'lib/test/unit/fixture.rb', line 150
def before_prepend_callbacks
@before_prepend_callbacks - @unregistered_callbacks
-end
-
-
-
-
-
-
-
-
- #register (method_name_or_callback, options = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #register (method_name_or_callback, options = nil) ⇒ Object
+
+
+
+
+
+
+
+
@@ -534,9 +534,9 @@
135
136
137
-138
-
-
+138
+
+
# File 'lib/test/unit/fixture.rb', line 113
def register ( method_name_or_callback , options = nil )
@@ -564,24 +564,24 @@
method_name = method_name_or_callback
end
add_callback ( method_name , before_how , after_how )
-end
-
-
-
-
-
-
-
-
- #unregister (method_name_or_callback) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #unregister (method_name_or_callback) ⇒ Object
+
+
+
+
+
+
+
+
@@ -593,9 +593,9 @@
145
146
147
-148
-
-
+148
+
+
# File 'lib/test/unit/fixture.rb', line 140
def unregister ( method_name_or_callback )
@@ -606,22 +606,22 @@
method_name = method_name_or_callback
end
@unregistered_callbacks << method_name
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -657,6 +657,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/MixColor.html b/test-unit/ja/Test/Unit/MixColor.html
index bcb40168..74ce3fd1 100644
--- a/test-unit/ja/Test/Unit/MixColor.html
+++ b/test-unit/ja/Test/Unit/MixColor.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::MixColor
-
- — test-unit
-
+
+ Class: Test::Unit::MixColor
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #sequence ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
Constructor Details
-
-
-
-
- #initialize (colors) ⇒ MixColor
-
-
-
-
-
-
-
-
Returns a new instance of MixColor.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
Constructor Details
+
+
+
+
+ #initialize (colors) ⇒ MixColor
+
+
+
+
+
+
+
+
Returns a new instance of MixColor
+
+
+
+
+
+
+
+
+
+
111
112
-113
-
-
+113
+
+
# File 'lib/test/unit/color.rb', line 111
def initialize ( colors )
@colors = colors
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #colors ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #colors ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute colors
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
110
111
-112
-
-
+112
+
+
# File 'lib/test/unit/color.rb', line 110
def colors
@colors
-end
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #+ (other) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #+ (other) ⇒ Object
+
+
+
+
+
+
+
+
125
126
-127
-
-
+127
+
+
# File 'lib/test/unit/color.rb', line 125
def + ( other )
self . class . new ( [ self , other ] )
-end
-
-
-
-
-
-
-
-
- #== (other) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #== (other) ⇒ Object
+
+
+
+
+
+
+
+
129
130
-131
-
-
+131
+
+
# File 'lib/test/unit/color.rb', line 129
def == ( other )
self . class === other and colors == other . colors
-end
-
-
-
-
-
-
-
-
- #escape_sequence ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #escape_sequence ⇒ Object
+
+
+
+
+
+
+
+
121
122
-123
-
-
+123
+
+
# File 'lib/test/unit/color.rb', line 121
def escape_sequence
" \e[ #{ sequence . join ( ' ; ' ) } m "
-end
-
-
-
-
-
-
-
-
- #sequence ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #sequence ⇒ Object
+
+
+
+
+
+
+
+
@@ -503,31 +503,31 @@
116
117
118
-119
-
-
+119
+
+
# File 'lib/test/unit/color.rb', line 115
def sequence
@colors . inject ( [ ] ) do | result , color |
result + color . sequence
end
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -563,6 +563,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Notification.html b/test-unit/ja/Test/Unit/Notification.html
index 7440fc9b..74d4b5d6 100644
--- a/test-unit/ja/Test/Unit/Notification.html
+++ b/test-unit/ja/Test/Unit/Notification.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Notification
-
- — test-unit
-
+
+ Class: Test::Unit::Notification
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #initialize (test_name, location, message, options = {}) ⇒ Notification
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
Creates a new Notification with the given location and message.
-
-
-
-
-
-
-
-
- #label ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #label ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #long_display ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #long_display ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns a verbose version of the error description.
-
-
-
-
-
-
-
-
- #short_display ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #short_display ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns a brief version of the error description.
-
-
-
-
-
-
-
-
- #single_character_display ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #single_character_display ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns a single character representation of a notification.
-
-
-
-
-
-
-
-
- #to_s ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #to_s ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Overridden to return long_display.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- filter_backtrace
-
-
Constructor Details
-
-
-
-
- #initialize (test_name, location, message, options = {}) ⇒ Notification
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
filter_backtrace
+
+
Constructor Details
+
+
+
+
+ #initialize (test_name, location, message, options = {}) ⇒ Notification
+
+
+
+
+
+
+
Creates a new Notification with the given location and
message.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -504,9 +504,9 @@
17
18
19
-20
-
-
+20
+
+
# File 'lib/test/unit/notification.rb', line 15
def initialize ( test_name , location , message , options = { } )
@@ -514,447 +514,447 @@
@location = location
@message = message
@method_name = options [ :method_name ]
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #location ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #location ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute location
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
7
8
-9
-
-
+9
+
+
# File 'lib/test/unit/notification.rb', line 7
def location
@location
-end
-
-
-
-
-
-
-
-
-
-
- #message ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #message ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute message
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
7
8
-9
-
-
+9
+
+
# File 'lib/test/unit/notification.rb', line 7
def message
@message
-end
-
-
-
-
-
-
-
-
-
-
- #method_name ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #method_name ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute method_name
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
8
9
-10
-
-
+10
+
+
# File 'lib/test/unit/notification.rb', line 8
def method_name
@method_name
-end
-
-
-
-
-
-
-
-
-
-
- #test_name ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #test_name ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute test_name
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
7
8
-9
-
-
+9
+
+
# File 'lib/test/unit/notification.rb', line 7
def test_name
@test_name
-end
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #critical? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #critical? ⇒ Boolean
+
+
+
+
+
+
+
+
+
47
48
-49
-
-
+49
+
+
# File 'lib/test/unit/notification.rb', line 47
def critical?
false
-end
-
-
-
-
-
-
-
-
- #label ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #label ⇒ Object
+
+
+
+
+
+
+
+
27
28
-29
-
-
+29
+
+
# File 'lib/test/unit/notification.rb', line 27
def label
LABEL
-end
-
-
-
-
-
-
-
-
- #long_display ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #long_display ⇒ Object
+
+
+
+
+
+
+
Returns a verbose version of the error description.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
37
38
39
-40
-
-
+40
+
+
# File 'lib/test/unit/notification.rb', line 37
def long_display
backtrace = filter_backtrace ( location ) . join ( " \n " )
" #{ label } : #{ @message } \n #{ @test_name } \n #{ backtrace } "
-end
-
-
-
-
-
-
-
-
- #short_display ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #short_display ⇒ Object
+
+
+
+
+
+
+
Returns a brief version of the error description.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
32
33
-34
-
-
+34
+
+
# File 'lib/test/unit/notification.rb', line 32
def short_display
" #{ @test_name } : #{ @message . split ( " \n " ) [ 0 ] } "
-end
-
-
-
-
-
-
-
-
- #single_character_display ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #single_character_display ⇒ Object
+
+
+
+
+
+
+
Returns a single character representation of a notification.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
23
24
-25
-
-
+25
+
+
# File 'lib/test/unit/notification.rb', line 23
def single_character_display
SINGLE_CHARACTER
-end
-
-
-
-
-
-
-
-
- #to_s ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #to_s ⇒ Object
+
+
+
+
+
+
+
Overridden to return long_display.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
43
44
-45
-
-
+45
+
+
# File 'lib/test/unit/notification.rb', line 43
def to_s
long_display
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -990,6 +990,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/NotificationHandler.html b/test-unit/ja/Test/Unit/NotificationHandler.html
index 2a66b156..bffa58eb 100644
--- a/test-unit/ja/Test/Unit/NotificationHandler.html
+++ b/test-unit/ja/Test/Unit/NotificationHandler.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::NotificationHandler
-
- — test-unit
-
+
+ Module: Test::Unit::NotificationHandler
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/NotifiedError.html b/test-unit/ja/Test/Unit/NotifiedError.html
index 215ba526..ae72e955 100644
--- a/test-unit/ja/Test/Unit/NotifiedError.html
+++ b/test-unit/ja/Test/Unit/NotifiedError.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Exception: Test::Unit::NotifiedError
-
- — test-unit
-
+
+ Exception: Test::Unit::NotifiedError
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/NullResultContainerInitializer.html b/test-unit/ja/Test/Unit/NullResultContainerInitializer.html
index 12474785..dc2413c4 100644
--- a/test-unit/ja/Test/Unit/NullResultContainerInitializer.html
+++ b/test-unit/ja/Test/Unit/NullResultContainerInitializer.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::NullResultContainerInitializer
-
- — test-unit
-
+
+ Module: Test::Unit::NullResultContainerInitializer
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Omission.html b/test-unit/ja/Test/Unit/Omission.html
index 4fa12783..b65b5e1f 100644
--- a/test-unit/ja/Test/Unit/Omission.html
+++ b/test-unit/ja/Test/Unit/Omission.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Omission
-
- — test-unit
-
+
+ Class: Test::Unit::Omission
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #initialize (test_name, location, message, options = {}) ⇒ Omission
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
Creates a new Omission with the given location and message.
-
-
-
-
-
-
-
-
- #label ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #label ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #long_display ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #long_display ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns a verbose version of the error description.
-
-
-
-
-
-
-
-
- #short_display ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #short_display ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns a brief version of the error description.
-
-
-
-
-
-
-
-
- #single_character_display ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #single_character_display ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns a single character representation of a omission.
-
-
-
-
-
-
-
-
- #to_s ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #to_s ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Overridden to return long_display.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- filter_backtrace
-
-
Constructor Details
-
-
-
-
- #initialize (test_name, location, message, options = {}) ⇒ Omission
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
filter_backtrace
+
+
Constructor Details
+
+
+
+
+ #initialize (test_name, location, message, options = {}) ⇒ Omission
+
+
+
+
+
+
+
Creates a new Omission with the given location and
message.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -504,9 +504,9 @@
17
18
19
-20
-
-
+20
+
+
# File 'lib/test/unit/omission.rb', line 15
def initialize ( test_name , location , message , options = { } )
@@ -514,447 +514,447 @@
@location = location
@message = message
@method_name = options [ :method_name ]
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #location ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #location ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute location
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
7
8
-9
-
-
+9
+
+
# File 'lib/test/unit/omission.rb', line 7
def location
@location
-end
-
-
-
-
-
-
-
-
-
-
- #message ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #message ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute message
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
7
8
-9
-
-
+9
+
+
# File 'lib/test/unit/omission.rb', line 7
def message
@message
-end
-
-
-
-
-
-
-
-
-
-
- #method_name ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #method_name ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute method_name
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
8
9
-10
-
-
+10
+
+
# File 'lib/test/unit/omission.rb', line 8
def method_name
@method_name
-end
-
-
-
-
-
-
-
-
-
-
- #test_name ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #test_name ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute test_name
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
7
8
-9
-
-
+9
+
+
# File 'lib/test/unit/omission.rb', line 7
def test_name
@test_name
-end
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #critical? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #critical? ⇒ Boolean
+
+
+
+
+
+
+
+
+
47
48
-49
-
-
+49
+
+
# File 'lib/test/unit/omission.rb', line 47
def critical?
true
-end
-
-
-
-
-
-
-
-
- #label ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #label ⇒ Object
+
+
+
+
+
+
+
+
27
28
-29
-
-
+29
+
+
# File 'lib/test/unit/omission.rb', line 27
def label
LABEL
-end
-
-
-
-
-
-
-
-
- #long_display ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #long_display ⇒ Object
+
+
+
+
+
+
+
Returns a verbose version of the error description.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
37
38
39
-40
-
-
+40
+
+
# File 'lib/test/unit/omission.rb', line 37
def long_display
backtrace = filter_backtrace ( location ) . join ( " \n " )
" #{ label } : #{ @message } \n #{ @test_name } \n #{ backtrace } "
-end
-
-
-
-
-
-
-
-
- #short_display ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #short_display ⇒ Object
+
+
+
+
+
+
+
Returns a brief version of the error description.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
32
33
-34
-
-
+34
+
+
# File 'lib/test/unit/omission.rb', line 32
def short_display
" #{ @test_name } : #{ @message . split ( " \n " ) [ 0 ] } "
-end
-
-
-
-
-
-
-
-
- #single_character_display ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #single_character_display ⇒ Object
+
+
+
+
+
+
+
Returns a single character representation of a omission.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
23
24
-25
-
-
+25
+
+
# File 'lib/test/unit/omission.rb', line 23
def single_character_display
SINGLE_CHARACTER
-end
-
-
-
-
-
-
-
-
- #to_s ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #to_s ⇒ Object
+
+
+
+
+
+
+
Overridden to return long_display.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
43
44
-45
-
-
+45
+
+
# File 'lib/test/unit/omission.rb', line 43
def to_s
long_display
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -990,6 +990,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/OmissionHandler.html b/test-unit/ja/Test/Unit/OmissionHandler.html
index 9cda4657..f8ff560a 100644
--- a/test-unit/ja/Test/Unit/OmissionHandler.html
+++ b/test-unit/ja/Test/Unit/OmissionHandler.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::OmissionHandler
-
- — test-unit
-
+
+ Module: Test::Unit::OmissionHandler
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/OmittedError.html b/test-unit/ja/Test/Unit/OmittedError.html
index e35f5292..011b4a6e 100644
--- a/test-unit/ja/Test/Unit/OmittedError.html
+++ b/test-unit/ja/Test/Unit/OmittedError.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Exception: Test::Unit::OmittedError
-
- — test-unit
-
+
+ Exception: Test::Unit::OmittedError
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/PendedError.html b/test-unit/ja/Test/Unit/PendedError.html
index a957786f..cf3bc578 100644
--- a/test-unit/ja/Test/Unit/PendedError.html
+++ b/test-unit/ja/Test/Unit/PendedError.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Exception: Test::Unit::PendedError
-
- — test-unit
-
+
+ Exception: Test::Unit::PendedError
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Pending.html b/test-unit/ja/Test/Unit/Pending.html
index b6c99def..d54e874e 100644
--- a/test-unit/ja/Test/Unit/Pending.html
+++ b/test-unit/ja/Test/Unit/Pending.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Pending
-
- — test-unit
-
+
+ Class: Test::Unit::Pending
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #initialize (test_name, location, message, options = {}) ⇒ Pending
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
Creates a new Pending with the given location and message.
-
-
-
-
-
-
-
-
- #label ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #label ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #long_display ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #long_display ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns a verbose version of the error description.
-
-
-
-
-
-
-
-
- #short_display ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #short_display ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns a brief version of the error description.
-
-
-
-
-
-
-
-
- #single_character_display ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #single_character_display ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns a single character representation of a pending.
-
-
-
-
-
-
-
-
- #to_s ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #to_s ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Overridden to return long_display.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- filter_backtrace
-
-
Constructor Details
-
-
-
-
- #initialize (test_name, location, message, options = {}) ⇒ Pending
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
filter_backtrace
+
+
Constructor Details
+
+
+
+
+ #initialize (test_name, location, message, options = {}) ⇒ Pending
+
+
+
+
+
+
+
Creates a new Pending with the given location and
message.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -504,9 +504,9 @@
17
18
19
-20
-
-
+20
+
+
# File 'lib/test/unit/pending.rb', line 15
def initialize ( test_name , location , message , options = { } )
@@ -514,447 +514,447 @@
@location = location
@message = message
@method_name = options [ :method_name ]
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #location ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #location ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute location
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
7
8
-9
-
-
+9
+
+
# File 'lib/test/unit/pending.rb', line 7
def location
@location
-end
-
-
-
-
-
-
-
-
-
-
- #message ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #message ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute message
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
7
8
-9
-
-
+9
+
+
# File 'lib/test/unit/pending.rb', line 7
def message
@message
-end
-
-
-
-
-
-
-
-
-
-
- #method_name ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #method_name ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute method_name
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
8
9
-10
-
-
+10
+
+
# File 'lib/test/unit/pending.rb', line 8
def method_name
@method_name
-end
-
-
-
-
-
-
-
-
-
-
- #test_name ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #test_name ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute test_name
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
7
8
-9
-
-
+9
+
+
# File 'lib/test/unit/pending.rb', line 7
def test_name
@test_name
-end
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #critical? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #critical? ⇒ Boolean
+
+
+
+
+
+
+
+
+
47
48
-49
-
-
+49
+
+
# File 'lib/test/unit/pending.rb', line 47
def critical?
true
-end
-
-
-
-
-
-
-
-
- #label ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #label ⇒ Object
+
+
+
+
+
+
+
+
27
28
-29
-
-
+29
+
+
# File 'lib/test/unit/pending.rb', line 27
def label
LABEL
-end
-
-
-
-
-
-
-
-
- #long_display ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #long_display ⇒ Object
+
+
+
+
+
+
+
Returns a verbose version of the error description.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
37
38
39
-40
-
-
+40
+
+
# File 'lib/test/unit/pending.rb', line 37
def long_display
backtrace = filter_backtrace ( location ) . join ( " \n " )
" #{ label } : #{ @message } \n #{ @test_name } \n #{ backtrace } "
-end
-
-
-
-
-
-
-
-
- #short_display ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #short_display ⇒ Object
+
+
+
+
+
+
+
Returns a brief version of the error description.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
32
33
-34
-
-
+34
+
+
# File 'lib/test/unit/pending.rb', line 32
def short_display
" #{ @test_name } : #{ @message . split ( " \n " ) [ 0 ] } "
-end
-
-
-
-
-
-
-
-
- #single_character_display ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #single_character_display ⇒ Object
+
+
+
+
+
+
+
Returns a single character representation of a pending.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
23
24
-25
-
-
+25
+
+
# File 'lib/test/unit/pending.rb', line 23
def single_character_display
SINGLE_CHARACTER
-end
-
-
-
-
-
-
-
-
- #to_s ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #to_s ⇒ Object
+
+
+
+
+
+
+
Overridden to return long_display.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
43
44
-45
-
-
+45
+
+
# File 'lib/test/unit/pending.rb', line 43
def to_s
long_display
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -990,6 +990,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/PendingHandler.html b/test-unit/ja/Test/Unit/PendingHandler.html
index 388862b3..5e18817d 100644
--- a/test-unit/ja/Test/Unit/PendingHandler.html
+++ b/test-unit/ja/Test/Unit/PendingHandler.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::PendingHandler
-
- — test-unit
-
+
+ Module: Test::Unit::PendingHandler
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Priority.html b/test-unit/ja/Test/Unit/Priority.html
index 860288e6..48113508 100644
--- a/test-unit/ja/Test/Unit/Priority.html
+++ b/test-unit/ja/Test/Unit/Priority.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::Priority
-
- — test-unit
-
+
+ Module: Test::Unit::Priority
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .enabled? ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- Instance Method Summary
- collapse
-
-
-
+
+
+
+
+
+
+
+ Instance Method Summary
+ collapse
+
+
+
-
-
-
-
-
-
Class Method Details
-
-
-
-
-
- .available_values ⇒ Object
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
Class Method Details
+
+
+
+
+
+ .available_values ⇒ Object
+
+
+
+
+
+
-
-
-
-
-
- .default ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .default ⇒ Object
+
+
+
+
+
+
+
+
32
33
-34
-
-
+34
+
+
# File 'lib/test/unit/priority.rb', line 32
def default
@@default || :normal
-end
-
-
-
-
-
-
-
-
- .default= (default) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .default= (default) ⇒ Object
+
+
+
+
+
+
+
+
36
37
-38
-
-
+38
+
+
# File 'lib/test/unit/priority.rb', line 36
def default= ( default )
@@default = default
-end
-
-
-
-
-
-
-
-
- .disable ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .disable ⇒ Object
+
+
+
+
+
+
+
+
27
28
-29
-
-
+29
+
+
# File 'lib/test/unit/priority.rb', line 27
def disable
@@enabled = false
-end
-
-
-
-
-
-
-
-
- .enable ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .enable ⇒ Object
+
+
+
+
+
+
+
+
@@ -509,154 +509,154 @@
22
23
24
-25
-
-
+25
+
+
# File 'lib/test/unit/priority.rb', line 21
def enable
require " fileutils "
require " tmpdir "
@@enabled = true
-end
-
-
-
-
-
-
-
-
- .enabled? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ .enabled? ⇒ Boolean
+
+
+
+
+
+
+
+
+
17
18
-19
-
-
+19
+
+
# File 'lib/test/unit/priority.rb', line 17
def enabled?
@@enabled
-end
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #priority_setup ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #priority_setup ⇒ Object
+
+
+
+
+
+
+
+
181
182
183
-184
-
-
+184
+
+
# File 'lib/test/unit/priority.rb', line 181
def priority_setup
return unless Priority . enabled?
Checker . new ( self ) . setup
-end
-
-
-
-
-
-
-
-
- #priority_teardown ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #priority_teardown ⇒ Object
+
+
+
+
+
+
+
+
186
187
188
-189
-
-
+189
+
+
# File 'lib/test/unit/priority.rb', line 186
def priority_teardown
return unless Priority . enabled?
Checker . new ( self ) . teardown
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -692,6 +692,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Priority/Checker.html b/test-unit/ja/Test/Unit/Priority/Checker.html
index 215d23a3..c0c525e5 100644
--- a/test-unit/ja/Test/Unit/Priority/Checker.html
+++ b/test-unit/ja/Test/Unit/Priority/Checker.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::Priority::Checker
-
- — test-unit
-
+
+ Class: Test::Unit::Priority::Checker
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .run_priority_important? (test) ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .run_priority_low? (test) ⇒ Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .run_priority_low? (test) ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .run_priority_must? (test) ⇒ Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .run_priority_must? (test) ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .run_priority_never? (test) ⇒ Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .run_priority_never? (test) ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- .run_priority_normal? (test) ⇒ Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .run_priority_normal? (test) ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- Instance Method Summary
- collapse
-
-
-
+
+
+ Instance Method Summary
+ collapse
+
+
+
-
-
-
-
Constructor Details
-
-
-
-
- #initialize (test) ⇒ Checker
-
-
-
-
-
-
-
-
Returns a new instance of Checker.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
Constructor Details
+
+
+
+
+ #initialize (test) ⇒ Checker
+
+
+
+
+
+
+
+
Returns a new instance of Checker
+
+
+
+
+
+
+
+
+
+
99
100
-101
-
-
+101
+
+
# File 'lib/test/unit/priority.rb', line 99
def initialize ( test )
@test = test
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #test ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #test ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute test
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
98
99
-100
-
-
+100
+
+
# File 'lib/test/unit/priority.rb', line 98
def test
@test
-end
-
-
-
-
-
-
-
-
-
-
Class Method Details
-
-
-
-
-
- .available_priorities ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
Class Method Details
+
+
+
+
+
+ .available_priorities ⇒ Object
+
+
+
+
+
+
+
+
@@ -609,9 +609,9 @@
63
64
65
-66
-
-
+66
+
+
# File 'lib/test/unit/priority.rb', line 61
def available_priorities
@@ -619,102 +619,102 @@
/ \Arun_priority_(.+)\?\z / =~ name . to_s
$1
end . compact
-end
-
-
-
-
-
-
-
-
- .have_priority? (name) ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ .have_priority? (name) ⇒ Boolean
+
+
+
+
+
+
+
+
+
47
48
49
-50
-
-
+50
+
+
# File 'lib/test/unit/priority.rb', line 47
def have_priority? ( name )
singleton_class = ( class << self ; self ; end )
singleton_class . method_defined? ( priority_check_method_name ( name ) )
-end
-
-
-
-
-
-
-
-
- .need_to_run? (test) ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ .need_to_run? (test) ⇒ Boolean
+
+
+
+
+
+
+
+
+
@@ -725,9 +725,9 @@
56
57
58
-59
-
-
+59
+
+
# File 'lib/test/unit/priority.rb', line 52
def need_to_run? ( test )
@@ -737,431 +737,431 @@
else
true
end
-end
-
-
-
-
-
-
-
-
- .run_priority_high? (test) ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ .run_priority_high? (test) ⇒ Boolean
+
+
+
+
+
+
+
+
+
76
77
-78
-
-
+78
+
+
# File 'lib/test/unit/priority.rb', line 76
def run_priority_high? ( test )
rand > 0.3
-end
-
-
-
-
-
-
-
-
- .run_priority_important? (test) ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ .run_priority_important? (test) ⇒ Boolean
+
+
+
+
+
+
+
+
+
72
73
-74
-
-
+74
+
+
# File 'lib/test/unit/priority.rb', line 72
def run_priority_important? ( test )
rand > 0.1
-end
-
-
-
-
-
-
-
-
- .run_priority_low? (test) ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ .run_priority_low? (test) ⇒ Boolean
+
+
+
+
+
+
+
+
+
84
85
-86
-
-
+86
+
+
# File 'lib/test/unit/priority.rb', line 84
def run_priority_low? ( test )
rand > 0.75
-end
-
-
-
-
-
-
-
-
- .run_priority_must? (test) ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ .run_priority_must? (test) ⇒ Boolean
+
+
+
+
+
+
+
+
+
68
69
-70
-
-
+70
+
+
# File 'lib/test/unit/priority.rb', line 68
def run_priority_must? ( test )
true
-end
-
-
-
-
-
-
-
-
- .run_priority_never? (test) ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ .run_priority_never? (test) ⇒ Boolean
+
+
+
+
+
+
+
+
+
88
89
-90
-
-
+90
+
+
# File 'lib/test/unit/priority.rb', line 88
def run_priority_never? ( test )
false
-end
-
-
-
-
-
-
-
-
- .run_priority_normal? (test) ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ .run_priority_normal? (test) ⇒ Boolean
+
+
+
+
+
+
+
+
+
80
81
-82
-
-
+82
+
+
# File 'lib/test/unit/priority.rb', line 80
def run_priority_normal? ( test )
rand > 0.5
-end
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #need_to_run? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #need_to_run? ⇒ Boolean
+
+
+
+
+
+
+
+
+
115
116
-117
-
-
+117
+
+
# File 'lib/test/unit/priority.rb', line 115
def need_to_run?
! previous_test_success? or self . class . need_to_run? ( @test )
-end
-
-
-
-
-
-
-
-
- #setup ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #setup ⇒ Object
+
+
+
+
+
+
+
+
103
104
-105
-
-
+105
+
+
# File 'lib/test/unit/priority.rb', line 103
def setup
FileUtils . rm_f ( passed_file )
-end
-
-
-
-
-
-
-
-
- #teardown ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #teardown ⇒ Object
+
+
+
+
+
+
+
+
@@ -1171,9 +1171,9 @@
110
111
112
-113
-
-
+113
+
+
# File 'lib/test/unit/priority.rb', line 107
def teardown
@@ -1182,22 +1182,22 @@
else
FileUtils . rm_f ( passed_file )
end
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -1233,6 +1233,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/Priority/ClassMethods.html b/test-unit/ja/Test/Unit/Priority/ClassMethods.html
index 929cb789..14f0ea2d 100644
--- a/test-unit/ja/Test/Unit/Priority/ClassMethods.html
+++ b/test-unit/ja/Test/Unit/Priority/ClassMethods.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::Priority::ClassMethods
-
- — test-unit
-
+
+ Module: Test::Unit::Priority::ClassMethods
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/TestCase.html b/test-unit/ja/Test/Unit/TestCase.html
index 05738ed5..16fc326c 100644
--- a/test-unit/ja/Test/Unit/TestCase.html
+++ b/test-unit/ja/Test/Unit/TestCase.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::TestCase
-
- — test-unit
-
+
+ Class: Test::Unit::TestCase
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .method_added (name) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
- .ractor (options = {}) ⇒ void
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .ractor (options = {}) ⇒ void
+
+
+
+
+
+
+
+
+
+
+
+
+
Declares that the following test uses Ractor.
-
-
-
-
-
-
-
-
- .shutdown ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .shutdown ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Called after every test case runs.
-
-
-
-
-
-
-
-
- .startup ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .startup ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Called before every test case runs.
-
-
-
-
-
-
-
-
- .sub_test_case (name) { ... } ⇒ Test::Unit::TestCase
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .sub_test_case (name) { ... } ⇒ Test::Unit::TestCase
+
+
+
+
+
+
+
+
+
+
+
+
+
Defines a sub test case.
-
-
-
-
-
-
-
-
- .suite ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .suite ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Rolls up all of the test* methods in the fixture into one suite, creating a new instance of the fixture for each method.
-
-
-
-
-
-
-
-
- .test (*test_description_or_targets, &block) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .test (*test_description_or_targets, &block) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Defines a test in declarative syntax or marks following method as a test method.
-
-
-
-
-
-
-
-
- .test_defined? (query) ⇒ Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .test_defined? (query) ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
Checks whether a test that is matched the query is defined.
-
-
-
-
-
-
-
-
- .test_order ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .test_order ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns the current test order.
-
-
-
-
-
-
-
-
- .test_order= (order) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ .test_order= (order) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Sets the current test order.
-
-
-
-
-
-
-
-
- Instance Method Summary
- collapse
-
-
-
+
+
+ Instance Method Summary
+ collapse
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
- #capture_output
-
-
-
-
-
-
-
-
-
-
- filter_backtrace
-
-
-
-
-
-
-
-
-
- Methods included from Assertions
- #assert , #assert_alias_method , #assert_all , #assert_block , #assert_boolean , #assert_compare , #assert_const_defined , #assert_empty , #assert_equal , #assert_fail_assertion , #assert_false , #assert_in_delta , #assert_in_epsilon , #assert_include , #assert_instance_of , #assert_kind_of , #assert_match , #assert_nil , #assert_no_match , #assert_not_const_defined , #assert_not_empty , #assert_not_equal , #assert_not_in_delta , #assert_not_in_epsilon , #assert_not_include , #assert_not_instance_of , #assert_not_kind_of , #assert_not_match , #assert_not_nil , #assert_not_operator , #assert_not_predicate , #assert_not_respond_to , #assert_not_same , #assert_not_send , #assert_nothing_leaked_memory , #assert_nothing_raised , #assert_nothing_thrown , #assert_operator , #assert_path_exist , #assert_path_not_exist , #assert_predicate , #assert_raise , #assert_raise_kind_of , #assert_raise_message , #assert_raise_with_message , #assert_respond_to , #assert_same , #assert_send , #assert_throw , #assert_true , #build_message , #flunk , #refute , use_pp=
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods included from Priority
- available_values , default , default= , disable , enable , enabled? , #priority_setup , #priority_teardown
-
-
-
-
-
-
-
-
-
-
- #notify
-
-
-
-
-
-
-
-
-
-
- #omit , #omit_if , #omit_unless
-
-
-
-
-
-
-
-
-
-
- #pend
-
-
-
-
-
-
-
-
-
-
- #add_failure
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- exception_handlers
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods included from Attribute
- #[] , #attributes
-
-
Constructor Details
-
-
-
-
- #initialize (test_method_name) ⇒ TestCase
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#capture_output
+
+
+
+
+
+
+
+
+
+
+
filter_backtrace
+
+
+
+
+
+
+
+
+
+
Methods included from Assertions
+
#assert , #assert_alias_method , #assert_all , #assert_block , #assert_boolean , #assert_compare , #assert_const_defined , #assert_empty , #assert_equal , #assert_fail_assertion , #assert_false , #assert_in_delta , #assert_in_epsilon , #assert_include , #assert_instance_of , #assert_kind_of , #assert_match , #assert_nil , #assert_no_match , #assert_not_const_defined , #assert_not_empty , #assert_not_equal , #assert_not_in_delta , #assert_not_in_epsilon , #assert_not_include , #assert_not_instance_of , #assert_not_kind_of , #assert_not_match , #assert_not_nil , #assert_not_operator , #assert_not_predicate , #assert_not_respond_to , #assert_not_same , #assert_not_send , #assert_nothing_leaked_memory , #assert_nothing_raised , #assert_nothing_thrown , #assert_operator , #assert_path_exist , #assert_path_not_exist , #assert_predicate , #assert_raise , #assert_raise_kind_of , #assert_raise_message , #assert_raise_with_message , #assert_respond_to , #assert_same , #assert_send , #assert_throw , #assert_true , #build_message , #flunk , #refute , use_pp=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Methods included from Priority
+
available_values , default , default= , disable , enable , enabled? , #priority_setup , #priority_teardown
+
+
+
+
+
+
+
+
+
+
+
#notify
+
+
+
+
+
+
+
+
+
+
+
#omit , #omit_if , #omit_unless
+
+
+
+
+
+
+
+
+
+
+
#pend
+
+
+
+
+
+
+
+
+
+
+
#add_failure
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
exception_handlers
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Methods included from Attribute
+
#[] , #attributes
+
+
Constructor Details
+
+
+
+
+ #initialize (test_method_name) ⇒ TestCase
+
+
+
+
+
+
+
Creates a new instance of the fixture for running the
test represented by test_method_name.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
453
454
455
-456
-
-
+456
+
+
# File 'lib/test/unit/testcase.rb', line 453
def initialize ( test_method_name )
@method_name = test_method_name
@internal_data = InternalData . new
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #method_name ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #method_name ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute method_name
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
449
450
-451
-
-
+451
+
+
# File 'lib/test/unit/testcase.rb', line 449
def method_name
@method_name
-end
-
-
-
-
-
-
-
-
-
-
Class Method Details
-
-
-
-
-
- .added_method_names ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
Class Method Details
+
+
+
+
+
+ .added_method_names ⇒ Object
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
154
155
-156
-
-
+156
+
+
# File 'lib/test/unit/testcase.rb', line 154
def added_method_names ( @@added_method_names [ self ] ||= { } ) . keys
-end
-
-
-
-
-
-
-
-
- .description (value, target = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .description (value, target = nil) ⇒ Object
+
+
+
+
+
+
+
Describes a test.
The following example associates “register a
@@ -1558,48 +1558,48 @@
...
end
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
323
324
325
-326
-
-
+326
+
+
# File 'lib/test/unit/testcase.rb', line 323
def description ( value , target = nil )
targets = [ target ] . compact
attribute ( :description , value , { } , * targets )
-end
-
-
-
-
-
-
-
-
- .find_locations (query) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ .find_locations (query) ⇒ Object
+
+
+
+
+
+
+
+
@@ -1630,9 +1630,9 @@
413
414
415
-416
-
-
+416
+
+
# File 'lib/test/unit/testcase.rb', line 389
def find_locations ( query )
@@ -1662,34 +1662,34 @@
end
available_locations
-end
-
-
-
-
-
-
-
-
- .include (*modules, &block) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .include (*modules, &block) ⇒ Object
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -1700,9 +1700,9 @@
137
138
139
-140
-
-
+140
+
+
# File 'lib/test/unit/testcase.rb', line 133
def include ( * modules , & block )
-
-
-
-
-
-
-
-
- .inherited (sub_class) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .inherited (sub_class) ⇒ Object
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
120
121
122
-123
-
-
+123
+
+
# File 'lib/test/unit/testcase.rb', line 120
def inherited ( sub_class ) DESCENDANTS << sub_class
super
-end
-
-
-
-
-
-
-
-
- .method_added (name) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .method_added (name) ⇒ Object
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -1811,9 +1811,9 @@
149
150
151
-152
-
-
+152
+
+
# File 'lib/test/unit/testcase.rb', line 126
def method_added ( name )
-
-
-
-
-
-
-
-
- .ractor (options = {}) ⇒ void
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .ractor (options = {}) ⇒ void
+
+
+
+
+
+
+
This method returns an undefined value.
Declares that the following test uses Ractor.
Tests that use Ractor are executed at the end. Because multi
@@ -1869,99 +1869,99 @@
This is implemented by setting the :ractor attribute of
the test to true.
-
-
-
-
-
+
-
Parameters:
-
-
-
-
- options
-
-
- (Hash )
-
-
- (defaults to: {} )
-
-
- —
+end
+
+
+
Parameters:
+
+
+
+
+ options
+
+
+ (Hash )
+
+
+ (defaults to: {} )
+
+
+ —
-
-
-
-
-
-
Since:
-
+
+
+
+
+
+
Since:
+
-
-
-
-
+
+
+
+
+
+
+
+
+
380
381
-382
-
-
+382
+
+
# File 'lib/test/unit/testcase.rb', line 380
def ractor ( options = { } )
attribute ( :ractor , true , options )
-end
-
-
-
-
-
-
-
-
- .shutdown ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .shutdown ⇒ Object
+
+
+
+
+
+
+
Called after every test case runs. Can be used to tear
down fixture information used in test case scope.
@@ -2000,43 +2000,43 @@
Note that you should not assume test order. Tests
should be worked in any order.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
236
-237
-
-
+237
+
+
# File 'lib/test/unit/testcase.rb', line 236
def shutdown
-end
-
-
-
-
-
-
-
-
- .startup ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .startup ⇒ Object
+
+
+
+
+
+
+
Called before every test case runs. Can be used
to set up fixture information used in test case
scope.
@@ -2076,43 +2076,43 @@
Note that you should not assume test order. Tests
should be worked in any order.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
200
-201
-
-
+201
+
+
# File 'lib/test/unit/testcase.rb', line 200
def startup
-end
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .sub_test_case (name) { ... } ⇒ Test::Unit::TestCase
+
+
+
+
+
+
+
Defines a sub test case.
This is a syntax sugar. The both of the following codes are
@@ -2143,75 +2143,75 @@
Test case created by sub_test_case is an anonymous class.
So you can’t refer the test case by name.
- The class name of class style must follow
-constant naming rule in Ruby. But the name of test case
-created by sub_test_case doesn’t need to follow the rule.
-For example, you can use a space in name such as “child test”.
-
-
-
-
-
-
+
+
+
+
+
+
+
Returns:
+
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -2225,9 +2225,9 @@
370
371
372
-373
-
-
+373
+
+
# File 'lib/test/unit/testcase.rb', line 363
def sub_test_case ( name , & block )
@@ -2240,67 +2240,67 @@
end
sub_test_case . class_eval ( & block )
sub_test_case
-end
-
-
-
-
-
-
-
-
- .suite ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .suite ⇒ Object
+
+
+
+
+
+
+
Rolls up all of the test* methods in the fixture into
one suite, creating a new instance of the fixture for
each method.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
161
162
163
-164
-
-
+164
+
+
# File 'lib/test/unit/testcase.rb', line 161
def suite
suite_creator = TestSuiteCreator . new ( self )
suite_creator . create
-end
-
-
-
-
-
-
-
-
- .test (*test_description_or_targets, &block) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .test (*test_description_or_targets, &block) ⇒ Object
+
+
+
+
+
+
+
Defines a test in declarative syntax or marks
following method as a test method.
@@ -2325,16 +2325,16 @@
assert_equal("call me", ...)
end
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -2363,9 +2363,9 @@
308
309
310
-311
-
-
+311
+
+
# File 'lib/test/unit/testcase.rb', line 286
def test ( * test_description_or_targets , & block )
@@ -2393,164 +2393,164 @@
-
-
-
-
-
-
-
-
- .test_defined? (query) ⇒ Boolean
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .test_defined? (query) ⇒ Boolean
+
+
+
+
+
+
+
Checks whether a test that is matched the query is
defined.
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ Options Hash (query ):
+
+
+
+ :path
+ (String )
+
+
+ — default:
+ nil
+
+
+
— the path where a test is defined in.
-
-
-
-
-
- :line
- (Numeric )
-
-
- — default:
- nil
-
-
-
+
+
+
+
+
+ :line
+ (Numeric )
+
+
+ — default:
+ nil
+
+
+
— the line number where a test is defined at.
-
-
-
-
-
- :method_name
- (String )
-
-
- — default:
- nil
-
-
-
+
+
+
+
+
+ :method_name
+ (String )
+
+
+ — default:
+ nil
+
+
+
— the method name for a test.
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
- (Boolean )
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+Returns:
+
+
+
+
+
+ (Boolean )
+
+
+
+
+
+
+
+
+
+
384
385
386
-387
-
-
+387
+
+
# File 'lib/test/unit/testcase.rb', line 384
def test_defined? ( query )
locations = find_locations ( query )
not locations . empty?
-end
-
-
-
-
-
-
-
-
- .test_order ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .test_order ⇒ Object
+
+
+
+
+
+
+
Returns the current test order. This returns
:alphabetic by default.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -2560,9 +2560,9 @@
246
247
248
-249
-
-
+249
+
+
# File 'lib/test/unit/testcase.rb', line 243
def test_order
@@ -2571,23 +2571,23 @@
return order if order
end
AVAILABLE_ORDERS . first
-end
-
-
-
-
-
-
-
-
- .test_order= (order) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ .test_order= (order) ⇒ Object
+
+
+
+
+
+
+
Sets the current test order.
Here are the available order :
@@ -2600,62 +2600,62 @@
:defined
Tests are sorted in defined order.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
260
261
-262
-
-
+262
+
+
# File 'lib/test/unit/testcase.rb', line 260
def test_order= ( order )
@@test_orders [ self ] = order
-end
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #== (other) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #== (other) ⇒ Object
+
+
+
+
+
+
+
It’s handy to be able to compare TestCase instances.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -2664,9 +2664,9 @@
709
710
711
-712
-
-
+712
+
+
# File 'lib/test/unit/testcase.rb', line 707
def == ( other )
@@ -2674,23 +2674,23 @@
return false unless @method_name == other . method_name
return false unless data_label == other . data_label
self . class == other . class
-end
-
-
-
-
-
-
-
-
- #add_pass ⇒ void
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #add_pass ⇒ void
+
+
+
+
+
+
+
This method returns an undefined value.
Notify that the test is passed. Normally, it is not needed
because #run calls it automatically. If you want to override
#run, it is not a good idea. Please contact test-unit
@@ -2698,85 +2698,85 @@
example, we may add a new hook in #run.
This is a public API for developers who extend test-unit.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
756
757
-758
-
-
+758
+
+
# File 'lib/test/unit/testcase.rb', line 756
def add_pass
current_result . add_pass
-end
-
-
-
-
-
-
-
-
- #assign_test_data (label, data) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #assign_test_data (label, data) ⇒ Object
+
+
+
+
+
+
+
Assigns test data to the test. It is used in internal.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
459
460
-461
-
-
+461
+
+
# File 'lib/test/unit/testcase.rb', line 459
def assign_test_data ( label , data ) @internal_data . assign_test_data ( label , data )
-end
-
-
-
-
-
-
-
-
- #cleanup ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #cleanup ⇒ Object
+
+
+
+
+
+
+
Called after every test method runs but the test
method isn’t marked as ‘passed’. Can be used to
clean up and/or verify tested condition.
@@ -2824,308 +2824,308 @@
my_cleanup1
cleanup
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
612
-613
-
-
+613
+
+
# File 'lib/test/unit/testcase.rb', line 612
def cleanup
-end
-
-
-
-
-
-
-
-
- #data ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #data ⇒ Object
+
+
+
+
+
+
+
Returns test data for the test. If the test isn’t associated
with any test data, it returns nil.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
705
706
-707
-
-
+707
+
+
# File 'lib/test/unit/testcase.rb', line 705
def data
@internal_data . test_data
-end
-
-
-
-
-
-
-
-
- #data_label ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #data_label ⇒ Object
+
+
+
+
+
+
+
Returns a label of test data for the test. If the
test isn’t associated with any test data, it returns
nil.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
669
670
-671
-
-
+671
+
+
# File 'lib/test/unit/testcase.rb', line 669
def data_label
@internal_data . test_data_label
-end
-
-
-
-
-
-
-
-
- #default_test ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #default_test ⇒ Object
+
+
+
+
+
+
+
+
658
659
-660
-
-
+660
+
+
# File 'lib/test/unit/testcase.rb', line 658
def default_test
flunk ( " No tests were specified " )
-end
-
-
-
-
-
-
-
-
- #description ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #description ⇒ Object
+
+
+
+
+
+
+
Returns a description for the test. A description
will be associated by Test::Unit::TestCase.test or
Test::Unit::TestCase.description.
Returns a name for the test for no description test.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
697
698
-699
-
-
+699
+
+
# File 'lib/test/unit/testcase.rb', line 697
def description
self [ :description ] || name
-end
-
-
-
-
-
-
-
-
- #elapsed_time ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #elapsed_time ⇒ Object
+
+
+
+
+
+
+
Returns elapsed time for the test was ran.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
720
721
-722
-
-
+722
+
+
# File 'lib/test/unit/testcase.rb', line 720
def elapsed_time
@internal_data . elapsed_time
-end
-
-
-
-
-
-
-
-
- #interrupted? ⇒ Boolean
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #interrupted? ⇒ Boolean
+
+
+
+
+
+
+
Returns whether the test is interrupted.
-
-
-
-
-
-
-
+
+
+
+
+
+
+
725
726
-727
-
-
+727
+
+
# File 'lib/test/unit/testcase.rb', line 725
def interrupted?
@internal_data . interrupted?
-end
-
-
-
-
-
-
-
-
- #local_name ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #local_name ⇒ Object
+
+
+
+
+
+
+
Returns a human-readable name for the specific test that this
instance of TestCase represents.
#local_name doesn’t include class name. #name includes
class name.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -3135,9 +3135,9 @@
687
688
689
-690
-
-
+690
+
+
# File 'lib/test/unit/testcase.rb', line 684
def local_name
@@ -3146,176 +3146,176 @@
else
@method_name . to_s
end
-end
-
-
-
-
-
-
-
-
- #name ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #name ⇒ Object
+
+
+
+
+
+
+
Returns a human-readable name for the specific test that
this instance of TestCase represents.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
675
676
-677
-
-
+677
+
+
# File 'lib/test/unit/testcase.rb', line 675
def name
" #{ local_name } ( #{ self . class . name } ) "
-end
-
-
-
-
-
-
-
-
- #passed? ⇒ Boolean
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #passed? ⇒ Boolean
+
+
+
+
+
+
+
Returns whether this individual test passed or
not. Primarily for use in teardown so that artifacts
can be left behind if the test fails.
-
-
-
-
-
-
-
+
+
+
+
+
+
+
732
733
-734
-
-
+734
+
+
# File 'lib/test/unit/testcase.rb', line 732
def passed?
@internal_data . passed?
-end
-
-
-
-
-
-
-
-
- #problem_occurred ⇒ void
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #problem_occurred ⇒ void
+
+
+
+
+
+
+
This method returns an undefined value.
Notify that a problem is occurred in the test. It means that
the test is a failed test. If any failed tests exist in test
suites, the test process exits with failure exit status.
This is a public API for developers who extend test-unit.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
743
744
-745
-
-
+745
+
+
# File 'lib/test/unit/testcase.rb', line 743
def problem_occurred
@internal_data . problem_occurred
-end
-
-
-
-
-
-
-
-
- #run (result) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #run (result) ⇒ Object
+
+
+
+
+
+
+
Runs the individual test method represented by this
instance of the fixture, collecting statistics, failures
and errors in result.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -3364,9 +3364,9 @@
522
523
524
-525
-
-
+525
+
+
# File 'lib/test/unit/testcase.rb', line 480
def run ( result )
@@ -3414,23 +3414,23 @@
ensure
end
-end
-
-
-
-
-
-
-
-
- #setup ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #setup ⇒ Object
+
+
+
+
+
+
+
Called before every test method runs. Can be used
to set up fixture information.
@@ -3476,113 +3476,113 @@
setup callback2
test_my_class
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
567
-568
-
-
+568
+
+
# File 'lib/test/unit/testcase.rb', line 567
def setup
-end
-
-
-
-
-
-
-
-
- #size ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #size ⇒ Object
+
+
+
+
+
+
+
+
662
663
-664
-
-
+664
+
+
# File 'lib/test/unit/testcase.rb', line 662
def size
1
-end
-
-
-
-
-
-
-
-
- #start_time ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #start_time ⇒ Object
+
+
+
+
+
+
+
Returns a Time at the test was started.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
715
716
-717
-
-
+717
+
+
# File 'lib/test/unit/testcase.rb', line 715
def start_time
@internal_data . start_time
-end
-
-
-
-
-
-
-
-
- #teardown ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #teardown ⇒ Object
+
+
+
+
+
+
+
Called after every test method runs. Can be used to tear
down fixture information.
@@ -3628,107 +3628,107 @@
my_teardown1
teardown
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
655
-656
-
-
+656
+
+
# File 'lib/test/unit/testcase.rb', line 655
def teardown
-end
-
-
-
-
-
-
-
-
- #to_s ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #to_s ⇒ Object
+
+
+
+
+
+
+
Overridden to return #name.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
702
703
-704
-
-
+704
+
+
# File 'lib/test/unit/testcase.rb', line 702
def to_s
name
-end
-
-
-
-
-
-
-
-
- #valid? ⇒ Boolean
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #valid? ⇒ Boolean
+
+
+
+
+
+
+
Returns the test is valid test. It is used in internal.
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -3743,9 +3743,9 @@
472
473
474
-475
-
-
+475
+
+
# File 'lib/test/unit/testcase.rb', line 464
def valid?
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -3810,6 +3810,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/TestCase/InternalData.html b/test-unit/ja/Test/Unit/TestCase/InternalData.html
index d582da69..d2e2bb70 100644
--- a/test-unit/ja/Test/Unit/TestCase/InternalData.html
+++ b/test-unit/ja/Test/Unit/TestCase/InternalData.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::TestCase::InternalData
-
- — test-unit
-
+
+ Class: Test::Unit::TestCase::InternalData
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #have_test_data? ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #initialize ⇒ InternalData
-
-
-
-
-
-
- constructor
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #initialize ⇒ InternalData
+
+
+
+
+
+
+ constructor
+
+
+
+
+
+
+
+
A new instance of InternalData.
-
-
-
-
-
-
-
-
- #interrupted ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #interrupted ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #interrupted? ⇒ Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #interrupted? ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #passed? ⇒ Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #passed? ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #problem_occurred ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #problem_occurred ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #test_finished ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #test_finished ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #test_started ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #test_started ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
Constructor Details
-
-
-
-
- #initialize ⇒ InternalData
-
-
-
-
-
-
-
-
Returns a new instance of InternalData.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
Constructor Details
+
+
+
+
+ #initialize ⇒ InternalData
+
+
+
+
+
+
+
+
Returns a new instance of InternalData
+
+
+
+
+
+
+
+
+
+
@@ -510,9 +510,9 @@
812
813
814
-815
-
-
+815
+
+
# File 'lib/test/unit/testcase.rb', line 808
def initialize
@@ -522,513 +522,513 @@
@interrupted = false
@test_data_label = nil
@test_data = nil
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #elapsed_time ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #elapsed_time ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute elapsed_time
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
806
807
-808
-
-
+808
+
+
# File 'lib/test/unit/testcase.rb', line 806
def elapsed_time
@elapsed_time
-end
-
-
-
-
-
-
-
-
-
-
- #start_time ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #start_time ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute start_time
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
806
807
-808
-
-
+808
+
+
# File 'lib/test/unit/testcase.rb', line 806
def start_time
@start_time
-end
-
-
-
-
-
-
-
-
-
-
- #test_data ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #test_data ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute test_data
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
807
808
-809
-
-
+809
+
+
# File 'lib/test/unit/testcase.rb', line 807
def test_data
@test_data
-end
-
-
-
-
-
-
-
-
-
-
- #test_data_label ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #test_data_label ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute test_data_label
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
807
808
-809
-
-
+809
+
+
# File 'lib/test/unit/testcase.rb', line 807
def test_data_label
@test_data_label
-end
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #assign_test_data (label, data) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #assign_test_data (label, data) ⇒ Object
+
+
+
+
+
+
+
+
825
826
827
-828
-
-
+828
+
+
# File 'lib/test/unit/testcase.rb', line 825
def assign_test_data ( label , data )
@test_data_label = label
@test_data = data
-end
-
-
-
-
-
-
-
-
- #have_test_data? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ #have_test_data? ⇒ Boolean
+
+
+
+
+
+
+
+
+
830
831
-832
-
-
+832
+
+
# File 'lib/test/unit/testcase.rb', line 830
def have_test_data?
not @test_data_label . nil?
-end
-
-
-
-
-
-
-
-
- #interrupted ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #interrupted ⇒ Object
+
+
+
+
+
+
+
+
846
847
-848
-
-
+848
+
+
# File 'lib/test/unit/testcase.rb', line 846
def interrupted
@interrupted = true
-end
-
-
-
-
-
-
-
-
- #interrupted? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ #interrupted? ⇒ Boolean
+
+
+
+
+
+
+
+
+
821
822
-823
-
-
+823
+
+
# File 'lib/test/unit/testcase.rb', line 821
def interrupted?
@interrupted
-end
-
-
-
-
-
-
-
-
- #passed? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ #passed? ⇒ Boolean
+
+
+
+
+
+
+
+
+
817
818
-819
-
-
+819
+
+
# File 'lib/test/unit/testcase.rb', line 817
def passed?
@passed
-end
-
-
-
-
-
-
-
-
- #problem_occurred ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #problem_occurred ⇒ Object
+
+
+
+
+
+
+
+
842
843
-844
-
-
+844
+
+
# File 'lib/test/unit/testcase.rb', line 842
def problem_occurred
@passed = false
-end
-
-
-
-
-
-
-
-
- #test_finished ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #test_finished ⇒ Object
+
+
+
+
+
+
+
+
838
839
-840
-
-
+840
+
+
# File 'lib/test/unit/testcase.rb', line 838
def test_finished
@elapsed_time = Time . now - @start_time
-end
-
-
-
-
-
-
-
-
- #test_started ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #test_started ⇒ Object
+
+
+
+
+
+
+
+
834
835
-836
-
-
+836
+
+
# File 'lib/test/unit/testcase.rb', line 834
def test_started
@start_time = Time . now
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -1064,6 +1064,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/TestCaseNotificationSupport.html b/test-unit/ja/Test/Unit/TestCaseNotificationSupport.html
index ece9c303..1acc40e2 100644
--- a/test-unit/ja/Test/Unit/TestCaseNotificationSupport.html
+++ b/test-unit/ja/Test/Unit/TestCaseNotificationSupport.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::TestCaseNotificationSupport
-
- — test-unit
-
+
+ Module: Test::Unit::TestCaseNotificationSupport
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/TestResultErrorSupport.html b/test-unit/ja/Test/Unit/TestResultErrorSupport.html
index 65851bf8..7d2e23a0 100644
--- a/test-unit/ja/Test/Unit/TestResultErrorSupport.html
+++ b/test-unit/ja/Test/Unit/TestResultErrorSupport.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::TestResultErrorSupport
-
- — test-unit
-
+
+ Module: Test::Unit::TestResultErrorSupport
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/TestResultFailureSupport.html b/test-unit/ja/Test/Unit/TestResultFailureSupport.html
index ea58c7f9..d6b7591a 100644
--- a/test-unit/ja/Test/Unit/TestResultFailureSupport.html
+++ b/test-unit/ja/Test/Unit/TestResultFailureSupport.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::TestResultFailureSupport
-
- — test-unit
-
+
+ Module: Test::Unit::TestResultFailureSupport
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/TestResultNotificationSupport.html b/test-unit/ja/Test/Unit/TestResultNotificationSupport.html
index b7baa1c5..43ddad16 100644
--- a/test-unit/ja/Test/Unit/TestResultNotificationSupport.html
+++ b/test-unit/ja/Test/Unit/TestResultNotificationSupport.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test::Unit::TestResultNotificationSupport
-
- — test-unit
-
+
+ Module: Test::Unit::TestResultNotificationSupport
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #passed? ⇒ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- #run (result, &progress_block) ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #run (result, &progress_block) ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Runs the tests and/or suites contained in this TestSuite.
-
-
-
-
-
-
-
-
- #size ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #size ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns the rolled up number of tests in this suite; i.e.
-
-
-
-
-
-
-
-
- #to_s ⇒ Object
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #to_s ⇒ Object
+
+
+
+
+
+
+
+
+
+
+
+
+
Overridden to return the name given the suite at creation.
-
-
-
-
-
-
-
-
-
-
Constructor Details
-
-
-
-
- #initialize (name = "Unnamed TestSuite", test_case = nil) ⇒ TestSuite
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
Constructor Details
+
+
+
+
+ #initialize (name = "Unnamed TestSuite", test_case = nil) ⇒ TestSuite
+
+
+
+
+
+
+
Creates a new TestSuite with the given name.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -636,9 +636,9 @@
32
33
34
-35
-
-
+35
+
+
# File 'lib/test/unit/testsuite.rb', line 26
def initialize ( name = " Unnamed TestSuite " , test_case = nil )
@@ -650,341 +650,341 @@
@start_time = nil
@elapsed_time = nil
@passed = true
-end
-
-
-
-
-
-
-
-
-
Instance Attribute Details
-
-
-
-
-
-
- #elapsed_time ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Instance Attribute Details
+
+
+
+
+
+
+ #elapsed_time ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute elapsed_time
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
14
15
-16
-
-
+16
+
+
# File 'lib/test/unit/testsuite.rb', line 14
def elapsed_time
@elapsed_time
-end
-
-
-
-
-
-
-
-
-
-
- #name ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #name ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute name
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
14
15
-16
-
-
+16
+
+
# File 'lib/test/unit/testsuite.rb', line 14
def name
@name
-end
-
-
-
-
-
-
-
-
-
-
- #priority ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #priority ⇒ Object
+
+
+
+
+
+
+
Test suite that has higher priority is ran prior to
test suites that have lower priority.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
18
19
-20
-
-
+20
+
+
# File 'lib/test/unit/testsuite.rb', line 18
def priority
@priority
-end
-
-
-
-
-
-
-
-
-
-
- #start_time ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #start_time ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute start_time
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
14
15
-16
-
-
+16
+
+
# File 'lib/test/unit/testsuite.rb', line 14
def start_time
@start_time
-end
-
-
-
-
-
-
-
-
-
-
- #test_case ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #test_case ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute test_case
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
14
15
-16
-
-
+16
+
+
# File 'lib/test/unit/testsuite.rb', line 14
def test_case
@test_case
-end
-
-
-
-
-
-
-
-
-
-
- #tests ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ #tests ⇒ Object
+
+
+
+
+
+
+
Returns the value of attribute tests
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
14
15
-16
-
-
+16
+
+
# File 'lib/test/unit/testsuite.rb', line 14
def tests
@tests
-end
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #<< (test) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
Instance Method Details
+
+
+
+
+
+ #<< (test) ⇒ Object
+
+
+
+
+
+
+
Adds the test to the suite.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
60
61
62
-63
-
-
+63
+
+
# File 'lib/test/unit/testsuite.rb', line 60
def << ( test )
@tests << test
self
-end
-
-
-
-
-
-
-
-
- #== (other) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #== (other) ⇒ Object
+
+
+
+
+
+
+
It’s handy to be able to compare TestSuite instances.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -992,210 +992,210 @@
94
95
96
-97
-
-
+97
+
+
# File 'lib/test/unit/testsuite.rb', line 93
def == ( other )
return false unless ( other . kind_of? ( self . class ) )
return false unless ( @name == other . name )
@tests == other . tests
-end
-
-
-
-
-
-
-
-
- #delete (test) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #delete (test) ⇒ Object
+
+
+
+
+
+
+
+
65
66
-67
-
-
+67
+
+
# File 'lib/test/unit/testsuite.rb', line 65
def delete ( test )
@tests . delete ( test )
-end
-
-
-
-
-
-
-
-
- #delete_tests (tests) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+ #delete_tests (tests) ⇒ Object
+
+
+
+
+
+
+
+
69
70
-71
-
-
+71
+
+
# File 'lib/test/unit/testsuite.rb', line 69
def delete_tests ( tests )
@tests -= tests
-end
-
-
-
-
-
-
-
-
- #empty? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ #empty? ⇒ Boolean
+
+
+
+
+
+
+
+
+
82
83
-84
-
-
+84
+
+
# File 'lib/test/unit/testsuite.rb', line 82
def empty?
size . zero?
-end
-
-
-
-
-
-
-
-
- #passed? ⇒ Boolean
-
-
-
-
-
-
-
+
+
+
+
+
+ #passed? ⇒ Boolean
+
+
+
+
+
+
+
+
+
99
100
-101
-
-
+101
+
+
# File 'lib/test/unit/testsuite.rb', line 99
def passed?
@passed
-end
-
-
-
-
-
-
-
-
- #run (result, &progress_block) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #run (result, &progress_block) ⇒ Object
+
+
+
+
+
+
+
Runs the tests and/or suites contained in this
TestSuite.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -1217,9 +1217,9 @@
54
55
56
-57
-
-
+57
+
+
# File 'lib/test/unit/testsuite.rb', line 39
def run ( result , & progress_block )
@@ -1240,36 +1240,36 @@
-
-
-
-
-
-
-
-
- #size ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #size ⇒ Object
+
+
+
+
+
+
+
Returns the rolled up number of tests in this suite;
i.e. if the suite contains other suites, it counts the
tests within those suites, not the suites themselves.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -1277,72 +1277,72 @@
77
78
79
-80
-
-
+80
+
+
# File 'lib/test/unit/testsuite.rb', line 76
def size
total_size = @n_tests
@tests . each { | test | total_size += test . size }
total_size
-end
-
-
-
-
-
-
-
-
- #to_s ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #to_s ⇒ Object
+
+
+
+
+
+
+
Overridden to return the name given the suite at
creation.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
88
89
-90
-
-
+90
+
+
# File 'lib/test/unit/testsuite.rb', line 88
def to_s
@name
-end
-
-
-
-
-
-
-
-
-
-
-
+end
+
+
+
+
+
+
+
+
+
+
+
@@ -1378,6 +1378,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/ja/Test/Unit/TestSuiteCreator.html b/test-unit/ja/Test/Unit/TestSuiteCreator.html
index 559c5b81..0d8498c1 100644
--- a/test-unit/ja/Test/Unit/TestSuiteCreator.html
+++ b/test-unit/ja/Test/Unit/TestSuiteCreator.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Class: Test::Unit::TestSuiteCreator
-
- — test-unit
-
+
+ Class: Test::Unit::TestSuiteCreator
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+