From 59c9930ae5b613f55f9286c1e4c9461fcba1454c Mon Sep 17 00:00:00 2001
From: Hiroyuki Sato
Date: Tue, 4 Oct 2022 19:42:37 +0900
Subject: [PATCH] Update test-unit doc to 3.5.5
---
_config.yml | 4 +-
test-unit/en/Test.html | 248 +-
test-unit/en/Test/Unit.html | 1272 +--
test-unit/en/Test/Unit/Assertions.html | 8006 +++++++--------
.../Assertions/AssertExceptionHelper.html | 630 +-
.../WrappedException.html | 720 +-
.../Unit/Assertions/AssertionMessage.html | 1914 ++--
.../AssertionMessage/ArrayInspector.html | 898 +-
.../AssertionMessage/DelayedLiteral.html | 480 +-
.../AssertionMessage/HashInspector.html | 898 +-
.../AssertionMessage/Inspector.html | 1380 +--
.../Assertions/AssertionMessage/Literal.html | 480 +-
.../AssertionMessage/MaybeContainer.html | 480 +-
.../AssertionMessage/NumericInspector.html | 812 +-
.../Assertions/AssertionMessage/Template.html | 734 +-
test-unit/en/alphabetical_index.html | 1942 ++--
test-unit/en/class_list.html | 102 +-
test-unit/en/css/full_list.css | 116 +-
test-unit/en/css/style.css | 993 +-
test-unit/en/file.README.html | 152 +-
test-unit/en/file.getting-started.html | 136 +-
test-unit/en/file.how-to.html | 136 +-
test-unit/en/file.news.html | 465 +-
test-unit/en/file_list.html | 142 +-
test-unit/en/frames.html | 34 +-
test-unit/en/index.html | 152 +-
test-unit/en/js/app.js | 606 +-
test-unit/en/js/full_list.js | 432 +-
test-unit/en/js/jquery.js | 6 +-
test-unit/en/method_list.html | 8678 ++++++++---------
test-unit/ja/Test.html | 260 +-
test-unit/ja/Test/Unit.html | 1284 +--
.../ja/Test/Unit/AssertionFailedError.html | 1256 +--
test-unit/ja/Test/Unit/Assertions.html | 8036 +++++++--------
.../Assertions/AssertExceptionHelper.html | 642 +-
.../WrappedException.html | 732 +-
.../Unit/Assertions/AssertionMessage.html | 1926 ++--
.../AssertionMessage/ArrayInspector.html | 910 +-
.../AssertionMessage/DelayedLiteral.html | 492 +-
.../AssertionMessage/HashInspector.html | 910 +-
.../AssertionMessage/Inspector.html | 1392 +--
.../Assertions/AssertionMessage/Literal.html | 492 +-
.../AssertionMessage/MaybeContainer.html | 492 +-
.../AssertionMessage/NumericInspector.html | 824 +-
.../Assertions/AssertionMessage/Template.html | 746 +-
test-unit/ja/Test/Unit/Attribute.html | 458 +-
.../Test/Unit/Attribute/BaseClassMethods.html | 338 +-
.../ja/Test/Unit/Attribute/ClassMethods.html | 1760 ++--
.../Test/Unit/Attribute/StringifyKeyHash.html | 708 +-
test-unit/ja/Test/Unit/AttributeMatcher.html | 634 +-
test-unit/ja/Test/Unit/AutoRunner.html | 4484 ++++-----
.../AutoRunner/StopOnFailureListener.html | 374 +-
test-unit/ja/Test/Unit/AutoRunnerLoader.html | 338 +-
.../ja/Test/Unit/CodeSnippetFetcher.html | 574 +-
test-unit/ja/Test/Unit/Collector.html | 846 +-
.../ja/Test/Unit/Collector/Descendant.html | 434 +-
test-unit/ja/Test/Unit/Collector/Dir.html | 1234 +--
test-unit/ja/Test/Unit/Collector/Load.html | 1090 +--
.../ja/Test/Unit/Collector/ObjectSpace.html | 556 +-
test-unit/ja/Test/Unit/Collector/XML.html | 426 +-
.../ja/Test/Unit/Collector/XML/Listener.html | 814 +-
test-unit/ja/Test/Unit/Color.html | 1844 ++--
test-unit/ja/Test/Unit/Color/Error.html | 264 +-
test-unit/ja/Test/Unit/Color/ParseError.html | 272 +-
test-unit/ja/Test/Unit/ColorScheme.html | 1452 +--
test-unit/ja/Test/Unit/Data.html | 252 +-
test-unit/ja/Test/Unit/Data/ClassMethods.html | 1526 +--
.../Test/Unit/Data/ClassMethods/Loader.html | 896 +-
test-unit/ja/Test/Unit/DataSets.html | 1182 +--
test-unit/ja/Test/Unit/Diff.html | 836 +-
test-unit/ja/Test/Unit/Diff/Differ.html | 402 +-
.../ja/Test/Unit/Diff/ReadableDiffer.html | 420 +-
.../ja/Test/Unit/Diff/SequenceMatcher.html | 836 +-
test-unit/ja/Test/Unit/Diff/UTF8Line.html | 1056 +-
.../ja/Test/Unit/Diff/UnifiedDiffer.html | 412 +-
test-unit/ja/Test/Unit/Error.html | 1718 ++--
test-unit/ja/Test/Unit/ErrorHandler.html | 294 +-
test-unit/ja/Test/Unit/ExceptionHandler.html | 400 +-
.../Unit/ExceptionHandler/ClassMethods.html | 770 +-
test-unit/ja/Test/Unit/Failure.html | 2384 ++---
test-unit/ja/Test/Unit/FailureHandler.html | 652 +-
.../ja/Test/Unit/FaultLocationDetector.html | 618 +-
test-unit/ja/Test/Unit/Fixture.html | 252 +-
.../ja/Test/Unit/Fixture/ClassMethods.html | 858 +-
test-unit/ja/Test/Unit/Fixture/Fixture.html | 1034 +-
test-unit/ja/Test/Unit/Fixture/HookPoint.html | 918 +-
test-unit/ja/Test/Unit/MixColor.html | 884 +-
test-unit/ja/Test/Unit/Notification.html | 1612 +--
.../ja/Test/Unit/NotificationHandler.html | 222 +-
test-unit/ja/Test/Unit/NotifiedError.html | 256 +-
.../Unit/NullResultContainerInitializer.html | 232 +-
test-unit/ja/Test/Unit/Omission.html | 1612 +--
test-unit/ja/Test/Unit/OmissionHandler.html | 222 +-
test-unit/ja/Test/Unit/OmittedError.html | 256 +-
test-unit/ja/Test/Unit/PendedError.html | 256 +-
test-unit/ja/Test/Unit/Pending.html | 1612 +--
test-unit/ja/Test/Unit/PendingHandler.html | 222 +-
test-unit/ja/Test/Unit/Priority.html | 1096 +--
test-unit/ja/Test/Unit/Priority/Checker.html | 2020 ++--
.../ja/Test/Unit/Priority/ClassMethods.html | 342 +-
test-unit/ja/Test/Unit/TestCase.html | 5240 +++++-----
.../ja/Test/Unit/TestCase/InternalData.html | 1724 ++--
.../Unit/TestCaseNotificationSupport.html | 366 +-
.../ja/Test/Unit/TestCaseOmissionSupport.html | 574 +-
.../ja/Test/Unit/TestCasePendingSupport.html | 366 +-
test-unit/ja/Test/Unit/TestResult.html | 2196 ++---
.../ja/Test/Unit/TestResultErrorSupport.html | 742 +-
.../Test/Unit/TestResultFailureSupport.html | 742 +-
.../Unit/TestResultNotificationSupport.html | 612 +-
.../Test/Unit/TestResultOmissionSupport.html | 612 +-
.../Test/Unit/TestResultPendingSupport.html | 612 +-
test-unit/ja/Test/Unit/TestSuite.html | 2164 ++--
test-unit/ja/Test/Unit/TestSuiteCreator.html | 670 +-
test-unit/ja/Test/Unit/UI.html | 246 +-
test-unit/ja/Test/Unit/UI/Console.html | 246 +-
.../UI/Console/ColorizedReadableDiffer.html | 578 +-
.../ja/Test/Unit/UI/Console/OutputLevel.html | 300 +-
.../ja/Test/Unit/UI/Console/TestRunner.html | 510 +-
test-unit/ja/Test/Unit/UI/Emacs.html | 238 +-
.../ja/Test/Unit/UI/Emacs/TestRunner.html | 370 +-
test-unit/ja/Test/Unit/UI/TestRunner.html | 684 +-
.../ja/Test/Unit/UI/TestRunnerMediator.html | 726 +-
.../ja/Test/Unit/UI/TestRunnerUtilities.html | 492 +-
test-unit/ja/Test/Unit/UI/XML.html | 242 +-
test-unit/ja/Test/Unit/UI/XML/TestRunner.html | 480 +-
test-unit/ja/Test/Unit/Util.html | 246 +-
.../ja/Test/Unit/Util/BacktraceFilter.html | 410 +-
test-unit/ja/Test/Unit/Util/MemoryUsage.html | 788 +-
.../ja/Test/Unit/Util/MethodOwnerFinder.html | 338 +-
test-unit/ja/Test/Unit/Util/Observable.html | 646 +-
test-unit/ja/Test/Unit/Util/Output.html | 366 +-
test-unit/ja/Test/Unit/Util/ProcWrapper.html | 692 +-
test-unit/ja/alphabetical_index.html | 1954 ++--
test-unit/ja/class_list.html | 102 +-
test-unit/ja/css/full_list.css | 116 +-
test-unit/ja/css/style.css | 993 +-
test-unit/ja/file.README.html | 164 +-
test-unit/ja/file.getting-started.html | 148 +-
test-unit/ja/file.how-to.html | 148 +-
test-unit/ja/file.news.html | 511 +-
test-unit/ja/file_list.html | 142 +-
test-unit/ja/frames.html | 34 +-
test-unit/ja/index.html | 164 +-
test-unit/ja/js/app.js | 606 +-
test-unit/ja/js/full_list.js | 432 +-
test-unit/ja/js/jquery.js | 6 +-
test-unit/ja/method_list.html | 8678 ++++++++---------
test-unit/ja/top-level-namespace.html | 366 +-
148 files changed, 70384 insertions(+), 70300 deletions(-)
diff --git a/_config.yml b/_config.yml
index cbaba471..f571cc61 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,6 +1,6 @@
markdown: kramdown
-test_unit_version: 3.5.3
-test_unit_release_date: 2021-12-20
+test_unit_version: 3.5.5
+test_unit_release_date: 2022-10-04
test_unit_rails_version: 7.0.0
test_unit_rails_release_date: 2021-12-20
test_unit_activesupport_version: 1.0.9
diff --git a/test-unit/en/Test.html b/test-unit/en/Test.html
index 8b558c2f..1407a13c 100644
--- a/test-unit/en/Test.html
+++ b/test-unit/en/Test.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- Module: Test
-
- — test-unit
-
+
+ Module: Test
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .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.
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1117,47 +1117,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.
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1165,25 +1165,25 @@
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
+
+
+
+
+
+
+
+
+
@@ -1224,6 +1224,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/en/Test/Unit/Assertions.html b/test-unit/en/Test/Unit/Assertions.html
index 031e3548..2a9138b6 100644
--- a/test-unit/en/Test/Unit/Assertions.html
+++ b/test-unit/en/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
-
-
-
-
-
-
-
-
-
-
-
-
-
- Asserts that object is false or nil.
-
-
-
-
-
-
-
-
-
-
-
-
Class Method Details
-
-
-
-
-
- .use_pp= (value) ⇒ Object
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ #refute (object, message = nil) ⇒ void
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Asserts that object is false or nil.
+
+
+
+
+
+
+
+
+
+
+
+
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.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
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 = " " )
@@ -3140,46 +3140,46 @@
klasses . any? { | k | object . instance_of? ( k ) }
end
end
-end
-
-
-
-
-
-
-
-
- #assert_kind_of (klass, object, message = nil) ⇒ Object
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #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:
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+Yields:
+
+
+
+
+
+
+
+
+
+
[] do anything you want to measure memory usage
in the block.
-
-
-
-
-
-Yield Returns:
-
-
-
-
-
- (void )
-
-
-
-
-
-
-
-
-
-Since:
-
+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,136 +708,136 @@
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
+
+
+
+
+
+
+
+
+
@@ -878,6 +878,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/en/Test/Unit/Assertions/AssertionMessage/Literal.html b/test-unit/en/Test/Unit/Assertions/AssertionMessage/Literal.html
index c1f62640..2c60333a 100644
--- a/test-unit/en/Test/Unit/Assertions/AssertionMessage/Literal.html
+++ b/test-unit/en/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/en/Test/Unit/Assertions/AssertionMessage/MaybeContainer.html b/test-unit/en/Test/Unit/Assertions/AssertionMessage/MaybeContainer.html
index b20f66f3..cde85a7f 100644
--- a/test-unit/en/Test/Unit/Assertions/AssertionMessage/MaybeContainer.html
+++ b/test-unit/en/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/en/Test/Unit/Assertions/AssertionMessage/NumericInspector.html b/test-unit/en/Test/Unit/Assertions/AssertionMessage/NumericInspector.html
index 29e8de08..9938ded9 100644
--- a/test-unit/en/Test/Unit/Assertions/AssertionMessage/NumericInspector.html
+++ b/test-unit/en/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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -520,6 +520,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/en/Test/Unit/Assertions/AssertionMessage/Template.html b/test-unit/en/Test/Unit/Assertions/AssertionMessage/Template.html
index 6df6235b..657ce9f9 100644
--- a/test-unit/en/Test/Unit/Assertions/AssertionMessage/Template.html
+++ b/test-unit/en/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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/en/alphabetical_index.html b/test-unit/en/alphabetical_index.html
index 1d243e6e..6298dca5 100644
--- a/test-unit/en/alphabetical_index.html
+++ b/test-unit/en/alphabetical_index.html
@@ -1,46 +1,46 @@
-
-
-
-
-
+
+
+
+
+
-
- test-unit
-
+
+ test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/en/class_list.html b/test-unit/en/class_list.html
index a00cd6cf..09085004 100644
--- a/test-unit/en/class_list.html
+++ b/test-unit/en/class_list.html
@@ -1,51 +1,51 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Class List
-
-
-
-
-
-
-
-
-Inspector < Object
Test::Unit::Assertions::AssertionMessage Literal < Object
Test::Unit::Assertions::AssertionMessage Template < Object
Test::Unit::Assertions::AssertionMessage Dir < Object
Test::Unit::Collector Load < Object
Test::Unit::Collector XML < Object
Test::Unit::Collector Listener < Object
Test::Unit::Collector::XML Error < StandardError
Test::Unit::Color Loader < Object
Test::Unit::Data::ClassMethods Differ < Object
Test::Unit::Diff Fixture < Object
Test::Unit::Fixture Checker < Object
Test::Unit::Priority
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Class List
+
+
+
+
+
+
+
+
+Inspector < Object
Test::Unit::Assertions::AssertionMessage Literal < Object
Test::Unit::Assertions::AssertionMessage Template < Object
Test::Unit::Assertions::AssertionMessage Dir < Object
Test::Unit::Collector Load < Object
Test::Unit::Collector XML < Object
Test::Unit::Collector Listener < Object
Test::Unit::Collector::XML Error < StandardError
Test::Unit::Color Loader < Object
Test::Unit::Data::ClassMethods Differ < Object
Test::Unit::Diff Fixture < Object
Test::Unit::Fixture Checker < Object
Test::Unit::Priority
+
+
+
+
+
diff --git a/test-unit/en/css/full_list.css b/test-unit/en/css/full_list.css
index fa359824..742b72fa 100644
--- a/test-unit/en/css/full_list.css
+++ b/test-unit/en/css/full_list.css
@@ -1,58 +1,58 @@
-body {
- margin: 0;
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
- font-size: 13px;
- height: 101%;
- overflow-x: hidden;
- background: #fafafa;
-}
-
-h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
-.clear { clear: both; }
-.fixed_header { position: fixed; background: #fff; width: 100%; padding-bottom: 10px; margin-top: 0; top: 0; z-index: 9999; height: 70px; }
-#search { position: absolute; right: 5px; top: 9px; padding-left: 24px; }
-#content.insearch #search, #content.insearch #noresults { background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcHLKysqSkpJqamvT09Pj4+KioqM7OzkRERAwMDGBgYN7e3ujo6Ly8vCoqKjY2NkZGRtTU1MTExDw8PE5OTj4+PkhISNDQ0MrKylpaWrS0tOrq6nBwcKysrLi4uLq6ul5eXlxcXGJiYoaGhuDg4H5+fvz8/KKiohgYGCwsLFZWVgQEBFBQUMzMzDg4OFhYWBoaGvDw8NbW1pycnOLi4ubm5kBAQKqqqiQkJCAgIK6urnJyckpKSjQ0NGpqatLS0sDAwCYmJnx8fEJCQlRUVAoKCggICLCwsOTk5ExMTPb29ra2tmZmZmhoaNzc3KCgoBISEiIiIgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCAAAACwAAAAAEAAQAAAHaIAAgoMgIiYlg4kACxIaACEJCSiKggYMCRselwkpghGJBJEcFgsjJyoAGBmfggcNEx0flBiKDhQFlIoCCA+5lAORFb4AJIihCRbDxQAFChAXw9HSqb60iREZ1omqrIPdJCTe0SWI09GBACH5BAkIAAAALAAAAAAQABAAAAdrgACCgwc0NTeDiYozCQkvOTo9GTmDKy8aFy+NOBA7CTswgywJDTIuEjYFIY0JNYMtKTEFiRU8Pjwygy4ws4owPyCKwsMAJSTEgiQlgsbIAMrO0dKDGMTViREZ14kYGRGK38nHguHEJcvTyIEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDAggPg4iJAAMJCRUAJRIqiRGCBI0WQEEJJkWDERkYAAUKEBc4Po1GiKKJHkJDNEeKig4URLS0ICImJZAkuQAhjSi/wQyNKcGDCyMnk8u5rYrTgqDVghgZlYjcACTA1sslvtHRgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCQARAtOUoQRGRiFD0kJUYWZhUhKT1OLhR8wBaaFBzQ1NwAlkIszCQkvsbOHL7Y4q4IuEjaqq0ZQD5+GEEsJTDCMmIUhtgk1lo6QFUwJVDKLiYJNUd6/hoEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4uen4ICCA+IkIsDCQkVACWmhwSpFqAABQoQF6ALTkWFnYMrVlhWvIKTlSAiJiVVPqlGhJkhqShHV1lCW4cMqSkAR1ofiwsjJyqGgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCSMhREZGIYYGY2ElYebi56fhyWQniSKAKKfpaCLFlAPhl0gXYNGEwkhGYREUywag1wJwSkHNDU3D0kJYIMZQwk8MjPBLx9eXwuETVEyAC/BOKsuEjYFhoEAIfkECQgAAAAsAAAAABAAEAAAB2eAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4ueICImip6CIQkJKJ4kigynKaqKCyMnKqSEK05StgAGQRxPYZaENqccFgIID4KXmQBhXFkzDgOnFYLNgltaSAAEpxa7BQoQF4aBACH5BAkIAAAALAAAAAAQABAAAAdogACCg4SFggJiPUqCJSWGgkZjCUwZACQkgxGEXAmdT4UYGZqCGWQ+IjKGGIUwPzGPhAc0NTewhDOdL7Ykji+dOLuOLhI2BbaFETICx4MlQitdqoUsCQ2vhKGjglNfU0SWmILaj43M5oEAOwAAAAAAAAAAAA==) no-repeat center left; }
-#full_list { padding: 0; list-style: none; margin-left: 0; margin-top: 80px; font-size: 1.1em; }
-#full_list ul { padding: 0; }
-#full_list li { padding: 0; margin: 0; list-style: none; }
-#full_list li .item { padding: 5px 5px 5px 12px; }
-#noresults { padding: 7px 12px; background: #fff; }
-#content.insearch #noresults { margin-left: 7px; }
-li.collapsed ul { display: none; }
-li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; }
-li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
-li { color: #888; cursor: pointer; }
-li.deprecated { text-decoration: line-through; font-style: italic; }
-li.odd { background: #f0f0f0; }
-li.even { background: #fafafa; }
-.item:hover { background: #ddd; }
-li small:before { content: "("; }
-li small:after { content: ")"; }
-li small.search_info { display: none; }
-a, a:visited { text-decoration: none; color: #05a; }
-li.clicked > .item { background: #05a; color: #ccc; }
-li.clicked > .item a, li.clicked > .item a:visited { color: #eee; }
-li.clicked > .item a.toggle { opacity: 0.5; background-position: bottom right; }
-li.collapsed.clicked a.toggle { background-position: top right; }
-#search input { border: 1px solid #bbb; border-radius: 3px; }
-#full_list_nav { margin-left: 10px; font-size: 0.9em; display: block; color: #aaa; }
-#full_list_nav a, #nav a:visited { color: #358; }
-#full_list_nav a:hover { background: transparent; color: #5af; }
-#full_list_nav span:after { content: ' | '; }
-#full_list_nav span:last-child:after { content: ''; }
-
-#content h1 { margin-top: 0; }
-li { white-space: nowrap; cursor: normal; }
-li small { display: block; font-size: 0.8em; }
-li small:before { content: ""; }
-li small:after { content: ""; }
-li small.search_info { display: none; }
-#search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; }
-#content.insearch #search { background-position: center right; }
-#search input { width: 110px; }
-
-#full_list.insearch ul { display: block; }
-#full_list.insearch .item { display: none; }
-#full_list.insearch .found { display: block; padding-left: 11px !important; }
-#full_list.insearch li a.toggle { display: none; }
-#full_list.insearch li small.search_info { display: block; }
+body {
+ margin: 0;
+ font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
+ font-size: 13px;
+ height: 101%;
+ overflow-x: hidden;
+ background: #fafafa;
+}
+
+h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
+.clear { clear: both; }
+.fixed_header { position: fixed; background: #fff; width: 100%; padding-bottom: 10px; margin-top: 0; top: 0; z-index: 9999; height: 70px; }
+#search { position: absolute; right: 5px; top: 9px; padding-left: 24px; }
+#content.insearch #search, #content.insearch #noresults { background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcHLKysqSkpJqamvT09Pj4+KioqM7OzkRERAwMDGBgYN7e3ujo6Ly8vCoqKjY2NkZGRtTU1MTExDw8PE5OTj4+PkhISNDQ0MrKylpaWrS0tOrq6nBwcKysrLi4uLq6ul5eXlxcXGJiYoaGhuDg4H5+fvz8/KKiohgYGCwsLFZWVgQEBFBQUMzMzDg4OFhYWBoaGvDw8NbW1pycnOLi4ubm5kBAQKqqqiQkJCAgIK6urnJyckpKSjQ0NGpqatLS0sDAwCYmJnx8fEJCQlRUVAoKCggICLCwsOTk5ExMTPb29ra2tmZmZmhoaNzc3KCgoBISEiIiIgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCAAAACwAAAAAEAAQAAAHaIAAgoMgIiYlg4kACxIaACEJCSiKggYMCRselwkpghGJBJEcFgsjJyoAGBmfggcNEx0flBiKDhQFlIoCCA+5lAORFb4AJIihCRbDxQAFChAXw9HSqb60iREZ1omqrIPdJCTe0SWI09GBACH5BAkIAAAALAAAAAAQABAAAAdrgACCgwc0NTeDiYozCQkvOTo9GTmDKy8aFy+NOBA7CTswgywJDTIuEjYFIY0JNYMtKTEFiRU8Pjwygy4ws4owPyCKwsMAJSTEgiQlgsbIAMrO0dKDGMTViREZ14kYGRGK38nHguHEJcvTyIEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDAggPg4iJAAMJCRUAJRIqiRGCBI0WQEEJJkWDERkYAAUKEBc4Po1GiKKJHkJDNEeKig4URLS0ICImJZAkuQAhjSi/wQyNKcGDCyMnk8u5rYrTgqDVghgZlYjcACTA1sslvtHRgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCQARAtOUoQRGRiFD0kJUYWZhUhKT1OLhR8wBaaFBzQ1NwAlkIszCQkvsbOHL7Y4q4IuEjaqq0ZQD5+GEEsJTDCMmIUhtgk1lo6QFUwJVDKLiYJNUd6/hoEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4uen4ICCA+IkIsDCQkVACWmhwSpFqAABQoQF6ALTkWFnYMrVlhWvIKTlSAiJiVVPqlGhJkhqShHV1lCW4cMqSkAR1ofiwsjJyqGgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCSMhREZGIYYGY2ElYebi56fhyWQniSKAKKfpaCLFlAPhl0gXYNGEwkhGYREUywag1wJwSkHNDU3D0kJYIMZQwk8MjPBLx9eXwuETVEyAC/BOKsuEjYFhoEAIfkECQgAAAAsAAAAABAAEAAAB2eAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4ueICImip6CIQkJKJ4kigynKaqKCyMnKqSEK05StgAGQRxPYZaENqccFgIID4KXmQBhXFkzDgOnFYLNgltaSAAEpxa7BQoQF4aBACH5BAkIAAAALAAAAAAQABAAAAdogACCg4SFggJiPUqCJSWGgkZjCUwZACQkgxGEXAmdT4UYGZqCGWQ+IjKGGIUwPzGPhAc0NTewhDOdL7Ykji+dOLuOLhI2BbaFETICx4MlQitdqoUsCQ2vhKGjglNfU0SWmILaj43M5oEAOwAAAAAAAAAAAA==) no-repeat center left; }
+#full_list { padding: 0; list-style: none; margin-left: 0; margin-top: 80px; font-size: 1.1em; }
+#full_list ul { padding: 0; }
+#full_list li { padding: 0; margin: 0; list-style: none; }
+#full_list li .item { padding: 5px 5px 5px 12px; }
+#noresults { padding: 7px 12px; background: #fff; }
+#content.insearch #noresults { margin-left: 7px; }
+li.collapsed ul { display: none; }
+li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; }
+li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
+li { color: #888; cursor: pointer; }
+li.deprecated { text-decoration: line-through; font-style: italic; }
+li.odd { background: #f0f0f0; }
+li.even { background: #fafafa; }
+.item:hover { background: #ddd; }
+li small:before { content: "("; }
+li small:after { content: ")"; }
+li small.search_info { display: none; }
+a, a:visited { text-decoration: none; color: #05a; }
+li.clicked > .item { background: #05a; color: #ccc; }
+li.clicked > .item a, li.clicked > .item a:visited { color: #eee; }
+li.clicked > .item a.toggle { opacity: 0.5; background-position: bottom right; }
+li.collapsed.clicked a.toggle { background-position: top right; }
+#search input { border: 1px solid #bbb; border-radius: 3px; }
+#full_list_nav { margin-left: 10px; font-size: 0.9em; display: block; color: #aaa; }
+#full_list_nav a, #nav a:visited { color: #358; }
+#full_list_nav a:hover { background: transparent; color: #5af; }
+#full_list_nav span:after { content: ' | '; }
+#full_list_nav span:last-child:after { content: ''; }
+
+#content h1 { margin-top: 0; }
+li { white-space: nowrap; cursor: normal; }
+li small { display: block; font-size: 0.8em; }
+li small:before { content: ""; }
+li small:after { content: ""; }
+li small.search_info { display: none; }
+#search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; }
+#content.insearch #search { background-position: center right; }
+#search input { width: 110px; }
+
+#full_list.insearch ul { display: block; }
+#full_list.insearch .item { display: none; }
+#full_list.insearch .found { display: block; padding-left: 11px !important; }
+#full_list.insearch li a.toggle { display: none; }
+#full_list.insearch li small.search_info { display: block; }
diff --git a/test-unit/en/css/style.css b/test-unit/en/css/style.css
index eb0dbc86..44d87e0d 100644
--- a/test-unit/en/css/style.css
+++ b/test-unit/en/css/style.css
@@ -1,497 +1,496 @@
-html {
- width: 100%;
- height: 100%;
-}
-body {
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
- font-size: 13px;
- width: 100%;
- margin: 0;
- padding: 0;
- display: flex;
- display: -webkit-flex;
- display: -ms-flexbox;
-}
-
-#nav {
- position: relative;
- width: 100%;
- height: 100%;
- border: 0;
- border-right: 1px dotted #eee;
- overflow: auto;
-}
-.nav_wrap {
- margin: 0;
- padding: 0;
- width: 20%;
- height: 100%;
- position: relative;
- display: flex;
- display: -webkit-flex;
- display: -ms-flexbox;
- flex-shrink: 0;
- -webkit-flex-shrink: 0;
- -ms-flex: 1 0;
-}
-#resizer {
- position: absolute;
- right: -5px;
- top: 0;
- width: 10px;
- height: 100%;
- cursor: col-resize;
- z-index: 9999;
-}
-#main {
- flex: 5 1;
- -webkit-flex: 5 1;
- -ms-flex: 5 1;
- outline: none;
- position: relative;
- background: #fff;
- padding: 1.2em;
- padding-top: 0.2em;
- box-sizing: border-box;
-}
-
-@media (max-width: 920px) {
- .nav_wrap { width: 100%; top: 0; right: 0; overflow: visible; position: absolute; }
- #resizer { display: none; }
- #nav {
- z-index: 9999;
- background: #fff;
- display: none;
- position: absolute;
- top: 40px;
- right: 12px;
- width: 500px;
- max-width: 80%;
- height: 80%;
- overflow-y: scroll;
- border: 1px solid #999;
- border-collapse: collapse;
- box-shadow: -7px 5px 25px #aaa;
- border-radius: 2px;
- }
-}
-
-@media (min-width: 920px) {
- body { height: 100%; overflow: hidden; }
- #main { height: 100%; overflow: auto; }
- #search { display: none; }
-}
-
-#main img { max-width: 100%; }
-h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; }
-h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; }
-h1.title { margin-bottom: 10px; }
-h1.alphaindex { margin-top: 0; font-size: 22px; }
-h2 {
- padding: 0;
- padding-bottom: 3px;
- border-bottom: 1px #aaa solid;
- font-size: 1.4em;
- margin: 1.8em 0 0.5em;
- position: relative;
-}
-h2 small { font-weight: normal; font-size: 0.7em; display: inline; position: absolute; right: 0; }
-h2 small a {
- display: block;
- height: 20px;
- border: 1px solid #aaa;
- border-bottom: 0;
- border-top-left-radius: 5px;
- background: #f8f8f8;
- position: relative;
- padding: 2px 7px;
-}
-.clear { clear: both; }
-.inline { display: inline; }
-.inline p:first-child { display: inline; }
-.docstring, .tags, #filecontents { font-size: 15px; line-height: 1.5145em; }
-.docstring p > code, .docstring p > tt, .tags p > code, .tags p > tt {
- color: #c7254e; background: #f9f2f4; padding: 2px 4px; font-size: 1em;
- border-radius: 4px;
-}
-.docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; }
-.docstring h1 { font-size: 1.2em; }
-.docstring h2 { font-size: 1.1em; }
-.docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
-.summary_desc .object_link a, .docstring .object_link a {
- font-family: monospace; font-size: 1.05em;
- color: #05a; background: #EDF4FA; padding: 2px 4px; font-size: 1em;
- border-radius: 4px;
-}
-.rdoc-term { padding-right: 25px; font-weight: bold; }
-.rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; }
-.summary_desc pre.code .object_link a, .docstring pre.code .object_link a {
- padding: 0px; background: inherit; color: inherit; border-radius: inherit;
-}
-
-/* style for
*/
-#filecontents table, .docstring table { border-collapse: collapse; }
-#filecontents table th, #filecontents table td,
-.docstring table th, .docstring table td { border: 1px solid #ccc; padding: 8px; padding-right: 17px; }
-#filecontents table tr:nth-child(odd),
-.docstring table tr:nth-child(odd) { background: #eee; }
-#filecontents table tr:nth-child(even),
-.docstring table tr:nth-child(even) { background: #fff; }
-#filecontents table th, .docstring table th { background: #fff; }
-
-/* style for */
-#filecontents li > p, .docstring li > p { margin: 0px; }
-#filecontents ul, .docstring ul { padding-left: 20px; }
-/* style for */
-#filecontents dl, .docstring dl { border: 1px solid #ccc; }
-#filecontents dt, .docstring dt { background: #ddd; font-weight: bold; padding: 3px 5px; }
-#filecontents dd, .docstring dd { padding: 5px 0px; margin-left: 18px; }
-#filecontents dd > p, .docstring dd > p { margin: 0px; }
-
-.note {
- color: #222;
- margin: 20px 0;
- padding: 10px;
- border: 1px solid #eee;
- border-radius: 3px;
- display: block;
-}
-.docstring .note {
- border-left-color: #ccc;
- border-left-width: 5px;
-}
-.note.todo { background: #ffffc5; border-color: #ececaa; }
-.note.returns_void { background: #efefef; }
-.note.deprecated { background: #ffe5e5; border-color: #e9dada; }
-.note.title.deprecated { background: #ffe5e5; border-color: #e9dada; }
-.note.private { background: #ffffc5; border-color: #ececaa; }
-.note.title { padding: 3px 6px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
-.summary_signature + .note.title { margin-left: 7px; }
-h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
-.note.title { background: #efefef; }
-.note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
-.note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
-.note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
-.note.title.private { background: #d5d5d5; border-color: #c5c5c5; }
-.note.title.not_defined_here { background: transparent; border: none; font-style: italic; }
-.discussion .note { margin-top: 6px; }
-.discussion .note:first-child { margin-top: 0; }
-
-h3.inherited {
- font-style: italic;
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
- font-weight: normal;
- padding: 0;
- margin: 0;
- margin-top: 12px;
- margin-bottom: 3px;
- font-size: 13px;
-}
-p.inherited {
- padding: 0;
- margin: 0;
- margin-left: 25px;
-}
-
-.box_info dl {
- margin: 0;
- border: 0;
- width: 100%;
- font-size: 1em;
- display: flex;
- display: -webkit-flex;
- display: -ms-flexbox;
-}
-.box_info dl dt {
- flex-shrink: 0;
- -webkit-flex-shrink: 1;
- -ms-flex-shrink: 1;
- width: 100px;
- text-align: right;
- font-weight: bold;
- border: 1px solid #aaa;
- border-width: 1px 0px 0px 1px;
- padding: 6px 0;
- padding-right: 10px;
-}
-.box_info dl dd {
- flex-grow: 1;
- -webkit-flex-grow: 1;
- -ms-flex: 1;
- max-width: 420px;
- padding: 6px 0;
- padding-right: 20px;
- border: 1px solid #aaa;
- border-width: 1px 1px 0 0;
- overflow: hidden;
- position: relative;
-}
-.box_info dl:last-child > * {
- border-bottom: 1px solid #aaa;
-}
-.box_info dl:nth-child(odd) > * { background: #eee; }
-.box_info dl:nth-child(even) > * { background: #fff; }
-.box_info dl > * { margin: 0; }
-
-ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
-.index_inline_list { padding-left: 0; font-size: 1.1em; }
-
-.index_inline_list li {
- list-style: none;
- display: inline-block;
- padding: 0 12px;
- line-height: 30px;
- margin-bottom: 5px;
-}
-
-dl.constants { margin-left: 10px; }
-dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
-dl.constants.compact dt { display: inline-block; font-weight: normal }
-dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
-dl.constants .docstring .note:first-child { margin-top: 5px; }
-
-.summary_desc {
- margin-left: 32px;
- display: block;
- font-family: sans-serif;
- font-size: 1.1em;
- margin-top: 8px;
- line-height: 1.5145em;
- margin-bottom: 0.8em;
-}
-.summary_desc tt { font-size: 0.9em; }
-dl.constants .note { padding: 2px 6px; padding-right: 12px; margin-top: 6px; }
-dl.constants .docstring { margin-left: 32px; font-size: 0.9em; font-weight: normal; }
-dl.constants .tags { padding-left: 32px; font-size: 0.9em; line-height: 0.8em; }
-dl.constants .discussion *:first-child { margin-top: 0; }
-dl.constants .discussion *:last-child { margin-bottom: 0; }
-
-.method_details { border-top: 1px dotted #ccc; margin-top: 25px; padding-top: 0; }
-.method_details.first { border: 0; margin-top: 5px; }
-.method_details.first h3.signature { margin-top: 1em; }
-p.signature, h3.signature {
- font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
- padding: 6px 10px; margin-top: 1em;
- background: #E8F4FF; border: 1px solid #d8d8e5; border-radius: 5px;
-}
-p.signature tt,
-h3.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
-p.signature .overload,
-h3.signature .overload { display: block; }
-p.signature .extras,
-h3.signature .extras { font-weight: normal; font-family: sans-serif; color: #444; font-size: 1em; }
-p.signature .not_defined_here,
-h3.signature .not_defined_here,
-p.signature .aliases,
-h3.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; font-family: sans-serif; margin-top: 0px; color: #555; }
-p.signature .aliases .names,
-h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
-
-.tags .tag_title { font-size: 1.05em; margin-bottom: 0; font-weight: bold; }
-.tags .tag_title tt { color: initial; padding: initial; background: initial; }
-.tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
-.tags ul li { margin-bottom: 3px; }
-.tags ul .name { font-family: monospace; font-weight: bold; }
-.tags ul .note { padding: 3px 6px; }
-.tags { margin-bottom: 12px; }
-
-.tags .examples .tag_title { margin-bottom: 10px; font-weight: bold; }
-.tags .examples .inline p { padding: 0; margin: 0; font-weight: bold; font-size: 1em; }
-.tags .examples .inline p:before { content: "▸"; font-size: 1em; margin-right: 5px; }
-
-.tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
-.tags .overload .overload_item .signature {
- padding: 2px 8px;
- background: #F1F8FF; border: 1px solid #d8d8e5; border-radius: 3px;
-}
-.tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
-.tags .overload .docstring { margin-top: 15px; }
-
-.defines { display: none; }
-
-#method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
-
-.showSource { font-size: 0.9em; }
-.showSource a, .showSource a:visited { text-decoration: none; color: #666; }
-
-#content a, #content a:visited { text-decoration: none; color: #05a; }
-#content a:hover { background: #ffffa5; }
-
-ul.summary {
- list-style: none;
- font-family: monospace;
- font-size: 1em;
- line-height: 1.5em;
- padding-left: 0px;
-}
-ul.summary a, ul.summary a:visited {
- text-decoration: none; font-size: 1.1em;
-}
-ul.summary li { margin-bottom: 5px; }
-.summary_signature { padding: 4px 8px; background: #f8f8f8; border: 1px solid #f0f0f0; border-radius: 5px; }
-.summary_signature:hover { background: #CFEBFF; border-color: #A4CCDA; cursor: pointer; }
-.summary_signature.deprecated { background: #ffe5e5; border-color: #e9dada; }
-ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
-ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
-#content .summary_signature:hover a,
-#content .summary_signature:hover a:visited {
- background: transparent;
- color: #049;
-}
-
-p.inherited a { font-family: monospace; font-size: 0.9em; }
-p.inherited { word-spacing: 5px; font-size: 1.2em; }
-
-p.children { font-size: 1.2em; }
-p.children a { font-size: 0.9em; }
-p.children strong { font-size: 0.8em; }
-p.children strong.modules { padding-left: 5px; }
-
-ul.fullTree { display: none; padding-left: 0; list-style: none; margin-left: 0; margin-bottom: 10px; }
-ul.fullTree ul { margin-left: 0; padding-left: 0; list-style: none; }
-ul.fullTree li { text-align: center; padding-top: 18px; padding-bottom: 12px; background: url(data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAHtJREFUeNqMzrEJAkEURdGzuhgZbSoYWcAWoBVsB4JgZAGmphsZCZYzTQgWNCYrDN9RvMmHx+X916SUBFbo8CzD1idXrLErw1mQttgXtyrOcQ/Ny5p4Qh+2XqLYYazsPWNTiuMkRxa4vcV+evuNAUOLIx5+c2hyzv7hNQC67Q+/HHmlEwAAAABJRU5ErkJggg==) no-repeat top center; }
-ul.fullTree li:first-child { padding-top: 0; background: transparent; }
-ul.fullTree li:last-child { padding-bottom: 0; }
-.showAll ul.fullTree { display: block; }
-.showAll .inheritName { display: none; }
-
-#search { position: absolute; right: 12px; top: 0px; z-index: 9000; }
-#search a {
- display: block; float: left;
- padding: 4px 8px; text-decoration: none; color: #05a; fill: #05a;
- border: 1px solid #d8d8e5;
- border-bottom-left-radius: 3px; border-bottom-right-radius: 3px;
- background: #F1F8FF;
- box-shadow: -1px 1px 3px #ddd;
-}
-#search a:hover { background: #f5faff; color: #06b; fill: #06b; }
-#search a.active {
- background: #568; padding-bottom: 20px; color: #fff; fill: #fff;
- border: 1px solid #457;
- border-top-left-radius: 5px; border-top-right-radius: 5px;
-}
-#search a.inactive { color: #999; fill: #999; }
-.inheritanceTree, .toggleDefines {
- float: right;
- border-left: 1px solid #aaa;
- position: absolute; top: 0; right: 0;
- height: 100%;
- background: #f6f6f6;
- padding: 5px;
- min-width: 55px;
- text-align: center;
-}
-
-#menu { font-size: 1.3em; color: #bbb; }
-#menu .title, #menu a { font-size: 0.7em; }
-#menu .title a { font-size: 1em; }
-#menu .title { color: #555; }
-#menu a, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
-#menu a:hover { color: #05a; }
-
-#footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
-#footer a, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
-#footer a:hover { color: #05a; }
-
-#listing ul.alpha { font-size: 1.1em; }
-#listing ul.alpha { margin: 0; padding: 0; padding-bottom: 10px; list-style: none; }
-#listing ul.alpha li.letter { font-size: 1.4em; padding-bottom: 10px; }
-#listing ul.alpha ul { margin: 0; padding-left: 15px; }
-#listing ul small { color: #666; font-size: 0.7em; }
-
-li.r1 { background: #f0f0f0; }
-li.r2 { background: #fafafa; }
-
-#content ul.summary li.deprecated .summary_signature a,
-#content ul.summary li.deprecated .summary_signature a:visited { text-decoration: line-through; font-style: italic; }
-
-#toc {
- position: relative;
- float: right;
- overflow-x: auto;
- right: -3px;
- margin-left: 20px;
- margin-bottom: 20px;
- padding: 20px; padding-right: 30px;
- max-width: 300px;
- z-index: 5000;
- background: #fefefe;
- border: 1px solid #ddd;
- box-shadow: -2px 2px 6px #bbb;
-}
-#toc .title { margin: 0; }
-#toc ol { padding-left: 1.8em; }
-#toc li { font-size: 1.1em; line-height: 1.7em; }
-#toc > ol > li { font-size: 1.1em; font-weight: bold; }
-#toc ol > li > ol { font-size: 0.9em; }
-#toc ol ol > li > ol { padding-left: 2.3em; }
-#toc ol + li { margin-top: 0.3em; }
-#toc.hidden { padding: 10px; background: #fefefe; box-shadow: none; }
-#toc.hidden:hover { background: #fafafa; }
-#filecontents h1 + #toc.nofloat { margin-top: 0; }
-@media (max-width: 560px) {
- #toc {
- margin-left: 0;
- margin-top: 16px;
- float: none;
- max-width: none;
- }
-}
-
-/* syntax highlighting */
-.source_code { display: none; padding: 3px 8px; border-left: 8px solid #ddd; margin-top: 5px; }
-#filecontents pre.code, .docstring pre.code, .source_code pre { font-family: monospace; }
-#filecontents pre.code, .docstring pre.code { display: block; }
-.source_code .lines { padding-right: 12px; color: #555; text-align: right; }
-#filecontents pre.code, .docstring pre.code,
-.tags pre.example {
- padding: 9px 14px;
- margin-top: 4px;
- border: 1px solid #e1e1e8;
- background: #f7f7f9;
- border-radius: 4px;
- font-size: 1em;
- overflow-x: auto;
- line-height: 1.2em;
-}
-pre.code { color: #000; tab-size: 2; }
-pre.code .info.file { color: #555; }
-pre.code .val { color: #036A07; }
-pre.code .tstring_content,
-pre.code .heredoc_beg, pre.code .heredoc_end,
-pre.code .qwords_beg, pre.code .qwords_end, pre.code .qwords_sep,
-pre.code .words_beg, pre.code .words_end, pre.code .words_sep,
-pre.code .qsymbols_beg, pre.code .qsymbols_end, pre.code .qsymbols_sep,
-pre.code .symbols_beg, pre.code .symbols_end, pre.code .symbols_sep,
-pre.code .tstring, pre.code .dstring { color: #036A07; }
-pre.code .fid, pre.code .rubyid_new, pre.code .rubyid_to_s,
-pre.code .rubyid_to_sym, pre.code .rubyid_to_f,
-pre.code .dot + pre.code .id,
-pre.code .rubyid_to_i pre.code .rubyid_each { color: #0085FF; }
-pre.code .comment { color: #0066FF; }
-pre.code .const, pre.code .constant { color: #585CF6; }
-pre.code .label,
-pre.code .symbol { color: #C5060B; }
-pre.code .kw,
-pre.code .rubyid_require,
-pre.code .rubyid_extend,
-pre.code .rubyid_include { color: #0000FF; }
-pre.code .ivar { color: #318495; }
-pre.code .gvar,
-pre.code .rubyid_backref,
-pre.code .rubyid_nth_ref { color: #6D79DE; }
-pre.code .regexp, .dregexp { color: #036A07; }
-pre.code a { border-bottom: 1px dotted #bbf; }
-/* inline code */
-*:not(pre) > code {
- padding: 1px 3px 1px 3px;
- border: 1px solid #E1E1E8;
- background: #F7F7F9;
- border-radius: 4px;
-}
-
-/* Color fix for links */
-#content .summary_desc pre.code .id > .object_link a, /* identifier */
-#content .docstring pre.code .id > .object_link a { color: #0085FF; }
-#content .summary_desc pre.code .const > .object_link a, /* constant */
-#content .docstring pre.code .const > .object_link a { color: #585CF6; }
+html {
+ width: 100%;
+ height: 100%;
+}
+body {
+ font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
+ font-size: 13px;
+ width: 100%;
+ margin: 0;
+ padding: 0;
+ display: flex;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+}
+
+#nav {
+ position: relative;
+ width: 100%;
+ height: 100%;
+ border: 0;
+ border-right: 1px dotted #eee;
+ overflow: auto;
+}
+.nav_wrap {
+ margin: 0;
+ padding: 0;
+ width: 20%;
+ height: 100%;
+ position: relative;
+ display: flex;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ flex-shrink: 0;
+ -webkit-flex-shrink: 0;
+ -ms-flex: 1 0;
+}
+#resizer {
+ position: absolute;
+ right: -5px;
+ top: 0;
+ width: 10px;
+ height: 100%;
+ cursor: col-resize;
+ z-index: 9999;
+}
+#main {
+ flex: 5 1;
+ -webkit-flex: 5 1;
+ -ms-flex: 5 1;
+ outline: none;
+ position: relative;
+ background: #fff;
+ padding: 1.2em;
+ padding-top: 0.2em;
+}
+
+@media (max-width: 920px) {
+ .nav_wrap { width: 100%; top: 0; right: 0; overflow: visible; position: absolute; }
+ #resizer { display: none; }
+ #nav {
+ z-index: 9999;
+ background: #fff;
+ display: none;
+ position: absolute;
+ top: 40px;
+ right: 12px;
+ width: 500px;
+ max-width: 80%;
+ height: 80%;
+ overflow-y: scroll;
+ border: 1px solid #999;
+ border-collapse: collapse;
+ box-shadow: -7px 5px 25px #aaa;
+ border-radius: 2px;
+ }
+}
+
+@media (min-width: 920px) {
+ body { height: 100%; overflow: hidden; }
+ #main { height: 100%; overflow: auto; }
+ #search { display: none; }
+}
+
+#main img { max-width: 100%; }
+h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; }
+h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; }
+h1.title { margin-bottom: 10px; }
+h1.alphaindex { margin-top: 0; font-size: 22px; }
+h2 {
+ padding: 0;
+ padding-bottom: 3px;
+ border-bottom: 1px #aaa solid;
+ font-size: 1.4em;
+ margin: 1.8em 0 0.5em;
+ position: relative;
+}
+h2 small { font-weight: normal; font-size: 0.7em; display: inline; position: absolute; right: 0; }
+h2 small a {
+ display: block;
+ height: 20px;
+ border: 1px solid #aaa;
+ border-bottom: 0;
+ border-top-left-radius: 5px;
+ background: #f8f8f8;
+ position: relative;
+ padding: 2px 7px;
+}
+.clear { clear: both; }
+.inline { display: inline; }
+.inline p:first-child { display: inline; }
+.docstring, .tags, #filecontents { font-size: 15px; line-height: 1.5145em; }
+.docstring p > code, .docstring p > tt, .tags p > code, .tags p > tt {
+ color: #c7254e; background: #f9f2f4; padding: 2px 4px; font-size: 1em;
+ border-radius: 4px;
+}
+.docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; }
+.docstring h1 { font-size: 1.2em; }
+.docstring h2 { font-size: 1.1em; }
+.docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
+.summary_desc .object_link a, .docstring .object_link a {
+ font-family: monospace; font-size: 1.05em;
+ color: #05a; background: #EDF4FA; padding: 2px 4px; font-size: 1em;
+ border-radius: 4px;
+}
+.rdoc-term { padding-right: 25px; font-weight: bold; }
+.rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; }
+.summary_desc pre.code .object_link a, .docstring pre.code .object_link a {
+ padding: 0px; background: inherit; color: inherit; border-radius: inherit;
+}
+
+/* style for */
+#filecontents table, .docstring table { border-collapse: collapse; }
+#filecontents table th, #filecontents table td,
+.docstring table th, .docstring table td { border: 1px solid #ccc; padding: 8px; padding-right: 17px; }
+#filecontents table tr:nth-child(odd),
+.docstring table tr:nth-child(odd) { background: #eee; }
+#filecontents table tr:nth-child(even),
+.docstring table tr:nth-child(even) { background: #fff; }
+#filecontents table th, .docstring table th { background: #fff; }
+
+/* style for */
+#filecontents li > p, .docstring li > p { margin: 0px; }
+#filecontents ul, .docstring ul { padding-left: 20px; }
+/* style for */
+#filecontents dl, .docstring dl { border: 1px solid #ccc; }
+#filecontents dt, .docstring dt { background: #ddd; font-weight: bold; padding: 3px 5px; }
+#filecontents dd, .docstring dd { padding: 5px 0px; margin-left: 18px; }
+#filecontents dd > p, .docstring dd > p { margin: 0px; }
+
+.note {
+ color: #222;
+ margin: 20px 0;
+ padding: 10px;
+ border: 1px solid #eee;
+ border-radius: 3px;
+ display: block;
+}
+.docstring .note {
+ border-left-color: #ccc;
+ border-left-width: 5px;
+}
+.note.todo { background: #ffffc5; border-color: #ececaa; }
+.note.returns_void { background: #efefef; }
+.note.deprecated { background: #ffe5e5; border-color: #e9dada; }
+.note.title.deprecated { background: #ffe5e5; border-color: #e9dada; }
+.note.private { background: #ffffc5; border-color: #ececaa; }
+.note.title { padding: 3px 6px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
+.summary_signature + .note.title { margin-left: 7px; }
+h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
+.note.title { background: #efefef; }
+.note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
+.note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
+.note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
+.note.title.private { background: #d5d5d5; border-color: #c5c5c5; }
+.note.title.not_defined_here { background: transparent; border: none; font-style: italic; }
+.discussion .note { margin-top: 6px; }
+.discussion .note:first-child { margin-top: 0; }
+
+h3.inherited {
+ font-style: italic;
+ font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
+ font-weight: normal;
+ padding: 0;
+ margin: 0;
+ margin-top: 12px;
+ margin-bottom: 3px;
+ font-size: 13px;
+}
+p.inherited {
+ padding: 0;
+ margin: 0;
+ margin-left: 25px;
+}
+
+.box_info dl {
+ margin: 0;
+ border: 0;
+ width: 100%;
+ font-size: 1em;
+ display: flex;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+}
+.box_info dl dt {
+ flex-shrink: 0;
+ -webkit-flex-shrink: 1;
+ -ms-flex-shrink: 1;
+ width: 100px;
+ text-align: right;
+ font-weight: bold;
+ border: 1px solid #aaa;
+ border-width: 1px 0px 0px 1px;
+ padding: 6px 0;
+ padding-right: 10px;
+}
+.box_info dl dd {
+ flex-grow: 1;
+ -webkit-flex-grow: 1;
+ -ms-flex: 1;
+ max-width: 420px;
+ padding: 6px 0;
+ padding-right: 20px;
+ border: 1px solid #aaa;
+ border-width: 1px 1px 0 0;
+ overflow: hidden;
+ position: relative;
+}
+.box_info dl:last-child > * {
+ border-bottom: 1px solid #aaa;
+}
+.box_info dl:nth-child(odd) > * { background: #eee; }
+.box_info dl:nth-child(even) > * { background: #fff; }
+.box_info dl > * { margin: 0; }
+
+ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
+.index_inline_list { padding-left: 0; font-size: 1.1em; }
+
+.index_inline_list li {
+ list-style: none;
+ display: inline-block;
+ padding: 0 12px;
+ line-height: 30px;
+ margin-bottom: 5px;
+}
+
+dl.constants { margin-left: 10px; }
+dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
+dl.constants.compact dt { display: inline-block; font-weight: normal }
+dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
+dl.constants .docstring .note:first-child { margin-top: 5px; }
+
+.summary_desc {
+ margin-left: 32px;
+ display: block;
+ font-family: sans-serif;
+ font-size: 1.1em;
+ margin-top: 8px;
+ line-height: 1.5145em;
+ margin-bottom: 0.8em;
+}
+.summary_desc tt { font-size: 0.9em; }
+dl.constants .note { padding: 2px 6px; padding-right: 12px; margin-top: 6px; }
+dl.constants .docstring { margin-left: 32px; font-size: 0.9em; font-weight: normal; }
+dl.constants .tags { padding-left: 32px; font-size: 0.9em; line-height: 0.8em; }
+dl.constants .discussion *:first-child { margin-top: 0; }
+dl.constants .discussion *:last-child { margin-bottom: 0; }
+
+.method_details { border-top: 1px dotted #ccc; margin-top: 25px; padding-top: 0; }
+.method_details.first { border: 0; margin-top: 5px; }
+.method_details.first h3.signature { margin-top: 1em; }
+p.signature, h3.signature {
+ font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
+ padding: 6px 10px; margin-top: 1em;
+ background: #E8F4FF; border: 1px solid #d8d8e5; border-radius: 5px;
+}
+p.signature tt,
+h3.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
+p.signature .overload,
+h3.signature .overload { display: block; }
+p.signature .extras,
+h3.signature .extras { font-weight: normal; font-family: sans-serif; color: #444; font-size: 1em; }
+p.signature .not_defined_here,
+h3.signature .not_defined_here,
+p.signature .aliases,
+h3.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; font-family: sans-serif; margin-top: 0px; color: #555; }
+p.signature .aliases .names,
+h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
+
+.tags .tag_title { font-size: 1.05em; margin-bottom: 0; font-weight: bold; }
+.tags .tag_title tt { color: initial; padding: initial; background: initial; }
+.tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
+.tags ul li { margin-bottom: 3px; }
+.tags ul .name { font-family: monospace; font-weight: bold; }
+.tags ul .note { padding: 3px 6px; }
+.tags { margin-bottom: 12px; }
+
+.tags .examples .tag_title { margin-bottom: 10px; font-weight: bold; }
+.tags .examples .inline p { padding: 0; margin: 0; font-weight: bold; font-size: 1em; }
+.tags .examples .inline p:before { content: "▸"; font-size: 1em; margin-right: 5px; }
+
+.tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
+.tags .overload .overload_item .signature {
+ padding: 2px 8px;
+ background: #F1F8FF; border: 1px solid #d8d8e5; border-radius: 3px;
+}
+.tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
+.tags .overload .docstring { margin-top: 15px; }
+
+.defines { display: none; }
+
+#method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
+
+.showSource { font-size: 0.9em; }
+.showSource a, .showSource a:visited { text-decoration: none; color: #666; }
+
+#content a, #content a:visited { text-decoration: none; color: #05a; }
+#content a:hover { background: #ffffa5; }
+
+ul.summary {
+ list-style: none;
+ font-family: monospace;
+ font-size: 1em;
+ line-height: 1.5em;
+ padding-left: 0px;
+}
+ul.summary a, ul.summary a:visited {
+ text-decoration: none; font-size: 1.1em;
+}
+ul.summary li { margin-bottom: 5px; }
+.summary_signature { padding: 4px 8px; background: #f8f8f8; border: 1px solid #f0f0f0; border-radius: 5px; }
+.summary_signature:hover { background: #CFEBFF; border-color: #A4CCDA; cursor: pointer; }
+.summary_signature.deprecated { background: #ffe5e5; border-color: #e9dada; }
+ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
+ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
+#content .summary_signature:hover a,
+#content .summary_signature:hover a:visited {
+ background: transparent;
+ color: #049;
+}
+
+p.inherited a { font-family: monospace; font-size: 0.9em; }
+p.inherited { word-spacing: 5px; font-size: 1.2em; }
+
+p.children { font-size: 1.2em; }
+p.children a { font-size: 0.9em; }
+p.children strong { font-size: 0.8em; }
+p.children strong.modules { padding-left: 5px; }
+
+ul.fullTree { display: none; padding-left: 0; list-style: none; margin-left: 0; margin-bottom: 10px; }
+ul.fullTree ul { margin-left: 0; padding-left: 0; list-style: none; }
+ul.fullTree li { text-align: center; padding-top: 18px; padding-bottom: 12px; background: url(data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAHtJREFUeNqMzrEJAkEURdGzuhgZbSoYWcAWoBVsB4JgZAGmphsZCZYzTQgWNCYrDN9RvMmHx+X916SUBFbo8CzD1idXrLErw1mQttgXtyrOcQ/Ny5p4Qh+2XqLYYazsPWNTiuMkRxa4vcV+evuNAUOLIx5+c2hyzv7hNQC67Q+/HHmlEwAAAABJRU5ErkJggg==) no-repeat top center; }
+ul.fullTree li:first-child { padding-top: 0; background: transparent; }
+ul.fullTree li:last-child { padding-bottom: 0; }
+.showAll ul.fullTree { display: block; }
+.showAll .inheritName { display: none; }
+
+#search { position: absolute; right: 12px; top: 0px; z-index: 9000; }
+#search a {
+ display: block; float: left;
+ padding: 4px 8px; text-decoration: none; color: #05a; fill: #05a;
+ border: 1px solid #d8d8e5;
+ border-bottom-left-radius: 3px; border-bottom-right-radius: 3px;
+ background: #F1F8FF;
+ box-shadow: -1px 1px 3px #ddd;
+}
+#search a:hover { background: #f5faff; color: #06b; fill: #06b; }
+#search a.active {
+ background: #568; padding-bottom: 20px; color: #fff; fill: #fff;
+ border: 1px solid #457;
+ border-top-left-radius: 5px; border-top-right-radius: 5px;
+}
+#search a.inactive { color: #999; fill: #999; }
+.inheritanceTree, .toggleDefines {
+ float: right;
+ border-left: 1px solid #aaa;
+ position: absolute; top: 0; right: 0;
+ height: 100%;
+ background: #f6f6f6;
+ padding: 5px;
+ min-width: 55px;
+ text-align: center;
+}
+
+#menu { font-size: 1.3em; color: #bbb; }
+#menu .title, #menu a { font-size: 0.7em; }
+#menu .title a { font-size: 1em; }
+#menu .title { color: #555; }
+#menu a, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
+#menu a:hover { color: #05a; }
+
+#footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
+#footer a, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
+#footer a:hover { color: #05a; }
+
+#listing ul.alpha { font-size: 1.1em; }
+#listing ul.alpha { margin: 0; padding: 0; padding-bottom: 10px; list-style: none; }
+#listing ul.alpha li.letter { font-size: 1.4em; padding-bottom: 10px; }
+#listing ul.alpha ul { margin: 0; padding-left: 15px; }
+#listing ul small { color: #666; font-size: 0.7em; }
+
+li.r1 { background: #f0f0f0; }
+li.r2 { background: #fafafa; }
+
+#content ul.summary li.deprecated .summary_signature a,
+#content ul.summary li.deprecated .summary_signature a:visited { text-decoration: line-through; font-style: italic; }
+
+#toc {
+ position: relative;
+ float: right;
+ overflow-x: auto;
+ right: -3px;
+ margin-left: 20px;
+ margin-bottom: 20px;
+ padding: 20px; padding-right: 30px;
+ max-width: 300px;
+ z-index: 5000;
+ background: #fefefe;
+ border: 1px solid #ddd;
+ box-shadow: -2px 2px 6px #bbb;
+}
+#toc .title { margin: 0; }
+#toc ol { padding-left: 1.8em; }
+#toc li { font-size: 1.1em; line-height: 1.7em; }
+#toc > ol > li { font-size: 1.1em; font-weight: bold; }
+#toc ol > ol { font-size: 0.9em; }
+#toc ol ol > ol { padding-left: 2.3em; }
+#toc ol + li { margin-top: 0.3em; }
+#toc.hidden { padding: 10px; background: #fefefe; box-shadow: none; }
+#toc.hidden:hover { background: #fafafa; }
+#filecontents h1 + #toc.nofloat { margin-top: 0; }
+@media (max-width: 560px) {
+ #toc {
+ margin-left: 0;
+ margin-top: 16px;
+ float: none;
+ max-width: none;
+ }
+}
+
+/* syntax highlighting */
+.source_code { display: none; padding: 3px 8px; border-left: 8px solid #ddd; margin-top: 5px; }
+#filecontents pre.code, .docstring pre.code, .source_code pre { font-family: monospace; }
+#filecontents pre.code, .docstring pre.code { display: block; }
+.source_code .lines { padding-right: 12px; color: #555; text-align: right; }
+#filecontents pre.code, .docstring pre.code,
+.tags pre.example {
+ padding: 9px 14px;
+ margin-top: 4px;
+ border: 1px solid #e1e1e8;
+ background: #f7f7f9;
+ border-radius: 4px;
+ font-size: 1em;
+ overflow-x: auto;
+ line-height: 1.2em;
+}
+pre.code { color: #000; tab-size: 2; }
+pre.code .info.file { color: #555; }
+pre.code .val { color: #036A07; }
+pre.code .tstring_content,
+pre.code .heredoc_beg, pre.code .heredoc_end,
+pre.code .qwords_beg, pre.code .qwords_end, pre.code .qwords_sep,
+pre.code .words_beg, pre.code .words_end, pre.code .words_sep,
+pre.code .qsymbols_beg, pre.code .qsymbols_end, pre.code .qsymbols_sep,
+pre.code .symbols_beg, pre.code .symbols_end, pre.code .symbols_sep,
+pre.code .tstring, pre.code .dstring { color: #036A07; }
+pre.code .fid, pre.code .rubyid_new, pre.code .rubyid_to_s,
+pre.code .rubyid_to_sym, pre.code .rubyid_to_f,
+pre.code .dot + pre.code .id,
+pre.code .rubyid_to_i pre.code .rubyid_each { color: #0085FF; }
+pre.code .comment { color: #0066FF; }
+pre.code .const, pre.code .constant { color: #585CF6; }
+pre.code .label,
+pre.code .symbol { color: #C5060B; }
+pre.code .kw,
+pre.code .rubyid_require,
+pre.code .rubyid_extend,
+pre.code .rubyid_include { color: #0000FF; }
+pre.code .ivar { color: #318495; }
+pre.code .gvar,
+pre.code .rubyid_backref,
+pre.code .rubyid_nth_ref { color: #6D79DE; }
+pre.code .regexp, .dregexp { color: #036A07; }
+pre.code a { border-bottom: 1px dotted #bbf; }
+/* inline code */
+*:not(pre) > code {
+ padding: 1px 3px 1px 3px;
+ border: 1px solid #E1E1E8;
+ background: #F7F7F9;
+ border-radius: 4px;
+}
+
+/* Color fix for links */
+#content .summary_desc pre.code .id > .object_link a, /* identifier */
+#content .docstring pre.code .id > .object_link a { color: #0085FF; }
+#content .summary_desc pre.code .const > .object_link a, /* constant */
+#content .docstring pre.code .const > .object_link a { color: #585CF6; }
diff --git a/test-unit/en/file.README.html b/test-unit/en/file.README.html
index 2bf3099f..e4ec8e30 100644
--- a/test-unit/en/file.README.html
+++ b/test-unit/en/file.README.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- File: README
-
- — test-unit
-
+
+ File: README
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/en/file.getting-started.html b/test-unit/en/file.getting-started.html
index 4595ecb5..413d819b 100644
--- a/test-unit/en/file.getting-started.html
+++ b/test-unit/en/file.getting-started.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- File: getting-started
-
- — test-unit
-
+
+ File: getting-started
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/en/file.how-to.html b/test-unit/en/file.how-to.html
index 529d0a39..7e3cf8de 100644
--- a/test-unit/en/file.how-to.html
+++ b/test-unit/en/file.how-to.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- File: how-to
-
- — test-unit
-
+
+ File: how-to
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/en/file.news.html b/test-unit/en/file.news.html
index 9bb98685..a7f8899d 100644
--- a/test-unit/en/file.news.html
+++ b/test-unit/en/file.news.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- File: news
-
- — test-unit
-
+
+ File: news
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test-unit/en/file_list.html b/test-unit/en/file_list.html
index 6f0df66f..bf4ce37f 100644
--- a/test-unit/en/file_list.html
+++ b/test-unit/en/file_list.html
@@ -1,71 +1,71 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
File List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
File List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test-unit/en/frames.html b/test-unit/en/frames.html
index e4579fa7..0475bbac 100644
--- a/test-unit/en/frames.html
+++ b/test-unit/en/frames.html
@@ -1,21 +1,21 @@
-
-
-
-
+
+
+
+
test-unit - test-unit
-
-
-
-
- Oops!
- YARD requires JavaScript!
-
-
+
+
+
+
+ Oops!
+ YARD requires JavaScript!
+
+
diff --git a/test-unit/en/index.html b/test-unit/en/index.html
index 6d11b6fd..4b0cab2f 100644
--- a/test-unit/en/index.html
+++ b/test-unit/en/index.html
@@ -1,50 +1,50 @@
-
-
-
-
-
+
+
+
+
+
-
- File: README
-
- — test-unit
-
+
+ File: README
+
+ — test-unit
+
- test-unit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
\ No newline at end of file
diff --git a/test-unit/en/js/app.js b/test-unit/en/js/app.js
index 8d067fe3..c3f326d3 100644
--- a/test-unit/en/js/app.js
+++ b/test-unit/en/js/app.js
@@ -1,314 +1,292 @@
-(function() {
-
-var localStorage = {}, sessionStorage = {};
-try { localStorage = window.localStorage; } catch (e) { }
-try { sessionStorage = window.sessionStorage; } catch (e) { }
-
-function createSourceLinks() {
- $('.method_details_list .source_code').
- before("[View source ] ");
- $('.toggleSource').toggle(function() {
- $(this).parent().nextAll('.source_code').slideDown(100);
- $(this).text("Hide source");
- },
- function() {
- $(this).parent().nextAll('.source_code').slideUp(100);
- $(this).text("View source");
- });
-}
-
-function createDefineLinks() {
- var tHeight = 0;
- $('.defines').after(" more... ");
- $('.toggleDefines').toggle(function() {
- tHeight = $(this).parent().prev().height();
- $(this).prev().css('display', 'inline');
- $(this).parent().prev().height($(this).parent().height());
- $(this).text("(less)");
- },
- function() {
- $(this).prev().hide();
- $(this).parent().prev().height(tHeight);
- $(this).text("more...");
- });
-}
-
-function createFullTreeLinks() {
- var tHeight = 0;
- $('.inheritanceTree').toggle(function() {
- tHeight = $(this).parent().prev().height();
- $(this).parent().toggleClass('showAll');
- $(this).text("(hide)");
- $(this).parent().prev().height($(this).parent().height());
- },
- function() {
- $(this).parent().toggleClass('showAll');
- $(this).parent().prev().height(tHeight);
- $(this).text("show all");
- });
-}
-
-function searchFrameButtons() {
- $('.full_list_link').click(function() {
- toggleSearchFrame(this, $(this).attr('href'));
- return false;
- });
- window.addEventListener('message', function(e) {
- if (e.data === 'navEscape') {
- $('#nav').slideUp(100);
- $('#search a').removeClass('active inactive');
- $(window).focus();
- }
- });
-
- $(window).resize(function() {
- if ($('#search:visible').length === 0) {
- $('#nav').removeAttr('style');
- $('#search a').removeClass('active inactive');
- $(window).focus();
- }
- });
-}
-
-function toggleSearchFrame(id, link) {
- var frame = $('#nav');
- $('#search a').removeClass('active').addClass('inactive');
- if (frame.attr('src') === link && frame.css('display') !== "none") {
- frame.slideUp(100);
- $('#search a').removeClass('active inactive');
- }
- else {
- $(id).addClass('active').removeClass('inactive');
- if (frame.attr('src') !== link) frame.attr('src', link);
- frame.slideDown(100);
- }
-}
-
-function linkSummaries() {
- $('.summary_signature').click(function() {
- document.location = $(this).find('a').attr('href');
- });
-}
-
-function summaryToggle() {
- $('.summary_toggle').click(function(e) {
- e.preventDefault();
- localStorage.summaryCollapsed = $(this).text();
- $('.summary_toggle').each(function() {
- $(this).text($(this).text() == "collapse" ? "expand" : "collapse");
- var next = $(this).parent().parent().nextAll('ul.summary').first();
- if (next.hasClass('compact')) {
- next.toggle();
- next.nextAll('ul.summary').first().toggle();
- }
- else if (next.hasClass('summary')) {
- var list = $('');
- list.html(next.html());
- list.find('.summary_desc, .note').remove();
- list.find('a').each(function() {
- $(this).html($(this).find('strong').html());
- $(this).parent().html($(this)[0].outerHTML);
- });
- next.before(list);
- next.toggle();
- }
- });
- return false;
- });
- if (localStorage.summaryCollapsed == "collapse") {
- $('.summary_toggle').first().click();
- } else { localStorage.summaryCollapsed = "expand"; }
-}
-
-function constantSummaryToggle() {
- $('.constants_summary_toggle').click(function(e) {
- e.preventDefault();
- localStorage.summaryCollapsed = $(this).text();
- $('.constants_summary_toggle').each(function() {
- $(this).text($(this).text() == "collapse" ? "expand" : "collapse");
- var next = $(this).parent().parent().nextAll('dl.constants').first();
- if (next.hasClass('compact')) {
- next.toggle();
- next.nextAll('dl.constants').first().toggle();
- }
- else if (next.hasClass('constants')) {
- var list = $(' ');
- list.html(next.html());
- list.find('dt').each(function() {
- $(this).addClass('summary_signature');
- $(this).text( $(this).text().split('=')[0]);
- if ($(this).has(".deprecated").length) {
- $(this).addClass('deprecated');
- };
- });
- // Add the value of the constant as "Tooltip" to the summary object
- list.find('pre.code').each(function() {
- console.log($(this).parent());
- var dt_element = $(this).parent().prev();
- var tooltip = $(this).text();
- if (dt_element.hasClass("deprecated")) {
- tooltip = 'Deprecated. ' + tooltip;
- };
- dt_element.attr('title', tooltip);
- });
- list.find('.docstring, .tags, dd').remove();
- next.before(list);
- next.toggle();
- }
- });
- return false;
- });
- if (localStorage.summaryCollapsed == "collapse") {
- $('.constants_summary_toggle').first().click();
- } else { localStorage.summaryCollapsed = "expand"; }
-}
-
-function generateTOC() {
- if ($('#filecontents').length === 0) return;
- var _toc = $(' ');
- var show = false;
- var toc = _toc;
- var counter = 0;
- var tags = ['h2', 'h3', 'h4', 'h5', 'h6'];
- var i;
- var curli;
- if ($('#filecontents h1').length > 1) tags.unshift('h1');
- for (i = 0; i < tags.length; i++) { tags[i] = '#filecontents ' + tags[i]; }
- var lastTag = parseInt(tags[0][1], 10);
- $(tags.join(', ')).each(function() {
- if ($(this).parents('.method_details .docstring').length != 0) return;
- if (this.id == "filecontents") return;
- show = true;
- var thisTag = parseInt(this.tagName[1], 10);
- if (this.id.length === 0) {
- var proposedId = $(this).attr('toc-id');
- if (typeof(proposedId) != "undefined") this.id = proposedId;
- else {
- var proposedId = $(this).text().replace(/[^a-z0-9-]/ig, '_');
- if ($('#' + proposedId).length > 0) { proposedId += counter; counter++; }
- this.id = proposedId;
- }
- }
- if (thisTag > lastTag) {
- for (i = 0; i < thisTag - lastTag; i++) {
- if ( typeof(curli) == "undefined" ) {
- curli = $(' ');
- toc.append(curli);
- }
- toc = $(' ');
- curli.append(toc);
- curli = undefined;
- }
- }
- if (thisTag < lastTag) {
- for (i = 0; i < lastTag - thisTag; i++) {
- toc = toc.parent();
- toc = toc.parent();
- }
- }
- var title = $(this).attr('toc-title');
- if (typeof(title) == "undefined") title = $(this).text();
- curli =$('' + title + ' ');
- toc.append(curli);
- lastTag = thisTag;
- });
- if (!show) return;
- html = '';
- $('#content').prepend(html);
- $('#toc').append(_toc);
- $('#toc .hide_toc').toggle(function() {
- $('#toc .top').slideUp('fast');
- $('#toc').toggleClass('hidden');
- $('#toc .title small').toggle();
- }, function() {
- $('#toc .top').slideDown('fast');
- $('#toc').toggleClass('hidden');
- $('#toc .title small').toggle();
- });
-}
-
-function navResizeFn(e) {
- if (e.which !== 1) {
- navResizeFnStop();
- return;
- }
-
- sessionStorage.navWidth = e.pageX.toString();
- $('.nav_wrap').css('width', e.pageX);
- $('.nav_wrap').css('-ms-flex', 'inherit');
-}
-
-function navResizeFnStop() {
- $(window).unbind('mousemove', navResizeFn);
- window.removeEventListener('message', navMessageFn, false);
-}
-
-function navMessageFn(e) {
- if (e.data.action === 'mousemove') navResizeFn(e.data.event);
- if (e.data.action === 'mouseup') navResizeFnStop();
-}
-
-function navResizer() {
- $('#resizer').mousedown(function(e) {
- e.preventDefault();
- $(window).mousemove(navResizeFn);
- window.addEventListener('message', navMessageFn, false);
- });
- $(window).mouseup(navResizeFnStop);
-
- if (sessionStorage.navWidth) {
- navResizeFn({which: 1, pageX: parseInt(sessionStorage.navWidth, 10)});
- }
-}
-
-function navExpander() {
- var done = false, timer = setTimeout(postMessage, 500);
- function postMessage() {
- if (done) return;
- clearTimeout(timer);
- var opts = { action: 'expand', path: pathId };
- document.getElementById('nav').contentWindow.postMessage(opts, '*');
- done = true;
- }
-
- window.addEventListener('message', function(event) {
- if (event.data === 'navReady') postMessage();
- return false;
- }, false);
-}
-
-function mainFocus() {
- var hash = window.location.hash;
- if (hash !== '' && $(hash)[0]) {
- $(hash)[0].scrollIntoView();
- }
-
- setTimeout(function() { $('#main').focus(); }, 10);
-}
-
-function navigationChange() {
- // This works around the broken anchor navigation with the YARD template.
- window.onpopstate = function() {
- var hash = window.location.hash;
- if (hash !== '' && $(hash)[0]) {
- $(hash)[0].scrollIntoView();
- }
- };
-}
-
-$(document).ready(function() {
- navResizer();
- navExpander();
- createSourceLinks();
- createDefineLinks();
- createFullTreeLinks();
- searchFrameButtons();
- linkSummaries();
- summaryToggle();
- constantSummaryToggle();
- generateTOC();
- mainFocus();
- navigationChange();
-});
-
-})();
+(function() {
+
+var localStorage = {}, sessionStorage = {};
+try { localStorage = window.localStorage; } catch (e) { }
+try { sessionStorage = window.sessionStorage; } catch (e) { }
+
+function createSourceLinks() {
+ $('.method_details_list .source_code').
+ before("[View source ] ");
+ $('.toggleSource').toggle(function() {
+ $(this).parent().nextAll('.source_code').slideDown(100);
+ $(this).text("Hide source");
+ },
+ function() {
+ $(this).parent().nextAll('.source_code').slideUp(100);
+ $(this).text("View source");
+ });
+}
+
+function createDefineLinks() {
+ var tHeight = 0;
+ $('.defines').after(" more... ");
+ $('.toggleDefines').toggle(function() {
+ tHeight = $(this).parent().prev().height();
+ $(this).prev().css('display', 'inline');
+ $(this).parent().prev().height($(this).parent().height());
+ $(this).text("(less)");
+ },
+ function() {
+ $(this).prev().hide();
+ $(this).parent().prev().height(tHeight);
+ $(this).text("more...");
+ });
+}
+
+function createFullTreeLinks() {
+ var tHeight = 0;
+ $('.inheritanceTree').toggle(function() {
+ tHeight = $(this).parent().prev().height();
+ $(this).parent().toggleClass('showAll');
+ $(this).text("(hide)");
+ $(this).parent().prev().height($(this).parent().height());
+ },
+ function() {
+ $(this).parent().toggleClass('showAll');
+ $(this).parent().prev().height(tHeight);
+ $(this).text("show all");
+ });
+}
+
+function searchFrameButtons() {
+ $('.full_list_link').click(function() {
+ toggleSearchFrame(this, $(this).attr('href'));
+ return false;
+ });
+ window.addEventListener('message', function(e) {
+ if (e.data === 'navEscape') {
+ $('#nav').slideUp(100);
+ $('#search a').removeClass('active inactive');
+ $(window).focus();
+ }
+ });
+
+ $(window).resize(function() {
+ if ($('#search:visible').length === 0) {
+ $('#nav').removeAttr('style');
+ $('#search a').removeClass('active inactive');
+ $(window).focus();
+ }
+ });
+}
+
+function toggleSearchFrame(id, link) {
+ var frame = $('#nav');
+ $('#search a').removeClass('active').addClass('inactive');
+ if (frame.attr('src') === link && frame.css('display') !== "none") {
+ frame.slideUp(100);
+ $('#search a').removeClass('active inactive');
+ }
+ else {
+ $(id).addClass('active').removeClass('inactive');
+ if (frame.attr('src') !== link) frame.attr('src', link);
+ frame.slideDown(100);
+ }
+}
+
+function linkSummaries() {
+ $('.summary_signature').click(function() {
+ document.location = $(this).find('a').attr('href');
+ });
+}
+
+function summaryToggle() {
+ $('.summary_toggle').click(function(e) {
+ e.preventDefault();
+ localStorage.summaryCollapsed = $(this).text();
+ $('.summary_toggle').each(function() {
+ $(this).text($(this).text() == "collapse" ? "expand" : "collapse");
+ var next = $(this).parent().parent().nextAll('ul.summary').first();
+ if (next.hasClass('compact')) {
+ next.toggle();
+ next.nextAll('ul.summary').first().toggle();
+ }
+ else if (next.hasClass('summary')) {
+ var list = $('');
+ list.html(next.html());
+ list.find('.summary_desc, .note').remove();
+ list.find('a').each(function() {
+ $(this).html($(this).find('strong').html());
+ $(this).parent().html($(this)[0].outerHTML);
+ });
+ next.before(list);
+ next.toggle();
+ }
+ });
+ return false;
+ });
+ if (localStorage.summaryCollapsed == "collapse") {
+ $('.summary_toggle').first().click();
+ } else { localStorage.summaryCollapsed = "expand"; }
+}
+
+function constantSummaryToggle() {
+ $('.constants_summary_toggle').click(function(e) {
+ e.preventDefault();
+ localStorage.summaryCollapsed = $(this).text();
+ $('.constants_summary_toggle').each(function() {
+ $(this).text($(this).text() == "collapse" ? "expand" : "collapse");
+ var next = $(this).parent().parent().nextAll('dl.constants').first();
+ if (next.hasClass('compact')) {
+ next.toggle();
+ next.nextAll('dl.constants').first().toggle();
+ }
+ else if (next.hasClass('constants')) {
+ var list = $(' ');
+ list.html(next.html());
+ list.find('dt').each(function() {
+ $(this).addClass('summary_signature');
+ $(this).text( $(this).text().split('=')[0]);
+ if ($(this).has(".deprecated").length) {
+ $(this).addClass('deprecated');
+ };
+ });
+ // Add the value of the constant as "Tooltip" to the summary object
+ list.find('pre.code').each(function() {
+ console.log($(this).parent());
+ var dt_element = $(this).parent().prev();
+ var tooltip = $(this).text();
+ if (dt_element.hasClass("deprecated")) {
+ tooltip = 'Deprecated. ' + tooltip;
+ };
+ dt_element.attr('title', tooltip);
+ });
+ list.find('.docstring, .tags, dd').remove();
+ next.before(list);
+ next.toggle();
+ }
+ });
+ return false;
+ });
+ if (localStorage.summaryCollapsed == "collapse") {
+ $('.constants_summary_toggle').first().click();
+ } else { localStorage.summaryCollapsed = "expand"; }
+}
+
+function generateTOC() {
+ if ($('#filecontents').length === 0) return;
+ var _toc = $(' ');
+ var show = false;
+ var toc = _toc;
+ var counter = 0;
+ var tags = ['h2', 'h3', 'h4', 'h5', 'h6'];
+ var i;
+ if ($('#filecontents h1').length > 1) tags.unshift('h1');
+ for (i = 0; i < tags.length; i++) { tags[i] = '#filecontents ' + tags[i]; }
+ var lastTag = parseInt(tags[0][1], 10);
+ $(tags.join(', ')).each(function() {
+ if ($(this).parents('.method_details .docstring').length != 0) return;
+ if (this.id == "filecontents") return;
+ show = true;
+ var thisTag = parseInt(this.tagName[1], 10);
+ if (this.id.length === 0) {
+ var proposedId = $(this).attr('toc-id');
+ if (typeof(proposedId) != "undefined") this.id = proposedId;
+ else {
+ var proposedId = $(this).text().replace(/[^a-z0-9-]/ig, '_');
+ if ($('#' + proposedId).length > 0) { proposedId += counter; counter++; }
+ this.id = proposedId;
+ }
+ }
+ if (thisTag > lastTag) {
+ for (i = 0; i < thisTag - lastTag; i++) {
+ var tmp = $(' '); toc.append(tmp); toc = tmp;
+ }
+ }
+ if (thisTag < lastTag) {
+ for (i = 0; i < lastTag - thisTag; i++) toc = toc.parent();
+ }
+ var title = $(this).attr('toc-title');
+ if (typeof(title) == "undefined") title = $(this).text();
+ toc.append('' + title + ' ');
+ lastTag = thisTag;
+ });
+ if (!show) return;
+ html = '';
+ $('#content').prepend(html);
+ $('#toc').append(_toc);
+ $('#toc .hide_toc').toggle(function() {
+ $('#toc .top').slideUp('fast');
+ $('#toc').toggleClass('hidden');
+ $('#toc .title small').toggle();
+ }, function() {
+ $('#toc .top').slideDown('fast');
+ $('#toc').toggleClass('hidden');
+ $('#toc .title small').toggle();
+ });
+}
+
+function navResizeFn(e) {
+ if (e.which !== 1) {
+ navResizeFnStop();
+ return;
+ }
+
+ sessionStorage.navWidth = e.pageX.toString();
+ $('.nav_wrap').css('width', e.pageX);
+ $('.nav_wrap').css('-ms-flex', 'inherit');
+}
+
+function navResizeFnStop() {
+ $(window).unbind('mousemove', navResizeFn);
+ window.removeEventListener('message', navMessageFn, false);
+}
+
+function navMessageFn(e) {
+ if (e.data.action === 'mousemove') navResizeFn(e.data.event);
+ if (e.data.action === 'mouseup') navResizeFnStop();
+}
+
+function navResizer() {
+ $('#resizer').mousedown(function(e) {
+ e.preventDefault();
+ $(window).mousemove(navResizeFn);
+ window.addEventListener('message', navMessageFn, false);
+ });
+ $(window).mouseup(navResizeFnStop);
+
+ if (sessionStorage.navWidth) {
+ navResizeFn({which: 1, pageX: parseInt(sessionStorage.navWidth, 10)});
+ }
+}
+
+function navExpander() {
+ var done = false, timer = setTimeout(postMessage, 500);
+ function postMessage() {
+ if (done) return;
+ clearTimeout(timer);
+ var opts = { action: 'expand', path: pathId };
+ document.getElementById('nav').contentWindow.postMessage(opts, '*');
+ done = true;
+ }
+
+ window.addEventListener('message', function(event) {
+ if (event.data === 'navReady') postMessage();
+ return false;
+ }, false);
+}
+
+function mainFocus() {
+ var hash = window.location.hash;
+ if (hash !== '' && $(hash)[0]) {
+ $(hash)[0].scrollIntoView();
+ }
+
+ setTimeout(function() { $('#main').focus(); }, 10);
+}
+
+$(document).ready(function() {
+ navResizer();
+ navExpander();
+ createSourceLinks();
+ createDefineLinks();
+ createFullTreeLinks();
+ searchFrameButtons();
+ linkSummaries();
+ summaryToggle();
+ constantSummaryToggle();
+ generateTOC();
+ mainFocus();
+});
+
+})();
diff --git a/test-unit/en/js/full_list.js b/test-unit/en/js/full_list.js
index 59069c5e..3e4afd6f 100644
--- a/test-unit/en/js/full_list.js
+++ b/test-unit/en/js/full_list.js
@@ -1,216 +1,216 @@
-(function() {
-
-var $clicked = $(null);
-var searchTimeout = null;
-var searchCache = [];
-var caseSensitiveMatch = false;
-var ignoreKeyCodeMin = 8;
-var ignoreKeyCodeMax = 46;
-var commandKey = 91;
-
-RegExp.escape = function(text) {
- return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
-}
-
-function escapeShortcut() {
- $(document).keydown(function(evt) {
- if (evt.which == 27) {
- window.parent.postMessage('navEscape', '*');
- }
- });
-}
-
-function navResizer() {
- $(window).mousemove(function(e) {
- window.parent.postMessage({
- action: 'mousemove', event: {pageX: e.pageX, which: e.which}
- }, '*');
- }).mouseup(function(e) {
- window.parent.postMessage({action: 'mouseup'}, '*');
- });
- window.parent.postMessage("navReady", "*");
-}
-
-function clearSearchTimeout() {
- clearTimeout(searchTimeout);
- searchTimeout = null;
-}
-
-function enableLinks() {
- // load the target page in the parent window
- $('#full_list li').on('click', function(evt) {
- $('#full_list li').removeClass('clicked');
- $clicked = $(this);
- $clicked.addClass('clicked');
- evt.stopPropagation();
-
- if (evt.target.tagName === 'A') return true;
-
- var elem = $clicked.find('> .item .object_link a')[0];
- var e = evt.originalEvent;
- var newEvent = new MouseEvent(evt.originalEvent.type);
- newEvent.initMouseEvent(e.type, e.canBubble, e.cancelable, e.view, e.detail, e.screenX, e.screenY, e.clientX, e.clientY, e.ctrlKey, e.altKey, e.shiftKey, e.metaKey, e.button, e.relatedTarget);
- elem.dispatchEvent(newEvent);
- evt.preventDefault();
- return false;
- });
-}
-
-function enableToggles() {
- // show/hide nested classes on toggle click
- $('#full_list a.toggle').on('click', function(evt) {
- evt.stopPropagation();
- evt.preventDefault();
- $(this).parent().parent().toggleClass('collapsed');
- highlight();
- });
-}
-
-function populateSearchCache() {
- $('#full_list li .item').each(function() {
- var $node = $(this);
- var $link = $node.find('.object_link a');
- if ($link.length > 0) {
- searchCache.push({
- node: $node,
- link: $link,
- name: $link.text(),
- fullName: $link.attr('title').split(' ')[0]
- });
- }
- });
-}
-
-function enableSearch() {
- $('#search input').keyup(function(event) {
- if (ignoredKeyPress(event)) return;
- if (this.value === "") {
- clearSearch();
- } else {
- performSearch(this.value);
- }
- });
-
- $('#full_list').after("
");
-}
-
-function ignoredKeyPress(event) {
- if (
- (event.keyCode > ignoreKeyCodeMin && event.keyCode < ignoreKeyCodeMax) ||
- (event.keyCode == commandKey)
- ) {
- return true;
- } else {
- return false;
- }
-}
-
-function clearSearch() {
- clearSearchTimeout();
- $('#full_list .found').removeClass('found').each(function() {
- var $link = $(this).find('.object_link a');
- $link.text($link.text());
- });
- $('#full_list, #content').removeClass('insearch');
- $clicked.parents().removeClass('collapsed');
- highlight();
-}
-
-function performSearch(searchString) {
- clearSearchTimeout();
- $('#full_list, #content').addClass('insearch');
- $('#noresults').text('').hide();
- partialSearch(searchString, 0);
-}
-
-function partialSearch(searchString, offset) {
- var lastRowClass = '';
- var i = null;
- for (i = offset; i < Math.min(offset + 50, searchCache.length); i++) {
- var item = searchCache[i];
- var searchName = (searchString.indexOf('::') != -1 ? item.fullName : item.name);
- var matchString = buildMatchString(searchString);
- var matchRegexp = new RegExp(matchString, caseSensitiveMatch ? "" : "i");
- if (searchName.match(matchRegexp) == null) {
- item.node.removeClass('found');
- item.link.text(item.link.text());
- }
- else {
- item.node.addClass('found');
- item.node.removeClass(lastRowClass).addClass(lastRowClass == 'r1' ? 'r2' : 'r1');
- lastRowClass = item.node.hasClass('r1') ? 'r1' : 'r2';
- item.link.html(item.name.replace(matchRegexp, "$& "));
- }
- }
- if(i == searchCache.length) {
- searchDone();
- } else {
- searchTimeout = setTimeout(function() {
- partialSearch(searchString, i);
- }, 0);
- }
-}
-
-function searchDone() {
- searchTimeout = null;
- highlight();
- if ($('#full_list li:visible').size() === 0) {
- $('#noresults').text('No results were found.').hide().fadeIn();
- } else {
- $('#noresults').text('').hide();
- }
- $('#content').removeClass('insearch');
-}
-
-function buildMatchString(searchString, event) {
- caseSensitiveMatch = searchString.match(/[A-Z]/) != null;
- var regexSearchString = RegExp.escape(searchString);
- if (caseSensitiveMatch) {
- regexSearchString += "|" +
- $.map(searchString.split(''), function(e) { return RegExp.escape(e); }).
- join('.+?');
- }
- return regexSearchString;
-}
-
-function highlight() {
- $('#full_list li:visible').each(function(n) {
- $(this).removeClass('even odd').addClass(n % 2 == 0 ? 'odd' : 'even');
- });
-}
-
-/**
- * Expands the tree to the target element and its immediate
- * children.
- */
-function expandTo(path) {
- var $target = $(document.getElementById('object_' + path));
- $target.addClass('clicked');
- $target.removeClass('collapsed');
- $target.parentsUntil('#full_list', 'li').removeClass('collapsed');
- if($target[0]) {
- window.scrollTo(window.scrollX, $target.offset().top - 250);
- highlight();
- }
-}
-
-function windowEvents(event) {
- var msg = event.data;
- if (msg.action === "expand") {
- expandTo(msg.path);
- }
- return false;
-}
-
-window.addEventListener("message", windowEvents, false);
-
-$(document).ready(function() {
- escapeShortcut();
- navResizer();
- enableLinks();
- enableToggles();
- populateSearchCache();
- enableSearch();
-});
-
-})();
+(function() {
+
+var $clicked = $(null);
+var searchTimeout = null;
+var searchCache = [];
+var caseSensitiveMatch = false;
+var ignoreKeyCodeMin = 8;
+var ignoreKeyCodeMax = 46;
+var commandKey = 91;
+
+RegExp.escape = function(text) {
+ return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
+}
+
+function escapeShortcut() {
+ $(document).keydown(function(evt) {
+ if (evt.which == 27) {
+ window.parent.postMessage('navEscape', '*');
+ }
+ });
+}
+
+function navResizer() {
+ $(window).mousemove(function(e) {
+ window.parent.postMessage({
+ action: 'mousemove', event: {pageX: e.pageX, which: e.which}
+ }, '*');
+ }).mouseup(function(e) {
+ window.parent.postMessage({action: 'mouseup'}, '*');
+ });
+ window.parent.postMessage("navReady", "*");
+}
+
+function clearSearchTimeout() {
+ clearTimeout(searchTimeout);
+ searchTimeout = null;
+}
+
+function enableLinks() {
+ // load the target page in the parent window
+ $('#full_list li').on('click', function(evt) {
+ $('#full_list li').removeClass('clicked');
+ $clicked = $(this);
+ $clicked.addClass('clicked');
+ evt.stopPropagation();
+
+ if (evt.target.tagName === 'A') return true;
+
+ var elem = $clicked.find('> .item .object_link a')[0];
+ var e = evt.originalEvent;
+ var newEvent = new MouseEvent(evt.originalEvent.type);
+ newEvent.initMouseEvent(e.type, e.canBubble, e.cancelable, e.view, e.detail, e.screenX, e.screenY, e.clientX, e.clientY, e.ctrlKey, e.altKey, e.shiftKey, e.metaKey, e.button, e.relatedTarget);
+ elem.dispatchEvent(newEvent);
+ evt.preventDefault();
+ return false;
+ });
+}
+
+function enableToggles() {
+ // show/hide nested classes on toggle click
+ $('#full_list a.toggle').on('click', function(evt) {
+ evt.stopPropagation();
+ evt.preventDefault();
+ $(this).parent().parent().toggleClass('collapsed');
+ highlight();
+ });
+}
+
+function populateSearchCache() {
+ $('#full_list li .item').each(function() {
+ var $node = $(this);
+ var $link = $node.find('.object_link a');
+ if ($link.length > 0) {
+ searchCache.push({
+ node: $node,
+ link: $link,
+ name: $link.text(),
+ fullName: $link.attr('title').split(' ')[0]
+ });
+ }
+ });
+}
+
+function enableSearch() {
+ $('#search input').keyup(function(event) {
+ if (ignoredKeyPress(event)) return;
+ if (this.value === "") {
+ clearSearch();
+ } else {
+ performSearch(this.value);
+ }
+ });
+
+ $('#full_list').after("
");
+}
+
+function ignoredKeyPress(event) {
+ if (
+ (event.keyCode > ignoreKeyCodeMin && event.keyCode < ignoreKeyCodeMax) ||
+ (event.keyCode == commandKey)
+ ) {
+ return true;
+ } else {
+ return false;
+ }
+}
+
+function clearSearch() {
+ clearSearchTimeout();
+ $('#full_list .found').removeClass('found').each(function() {
+ var $link = $(this).find('.object_link a');
+ $link.text($link.text());
+ });
+ $('#full_list, #content').removeClass('insearch');
+ $clicked.parents().removeClass('collapsed');
+ highlight();
+}
+
+function performSearch(searchString) {
+ clearSearchTimeout();
+ $('#full_list, #content').addClass('insearch');
+ $('#noresults').text('').hide();
+ partialSearch(searchString, 0);
+}
+
+function partialSearch(searchString, offset) {
+ var lastRowClass = '';
+ var i = null;
+ for (i = offset; i < Math.min(offset + 50, searchCache.length); i++) {
+ var item = searchCache[i];
+ var searchName = (searchString.indexOf('::') != -1 ? item.fullName : item.name);
+ var matchString = buildMatchString(searchString);
+ var matchRegexp = new RegExp(matchString, caseSensitiveMatch ? "" : "i");
+ if (searchName.match(matchRegexp) == null) {
+ item.node.removeClass('found');
+ item.link.text(item.link.text());
+ }
+ else {
+ item.node.addClass('found');
+ item.node.removeClass(lastRowClass).addClass(lastRowClass == 'r1' ? 'r2' : 'r1');
+ lastRowClass = item.node.hasClass('r1') ? 'r1' : 'r2';
+ item.link.html(item.name.replace(matchRegexp, "$& "));
+ }
+ }
+ if(i == searchCache.length) {
+ searchDone();
+ } else {
+ searchTimeout = setTimeout(function() {
+ partialSearch(searchString, i);
+ }, 0);
+ }
+}
+
+function searchDone() {
+ searchTimeout = null;
+ highlight();
+ if ($('#full_list li:visible').size() === 0) {
+ $('#noresults').text('No results were found.').hide().fadeIn();
+ } else {
+ $('#noresults').text('').hide();
+ }
+ $('#content').removeClass('insearch');
+}
+
+function buildMatchString(searchString, event) {
+ caseSensitiveMatch = searchString.match(/[A-Z]/) != null;
+ var regexSearchString = RegExp.escape(searchString);
+ if (caseSensitiveMatch) {
+ regexSearchString += "|" +
+ $.map(searchString.split(''), function(e) { return RegExp.escape(e); }).
+ join('.+?');
+ }
+ return regexSearchString;
+}
+
+function highlight() {
+ $('#full_list li:visible').each(function(n) {
+ $(this).removeClass('even odd').addClass(n % 2 == 0 ? 'odd' : 'even');
+ });
+}
+
+/**
+ * Expands the tree to the target element and its immediate
+ * children.
+ */
+function expandTo(path) {
+ var $target = $(document.getElementById('object_' + path));
+ $target.addClass('clicked');
+ $target.removeClass('collapsed');
+ $target.parentsUntil('#full_list', 'li').removeClass('collapsed');
+ if($target[0]) {
+ window.scrollTo(window.scrollX, $target.offset().top - 250);
+ highlight();
+ }
+}
+
+function windowEvents(event) {
+ var msg = event.data;
+ if (msg.action === "expand") {
+ expandTo(msg.path);
+ }
+ return false;
+}
+
+window.addEventListener("message", windowEvents, false);
+
+$(document).ready(function() {
+ escapeShortcut();
+ navResizer();
+ enableLinks();
+ enableToggles();
+ populateSearchCache();
+ enableSearch();
+});
+
+})();
diff --git a/test-unit/en/js/jquery.js b/test-unit/en/js/jquery.js
index 198b3ff0..979ed082 100644
--- a/test-unit/en/js/jquery.js
+++ b/test-unit/en/js/jquery.js
@@ -1,4 +1,4 @@
-/*! jQuery v1.7.1 jquery.com | jquery.org/license */
-(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;ca ",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o=""+"",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};
-f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c ",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML=" ",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="
";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,""," "],thead:[1,""],tr:[2,""],td:[3,""],col:[2,""],area:[1,""," "],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function()
+/*! jQuery v1.7.1 jquery.com | jquery.org/license */
+(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;ca ",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o=""+"",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};
+f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c ",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML=" ",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="
";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,""," "],thead:[1,""],tr:[2,""],td:[3,""],col:[2,""],area:[1,""," "],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function()
{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>$2>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>$2>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+