D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Test
/
Unit
/
TestResult
/
Filename :
cdesc-TestResult.yaml
back
Copy
--- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: assertion_count rw: R - !ruby/object:RI::Attribute comment: name: run_count rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Collects Test::Unit::Failure and Test::Unit::Error so that they can be displayed to the user. To this end, observers can be added to it, allowing the dynamic updating of, say, a UI. constants: - !ruby/object:RI::Constant comment: name: CHANGED value: "\"CHANGED\"" - !ruby/object:RI::Constant comment: name: FAULT value: "\"FAULT\"" full_name: Test::Unit::TestResult includes: - !ruby/object:RI::IncludedModule name: Util::Observable instance_methods: - !ruby/object:RI::MethodSummary name: add_assertion - !ruby/object:RI::MethodSummary name: add_error - !ruby/object:RI::MethodSummary name: add_failure - !ruby/object:RI::MethodSummary name: add_run - !ruby/object:RI::MethodSummary name: error_count - !ruby/object:RI::MethodSummary name: failure_count - !ruby/object:RI::MethodSummary name: passed? - !ruby/object:RI::MethodSummary name: to_s name: TestResult superclass: Object