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 - + <title> + Module: Test + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
- - Module: Test - - — test-unit - + + Module: Test + + — test-unit + - test-unit @@ -62,94 +62,94 @@
- - - -

Module: Test - - - -

-
- - - - - - - - - - - -
-
Defined in:
-
lib/test.rb,
- lib/test-unit.rb,
lib/test/unit.rb,
lib/test/unit/data.rb,
lib/test/unit/diff.rb,
lib/test/unit/color.rb,
lib/test/unit/error.rb,
lib/test/unit/failure.rb,
lib/test/unit/fixture.rb,
lib/test/unit/pending.rb,
lib/test/unit/version.rb,
lib/test/unit/omission.rb,
lib/test/unit/priority.rb,
lib/test/unit/testcase.rb,
lib/test/unit/attribute.rb,
lib/test/unit/collector.rb,
lib/test/unit/testsuite.rb,
lib/test/unit/assertions.rb,
lib/test/unit/autorunner.rb,
lib/test/unit/runner/xml.rb,
lib/test/unit/testresult.rb,
lib/test/unit/util/output.rb,
lib/test/unit/color-scheme.rb,
lib/test/unit/notification.rb,
lib/test/unit/runner/emacs.rb,
lib/test/unit/collector/dir.rb,
lib/test/unit/collector/xml.rb,
lib/test/unit/ui/testrunner.rb,
lib/test/unit/collector/load.rb,
lib/test/unit/runner/console.rb,
lib/test/unit/util/observable.rb,
lib/test/unit/util/procwrapper.rb,
lib/test/unit/attribute-matcher.rb,
lib/test/unit/exception-handler.rb,
lib/test/unit/ui/xml/testrunner.rb,
lib/test/unit/auto-runner-loader.rb,
lib/test/unit/test-suite-creator.rb,
lib/test/unit/ui/emacs/testrunner.rb,
lib/test/unit/code-snippet-fetcher.rb,
lib/test/unit/collector/descendant.rb,
lib/test/unit/util/backtracefilter.rb,
lib/test/unit/collector/objectspace.rb,
lib/test/unit/ui/console/testrunner.rb,
lib/test/unit/ui/testrunnermediator.rb,
lib/test/unit/assertion-failed-error.rb,
lib/test/unit/ui/console/outputlevel.rb,
lib/test/unit/ui/testrunnerutilities.rb,
lib/test/unit/fault-location-detector.rb,
lib/test/unit/util/method-owner-finder.rb,
lib/test-unit.rb,
lib/test/unit.rb,
lib/test/unit/assertion-failed-error.rb,
lib/test/unit/assertions.rb,
lib/test/unit/collector/objectspace.rb,
lib/test/unit/collector/xml.rb,
lib/test/unit/data-sets.rb,
lib/test/unit/data.rb,
lib/test/unit/error.rb,
lib/test/unit/failure.rb,
lib/test/unit/runner/console.rb,
lib/test/unit/test-suite-creator.rb,
lib/test/unit/testcase.rb,
lib/test/unit/testresult.rb,
lib/test/unit/testsuite.rb,
lib/test/unit/ui/console/testrunner.rb,
lib/test/unit/ui/testrunnermediator.rb,
lib/test/unit/ui/testrunnerutilities.rb,
lib/test/unit/ui/xml/testrunner.rb,
lib/test/unit/util/observable.rb,
lib/test/unit/util/procwrapper.rb,
lib/test-unit.rb,
lib/test/unit/diff.rb,
lib/test/unit/runner/console.rb,
lib/test-unit.rb,
lib/test/unit.rb,
lib/test/unit/assertions.rb,
lib/test/unit/util/memory-usage.rb,
lib/test/unit/priority.rb
-
-
- -
- -

Overview

-
+ + + +

Module: Test + + + +

+
+ + + + + + + + + + + +
+
Defined in:
+
lib/test.rb,
+ lib/test-unit.rb,
lib/test/unit.rb,
lib/test/unit/data.rb,
lib/test/unit/diff.rb,
lib/test/unit/color.rb,
lib/test/unit/error.rb,
lib/test/unit/failure.rb,
lib/test/unit/fixture.rb,
lib/test/unit/pending.rb,
lib/test/unit/version.rb,
lib/test/unit/omission.rb,
lib/test/unit/priority.rb,
lib/test/unit/testcase.rb,
lib/test/unit/attribute.rb,
lib/test/unit/collector.rb,
lib/test/unit/testsuite.rb,
lib/test/unit/assertions.rb,
lib/test/unit/autorunner.rb,
lib/test/unit/runner/xml.rb,
lib/test/unit/testresult.rb,
lib/test/unit/util/output.rb,
lib/test/unit/color-scheme.rb,
lib/test/unit/notification.rb,
lib/test/unit/runner/emacs.rb,
lib/test/unit/collector/dir.rb,
lib/test/unit/collector/xml.rb,
lib/test/unit/ui/testrunner.rb,
lib/test/unit/collector/load.rb,
lib/test/unit/runner/console.rb,
lib/test/unit/util/observable.rb,
lib/test/unit/util/procwrapper.rb,
lib/test/unit/attribute-matcher.rb,
lib/test/unit/exception-handler.rb,
lib/test/unit/ui/xml/testrunner.rb,
lib/test/unit/auto-runner-loader.rb,
lib/test/unit/test-suite-creator.rb,
lib/test/unit/ui/emacs/testrunner.rb,
lib/test/unit/code-snippet-fetcher.rb,
lib/test/unit/collector/descendant.rb,
lib/test/unit/util/backtracefilter.rb,
lib/test/unit/collector/objectspace.rb,
lib/test/unit/ui/console/testrunner.rb,
lib/test/unit/ui/testrunnermediator.rb,
lib/test/unit/assertion-failed-error.rb,
lib/test/unit/ui/console/outputlevel.rb,
lib/test/unit/ui/testrunnerutilities.rb,
lib/test/unit/fault-location-detector.rb,
lib/test/unit/util/method-owner-finder.rb,
lib/test-unit.rb,
lib/test/unit.rb,
lib/test/unit/assertion-failed-error.rb,
lib/test/unit/assertions.rb,
lib/test/unit/collector/objectspace.rb,
lib/test/unit/collector/xml.rb,
lib/test/unit/data-sets.rb,
lib/test/unit/data.rb,
lib/test/unit/error.rb,
lib/test/unit/failure.rb,
lib/test/unit/runner/console.rb,
lib/test/unit/test-suite-creator.rb,
lib/test/unit/testcase.rb,
lib/test/unit/testresult.rb,
lib/test/unit/testsuite.rb,
lib/test/unit/ui/console/testrunner.rb,
lib/test/unit/ui/testrunnermediator.rb,
lib/test/unit/ui/testrunnerutilities.rb,
lib/test/unit/ui/xml/testrunner.rb,
lib/test/unit/util/observable.rb,
lib/test/unit/util/procwrapper.rb,
lib/test-unit.rb,
lib/test/unit/diff.rb,
lib/test/unit/runner/console.rb,
lib/test-unit.rb,
lib/test/unit.rb,
lib/test/unit/assertions.rb,
lib/test/unit/util/memory-usage.rb,
lib/test/unit/priority.rb
+
+
+ +
+ +

Overview

+

Author:: Nathaniel Talbott. Copyright:: Copyright (c) 2000-2002 Nathaniel Talbott. All rights reserved. License:: Ruby license.

- - -
-
-
- - -

Defined Under Namespace

-

- - - Modules: Unit - - - - -

- - - - - - - - - -
- + + +
+
+
+ + +

Defined Under Namespace

+

+ + + Modules: Unit + + + + +

+ + + + + + + + + +
+ @@ -190,6 +190,6 @@

Overview

-
- +
+ \ No newline at end of file diff --git a/test-unit/en/Test/Unit.html b/test-unit/en/Test/Unit.html index af32c74a..c96a1722 100644 --- a/test-unit/en/Test/Unit.html +++ b/test-unit/en/Test/Unit.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit - - — test-unit - + <title> + Module: Test::Unit + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
- - Module: Test::Unit - - — test-unit - + + Module: Test::Unit + + — test-unit + - test-unit @@ -62,61 +62,61 @@
- - - -

Module: Test::Unit - - - -

-
- - - - - - - - - - - -
-
Defined in:
-
lib/test/unit.rb,
- lib/test-unit.rb,
lib/test/unit.rb,
lib/test/unit/data.rb,
lib/test/unit/diff.rb,
lib/test/unit/color.rb,
lib/test/unit/error.rb,
lib/test/unit/failure.rb,
lib/test/unit/fixture.rb,
lib/test/unit/pending.rb,
lib/test/unit/version.rb,
lib/test/unit/omission.rb,
lib/test/unit/priority.rb,
lib/test/unit/testcase.rb,
lib/test/unit/attribute.rb,
lib/test/unit/collector.rb,
lib/test/unit/testsuite.rb,
lib/test/unit/assertions.rb,
lib/test/unit/autorunner.rb,
lib/test/unit/runner/xml.rb,
lib/test/unit/testresult.rb,
lib/test/unit/util/output.rb,
lib/test/unit/color-scheme.rb,
lib/test/unit/notification.rb,
lib/test/unit/runner/emacs.rb,
lib/test/unit/collector/dir.rb,
lib/test/unit/collector/xml.rb,
lib/test/unit/ui/testrunner.rb,
lib/test/unit/collector/load.rb,
lib/test/unit/runner/console.rb,
lib/test/unit/util/observable.rb,
lib/test/unit/util/procwrapper.rb,
lib/test/unit/attribute-matcher.rb,
lib/test/unit/exception-handler.rb,
lib/test/unit/ui/xml/testrunner.rb,
lib/test/unit/auto-runner-loader.rb,
lib/test/unit/test-suite-creator.rb,
lib/test/unit/ui/emacs/testrunner.rb,
lib/test/unit/code-snippet-fetcher.rb,
lib/test/unit/collector/descendant.rb,
lib/test/unit/util/backtracefilter.rb,
lib/test/unit/collector/objectspace.rb,
lib/test/unit/ui/console/testrunner.rb,
lib/test/unit/ui/testrunnermediator.rb,
lib/test/unit/assertion-failed-error.rb,
lib/test/unit/ui/console/outputlevel.rb,
lib/test/unit/ui/testrunnerutilities.rb,
lib/test/unit/fault-location-detector.rb,
lib/test/unit/util/method-owner-finder.rb,
lib/test-unit.rb,
lib/test/unit/assertion-failed-error.rb,
lib/test/unit/assertions.rb,
lib/test/unit/collector/objectspace.rb,
lib/test/unit/collector/xml.rb,
lib/test/unit/data-sets.rb,
lib/test/unit/data.rb,
lib/test/unit/error.rb,
lib/test/unit/failure.rb,
lib/test/unit/runner/console.rb,
lib/test/unit/test-suite-creator.rb,
lib/test/unit/testcase.rb,
lib/test/unit/testresult.rb,
lib/test/unit/testsuite.rb,
lib/test/unit/ui/console/testrunner.rb,
lib/test/unit/ui/testrunnermediator.rb,
lib/test/unit/ui/testrunnerutilities.rb,
lib/test/unit/ui/xml/testrunner.rb,
lib/test/unit/util/observable.rb,
lib/test/unit/util/procwrapper.rb,
lib/test/unit.rb,
lib/test-unit.rb,
lib/test/unit/diff.rb,
lib/test/unit/runner/console.rb,
lib/test-unit.rb,
lib/test/unit.rb,
lib/test/unit/assertions.rb,
lib/test/unit/util/memory-usage.rb,
lib/test/unit/priority.rb
-
-
- -
- -

Overview

-
+ + + +

Module: Test::Unit + + + +

+
+ + + + + + + + + + + +
+
Defined in:
+
lib/test/unit.rb,
+ lib/test-unit.rb,
lib/test/unit.rb,
lib/test/unit/data.rb,
lib/test/unit/diff.rb,
lib/test/unit/color.rb,
lib/test/unit/error.rb,
lib/test/unit/failure.rb,
lib/test/unit/fixture.rb,
lib/test/unit/pending.rb,
lib/test/unit/version.rb,
lib/test/unit/omission.rb,
lib/test/unit/priority.rb,
lib/test/unit/testcase.rb,
lib/test/unit/attribute.rb,
lib/test/unit/collector.rb,
lib/test/unit/testsuite.rb,
lib/test/unit/assertions.rb,
lib/test/unit/autorunner.rb,
lib/test/unit/runner/xml.rb,
lib/test/unit/testresult.rb,
lib/test/unit/util/output.rb,
lib/test/unit/color-scheme.rb,
lib/test/unit/notification.rb,
lib/test/unit/runner/emacs.rb,
lib/test/unit/collector/dir.rb,
lib/test/unit/collector/xml.rb,
lib/test/unit/ui/testrunner.rb,
lib/test/unit/collector/load.rb,
lib/test/unit/runner/console.rb,
lib/test/unit/util/observable.rb,
lib/test/unit/util/procwrapper.rb,
lib/test/unit/attribute-matcher.rb,
lib/test/unit/exception-handler.rb,
lib/test/unit/ui/xml/testrunner.rb,
lib/test/unit/auto-runner-loader.rb,
lib/test/unit/test-suite-creator.rb,
lib/test/unit/ui/emacs/testrunner.rb,
lib/test/unit/code-snippet-fetcher.rb,
lib/test/unit/collector/descendant.rb,
lib/test/unit/util/backtracefilter.rb,
lib/test/unit/collector/objectspace.rb,
lib/test/unit/ui/console/testrunner.rb,
lib/test/unit/ui/testrunnermediator.rb,
lib/test/unit/assertion-failed-error.rb,
lib/test/unit/ui/console/outputlevel.rb,
lib/test/unit/ui/testrunnerutilities.rb,
lib/test/unit/fault-location-detector.rb,
lib/test/unit/util/method-owner-finder.rb,
lib/test-unit.rb,
lib/test/unit/assertion-failed-error.rb,
lib/test/unit/assertions.rb,
lib/test/unit/collector/objectspace.rb,
lib/test/unit/collector/xml.rb,
lib/test/unit/data-sets.rb,
lib/test/unit/data.rb,
lib/test/unit/error.rb,
lib/test/unit/failure.rb,
lib/test/unit/runner/console.rb,
lib/test/unit/test-suite-creator.rb,
lib/test/unit/testcase.rb,
lib/test/unit/testresult.rb,
lib/test/unit/testsuite.rb,
lib/test/unit/ui/console/testrunner.rb,
lib/test/unit/ui/testrunnermediator.rb,
lib/test/unit/ui/testrunnerutilities.rb,
lib/test/unit/ui/xml/testrunner.rb,
lib/test/unit/util/observable.rb,
lib/test/unit/util/procwrapper.rb,
lib/test/unit.rb,
lib/test-unit.rb,
lib/test/unit/diff.rb,
lib/test/unit/runner/console.rb,
lib/test-unit.rb,
lib/test/unit.rb,
lib/test/unit/assertions.rb,
lib/test/unit/util/memory-usage.rb,
lib/test/unit/priority.rb
+
+
+ +
+ +

Overview

+

Test::Unit - Ruby Unit Testing Framework

Introduction

@@ -434,252 +434,252 @@

Questions?

I’d really like to get feedback from all levels of Ruby practitioners about typos, grammatical errors, unclear statements, missing points, etc., in this document (or any other).

- - -
-
-
- - -

Defined Under Namespace

-

- - - Modules: Assertions, Attribute, AutoRunnerLoader, Collector, Data, Diff, ErrorHandler, ExceptionHandler, FailureHandler, Fixture, NotificationHandler, NullResultContainerInitializer, OmissionHandler, PendingHandler, Priority, TestCaseNotificationSupport, TestCaseOmissionSupport, TestCasePendingSupport, TestResultErrorSupport, TestResultFailureSupport, TestResultNotificationSupport, TestResultOmissionSupport, TestResultPendingSupport, UI, Util - - - - Classes: AssertionFailedError, AttributeMatcher, AutoRunner, CodeSnippetFetcher, Color, ColorScheme, DataSets, Error, Failure, FaultLocationDetector, MixColor, Notification, NotifiedError, Omission, OmittedError, PendedError, Pending, TestCase, TestResult, TestSuite, TestSuiteCreator - - -

- - -

- Constant Summary - collapse -

- -
- -
VERSION = - -
-
"3.5.4"
- -
@@at_start_hooks = -
-
-

- This classvariable is part of a private API. - You should avoid using this classvariable if possible, as it may be removed or be changed in the future. -

- - - -
-
-
- - -
-
-
[]
- -
@@at_exit_hooks = -
-
-

- This classvariable is part of a private API. - You should avoid using this classvariable if possible, as it may be removed or be changed in the future. -

- - - -
-
-
- - -
-
-
[]
- -
- - - - - - - - - -

- Class Method Summary - collapse -

- -
+
+
+ + +

Defined Under Namespace

+

+ + + Modules: Assertions, Attribute, AutoRunnerLoader, Collector, Data, Diff, ErrorHandler, ExceptionHandler, FailureHandler, Fixture, NotificationHandler, NullResultContainerInitializer, OmissionHandler, PendingHandler, Priority, TestCaseNotificationSupport, TestCaseOmissionSupport, TestCasePendingSupport, TestResultErrorSupport, TestResultFailureSupport, TestResultNotificationSupport, TestResultOmissionSupport, TestResultPendingSupport, UI, Util + + + + Classes: AssertionFailedError, AttributeMatcher, AutoRunner, CodeSnippetFetcher, Color, ColorScheme, DataSets, Error, Failure, FaultLocationDetector, MixColor, Notification, NotifiedError, Omission, OmittedError, PendedError, Pending, TestCase, TestResult, TestSuite, TestSuiteCreator + + +

+ + +

+ Constant Summary + collapse +

+ +
+ +
VERSION = + +
+
"3.5.6"
+ +
@@at_start_hooks = +
+
+

+ This classvariable is part of a private API. + You should avoid using this classvariable if possible, as it may be removed or be changed in the future. +

+ + + +
+
+
+ + +
+
+
[]
+ +
@@at_exit_hooks = +
+
+

+ This classvariable is part of a private API. + You should avoid using this classvariable if possible, as it may be removed or be changed in the future. +

+ + + +
+
+
+ + +
+
+
[]
+ +
+ + + + + + + + + +

+ Class Method Summary + collapse +

+ +
+ + + + +
  • + + + .at_start { ... } ⇒ void + + + + + + + + + + + + +

    Register a hook that is run before running tests.

    -
    - -
  • - - -
  • - - - .run=(have_run) ⇒ Object - - - - - - - - - - deprecated - - - +
  • + + + + +
  • + + + .run=(have_run) ⇒ Object + + + + + + + + + + deprecated + + + Deprecated. - -
  • - - -
  • - - - .run? ⇒ Boolean - - - - - - - - - - deprecated - - - +
  • + + + + +
  • + + + .run? ⇒ Boolean + + + + + + + + + + deprecated + + + Deprecated. - -
  • - - -
  • - - - .run_at_exit_hooks ⇒ Object - - - - - - - - - - - private - - +
  • + + + + +
  • + + + .run_at_exit_hooks ⇒ Object + + + + + + + + + + + private + +
    -
    - -
  • - - -
  • - - - .run_at_start_hooks ⇒ Object - - - - - - - - - - - private - - +
  • + + + + +
  • + + + .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.

    @@ -745,100 +745,100 @@

  • TestMyClass2.shutdown
  • at_exit
  • - - -

    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    Test::Unit.at_exit do
       puts "Exit!"
    -end
    - -
    - -

    Yields:

    -
      - -
    • - - - - - - - +end + +
    + +

    Yields:

    +
      + +
    • + + + + + + +

      A block that is run after running tests.

      -
      - -
    • - -
    -

    Yield Returns:

    -
      - -
    • - - - (void) - - - -
    • - -
    -

    Since:

    -
      - -
    • - - - - - +
    + + + + +

    Yield Returns:

    +
      + +
    • + + + (void) + + + +
    • + +
    +

    Since:

    +
      + +
    • + + + + +

      2.5.2

      -
      - -
    • - -
    - -
    - - + +
    + + + + + + + + + - + - -
     
     
     485
     486
    -487
    -
    +487 +
    # File 'lib/test/unit.rb', line 485
     
     def at_exit(&hook)
       @@at_exit_hooks << hook
    -end
    -
    - - -
    -

    - - .at_start { ... } ⇒ void - - - - - -

    -
    +end +
    +
    + +
    +

    + + .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.

    @@ -903,213 +903,213 @@

  • TestMyClass2#setup
  • TestMyClass2#test_my_class2
  • - - -

    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    Test::Unit.at_start do
       puts "Start!"
    -end
    - -
    - -

    Yields:

    -
      - -
    • - - - - - - - +end + +
    + +

    Yields:

    +
      + +
    • + + + + + + +

      A block that is run before running tests.

      -
      - -
    • - -
    -

    Yield Returns:

    -
      - -
    • - - - (void) - - - -
    • - -
    -

    Since:

    -
      - -
    • - - - - - +
    + + + + +

    Yield Returns:

    +
      + +
    • + + + (void) + + + +
    • + +
    +

    Since:

    +
      + +
    • + + + + +

      2.5.2

      -
      - -
    • - -
    - -
    - - + +
    + + + + + + + + + - + - -
     
     
     400
     401
    -402
    -
    +402 +
    # File 'lib/test/unit.rb', line 400
     
     def at_start(&hook)
       @@at_start_hooks << hook
    -end
    -
    - - -
    -

    - - .run=(have_run) ⇒ Object - - - - - -

    -
    +end +
    +
    + +
    +

    + + .run=(have_run) ⇒ Object + + + + + +

    +
    Deprecated.
    +

    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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + .run?Boolean + + + + + +

    +
    Deprecated.
    +

    Already tests have run?

    - - -
    -
    -
    - -

    Returns:

    - - -
    - - + +
    + + + + +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +
    + + - + - -
     
     
     323
     324
    -325
    -
    +325 +
    # File 'lib/test/unit.rb', line 323
     
     def run?
       not AutoRunner.need_auto_run?
    -end
    -
    - - -
    -

    - - .run_at_exit_hooksObject - - - - - -

    -
    -

    - 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 +
    +
    + +
    +

    + + .run_at_exit_hooksObject + + + + + +

    +
    +

    + 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_hooksObject - - - - - -

    -
    -

    - 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 +
    +
    + +
    +

    + + .run_at_start_hooksObject + + + + + +

    +
    +

    + 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 - + <title> + Module: Test::Unit::Assertions + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
    - - Module: Test::Unit::Assertions - - — test-unit - + + Module: Test::Unit::Assertions + + — test-unit + - test-unit @@ -62,66 +62,66 @@
    - - - -

    Module: Test::Unit::Assertions - - - -

    -
    - - - - - - - - - -
    -
    Included in:
    -
    TestCase
    -
    - - - -
    -
    Defined in:
    -
    lib/test/unit/assertions.rb,
    - lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb
    -
    -
    - -
    - -

    Overview

    -
    + + + +

    Module: Test::Unit::Assertions + + + +

    +
    + + + + + + + + + +
    +
    Included in:
    +
    TestCase
    +
    + + + +
    +
    Defined in:
    +
    lib/test/unit/assertions.rb,
    + lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb
    +
    +
    + +
    + +

    Overview

    +

    Test::Unit::Assertions contains the standard Test::Unit assertions. Assertions is included in Test::Unit::TestCase.

    @@ -136,1568 +136,1568 @@

    Overview

    failure.
  • It is easy to add your own assertions based on assert_block().
  • - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +

    Example Custom Assertion

    -

    - +

    +
    
     def deny(boolean, message=nil)
       message = build_message(message, '<?> is not false or nil.', boolean)
       assert_block(message) do
         not boolean
       end
    -end
    - -
    - - -

    Defined Under Namespace

    -

    - - - - - Classes: AssertExceptionHelper, AssertionMessage - - -

    - - - - - - - - -

    - Class Method Summary - collapse -

    - -
    + + +

    Defined Under Namespace

    +

    + + + + + Classes: AssertExceptionHelper, AssertionMessage + + +

    + + + + + + + + +

    + Class Method Summary + collapse +

    + + - -

    - Instance Method Summary - collapse -

    - -
    + + + + + + +

    + Instance Method Summary + collapse +

    + +
    + + + + +
  • + + + #assert(object = NOT_SPECIFIED, message = nil, &block) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - #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_all(collection, message = nil) {|Object| ... } ⇒ void - - - - (also: #assert_all?) - - - - - - - - - - - +
  • + + + + +
  • + + + #assert_all(collection, message = nil) {|Object| ... } ⇒ void + + + + (also: #assert_all?) + + + + + + + + + + +

    Asserts that all block.call(item) where item is each item in collection are not false nor nil.

    -
    - -
  • - - -
  • - - - #assert_block(message = "assert_block failed.") ⇒ Object - - - - - - - - - - - - - +
  • + + + + +
  • + + + #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 + + + + + + + + + + + + +

    Passes if object.nil?.

    -
    - -
  • - - -
  • - - - #assert_no_match(regexp, string, message = "") ⇒ Object - - - - - - - - - - deprecated - - - + + +
  • + + +
  • + + + #assert_no_match(regexp, string, message = "") ⇒ Object + + + + + + + + + + deprecated + + + Deprecated.

    Use #assert_not_match instead.

    -
    - -
  • - - -
  • - - - #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 + + + + + + + + + + + + +

    Passes if path exists.

    -
    - -
  • - - -
  • - - - #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 + + + + + + + + + + + + +

    Flunk always fails.

    -
    - -
  • - - -
  • - - - #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_assertionvoid - - - - - -

    -
    +end +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #add_assertionvoid + + + + + +

    +

    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 - - - - - - -

    -
    - - - -
    -
    -
    - -

    Overloads:

    -
      - - -
    • - #assert(object, message = nil) ⇒ void -
      -
      +end +
    +
    + +
    +

    + + + #assert(object, message = nil) ⇒ void + + #assert(message = nil) { ... } ⇒ void + + + + + + +

    +
    + + + +
    +
    +
    + +

    Overloads:

    +
      + + +
    • + #assert(object, message = nil) ⇒ void +
      +

      This method returns an undefined value.

      Asserts that object is not false nor nil.

      Normally, you don’t need to use this assertion. Use more specific assertions such as #assert_equal and #assert_include.

      - - -
      -
      -
      - -
      -

      Examples:

      - - + + +
      +
      +
      + +
      +

      Examples:

      + +

      Pass patterns

      -

      - +

      +
      assert(true)               # => pass
      -assert([1, 2].include?(1)) # => pass
      - - +assert([1, 2].include?(1)) # => pass + +

      Failure patterns

      -

      - +

      +
      assert(nil)                # => failure
       assert(false)              # => failure
      -assert([1, 2].include?(5)) # => failure
      - -
    -

    Parameters:

    -
      - -
    • - - object - - - (Object) - - - - — +assert([1, 2].include?(5)) # => failure + +
    +

    Parameters:

    +
      + +
    • + + object + + + (Object) + + + + —

      The check target.

      -
      - -
    • - -
    • - - 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.

    - - -

    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +

    Power Assert

    -

    - +

    +
    coins = [1, 5, 50]
     target_coin = 10
     assert do
    @@ -1735,91 +1735,91 @@ 

    # | | | # | | 10 # | false -# [1, 5, 50]

    - - +# [1, 5, 50] + +

    Pass patterns

    -

    - +

    +
    assert {true}               # => pass
    -assert {[1, 2].include?(1)} # => pass
    - - +assert {[1, 2].include?(1)} # => pass + +

    Failure patterns

    -

    - +
  • +
    assert {nil}                # => failure
     assert {false}              # => failure
    -assert {[1, 2].include?(5)} # => failure
    - - -

    Parameters:

    - - - - - - + +
    + + + + + + + + + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    + + +
    +

    + + #assert_alias_method(object, alias_name, original_name, message = nil) ⇒ Object + + + + + +

    +

    Passes if object#alias_name is an alias method of object#original_name.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_alias_method([], :length, :size)  # -> pass
     assert_alias_method([], :size, :length)  # -> pass
    -assert_alias_method([], :each, :size)    # -> fail
    - -
    - - -
    - - + +
    +assert_alias_method([], :each, :size) # -> fail + + + + + + + - + - -
     
     
    @@ -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? - - - - -

    -
    - - - -
    -
    -
    - -
    -
    +end +
    +
    + +
    +

    + + #assert_all(collection, message = nil) {|Object| ... } ⇒ void + + + + Also known as: + assert_all? + + + + +

    +
    + + + +
    +
    +
    + +
    +

    This method returns an undefined value.

    Asserts that all block.call(item) where item is each item in collection are not false nor nil.

    If collection is empty, this assertion is always passed with any block.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +

    Pass patterns

    -

    - +

    +
    assert_all([1, 2, 3]) {|item| item > 0} # => pass
     assert_all([1, 2, 3], &:positive?)      # => pass
    -assert_all([]) {|item| false}           # => pass
    - - +assert_all([]) {|item| false} # => pass + +

    Failure pattern

    -

    - -
    assert_all([0, 1, 2], &:zero?) # => failure
    - -
    -

    Parameters:

    -
      - -
    • - - collection - - - (#each) - - - - — +

    + +
    assert_all([0, 1, 2], &:zero?) # => failure
    + +
    +

    Parameters:

    + - -

    Yields:

    - + +

    Yields:

    + -

    Yield Returns:

    - +

    Yield Returns:

    + - - - -

    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 - - - - - -

    -
    +end +
    + + +
    +

    + + #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.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_block "Couldn't do the thing" do
       do_the_thing
    -end
    - -
    - - -
    - - + +
    +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 @@ 

    raise AssertionFailedError.new(message.to_s) end end -end

    -
    - - -
    -

    - - #assert_boolean(actual, message = nil) ⇒ Object - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_boolean(actual, message = nil) ⇒ Object + + + + + +

    +

    Passes if actual is a boolean value.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_boolean(true) # -> pass
    -assert_boolean(nil)  # -> fail
    - -
    - - -
    - - + +
    +assert_boolean(nil) # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_compare(expected, operator, actual, message = nil) ⇒ Object + + + + + +

    +

    Passes if expression “expected operator actual” is not false nor nil.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_compare(1, "<", 10)  # -> pass
    -assert_compare(1, ">=", 10) # -> fail
    - -
    - - -
    - - + +
    +assert_compare(1, ">=", 10) # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_const_defined(object, constant_name, message = nil) ⇒ Object + + + + + +

    +

    Passes if object.const_defined?(constant_name)

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_const_defined(Test, :Unit)          # -> pass
    -assert_const_defined(Object, :Nonexistent) # -> fail
    - -
    - - -
    - - + +
    +assert_const_defined(Object, :Nonexistent) # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_empty(object, message = nil) ⇒ Object + + + + + +

    +

    Passes if object is empty.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_empty("")                       # -> pass
     assert_empty([])                       # -> pass
     assert_empty({})                       # -> pass
     assert_empty(" ")                      # -> fail
     assert_empty([nil])                    # -> fail
    -assert_empty({1 => 2})                 # -> fail
    - -
    - - -
    - - + +
    +assert_empty({1 => 2}) # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #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.

    - - -
    -
    -
    - -
    -

    Examples:

    - - -
    assert_equal 'MY STRING', 'my string'.upcase
    - -
    - - -
    - - + +
    + + + + +
    + +
    +

    Examples:

    + + +
    assert_equal 'MY STRING', 'my string'.upcase
    + +
    + + +
    + + - + - -
     
     
    @@ -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 # For JRuby. :< end -end

    -
    - - -
    -

    - - #assert_fail_assertion(message = nil) ⇒ Object - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_fail_assertion(message = nil) ⇒ Object + + + + + +

    +

    Passes if assertion is failed in block.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_fail_assertion {assert_equal("A", "B")}  # -> pass
    -assert_fail_assertion {assert_equal("A", "A")}  # -> fail
    - -
    - - -
    - - + +
    +assert_fail_assertion {assert_equal("A", "A")} # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_false(actual, message = nil) ⇒ Object + + + + + +

    +

    Passes if actual is false.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_false(false)  # -> pass
    -assert_false(nil)    # -> fail
    - -
    - - -
    - - + +
    +assert_false(nil) # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_in_delta(expected_float, actual_float, delta = 0.001, message = "") ⇒ Object + + + + + +

    +

    Passes if expected_float and actual_float are equal within delta tolerance.

    - - -
    -
    -
    - -
    -

    Examples:

    - - -
    assert_in_delta 0.05, (50000.0 / 10**6), 0.00001
    - -
    - - -
    - - + +
    + + + + +
    + +
    +

    Examples:

    + + +
    assert_in_delta 0.05, (50000.0 / 10**6), 0.00001
    + +
    + + +
    + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #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.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_in_epsilon(10000.0, 9900.0, 0.1) # -> pass
    -assert_in_epsilon(10000.0, 9899.0, 0.1) # -> fail
    - -
    - - -
    - - + +
    +assert_in_epsilon(10000.0, 9899.0, 0.1) # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_include(collection, object, message = nil) ⇒ Object + + + + Also known as: + assert_includes + + + + +

    +

    Passes if collection includes object.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_include([1, 10], 1)            # -> pass
     assert_include(1..10, 5)              # -> pass
     assert_include([1, 10], 5)            # -> fail
    -assert_include(1..10, 20)             # -> fail
    - -
    - - -
    - - + +
    +assert_include(1..10, 20) # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #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).

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_instance_of(String, 'foo')            # -> pass
     assert_instance_of([Fixnum, NilClass], 100)  # -> pass
    -assert_instance_of([Numeric, NilClass], 100) # -> fail
    - -
    - - -
    - - + +
    +assert_instance_of([Numeric, NilClass], 100) # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +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).

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_kind_of(Object, 'foo')                # -> pass
     assert_kind_of([Fixnum, NilClass], 100)      # -> pass
    -assert_kind_of([Fixnum, NilClass], "string") # -> fail
    - -
    - - -
    - - + +
    +assert_kind_of([Fixnum, NilClass], "string") # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_match(pattern, string, message = nil) ⇒ Object + + + + + +

    +

    Passes if pattern =~ string.

    - - -
    -
    -
    - -
    -

    Examples:

    - - -
    assert_match(/\d+/, 'five, 6, seven')
    - -
    - - -
    - - + +
    + + + + +
    + +
    +

    Examples:

    + + +
    assert_match(/\d+/, 'five, 6, seven')
    + +
    + + +
    + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_nil(object, message = nil) ⇒ Object + + + + + +

    +

    Passes if object.nil?.

    - - -
    -
    -
    - -
    -

    Examples:

    - - -
    assert_nil [1, 2].uniq!
    - -
    - - -
    - - + +
    + + + + +
    + +
    +

    Examples:

    + + +
    assert_nil [1, 2].uniq!
    + +
    + + +
    + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_no_match(regexp, string, message = "") ⇒ Object + + + + + +

    +
    Deprecated.

    Use #assert_not_match instead.

    -
    +

    Passes if regexp !~ string

    - - -
    - -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_no_match(/two/, 'one 2 three')   # -> pass
    -assert_no_match(/three/, 'one 2 three') # -> fail
    - -
    - - -
    - - + +
    +assert_no_match(/three/, 'one 2 three') # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    + + +
    +

    + + #assert_not_const_defined(object, constant_name, message = nil) ⇒ Object + + + + + +

    +

    Passes if !object.const_defined?(constant_name)

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_not_const_defined(Object, :Nonexistent) # -> pass
    -assert_not_const_defined(Test, :Unit)          # -> fail
    - -
    - - -
    - - + +
    +assert_not_const_defined(Test, :Unit) # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_not_empty(object, message = nil) ⇒ Object + + + + Also known as: + refute_empty + + + + +

    +

    Passes if object is not empty.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_not_empty(" ")                      # -> pass
     assert_not_empty([nil])                    # -> pass
     assert_not_empty({1 => 2})                 # -> pass
     assert_not_empty("")                       # -> fail
     assert_not_empty([])                       # -> fail
    -assert_not_empty({})                       # -> fail
    - -
    - - -
    - - + +
    +assert_not_empty({}) # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_not_equal(expected, actual, message = nil) ⇒ Object + + + + Also known as: + refute_equal + + + + +

    +

    Passes if expected != actual

    - - -
    -
    -
    - -
    -

    Examples:

    - - -
    assert_not_equal 'some string', 5
    - -
    - - -
    - - + +
    + + + + +
    + +
    +

    Examples:

    + + +
    assert_not_equal 'some string', 5
    + +
    + + +
    + + - + - -
     
     
    @@ -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 - - - - -

    -
    +end +
    +
    + +
    +

    + + #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.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_not_in_delta(0.05, (50000.0 / 10**6), 0.00002) # -> pass
    -assert_not_in_delta(0.05, (50000.0 / 10**6), 0.00001) # -> fail
    - -
    - - -
    - - + +
    +assert_not_in_delta(0.05, (50000.0 / 10**6), 0.00001) # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - -

    -
    +end +
    +
    + +
    +

    + + #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.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_not_in_epsilon(10000.0, 9900.0, 0.1) # -> fail
    -assert_not_in_epsilon(10000.0, 9899.0, 0.1) # -> pass
    - -
    - - -
    - - + +
    +assert_not_in_epsilon(10000.0, 9899.0, 0.1) # -> pass + + + + + + + - + - -
     
     
    @@ -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 - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_not_include(collection, object, message = nil) ⇒ Object + + + + Also known as: + assert_not_includes, refute_includes + + + + +

    +

    Passes if collection doesn’t include object.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_not_include([1, 10], 5)            # -> pass
     assert_not_include(1..10, 20)             # -> pass
     assert_not_include([1, 10], 1)            # -> fail
    -assert_not_include(1..10, 5)              # -> fail
    - -
    - - -
    - - + +
    +assert_not_include(1..10, 5) # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - -

    -
    +end +
    +
    + +
    +

    + + #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).

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_not_instance_of(String, 100)                # -> pass
     assert_not_instance_of([Fixnum, NilClass], '100')  # -> pass
    -assert_not_instance_of([Numeric, NilClass], 100)   # -> fail
    - -
    - -

    Since:

    -
      - -
    • - - - - - +assert_not_instance_of([Numeric, NilClass], 100) # -> fail + +
    + +

    Since:

    +
      + +
    • + + + + +

      3.0.0

      -
      - -
    • - -
    - -
    - - + +
    + + + + + + + + + - + - -
     
     
    @@ -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 - - - - -

    -
    +end +
    + + +
    +

    + + #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).

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_not_kind_of(Fixnum, 'foo')           # -> pass
     assert_not_kind_of([Fixnum, NilClass], '0') # -> pass
    -assert_not_kind_of([Fixnum, NilClass], 100) # -> fail
    - -
    - -

    Since:

    -
      - -
    • - - - - - +assert_not_kind_of([Fixnum, NilClass], 100) # -> fail + +
    + +

    Since:

    +
      + +
    • + + + + +

      3.0.0

      -
      - -
    • - -
    - -
    - - + +
    + + + + + + + + + - + - -
     
     
    @@ -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 - - - - -

    -
    +end +
    + + +
    +

    + + #assert_not_match(pattern, string, message = nil) ⇒ Object + + + + Also known as: + refute_match + + + + +

    +

    Passes if regexp !~ string

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_not_match(/two/, 'one 2 three')   # -> pass
    -assert_not_match(/three/, 'one 2 three') # -> fail
    - -
    - - -
    - - + +
    +assert_not_match(/three/, 'one 2 three') # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_not_nil(object, message = nil) ⇒ Object + + + + Also known as: + refute_nil + + + + +

    +

    Passes if ! object .nil?

    - - -
    -
    -
    - -
    -

    Examples:

    - - -
    assert_not_nil '1 two 3'.sub!(/two/, '2')
    - -
    - - -
    - - + +
    + + + + +
    + +
    +

    Examples:

    + + +
    assert_not_nil '1 two 3'.sub!(/two/, '2')
    + +
    + + +
    + + - + - -
     
     
    @@ -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 - - - - -

    -
    +end +
    +
    + +
    +

    + + #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.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_not_operator(5, :<, 4) # => pass
    -assert_not_operator(5, :>, 4) # => fail
    - -
    - -

    Since:

    -
      - -
    • - - - - - +assert_not_operator(5, :>, 4) # => fail + +
    + +

    Since:

    +
      + +
    • + + + + +

      3.0.0

      -
      - -
    • - -
    - -
    - - + +
    + + + + + + + + + - + - -
     
     
    @@ -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 - - - - -

    -
    +end +
    + + +
    +

    + + #assert_not_predicate(object, predicate, message = nil) ⇒ Object + + + + Also known as: + refute_predicate + + + + +

    +

    Passes if object.predicate is false or nil.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_not_predicate([1], :empty?) # -> pass
    -assert_not_predicate([], :empty?)  # -> fail
    - -
    - - -
    - - + +
    +assert_not_predicate([], :empty?) # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_not_respond_to(object, method, message = nil) ⇒ Object + + + + Also known as: + refute_respond_to + + + + +

    +

    Passes if object does not .respond_to? method.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_not_respond_to('bugbear', :nonexistence) # -> pass
    -assert_not_respond_to('bugbear', :size)         # -> fail
    - -
    - - -
    - - + +
    +assert_not_respond_to('bugbear', :size) # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_not_same(expected, actual, message = nil) ⇒ Object + + + + Also known as: + refute_same + + + + +

    +

    Passes if ! actual .equal? expected

    - - -
    -
    -
    - -
    -

    Examples:

    - - -
    assert_not_same Object.new, Object.new
    - -
    - - -
    - - + +
    + + + + +
    + +
    +

    Examples:

    + + +
    assert_not_same Object.new, Object.new
    + +
    + + +
    + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #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

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_not_send([[1, 2], :member?, 1]) # -> fail
    -assert_not_send([[1, 2], :member?, 4]) # -> pass
    - -
    - - -
    - - + +
    +assert_not_send([[1, 2], :member?, 4]) # -> pass + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    - - - -
    -
    -
    - -
    -
    +end +
    +
    + +
    +

    + + #assert_nothing_leaked_memory(max_increasable_size, target = :physical, message = nil) { ... } ⇒ void + + + + + +

    +
    + + + +
    +
    +
    + +
    +

    This method returns an undefined value.

    Asserts that increased memory usage by block.call is less than max_increasable_size. GC.start is called before and after block.call.

    @@ -4659,19 +4659,19 @@

    String instead of block for the approach. We choose easy to write API approach rather than more stable result approach for this case.

    - - -

    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +

    Pass pattern

    -

    - +

    +
    require "objspace"
     size_per_object = ObjectSpace.memsize_of("Hello")
     # If memory isn't leaked, physical memory of almost created objects
    @@ -4680,12 +4680,12 @@ 

    1_000.times do "Hello".dup end -end # => pass

    - - +end # => pass + +

    Failure pattern

    -

    - +

    +
    require "objspace"
     size_per_object = ObjectSpace.memsize_of("Hello")
     strings = []
    @@ -4694,87 +4694,87 @@ 

    # Created objects aren't GC-ed because they are referred. strings << "Hello".dup end -end # => failure

    - -
    -

    Parameters:

    -
      - -
    • - - target - - - (:physical, :virtual) - - - (defaults to: :physical) - - - — +end # => failure + +
    +

    Parameters:

    + - -

    Yields:

    - + +

    Yields:

    + -

    Yield Returns:

    - - - - -

    Since:

    - +

    Yield Returns:

    + + + + +

    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 - - - - - -

    -
    +end +
    + + +
    +

    + + #assert_nothing_raised(*args) ⇒ Object + + + + + +

    +

    Passes if block does not raise an exception.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_nothing_raised do
       [1, 2].uniq
    -end
    - -
    - - -
    - - + +
    +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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_nothing_thrown(message = nil, &proc) ⇒ Object + + + + + +

    +

    Passes if block does not throw anything.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_nothing_thrown do
       [1, 2].uniq
    -end
    - -
    - - -
    - - + +
    +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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #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.

    - - -
    -
    -
    - -
    -

    Examples:

    - - -
    assert_operator 5, :>=, 4
    - -
    - - -
    - - + +
    + + + + +
    + +
    +

    Examples:

    + + +
    assert_operator 5, :>=, 4
    + +
    + + +
    + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_path_exist(path, message = nil) ⇒ Object + + + + + +

    +

    Passes if path exists.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_path_exist("/tmp")          # -> pass
     assert_path_exist("/bin/sh")       # -> pass
    -assert_path_exist("/nonexistent")  # -> fail
    - -
    - - -
    - - + +
    +assert_path_exist("/nonexistent") # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_path_not_exist(path, message = nil) ⇒ Object + + + + + +

    +

    Passes if path doesn’t exist.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_path_not_exist("/nonexistent")  # -> pass
     assert_path_not_exist("/tmp")          # -> fail
    -assert_path_not_exist("/bin/sh")       # -> fail
    - -
    - - -
    - - + +
    +assert_path_not_exist("/bin/sh") # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_predicate(object, predicate, message = nil) ⇒ Object + + + + + +

    +

    Passes if object.predicate is not false nor nil.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_predicate([], :empty?)  # -> pass
    -assert_predicate([1], :empty?) # -> fail
    - -
    - - -
    - - + +
    +assert_predicate([1], :empty?) # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - -

    -
    +end +
    +
    + +
    +

    + + #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.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_raise(RuntimeError, LoadError) do
       raise 'Boom!!!'
     end # -> pass
    @@ -5316,14 +5316,14 @@ 

    assert_raise(RuntimeError.new("XXX")) {raise "XXX"} # -> pass assert_raise(MyError.new("XXX")) {raise "XXX"} # -> fail -assert_raise(RuntimeError.new("ZZZ")) {raise "XXX"} # -> fail

    - -
    - - -
    - - + +
    +assert_raise(RuntimeError.new("ZZZ")) {raise "XXX"} # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_raise_kind_of(*args, &block) ⇒ Object + + + + + +

    +

    Passes if the block raises one of the given exceptions or sub exceptions of the given exceptions.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_raise_kind_of(SystemCallError) do
       raise Errno::EACCES
    -end
    - -
    - - -
    - - + +
    +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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #assert_raise_message(expected, message = nil) ⇒ Object + + + + + +

    +

    Passes if an exception is raised in block and its message is expected.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +
    assert_raise_message("exception") {raise "exception"}  # -> pass
     assert_raise_message(/exc/i) {raise "exception"}       # -> pass
     assert_raise_message("exception") {raise "EXCEPTION"}  # -> fail
    -assert_raise_message("exception") {}                   # -> fail
    - -
    - - -
    - - + +
    +assert_raise_message("exception") {} # -> fail + + + + + + + - + - -
     
     
    @@ -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 - - - - - -

    -
    +end +
    +
    + +
    +

    + + #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.

    - - -
    -
    -
    - -
    -

    Examples:

    - - + + +
    +
    +
    + +
    +

    Examples:

    + +

    Pass pattern: String

    -

    - +

    +
    assert_raise_with_message(RuntimeError, "Boom!!!") do
       raise "Boom!!!"
    -end # -> pass
    - - +end # -> pass + +

    Pass pattern: Regexp

    -

    - +

    +
    assert_raise_with_message(RuntimeError, /!!!/) do
       raise "Boom!!!"
    -end # -> pass
    - - +end # -> pass + +

    Failure pattern: Exception class isn’t matched

    -

    - +

    +
    assert_raise_with_message(RuntimeError, "Boom!!!") do
       raise ArgumentError, "Boom!!!"
    -end # -> failure
    - - +end # -> failure + +

    Failure pattern: Exception message isn’t matched

    -

    - +

    +
    assert_raise_with_message(RuntimeError, "Boom!!!") do
       raise "Hello"
    -end # -> failure
    - - - -

    Since:

    - - - -
    -

    Constructor Details

    - -
    -

    - - #initialize(exception) ⇒ WrappedException - - - - - -

    -
    -

    Returns a new instance of WrappedException.

    - - -
    -
    -
    - - -
    - - + +
    + + + + + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(exception) ⇒ WrappedException + + + + + +

    +
    +

    Returns a new instance of WrappedException

    + + +
    +
    +
    + + +
    + + - + - -
     
     
     2106
     2107
    -2108
    -
    +2108 +
    # File 'lib/test/unit/assertions.rb', line 2106
     
     def initialize(exception)
       @exception = exception
    -end
    -
    -
    - -
    -
    -

    Dynamic Method Handling

    -

    - This class handles dynamic methods through the method_missing method - -

    - -
    -

    - - #method_missing(name, *args, &block) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +
    +

    Dynamic Method Handling

    +

    + This class handles dynamic methods through the method_missing method + +

    + +
    +

    + + #method_missing(name, *args, &block) ⇒ Object + + + + + +

    + + - + - -
     
     
     2118
     2119
    -2120
    -
    +2120 +
    # File 'lib/test/unit/assertions.rb', line 2118
     
     def method_missing(name, *args, &block)
       @exception.__send__(name, *args, &block)
    -end
    -
    -
    - -
    - -
    -

    Instance Attribute Details

    - - - -
    -

    - - #exceptionObject (readonly) - - - - - -

    -
    +end +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #exceptionObject (readonly) + + + + + +

    +

    Returns the value of attribute exception

    - - -
    -
    -
    - - -
    - - + +
    + + + + +
    + + +
    + + - + - -
     
     
     2105
     2106
    -2107
    -
    +2107 +
    # File 'lib/test/unit/assertions.rb', line 2105
     
     def exception
       @exception
    -end
    -
    - - - - - -
    -

    Instance Method Details

    - - -
    -

    - - #inspectObject - - - - - -

    - - + +
    +end +
    +
    + +
    + + +
    +

    Instance Method Details

    + + +
    +

    + + #inspectObject + + + + + +

    + + - + - -
     
     
    @@ -409,9 +409,9 @@ 

    2113 2114 2115 -2116

    -
    +2116 +
    # File 'lib/test/unit/assertions.rb', line 2110
     
     def inspect
    @@ -420,16 +420,16 @@ 

    else @exception.inspect end -end

    -
    -
    - -
    - - - +end +
    +
    + +
    + + + @@ -470,6 +470,6 @@

    - - + + \ No newline at end of file diff --git a/test-unit/en/Test/Unit/Assertions/AssertionMessage.html b/test-unit/en/Test/Unit/Assertions/AssertionMessage.html index 7b8cf78a..67510131 100644 --- a/test-unit/en/Test/Unit/Assertions/AssertionMessage.html +++ b/test-unit/en/Test/Unit/Assertions/AssertionMessage.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::Assertions::AssertionMessage - - — test-unit - + <title> + Class: Test::Unit::Assertions::AssertionMessage + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
    - - Class: Test::Unit::Assertions::AssertionMessage - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage + + — test-unit + - test-unit @@ -62,558 +62,558 @@
    - - - -

    Class: Test::Unit::Assertions::AssertionMessage - - - -

    -
    - -
    -
    Inherits:
    -
    - Object - -
      -
    • Object
    • - - - -
    - show all - -
    -
    - - - - - - -
    -
    Includes:
    -
    Util::BacktraceFilter
    -
    - - - - - - -
    -
    Defined in:
    -
    lib/test/unit/assertions.rb,
    - lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb
    -
    -
    - -
    - -

    Defined Under Namespace

    -

    - - - - - Classes: ArrayInspector, DelayedLiteral, HashInspector, Inspector, Literal, MaybeContainer, NumericInspector, Template - - -

    - - -

    - Constant Summary - collapse -

    - -
    - -
    MAX_DIFF_TARGET_STRING_SIZE = - -
    -
    1000
    - -
    @@max_diff_target_string_size = - -
    -
    nil
    - -
    - - - - - - -

    Constants included - from Util::BacktraceFilter

    -

    Util::BacktraceFilter::POWERASSERT_PREFIX, Util::BacktraceFilter::TESTUNIT_FILE_SEPARATORS, Util::BacktraceFilter::TESTUNIT_PREFIX, Util::BacktraceFilter::TESTUNIT_RB_FILE

    - - -

    Class Attribute Summary collapse

    - + + + + + +

    + Class Method Summary + collapse +

    + +
    + + + + +
  • + + + .delayed_diff(from, to) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - .delayed_literal(&block) ⇒ Object - - - - - - - - - - - - - +
  • + + + + +
  • + + + .delayed_literal(&block) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - .diff_target_string?(string) ⇒ Boolean - - - - - - - - - - - - - +
  • + + + + +
  • + + + .diff_target_string?(string) ⇒ Boolean + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - .ensure_diffable_string(string) ⇒ Object - - - - - - - - - - - - - +
  • + + + + +
  • + + + .ensure_diffable_string(string) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - .literal(value) ⇒ Object - - - - - - - - - - - - - +
  • + + + + +
  • + + + .literal(value) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - .max_diff_target_string_size ⇒ Object - - - - - - - - - - - - - + + +
  • + + +
  • + + + .max_diff_target_string_size ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - .max_diff_target_string_size=(size) ⇒ Object - - - - - - - - - - - - - + + +
  • + + +
  • + + + .max_diff_target_string_size=(size) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - .maybe_container(value, &formatter) ⇒ Object - - - - - - - - - - - - - + + +
  • + + +
  • + + + .maybe_container(value, &formatter) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - .prepare_for_diff(from, to) ⇒ Object - - - - - - - - - - - - - + + +
  • + + +
  • + + + .prepare_for_diff(from, to) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - - - -

    - Instance Method Summary - collapse -

    - - + +

    + Instance Method Summary + collapse +

    + + - - - - - - - - - - - -

    Methods included from Util::BacktraceFilter

    -

    filter_backtrace

    -
    -

    Constructor Details

    - -
    -

    - - #initialize(user_message, template_string, parameters) ⇒ AssertionMessage - - - - - -

    -
    -

    Returns a new instance of AssertionMessage.

    - - -
    -
    -
    - - -
    - - + +
    + + + + + + + + + + + + + + + + + +

    Methods included from Util::BacktraceFilter

    +

    filter_backtrace

    +
    +

    Constructor Details

    + +
    +

    + + #initialize(user_message, template_string, parameters) ⇒ AssertionMessage + + + + + +

    +
    +

    Returns a new instance of AssertionMessage

    + + +
    +
    +
    + + +
    + + - + - -
     
     
    @@ -621,87 +621,87 @@ 

    2070 2071 2072 -2073

    -
    +2073 +
    # File 'lib/test/unit/assertions.rb', line 2069
     
     def initialize(head, template_string, parameters)
       @head = head
       @template_string = template_string
       @parameters = parameters
    -end
    -
    -
    - -
    - -
    -

    Class Attribute Details

    - - - -
    -

    - - .use_ppObject - - - - - -

    -
    +end +
    +
    + +
    + +
    +

    Class Attribute Details

    + + + +
    +

    + + .use_ppObject + + + + + +

    +

    Returns the value of attribute use_pp

    - - -
    -
    -
    - - -
    - - + +
    + + + + +
    + + +
    + + - + - -
     
     
     1697
     1698
    -1699
    -
    +1699 +
    # File 'lib/test/unit/assertions.rb', line 1697
     
     def use_pp
       @use_pp
    -end
    -
    - - - - - -
    -

    Class Method Details

    - - -
    -

    - - .convert(object) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + .convert(object) ⇒ Object + + + + + +

    + + - + - -
     
     
    @@ -722,9 +722,9 @@ 

    1799 1800 1801 -1802

    -
    +1802 +
    # File 'lib/test/unit/assertions.rb', line 1785
     
     def convert(object)
    @@ -744,24 +744,24 @@ 

    end end inspector.inspect -end

    -
    -
    - -
    -

    - - .delayed_diff(from, to) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + .delayed_diff(from, to) ⇒ Object + + + + + +

    + + - + - -
     
     
    @@ -786,9 +786,9 @@ 

    1780 1781 1782 -1783

    -
    +1783 +
    # File 'lib/test/unit/assertions.rb', line 1762
     
     def delayed_diff(from, to)
    @@ -812,77 +812,77 @@ 

    diff end -end

    -
    -
    - -
    -

    - - .delayed_literal(&block) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + .delayed_literal(&block) ⇒ Object + + + + + +

    + + - + - -
     
     
     1703
     1704
    -1705
    -
    +1705 +
    # File 'lib/test/unit/assertions.rb', line 1703
     
     def delayed_literal(&block)
       DelayedLiteral.new(block)
    -end
    -
    -
    - -
    -

    - - .diff_target_string?(string) ⇒ Boolean - - - - - -

    -
    - - - -
    -
    -
    - -

    Returns:

    -
      - -
    • - - - (Boolean) - - - -
    • - -
    - -
    - - + +
    +end +
    +
    + +
    +

    + + .diff_target_string?(string) ⇒ Boolean + + + + + +

    +
    + + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +
    + + - + - -
     
     
    @@ -892,9 +892,9 @@ 

    1734 1735 1736 -1737

    -
    +1737 +
    # File 'lib/test/unit/assertions.rb', line 1731
     
     def diff_target_string?(string)
    @@ -903,24 +903,24 @@ 

    else string.size < max_diff_target_string_size end -end

    -
    -
    - -
    -

    - - .ensure_diffable_string(string) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + .ensure_diffable_string(string) ⇒ Object + + + + + +

    + + - + - -
     
     
    @@ -930,9 +930,9 @@ 

    1742 1743 1744 -1745

    -
    +1745 +
    # File 'lib/test/unit/assertions.rb', line 1739
     
     def ensure_diffable_string(string)
    @@ -941,54 +941,54 @@ 

    string = string.dup.force_encoding("ASCII-8BIT") end string -end

    -
    -
    - -
    -

    - - .literal(value) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + .literal(value) ⇒ Object + + + + + +

    + + - + - -
     
     
     1699
     1700
    -1701
    -
    +1701 +
    # File 'lib/test/unit/assertions.rb', line 1699
     
     def literal(value)
       Literal.new(value)
    -end
    -
    -
    - -
    -

    - - .max_diff_target_string_sizeObject - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + .max_diff_target_string_sizeObject + + + + + +

    + + - + - -
     
     
    @@ -1004,9 +1004,9 @@ 

    1721 1722 1723 -1724

    -
    +1724 +
    # File 'lib/test/unit/assertions.rb', line 1712
     
     def max_diff_target_string_size
    @@ -1021,84 +1021,84 @@ 

    end end size || MAX_DIFF_TARGET_STRING_SIZE -end

    -
    -
    - -
    -

    - - .max_diff_target_string_size=(size) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + .max_diff_target_string_size=(size) ⇒ Object + + + + + +

    + + - + - -
     
     
     1727
     1728
    -1729
    -
    +1729 +
    # File 'lib/test/unit/assertions.rb', line 1727
     
     def max_diff_target_string_size=(size)
       @@max_diff_target_string_size = size
    -end
    -
    -
    - -
    -

    - - .maybe_container(value, &formatter) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + .maybe_container(value, &formatter) ⇒ Object + + + + + +

    + + - + - -
     
     
     1707
     1708
    -1709
    -
    +1709 +
    # File 'lib/test/unit/assertions.rb', line 1707
     
     def maybe_container(value, &formatter)
       MaybeContainer.new(value, &formatter)
    -end
    -
    -
    - -
    -

    - - .prepare_for_diff(from, to) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + .prepare_for_diff(from, to) ⇒ Object + + + + + +

    + + - + - -
     
     
    @@ -1115,9 +1115,9 @@ 

    1757 1758 1759 -1760

    -
    +1760 +
    # File 'lib/test/unit/assertions.rb', line 1747
     
     def prepare_for_diff(from, to)
    @@ -1133,90 +1133,90 @@ 

    else [nil, nil] end -end

    -
    -
    - -
    - -
    -

    Instance Method Details

    - - -
    -

    - - #convert(object) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #convert(object) ⇒ Object + + + + + +

    + + - + - -
     
     
     2075
     2076
    -2077
    -
    +2077 +
    # File 'lib/test/unit/assertions.rb', line 2075
     
     def convert(object)
       self.class.convert(object)
    -end
    -
    -
    - -
    -

    - - #templateObject - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + #templateObject + + + + + +

    + + - + - -
     
     
     2079
     2080
    -2081
    -
    +2081 +
    # File 'lib/test/unit/assertions.rb', line 2079
     
     def template
       @template ||= Template.create(@template_string)
    -end
    -
    -
    - -
    -

    - - #to_sObject - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + #to_sObject + + + + + +

    + + - + - -
     
     
    @@ -1233,9 +1233,9 @@ 

    2097 2098 2099 -2100

    -
    +2100 +
    # File 'lib/test/unit/assertions.rb', line 2087
     
     def to_s
    @@ -1251,24 +1251,24 @@ 

    tail = template.result(@parameters.collect{|e| convert(e)}) message_parts << tail unless(tail.empty?) message_parts.join("\n") -end

    -
    -
    - -
    -

    - - #user_messageObject - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + #user_messageObject + + + + + +

    + + - + - -
     
     
    @@ -1277,9 +1277,9 @@ 

    2093 2094 2095 -2096

    -
    +2096 +
    # File 'lib/test/unit/assertions.rb', line 2091
     
     def user_message
    @@ -1287,16 +1287,16 @@ 

    message = @user_message message = message.call if message.respond_to?(:call) message.to_s -end

    -
    -
    - -
    - - - +end +
    +
    + +
    + + + @@ -1337,6 +1337,6 @@

    - - + + \ No newline at end of file diff --git a/test-unit/en/Test/Unit/Assertions/AssertionMessage/ArrayInspector.html b/test-unit/en/Test/Unit/Assertions/AssertionMessage/ArrayInspector.html index 3076a900..300eff15 100644 --- a/test-unit/en/Test/Unit/Assertions/AssertionMessage/ArrayInspector.html +++ b/test-unit/en/Test/Unit/Assertions/AssertionMessage/ArrayInspector.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::Assertions::AssertionMessage::ArrayInspector - - — test-unit - + <title> + Class: Test::Unit::Assertions::AssertionMessage::ArrayInspector + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
    - - Class: Test::Unit::Assertions::AssertionMessage::ArrayInspector - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::ArrayInspector + + — test-unit + - test-unit @@ -62,267 +62,267 @@
    - - - -

    Class: Test::Unit::Assertions::AssertionMessage::ArrayInspector - - - -

    -
    - -
    -
    Inherits:
    -
    - Object - -
      -
    • Object
    • - - - -
    - show all - -
    -
    - - - - - - - - - - - -
    -
    Defined in:
    -
    lib/test/unit/assertions.rb,
    - lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb
    -
    -
    - -
    - - - - - - - - - -

    - Class Method Summary - collapse -

    - -
      - -
    • - - - .target?(object) ⇒ Boolean - - - - - - - - - - - - - + + + +

      Class: Test::Unit::Assertions::AssertionMessage::ArrayInspector + + + +

      +
      + +
      +
      Inherits:
      +
      + Object + +
        +
      • Object
      • + + + +
      + show all + +
      +
      + + + + + + + + + + + +
      +
      Defined in:
      +
      lib/test/unit/assertions.rb,
      + lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb
      +
      +
      + +
      + + + + + + + + + +

      + Class Method Summary + collapse +

      + + - -

      - Instance Method Summary - collapse -

      - -
      + +
    • + + +
    + +

    + Instance Method Summary + collapse +

    + +
    + + + + +
  • + + + #initialize(array, inspected_objects) ⇒ ArrayInspector + + + + + + + constructor + + + + + + + +

    A new instance of ArrayInspector.

    -
    - -
  • - - -
  • - - - #inspect ⇒ Object - - - - - - - - - - - - - +
  • + + + + +
  • + + + #inspect ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - #pretty_print(q) ⇒ Object - - - - - - - - - - - - - +
  • + + + + +
  • + + + #pretty_print(q) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - #pretty_print_cycle(q) ⇒ Object - - - - - - - - - - - - - +
  • + + + + +
  • + + + #pretty_print_cycle(q) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - - - - -
    -

    Constructor Details

    - -
    -

    - - #initialize(array, inspected_objects) ⇒ ArrayInspector - - - - - -

    -
    -

    Returns a new instance of ArrayInspector.

    - - -
    -
    -
    - - -
    - - + +
    + + + + + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(array, inspected_objects) ⇒ ArrayInspector + + + + + +

    +
    +

    Returns a new instance of ArrayInspector

    + + +
    +
    +
    + + +
    + + - + - -
     
     
    @@ -331,9 +331,9 @@ 

    1960 1961 1962 -1963

    -
    +1963 +
    # File 'lib/test/unit/assertions.rb', line 1958
     
     def initialize(array, inspected_objects)
    @@ -341,150 +341,150 @@ 

    @array = array.collect do |element| Inspector.cached_new(element, @inspected_objects) end -end

    -
    -
    - -
    - - -
    -

    Class Method Details

    - - -
    -

    - - .target?(object) ⇒ Boolean - - - - - -

    -
    +end +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + .target?(object) ⇒ Boolean + + + + + +

    +
    - - -
    -
    -
    - -

    Returns:

    -
      - -
    • - - - (Boolean) - - - -
    • - -
    - -
    - - + +
    + + + + +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +
    + + - + - -
     
     
     1953
     1954
    -1955
    -
    +1955 +
    # File 'lib/test/unit/assertions.rb', line 1953
     
     def target?(object)
       object.is_a?(Array)
    -end
    -
    - - - - -
    -

    Instance Method Details

    - - -
    -

    - - #each(&block) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #each(&block) ⇒ Object + + + + + +

    + + - + - -
     
     
     1981
     1982
    -1983
    -
    +1983 +
    # File 'lib/test/unit/assertions.rb', line 1981
     
     def each(&block)
       @array.each(&block)
    -end
    -
    -
    - -
    -

    - - #inspectObject - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + #inspectObject + + + + + +

    + + - + - -
     
     
     1965
     1966
    -1967
    -
    +1967 +
    # File 'lib/test/unit/assertions.rb', line 1965
     
     def inspect
       @array.inspect
    -end
    -
    -
    - -
    -

    - - #pretty_print(q) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + #pretty_print(q) ⇒ Object + + + + + +

    + + - + - -
     
     
    @@ -494,9 +494,9 @@ 

    1972 1973 1974 -1975

    -
    +1975 +
    # File 'lib/test/unit/assertions.rb', line 1969
     
     def pretty_print(q)
    @@ -505,46 +505,46 @@ 

    q.pp(v) end end -end

    -
    -
    - -
    -

    - - #pretty_print_cycle(q) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + #pretty_print_cycle(q) ⇒ Object + + + + + +

    + + - + - -
     
     
     1977
     1978
    -1979
    -
    +1979 +
    # File 'lib/test/unit/assertions.rb', line 1977
     
     def pretty_print_cycle(q)
       @array.pretty_print_cycle(q)
    -end
    -
    -
    - -
    - - - +end +
    +
    + +
    + +
    + @@ -585,6 +585,6 @@

    - - + + \ No newline at end of file diff --git a/test-unit/en/Test/Unit/Assertions/AssertionMessage/DelayedLiteral.html b/test-unit/en/Test/Unit/Assertions/AssertionMessage/DelayedLiteral.html index 51c23233..500465a4 100644 --- a/test-unit/en/Test/Unit/Assertions/AssertionMessage/DelayedLiteral.html +++ b/test-unit/en/Test/Unit/Assertions/AssertionMessage/DelayedLiteral.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::Assertions::AssertionMessage::DelayedLiteral - - — test-unit - + <title> + Class: Test::Unit::Assertions::AssertionMessage::DelayedLiteral + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
    - - Class: Test::Unit::Assertions::AssertionMessage::DelayedLiteral - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::DelayedLiteral + + — test-unit + - test-unit @@ -62,225 +62,225 @@
    - - - -

    Class: Test::Unit::Assertions::AssertionMessage::DelayedLiteral - - - -

    -
    - -
    -
    Inherits:
    -
    - Object - -
      -
    • Object
    • - - - -
    - show all - -
    -
    - - - - - - - - - - - -
    -
    Defined in:
    -
    lib/test/unit/assertions.rb,
    - lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb
    -
    -
    - -
    - - - - - - - - - -

    - Instance Method Summary - collapse -

    - -
      - -
    • - - - #initialize(value) ⇒ DelayedLiteral - - - - - - - constructor - - - - - - - - + + + +

      Class: Test::Unit::Assertions::AssertionMessage::DelayedLiteral + + + +

      +
      + +
      +
      Inherits:
      +
      + Object + +
        +
      • Object
      • + + + +
      + show all + +
      +
      + + + + + + + + + + + +
      +
      Defined in:
      +
      lib/test/unit/assertions.rb,
      + lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb
      +
      +
      + +
      + + + + + + + + + +

      + Instance Method Summary + collapse +

      + +
      + +
    • + + +
    • + + + #inspect ⇒ Object + + + + + + + + + + + + +
      -
      - -
    • - - -
    - - -
    -

    Constructor Details

    - -
    -

    - - #initialize(value) ⇒ DelayedLiteral - - - - - -

    -
    -

    Returns a new instance of DelayedLiteral.

    - - -
    -
    -
    - - -
    - - + +
    + + + + + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(value) ⇒ DelayedLiteral + + + + + +

    +
    +

    Returns a new instance of DelayedLiteral

    + + +
    +
    +
    + + +
    + + - + - -
     
     
     1997
     1998
    -1999
    -
    +1999 +
    # File 'lib/test/unit/assertions.rb', line 1997
     
     def initialize(value)
       @value = value
    -end
    -
    -
    - -
    - - -
    -

    Instance Method Details

    - - -
    -

    - - #inspectObject - - - - - -

    - - + +
    +end +
    +
    + +
    + + +
    +

    Instance Method Details

    + + +
    +

    + + #inspectObject + + + + + +

    + + - + - -
     
     
     2001
     2002
    -2003
    -
    +2003 +
    # File 'lib/test/unit/assertions.rb', line 2001
     
     def inspect
       @value.call.to_s
    -end
    -
    -
    - -
    - - - +end +
    +
    + +
    + +
    + @@ -321,6 +321,6 @@

    -
    - +
    + \ No newline at end of file diff --git a/test-unit/en/Test/Unit/Assertions/AssertionMessage/HashInspector.html b/test-unit/en/Test/Unit/Assertions/AssertionMessage/HashInspector.html index 2e367339..34922fea 100644 --- a/test-unit/en/Test/Unit/Assertions/AssertionMessage/HashInspector.html +++ b/test-unit/en/Test/Unit/Assertions/AssertionMessage/HashInspector.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::Assertions::AssertionMessage::HashInspector - - — test-unit - + <title> + Class: Test::Unit::Assertions::AssertionMessage::HashInspector + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
    - - Class: Test::Unit::Assertions::AssertionMessage::HashInspector - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::HashInspector + + — test-unit + - test-unit @@ -62,267 +62,267 @@
    - - - -

    Class: Test::Unit::Assertions::AssertionMessage::HashInspector - - - -

    -
    - -
    -
    Inherits:
    -
    - Object - -
      -
    • Object
    • - - - -
    - show all - -
    -
    - - - - - - - - - - - -
    -
    Defined in:
    -
    lib/test/unit/assertions.rb,
    - lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb
    -
    -
    - -
    - - - - - - - - - -

    - Class Method Summary - collapse -

    - -
      - -
    • - - - .target?(object) ⇒ Boolean - - - - - - - - - - - - - + + + +

      Class: Test::Unit::Assertions::AssertionMessage::HashInspector + + + +

      +
      + +
      +
      Inherits:
      +
      + Object + +
        +
      • Object
      • + + + +
      + show all + +
      +
      + + + + + + + + + + + +
      +
      Defined in:
      +
      lib/test/unit/assertions.rb,
      + lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb
      +
      +
      + +
      + + + + + + + + + +

      + Class Method Summary + collapse +

      + + - -

      - Instance Method Summary - collapse -

      - -
      + +
    • + + +
    + +

    + Instance Method Summary + collapse +

    + +
    + + + + +
  • + + + #initialize(hash, inspected_objects) ⇒ HashInspector + + + + + + + constructor + + + + + + + +

    A new instance of HashInspector.

    -
    - -
  • - - -
  • - - - #inspect ⇒ Object - - - - - - - - - - - - - +
  • + + + + +
  • + + + #inspect ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - #pretty_print(q) ⇒ Object - - - - - - - - - - - - - +
  • + + + + +
  • + + + #pretty_print(q) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - #pretty_print_cycle(q) ⇒ Object - - - - - - - - - - - - - +
  • + + + + +
  • + + + #pretty_print_cycle(q) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - - - - -
    -

    Constructor Details

    - -
    -

    - - #initialize(hash, inspected_objects) ⇒ HashInspector - - - - - -

    -
    -

    Returns a new instance of HashInspector.

    - - -
    -
    -
    - - -
    - - + +
    + + + + + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(hash, inspected_objects) ⇒ HashInspector + + + + + +

    +
    +

    Returns a new instance of HashInspector

    + + +
    +
    +
    + + +
    + + - + - -
     
     
    @@ -334,9 +334,9 @@ 

    1909 1910 1911 -1912

    -
    +1912 +
    # File 'lib/test/unit/assertions.rb', line 1904
     
     def initialize(hash, inspected_objects)
    @@ -347,90 +347,90 @@ 

    value = Inspector.cached_new(value, @inspected_objects) @hash[key] = value end -end

    -
    -
    - -
    - - -
    -

    Class Method Details

    - - -
    -

    - - .target?(object) ⇒ Boolean - - - - - -

    -
    +end +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + .target?(object) ⇒ Boolean + + + + + +

    +
    - - -
    -
    -
    - -

    Returns:

    -
      - -
    • - - - (Boolean) - - - -
    • - -
    - -
    - - + +
    + + + + +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +
    + + - + - -
     
     
     1899
     1900
    -1901
    -
    +1901 +
    # File 'lib/test/unit/assertions.rb', line 1899
     
     def target?(object)
       object.is_a?(Hash) or ENV.equal?(object)
    -end
    -
    - - - - -
    -

    Instance Method Details

    - - -
    -

    - - #each_pairObject - - - - - -

    - - + +
    +end +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #each_pairObject + + + + + +

    + + - + - -
     
     
    @@ -443,9 +443,9 @@ 

    1943 1944 1945 -1946

    -
    +1946 +
    # File 'lib/test/unit/assertions.rb', line 1937
     
     def each_pair
    @@ -457,54 +457,54 @@ 

    keys.each do |key| yield(key, @hash[key]) end -end

    -
    -
    - -
    -

    - - #inspectObject - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + #inspectObject + + + + + +

    + + - + - -
     
     
     1914
     1915
    -1916
    -
    +1916 +
    # File 'lib/test/unit/assertions.rb', line 1914
     
     def inspect
       @hash.inspect
    -end
    -
    -
    - -
    -

    - - #pretty_print(q) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + #pretty_print(q) ⇒ Object + + + + + +

    + + - + - -
     
     
    @@ -521,9 +521,9 @@ 

    1928 1929 1930 -1931

    -
    +1931 +
    # File 'lib/test/unit/assertions.rb', line 1918
     
     def pretty_print(q)
    @@ -539,46 +539,46 @@ 

    end end end -end

    -
    -
    - -
    -

    - - #pretty_print_cycle(q) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + #pretty_print_cycle(q) ⇒ Object + + + + + +

    + + - + - -
     
     
     1933
     1934
    -1935
    -
    +1935 +
    # File 'lib/test/unit/assertions.rb', line 1933
     
     def pretty_print_cycle(q)
       @hash.pretty_print_cycle(q)
    -end
    -
    -
    - -
    - - - +end +
    +
    + +
    + +
    + @@ -619,6 +619,6 @@

    - - + + \ No newline at end of file diff --git a/test-unit/en/Test/Unit/Assertions/AssertionMessage/Inspector.html b/test-unit/en/Test/Unit/Assertions/AssertionMessage/Inspector.html index db8ec97a..794c4fba 100644 --- a/test-unit/en/Test/Unit/Assertions/AssertionMessage/Inspector.html +++ b/test-unit/en/Test/Unit/Assertions/AssertionMessage/Inspector.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::Assertions::AssertionMessage::Inspector - - — test-unit - + <title> + Class: Test::Unit::Assertions::AssertionMessage::Inspector + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
    - - Class: Test::Unit::Assertions::AssertionMessage::Inspector - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::Inspector + + — test-unit + - test-unit @@ -62,414 +62,414 @@
    - - - -

    Class: Test::Unit::Assertions::AssertionMessage::Inspector - - - -

    -
    - -
    -
    Inherits:
    -
    - Object - -
      -
    • Object
    • - - - -
    - show all - -
    -
    - - - - - - -
    -
    Includes:
    -
    Comparable
    -
    - - - - - - -
    -
    Defined in:
    -
    lib/test/unit/assertions.rb,
    - lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb
    -
    -
    - -
    - - - -

    - Constant Summary - collapse -

    - -
    - -
    @@inspector_classes = - -
    -
    []
    - -
    - - - - - -

    Instance Attribute Summary collapse

    -
      - -
    • - - - #object ⇒ Object - - - - - - - - - readonly - - - - - - - - - + + + +

      Class: Test::Unit::Assertions::AssertionMessage::Inspector + + + +

      +
      + +
      +
      Inherits:
      +
      + Object + +
        +
      • Object
      • + + + +
      + show all + +
      +
      + + + + + + +
      +
      Includes:
      +
      Comparable
      +
      + + + + + + +
      +
      Defined in:
      +
      lib/test/unit/assertions.rb,
      + lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb
      +
      +
      + +
      + + + +

      + Constant Summary + collapse +

      + +
      + +
      @@inspector_classes = + +
      +
      []
      + +
      + + + + + +

      Instance Attribute Summary collapse

      +
        + +
      • + + + #object ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute object.

        -
        - -
      • - - -
      - - - - - -

      - Class Method Summary - collapse -

      - -
      + +
    • + + +
    + + + + + +

    + Class Method Summary + collapse +

    + +
    + + + + +
  • + + + .inspector_classes ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - .register_inspector_class(inspector_class) ⇒ Object - - - - - - - - - - - - - +
  • + + + + +
  • + + + .register_inspector_class(inspector_class) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - .unregister_inspector_class(inspector_class) ⇒ Object - - - - - - - - - - - - - +
  • + + + + +
  • + + + .unregister_inspector_class(inspector_class) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - - - -

    - Instance Method Summary - collapse -

    - -
    + + + + + + +

    + Instance Method Summary + collapse +

    + +
    + + + + +
  • + + + #initialize(object, inspected_objects = {}) ⇒ Inspector + + + + + + + constructor + + + + + + + +

    A new instance of Inspector.

    -
    - -
  • - - -
  • - - - #inspect ⇒ Object - - - - - - - - - - - - - + + +
  • + + +
  • + + + #inspect ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - #native_inspect ⇒ Object - - - - - - - - - - - - - + + +
  • + + +
  • + + + #native_inspect ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - #pretty_print(q) ⇒ Object - - - - - - - - - - - - - + + +
  • + + +
  • + + + #pretty_print(q) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - #pretty_print_cycle(q) ⇒ Object - - - - - - - - - - - - - + + +
  • + + +
  • + + + #pretty_print_cycle(q) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - - - - - -
    -

    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

    - - - -
    -

    - - #objectObject (readonly) - - - - - -

    -
    +end +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #objectObject (readonly) + + + + + +

    +

    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 - - - - - -

    - - + +
    +end +
    +
    + +
    + + +
    +

    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_classesObject - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + .inspector_classesObject + + + + + +

    + + - + - -
     
     
     1815
     1816
    -1817
    -
    +1817 +
    # File 'lib/test/unit/assertions.rb', line 1815
     
     def inspector_classes
       @@inspector_classes
    -end
    -
    -
    - -
    -

    - - .register_inspector_class(inspector_class) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + .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 - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + .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 - - - - - -

    - - + +
    +end +
    +
    + +
    + +
    +

    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

    -
    -
    - -
    -

    - - #inspectObject - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + #inspectObject + + + + + +

    + + - + - -
     
     
     1837
     1838
    -1839
    -
    +1839 +
    # File 'lib/test/unit/assertions.rb', line 1837
     
     def inspect
       @inspect_target.inspect
    -end
    -
    -
    - -
    -

    - - #native_inspectObject - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + #native_inspectObject + + + + + +

    + + - + - -
     
     
     1836
     1837
    -1838
    -
    +1838 +
    # File 'lib/test/unit/assertions.rb', line 1836
     
     def inspect
       @inspect_target.inspect
    -end
    -
    -
    - -
    -

    - - #pretty_print(q) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + #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 - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + #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 - + <title> + Class: Test::Unit::Assertions::AssertionMessage::Literal + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
    - - Class: Test::Unit::Assertions::AssertionMessage::Literal - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::Literal + + — test-unit + - test-unit @@ -62,225 +62,225 @@
    - - - -

    Class: Test::Unit::Assertions::AssertionMessage::Literal - - - -

    -
    - -
    -
    Inherits:
    -
    - Object - -
      -
    • Object
    • - - - -
    - show all - -
    -
    - - - - - - - - - - - -
    -
    Defined in:
    -
    lib/test/unit/assertions.rb,
    - lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb
    -
    -
    - -
    - - - - - - - - - -

    - Instance Method Summary - collapse -

    - -
      - -
    • - - - #initialize(value) ⇒ Literal - - - - - - - constructor - - - - - - - - + + + +

      Class: Test::Unit::Assertions::AssertionMessage::Literal + + + +

      +
      + +
      +
      Inherits:
      +
      + Object + +
        +
      • Object
      • + + + +
      + show all + +
      +
      + + + + + + + + + + + +
      +
      Defined in:
      +
      lib/test/unit/assertions.rb,
      + lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb
      +
      +
      + +
      + + + + + + + + + +

      + Instance Method Summary + collapse +

      + +
      + +
    • + + +
    • + + + #inspect ⇒ Object + + + + + + + + + + + + +
      -
      - -
    • - - -
    - - -
    -

    Constructor Details

    - -
    -

    - - #initialize(value) ⇒ Literal - - - - - -

    -
    -

    Returns a new instance of Literal.

    - - -
    -
    -
    - - -
    - - + +
    + + + + + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(value) ⇒ Literal + + + + + +

    +
    +

    Returns a new instance of Literal

    + + +
    +
    +
    + + +
    + + - + - -
     
     
     1987
     1988
    -1989
    -
    +1989 +
    # File 'lib/test/unit/assertions.rb', line 1987
     
     def initialize(value)
       @value = value
    -end
    -
    -
    - -
    - - -
    -

    Instance Method Details

    - - -
    -

    - - #inspectObject - - - - - -

    - - + +
    +end +
    +
    + +
    + + +
    +

    Instance Method Details

    + + +
    +

    + + #inspectObject + + + + + +

    + + - + - -
     
     
     1991
     1992
    -1993
    -
    +1993 +
    # File 'lib/test/unit/assertions.rb', line 1991
     
     def inspect
       @value.to_s
    -end
    -
    -
    - -
    - - - +end +
    +
    + +
    + +
    + @@ -321,6 +321,6 @@

    -
    - +
    + \ 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 - + <title> + Class: Test::Unit::Assertions::AssertionMessage::MaybeContainer + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
    - - Class: Test::Unit::Assertions::AssertionMessage::MaybeContainer - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::MaybeContainer + + — test-unit + - test-unit @@ -62,205 +62,205 @@
    - - - -

    Class: Test::Unit::Assertions::AssertionMessage::MaybeContainer - - - -

    -
    - -
    -
    Inherits:
    -
    - Object - -
      -
    • Object
    • - - - -
    - show all - -
    -
    - - - - - - - - - - - -
    -
    Defined in:
    -
    lib/test/unit/assertions.rb,
    - lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb
    -
    -
    - -
    - - - - - - - - - -

    - Instance Method Summary - collapse -

    - - - - -
    -

    Constructor Details

    - -
    -

    - - #initialize(value, &formatter) ⇒ MaybeContainer - - - - - -

    -
    -

    Returns a new instance of MaybeContainer.

    - - -
    -
    -
    - - -
    - - + +
    + + + + + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(value, &formatter) ⇒ MaybeContainer + + + + + +

    +
    +

    Returns a new instance of MaybeContainer

    + + +
    +
    +
    + + +
    + + - + - -
     
     
     2007
     2008
     2009
    -2010
    -
    +2010 +
    # File 'lib/test/unit/assertions.rb', line 2007
     
     def initialize(value, &formatter)
       @value = value
       @formatter = formatter
    -end
    -
    -
    - -
    - - -
    -

    Instance Method Details

    - - -
    -

    - - #inspectObject - - - - - -

    - - + +
    +end +
    +
    + +
    + + +
    +

    Instance Method Details

    + + +
    +

    + + #inspectObject + + + + + +

    + + - + - -
     
     
    @@ -273,9 +273,9 @@ 

    2018 2019 2020 -2021

    -
    +2021 +
    # File 'lib/test/unit/assertions.rb', line 2012
     
     def inspect
    @@ -287,16 +287,16 @@ 

    else @formatter.call(AssertionMessage.convert(@value)) end -end

    -
    -
    - -
    - - - +end +
    +
    + +
    + +
    + @@ -337,6 +337,6 @@

    -
    - +
    + \ 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 - + <title> + Class: Test::Unit::Assertions::AssertionMessage::NumericInspector + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
    - - Class: Test::Unit::Assertions::AssertionMessage::NumericInspector - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::NumericInspector + + — test-unit + - test-unit @@ -62,424 +62,424 @@
    - - - -

    Class: Test::Unit::Assertions::AssertionMessage::NumericInspector - - - -

    -
    - -
    -
    Inherits:
    -
    - Object - -
      -
    • Object
    • - - - -
    - show all - -
    -
    - - - - - - - - - - - -
    -
    Defined in:
    -
    lib/test/unit/assertions.rb,
    - lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb
    -
    -
    - -
    - - - - - - - - - -

    - Class Method Summary - collapse -

    - - + +

    + Instance Method Summary + collapse +

    + +
    + + + + +
  • + + + #inspect ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - #pretty_print(q) ⇒ Object - - - - - - - - - - - - - +
  • + + + + +
  • + + + #pretty_print(q) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - -
  • - - - #pretty_print_cycle(q) ⇒ Object - - - - - - - - - - - - - +
  • + + + + +
  • + + + #pretty_print_cycle(q) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - - - - -
    -

    Constructor Details

    - -
    -

    - - #initialize(numeric, inspected_objects) ⇒ NumericInspector - - - - - -

    -
    -

    Returns a new instance of NumericInspector.

    - - -
    -
    -
    - - -
    - - + +
    + + + + + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(numeric, inspected_objects) ⇒ NumericInspector + + + + + +

    +
    +

    Returns a new instance of NumericInspector

    + + +
    +
    +
    + + +
    + + - + - -
     
     
     1877
     1878
     1879
    -1880
    -
    +1880 +
    # File 'lib/test/unit/assertions.rb', line 1877
     
     def initialize(numeric, inspected_objects)
       @inspected_objects = inspected_objects
       @numeric = numeric
    -end
    -
    -
    - -
    - - -
    -

    Class Method Details

    - - -
    -

    - - .target?(object) ⇒ Boolean - - - - - -

    -
    +end +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + .target?(object) ⇒ Boolean + + + + + +

    +
    - - -
    -
    -
    - -

    Returns:

    -
      - -
    • - - - (Boolean) - - - -
    • - -
    - -
    - - + +
    + + + + +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +
    + + - + - -
     
     
     1872
     1873
    -1874
    -
    +1874 +
    # File 'lib/test/unit/assertions.rb', line 1872
     
     def target?(object)
       object.is_a?(Numeric)
    -end
    -
    - - - - -
    -

    Instance Method Details

    - - -
    -

    - - #inspectObject - - - - - -

    - - + +
    +end +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #inspectObject + + + + + +

    + + - + - -
     
     
     1882
     1883
    -1884
    -
    +1884 +
    # File 'lib/test/unit/assertions.rb', line 1882
     
     def inspect
       @numeric.to_s
    -end
    -
    -
    - -
    -

    - - #pretty_print(q) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + #pretty_print(q) ⇒ Object + + + + + +

    + + - + - -
     
     
     1886
     1887
    -1888
    -
    +1888 +
    # File 'lib/test/unit/assertions.rb', line 1886
     
     def pretty_print(q)
       q.text(@numeric.to_s)
    -end
    -
    -
    - -
    -

    - - #pretty_print_cycle(q) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    +

    + + #pretty_print_cycle(q) ⇒ Object + + + + + +

    + + - + - -
     
     
     1890
     1891
    -1892
    -
    +1892 +
    # File 'lib/test/unit/assertions.rb', line 1890
     
     def pretty_print_cycle(q)
       q.text(@numeric.to_s)
    -end
    -
    -
    - -
    - - - +end +
    +
    + +
    + +
    + @@ -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 - + <title> + Class: Test::Unit::Assertions::AssertionMessage::Template + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
    - - Class: Test::Unit::Assertions::AssertionMessage::Template - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::Template + + — test-unit + - test-unit @@ -62,355 +62,355 @@
    - - - -

    Class: Test::Unit::Assertions::AssertionMessage::Template - - - -

    -
    - -
    -
    Inherits:
    -
    - Object - -
      -
    • Object
    • - - - -
    - show all - -
    -
    - - - - - - - - - - - -
    -
    Defined in:
    -
    lib/test/unit/assertions.rb,
    - lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb,
    lib/test/unit/assertions.rb
    -
    -
    - -
    - - - - - -

    Instance Attribute Summary collapse

    -
      - -
    • - - - #count ⇒ Object - - - - - - - - - readonly - - - - - - - - - + + + +

      Class: Test::Unit::Assertions::AssertionMessage::Template + + + +

      +
      + +
      +
      Inherits:
      +
      + Object + +
        +
      • Object
      • + + + +
      + show all + +
      +
      + + + + + + + + + + + +
      +
      Defined in:
      +
      lib/test/unit/assertions.rb,
      + lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb,
      lib/test/unit/assertions.rb
      +
      +
      + +
      + + + + + +

      Instance Attribute Summary collapse

      +
        + +
      • + + + #count ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute count.

        -
        - -
      • - - -
      - - - - - -

      - Class Method Summary - collapse -

      - -
      + +
    • + + +
    + + + + + +

    + Class Method Summary + collapse +

    + + - -

    - Instance Method Summary - collapse -

    - -
    + + + + + + +

    + Instance Method Summary + collapse +

    + +
    + + + + +
  • + + + #result(parameters) ⇒ Object + + + + + + + + + + + + +
    -
    - -
  • - - - - - -
    -

    Constructor Details

    - -
    -

    - - #initialize(parts) ⇒ Template - - - - - -

    -
    -

    Returns a new instance of Template.

    - - -
    -
    -
    - - -
    - - + +
    + + + + + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(parts) ⇒ Template + + + + + +

    +
    +

    Returns a new instance of Template

    + + +
    +
    +
    + + +
    + + - + - -
     
     
     2032
     2033
     2034
    -2035
    -
    +2035 +
    # File 'lib/test/unit/assertions.rb', line 2032
     
     def initialize(parts)
       @parts = parts
       @count = parts.find_all{|e| e == '?'}.size
    -end
    -
    -
    - -
    - -
    -

    Instance Attribute Details

    - - - -
    -

    - - #countObject (readonly) - - - - - -

    -
    +end +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #countObject (readonly) + + + + + +

    +

    Returns the value of attribute count

    - - -
    -
    -
    - - -
    - - + +
    + + + + +
    + + +
    + + - + - -
     
     
     2030
     2031
    -2032
    -
    +2032 +
    # File 'lib/test/unit/assertions.rb', line 2030
     
     def count
       @count
    -end
    -
    - - - - - -
    -

    Class Method Details

    - - -
    -

    - - .create(string) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + .create(string) ⇒ Object + + + + + +

    + + - + - -
     
     
     2025
     2026
     2027
    -2028
    -
    +2028 +
    # File 'lib/test/unit/assertions.rb', line 2025
     
     def self.create(string)
       parts = (string ? string.scan(/(?=[^\\])\?|(?:\\\?|[^\?])+/m) : [])
       self.new(parts)
    -end
    -
    -
    - -
    - -
    -

    Instance Method Details

    - - -
    -

    - - #result(parameters) ⇒ Object - - - - - -

    - - + +
    +end +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #result(parameters) ⇒ Object + + + + + +

    + + - + - -
     
     
    @@ -432,9 +432,9 @@ 

    2052 2053 2054 -2055

    -
    +2055 +
    # File 'lib/test/unit/assertions.rb', line 2037
     
     def result(parameters)
    @@ -455,16 +455,16 @@ 

    end end expanded_template -end

    -
    -
    - -
    - - - +end +
    +
    + +
    + +
    + @@ -505,6 +505,6 @@

    -
    - + + \ 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 - + <title> + test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
    - - test-unit - + + test-unit + - test-unit @@ -58,940 +58,940 @@
    - - - -

    test-unit

    -
    -

    Alphabetic Index

    - -

    File Listing

    - - -
    -

    Namespace Listing A-Z

    - - - - - - - - - - -
    - - - - - - - - - - - -
      -
    • D
    • -
        - -
      • - Data - - (Test::Unit) - -
      • - -
      • - DataSets - - (Test::Unit) - -
      • - -
      • - DelayedLiteral - - (Test::Unit::Assertions::AssertionMessage) - -
      • - -
      • - Descendant - - (Test::Unit::Collector) - -
      • - -
      • - Diff - - (Test::Unit) - -
      • - -
      • - Differ - - (Test::Unit::Diff) - -
      • - -
      • - Dir - - (Test::Unit::Collector) - -
      • - -
      -
    - - - - - - - - -
      -
    • H
    • -
        - -
      • - HashInspector - - (Test::Unit::Assertions::AssertionMessage) - -
      • - -
      • - HookPoint - - (Test::Unit::Fixture) - -
      • - -
      -
    - - -
    - - -
      -
    • I
    • -
        - -
      • - Inspector - - (Test::Unit::Assertions::AssertionMessage) - -
      • - -
      • - InternalData - - (Test::Unit::TestCase) - -
      • - -
      -
    - - -
      -
    • L
    • -
        - -
      • - Listener - - (Test::Unit::Collector::XML) - -
      • - -
      • - Literal - - (Test::Unit::Assertions::AssertionMessage) - -
      • - -
      • - Load - - (Test::Unit::Collector) - -
      • - -
      • - Loader - - (Test::Unit::Data::ClassMethods) - -
      • - -
      -
    - - - - - - - - - - - - - - - - - - - - -
    - - - - - -
      -
    • U
    • -
        - -
      • - UI - - (Test::Unit) - -
      • - -
      • - UTF8Line - - (Test::Unit::Diff) - -
      • - -
      • - UnifiedDiffer - - (Test::Unit::Diff) - -
      • - -
      • - Unit - - (Test) - -
      • - -
      • - Util - - (Test::Unit) - -
      • - -
      -
    - - -
      -
    • W
    • -
        - -
      • - WrappedException - - (Test::Unit::Assertions::AssertExceptionHelper) - -
      • - -
      -
    - - -
      -
    • X
    • -
        - -
      • - XML - - (Test::Unit::UI) - -
      • - -
      • - XML - - (Test::Unit::Collector) - -
      • - -
      -
    - -
    - -
    - -
    - + + + +

    test-unit

    +
    +

    Alphabetic Index

    + +

    File Listing

    + + +
    +

    Namespace Listing A-Z

    + + + + + + + + + + +
    + + + + + + + + + + + +
      +
    • D
    • +
        + +
      • + Data + + (Test::Unit) + +
      • + +
      • + DataSets + + (Test::Unit) + +
      • + +
      • + DelayedLiteral + + (Test::Unit::Assertions::AssertionMessage) + +
      • + +
      • + Descendant + + (Test::Unit::Collector) + +
      • + +
      • + Diff + + (Test::Unit) + +
      • + +
      • + Differ + + (Test::Unit::Diff) + +
      • + +
      • + Dir + + (Test::Unit::Collector) + +
      • + +
      +
    + + + + + + + + +
      +
    • H
    • +
        + +
      • + HashInspector + + (Test::Unit::Assertions::AssertionMessage) + +
      • + +
      • + HookPoint + + (Test::Unit::Fixture) + +
      • + +
      +
    + + +
    + + +
      +
    • I
    • +
        + +
      • + Inspector + + (Test::Unit::Assertions::AssertionMessage) + +
      • + +
      • + InternalData + + (Test::Unit::TestCase) + +
      • + +
      +
    + + +
      +
    • L
    • +
        + +
      • + Listener + + (Test::Unit::Collector::XML) + +
      • + +
      • + Literal + + (Test::Unit::Assertions::AssertionMessage) + +
      • + +
      • + Load + + (Test::Unit::Collector) + +
      • + +
      • + Loader + + (Test::Unit::Data::ClassMethods) + +
      • + +
      +
    + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
      +
    • U
    • +
        + +
      • + UI + + (Test::Unit) + +
      • + +
      • + UTF8Line + + (Test::Unit::Diff) + +
      • + +
      • + UnifiedDiffer + + (Test::Unit::Diff) + +
      • + +
      • + Unit + + (Test) + +
      • + +
      • + Util + + (Test::Unit) + +
      • + +
      +
    + + +
      +
    • W
    • +
        + +
      • + WrappedException + + (Test::Unit::Assertions::AssertExceptionHelper) + +
      • + +
      +
    + + +
      +
    • X
    • +
        + +
      • + XML + + (Test::Unit::UI) + +
      • + +
      • + XML + + (Test::Unit::Collector) + +
      • + +
      +
    + +
    + +
    + +
    + @@ -1032,6 +1032,6 @@

    Namespace Listing A-Z

    -
    - +
    + \ 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 - - - -
    -
    -

    Class List

    - - - -
    - - -
    - - + + + + + + + + + + + + + + + + + + Class List + + + +
    +
    +

    Class List

    + + + +
    + + +
    + + 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 - + <title> + File: README + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
      - - File: README - - — test-unit - + + File: README + + — test-unit + - test-unit @@ -62,36 +62,35 @@
      - - - + + +

      test-unit

      Gem Version -Build Status for Ruby 2.1+ -Build Status for Ruby 1.9 and 2.0

      +Build Status for Ruby 2.1+

      • http://test-unit.github.io/
      • @@ -107,6 +106,19 @@

        Description

        programming software development methodology, for Smalltalk’s SUnit. It allows writing tests, checking results and automated testing in Ruby.

        +

        test-unit ships as part of Ruby as a bundled gem. To check which version is included, see https://stdgems.org/test-unit/. +It’s only necessary to install the gem if you need a newer version.

        + +

        test-unit is the original Ruby unit testing library, and is still active. +It is one of two unit testing libraries bundled with Ruby, the other being minitest.

        + +

        When deciding which to use, consider:

        + +
          +
        • test-unit is strict about backwards compatibility. A backwards-incompatible change would be considered a bug.
        • +
        • test-unit aims to support old Ruby versions, even if EOL.
        • +
        +

        Features

          @@ -205,8 +217,8 @@

          Thanks

        • boutil: A bug report.
        • Vladislav Rassokhin: A bug report.
        -
      - +
      + @@ -247,6 +259,6 @@

      Thanks

      -
      - + + \ 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 - + <title> + File: getting-started + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
      - - File: getting-started - - — test-unit - + + File: getting-started + + — test-unit + - test-unit @@ -62,31 +62,31 @@
      - - - + + +

      1. First step of the test-unit

      Let’s getting start test-unit.

      @@ -313,8 +313,8 @@

      7. For more information

      -
      - +
      + @@ -355,6 +355,6 @@

      7. For more information

      -
      - + + \ 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 - + <title> + File: how-to + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
      - - File: how-to - - — test-unit - + + File: how-to + + — test-unit + - test-unit @@ -62,31 +62,31 @@
      - - - + + +

      How To

      Run all tests

      @@ -203,8 +203,8 @@

      Configure test-unit per-project

      name: green bold: true -
      - +
      + @@ -245,6 +245,6 @@

      Configure test-unit per-project

      -
      - + + \ 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 - + <title> + File: news + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
      - - File: news - - — test-unit - + + File: news + + — test-unit + - test-unit @@ -62,43 +62,84 @@
      + + + +

      News

      - +
        +
      • Suppressed a warning. +[GitHub#219][Patch by Kenichi Kamiya]
      • +
      -

      News

      +

      Thanks

      -

      3.5.3 - 2021-12-20

      +
        +
      • Kenichi Kamiya
      • +
      + +

      3.5.4 - 2022-10-04

      Improvements

      +
        +
      • +

        Don’t raise an error on Test::Unit::TestCase.clone. +[GitHub#210][Reported by David Marchaland]

        +
      • +
      • +

        Added support for BigDeciaml in assert_in_delta family. +[GitHub#218][Patch by Kenta Murata]

        +
      • +
      + +

      Thanks

      + +
        +
      • +

        David Marchaland

        +
      • +
      • +

        Kenta Murata

        +
      • +
      + +

      3.5.3 - 2021-12-20

      + +

      Improvements

      +
      • Made how to sub test case generation customizable. [GitHub#207][Patch by Akira Matsuda]
      -

      Thanks

      +

      Thanks

      • Akira Matsuda
      • @@ -106,14 +147,14 @@

        Thanks

        3.5.2 - 2021-12-10

        -

        Improvements

        +

        Improvements

        • Required fileutils lazy. [GitHub#206][Patch by David Rodríguez]
        -

        Thanks

        +

        Thanks

        • David Rodríguez
        • @@ -121,14 +162,14 @@

          Thanks

          3.5.1 - 2021-11-08

          -

          Fixes

          +

          Fixes

          • Fixed a bug that keep: true is ignored when data set is generated by block. [Reported by Kenta Murata]
          -

          Thanks

          +

          Thanks

          • Kenta Murata
          • @@ -136,7 +177,7 @@

            Thanks

            3.5.0 - 2021-10-18

            -

            Fixes

            +

            Fixes

            • Fixed a bug that keep: true is ignored when the last data @@ -145,7 +186,7 @@

              Fixes

              3.4.9 - 2021-10-18

              -

              Improvements

              +

              Improvements

              • Added support for labeling each variable values by using Hash.
              • @@ -153,7 +194,7 @@

                Improvements

                3.4.8 - 2021-10-11

                -

                Improvements

                +

                Improvements

                • Added support for omitting Ractor tests on Ruby 2.7 or earlier @@ -162,14 +203,14 @@

                  Improvements

                  3.4.7 - 2021-09-14

                  -

                  Fixes

                  +

                  Fixes

                  • Suppressed a warning on Ruby 2. [GitHub#205][Patch by Kenichi Kamiya]
                  -

                  Thanks

                  +

                  Thanks

                  • Kenichi Kamiya
                  • @@ -177,7 +218,7 @@

                    Thanks

                    3.4.6 - 2021-09-11

                    -

                    Improvements

                    +

                    Improvements

                    • @@ -192,7 +233,7 @@

                      Improvements

                      3.4.5 - 2021-09-04

                      -

                      Improvements

                      +

                      Improvements

                      • @@ -213,14 +254,14 @@

                        Improvements

                      -

                      Fixes

                      +

                      Fixes

                      • Fixed typos in documents. [GitHub#189][GitHub#190][GitHub#195][GitHub#197][Patch by Kenichi Kamiya]
                      -

                      Thanks

                      +

                      Thanks

                      • Kenichi Kamiya
                      • @@ -228,7 +269,7 @@

                        Thanks

                        3.4.4 - 2021-06-04

                        -

                        Improvements

                        +

                        Improvements

                        • Renamed assert_all? to assert_all. assert_all? is deprecated @@ -237,7 +278,7 @@

                          Improvements

                          3.4.3 - 2021-06-04

                          -

                          Improvements

                          +

                          Improvements

                          • @@ -253,7 +294,7 @@

                            Improvements

                            3.4.2 - 2021-05-30

                            -

                            Improvements

                            +

                            Improvements

                            • [UI][console]: Improved diff readability for no color @@ -262,7 +303,7 @@

                              Improvements

                              3.4.1 - 2021-04-19

                              -

                              Fixes

                              +

                              Fixes

                              • Fixed a bug that setup/cleanup/teardown with block may be @@ -271,7 +312,7 @@

                                Fixes

                                [GitHub#179][Reported by akira yamada]
                              -

                              Thanks

                              +

                              Thanks

                              • akira yamada
                              • @@ -279,7 +320,7 @@

                                Thanks

                                3.4.0 - 2021-01-30

                                -

                                Improvements

                                +

                                Improvements

                                • Enable deprecated warnings by default.
                                • @@ -287,14 +328,14 @@

                                  Improvements

                                  3.3.9 - 2020-12-29

                                  -

                                  Improvements

                                  +

                                  Improvements

                                  • assert_not_match: Add support for String as pattern. [GitHub#178][Patch by David Rodríguez]
                                  -

                                  Thanks

                                  +

                                  Thanks

                                  • David Rodríguez
                                  • @@ -302,7 +343,7 @@

                                    Thanks

                                    3.3.8 - 2020-12-25

                                    -

                                    Improvements

                                    +

                                    Improvements

                                    • [UI][console]: Removed reverse mode because Ruby 3.0 reverts @@ -311,7 +352,7 @@

                                      Improvements

                                      3.3.7 - 2020-11-18

                                      -

                                      Improvements

                                      +

                                      Improvements

                                      • @@ -335,14 +376,14 @@

                                        Improvements

                                      -

                                      Fixes

                                      +

                                      Fixes

                                      • Fixed a typo in --help output: [GitHub#176][Patch by icm7216]
                                      -

                                      Thanks

                                      +

                                      Thanks

                                      • @@ -358,7 +399,7 @@

                                        Thanks

                                        3.3.6 - 2020-06-10

                                        -

                                        Improvements

                                        +

                                        Improvements

                                        • @@ -380,7 +421,7 @@

                                          Improvements

                                        -

                                        Thanks

                                        +

                                        Thanks

                                        • @@ -393,14 +434,14 @@

                                          Thanks

                                          3.3.5 - 2020-01-10

                                          -

                                          Improvements

                                          +

                                          Improvements

                                          • Improved code snippet showing with different default external encoding. [GitHub#166][Patch by Yuta Iwama]
                                          -

                                          Thanks

                                          +

                                          Thanks

                                          • Yuta Iwama
                                          • @@ -408,7 +449,7 @@

                                            Thanks

                                            3.3.4 - 2019-09-30

                                            -

                                            Improvements

                                            +

                                            Improvements

                                            • @@ -421,7 +462,7 @@

                                              Improvements

                                            -

                                            Thanks

                                            +

                                            Thanks

                                            • @@ -443,7 +484,7 @@

                                              Fixed

                                              3.3.2 - 2019-04-11

                                              -

                                              Fixes

                                              +

                                              Fixes

                                              • Fixed a bug that Test::Unit::Collector::Load doesn’t load test @@ -452,7 +493,7 @@

                                                Fixes

                                                [Reported by Kenta Murata]
                                              -

                                              Thanks

                                              +

                                              Thanks

                                              • Kenta Murata
                                              • @@ -460,7 +501,7 @@

                                                Thanks

                                                3.3.1 - 2019-03-27

                                                -

                                                Improvements

                                                +

                                                Improvements

                                                • Added support for Test::Unit::AssertionFailedError#user_message @@ -469,7 +510,7 @@

                                                  Improvements

                                                  [GitHub#162][Reported by xgraffm]
                                                -

                                                Thanks

                                                +

                                                Thanks

                                                • xgraffm
                                                • @@ -477,7 +518,7 @@

                                                  Thanks

                                                  3.3.0 - 2019-01-23

                                                  -

                                                  Improvements

                                                  +

                                                  Improvements

                                                  • @@ -498,7 +539,7 @@

                                                    Improvements

                                                  -

                                                  Fixes

                                                  +

                                                  Fixes

                                                  • Fixed a code snippet fetch failure when source code isn’t UTF-8 @@ -506,7 +547,7 @@

                                                    Fixes

                                                    [GitHub#161][Reported by masa kunikata]
                                                  -

                                                  Thanks

                                                  +

                                                  Thanks

                                                  • @@ -522,7 +563,7 @@

                                                    Thanks

                                                    3.2.9 - 2018-12-01

                                                    -

                                                    Improvements

                                                    +

                                                    Improvements

                                                    • @@ -606,7 +647,7 @@

                                                      Improvements

                                                      3.2.8 - 2018-05-13

                                                      -

                                                      Improvements

                                                      +

                                                      Improvements

                                                      • [UI][console]: Changed to put code snippet before backtrace on @@ -615,7 +656,7 @@

                                                        Improvements

                                                        3.2.7 - 2017-12-12

                                                        -

                                                        Improvements

                                                        +

                                                        Improvements

                                                        • @@ -633,7 +674,7 @@

                                                          Improvements

                                                        -

                                                        Fixes

                                                        +

                                                        Fixes

                                                        • @@ -645,7 +686,7 @@

                                                          Fixes

                                                        -

                                                        Thanks

                                                        +

                                                        Thanks

                                                        • @@ -661,14 +702,14 @@

                                                          Thanks

                                                          3.2.6 - 2017-09-21

                                                          -

                                                          Improvements

                                                          +

                                                          Improvements

                                                          • Changed test file require failure to error from omission. [GitHub#154][Patch by naofumi-fujii]
                                                          -

                                                          Thanks

                                                          +

                                                          Thanks

                                                          • naofumi-fujii
                                                          • @@ -676,14 +717,14 @@

                                                            Thanks

                                                            3.2.5 - 2017-06-24

                                                            -

                                                            Improvements

                                                            +

                                                            Improvements

                                                            • Supported --enable-frozen-string-literal ruby option. [GitHub#149][Reported by Pat Allan]
                                                            -

                                                            Thanks

                                                            +

                                                            Thanks

                                                            • Pat Allan
                                                            • @@ -691,7 +732,7 @@

                                                              Thanks

                                                              3.2.4 - 2017-05-23

                                                              -

                                                              Improvements

                                                              +

                                                              Improvements

                                                              • @@ -716,7 +757,7 @@

                                                                Improvements

                                                              -

                                                              Fixes

                                                              +

                                                              Fixes

                                                              • @@ -749,7 +790,7 @@

                                                                Fixes

                                                              -

                                                              Thanks

                                                              +

                                                              Thanks

                                                              • @@ -789,14 +830,14 @@

                                                                Thanks

                                                                3.2.3 - 2016-11-25

                                                                -

                                                                Fixes

                                                                +

                                                                Fixes

                                                                • Fixed a bug that --order isn’t applied. [GitHub#129][Reported by Vít Ondruch]
                                                                -

                                                                Thanks

                                                                +

                                                                Thanks

                                                                • Vít Ondruch
                                                                • @@ -804,7 +845,7 @@

                                                                  Thanks

                                                                  3.2.2 - 2016-11-02

                                                                  -

                                                                  Improvements

                                                                  +

                                                                  Improvements

                                                                  • @@ -817,7 +858,7 @@

                                                                    Improvements

                                                                  -

                                                                  Fixes

                                                                  +

                                                                  Fixes

                                                                  • @@ -842,7 +883,7 @@

                                                                    Fixes

                                                                  -

                                                                  Thanks

                                                                  +

                                                                  Thanks

                                                                  • @@ -861,7 +902,7 @@

                                                                    Thanks

                                                                    3.2.1 - 2016-07-19

                                                                    -

                                                                    Improvements

                                                                    +

                                                                    Improvements

                                                                    • @@ -876,7 +917,7 @@

                                                                      Improvements

                                                                    -

                                                                    Thanks

                                                                    +

                                                                    Thanks

                                                                    • @@ -889,14 +930,14 @@

                                                                      Thanks

                                                                      3.2.0 - 2016-06-12

                                                                      -

                                                                      Improvements

                                                                      +

                                                                      Improvements

                                                                      • Supported rxvt family terminals as color available terminals. [GitHub#121][Reported by Ippei Kishida]
                                                                      -

                                                                      Thanks

                                                                      +

                                                                      Thanks

                                                                      • Ippei Kishida
                                                                      • @@ -904,7 +945,7 @@

                                                                        Thanks

                                                                        3.1.9 - 2016-05-20

                                                                        -

                                                                        Fixes

                                                                        +

                                                                        Fixes

                                                                        • @@ -916,7 +957,7 @@

                                                                          Fixes

                                                                        -

                                                                        Thanks

                                                                        +

                                                                        Thanks

                                                                        • Kazuki Tsujimoto
                                                                        • @@ -924,7 +965,7 @@

                                                                          Thanks

                                                                          3.1.8 - 2016-03-19

                                                                          -

                                                                          Improvements

                                                                          +

                                                                          Improvements

                                                                          • Added --stop-on-failure command line option. With this option, @@ -934,7 +975,7 @@

                                                                            Improvements

                                                                            3.1.7 - 2016-01-17

                                                                            -

                                                                            Fixes

                                                                            +

                                                                            Fixes

                                                                            • Added a missing require.
                                                                            • @@ -944,7 +985,7 @@

                                                                              3.1.6 - 2016-01-17

                                                                              It’s a Ruby on Rails integration improvement release.

                                                                              -

                                                                              Improvements

                                                                              +

                                                                              Improvements

                                                                              • Filtered backtrace of power_assert. @@ -991,7 +1032,7 @@

                                                                                Improvements

                                                                              -

                                                                              Fixes

                                                                              +

                                                                              Fixes

                                                                              • Fixed a bug that test isn’t ran. The test has the same name as @@ -1003,7 +1044,7 @@

                                                                                3.1.5 - 2015-10-09

                                                                                It’s a Rack integration improvement release.

                                                                                -

                                                                                Improvements

                                                                                +

                                                                                Improvements

                                                                                • Renamed experimental top-level run method to run_test method @@ -1011,7 +1052,7 @@

                                                                                  Improvements

                                                                                  [GitHub#32][GitHub:basecamp/pow#303] [Reported by Yevhen Viktorov]
                                                                                -

                                                                                Thanks

                                                                                +

                                                                                Thanks

                                                                                • Yevhen Viktorov
                                                                                • @@ -1021,7 +1062,7 @@

                                                                                  3.1.4 - 2015-09-26

                                                                                  It’s a minor improvement release.

                                                                                  -

                                                                                  Improvements

                                                                                  +

                                                                                  Improvements

                                                                                  • Updated sample code. [GitHub#109][Patch by takiy33]
                                                                                  • @@ -1034,7 +1075,7 @@

                                                                                    Improvements

                                                                                    [GitHub#113][Patch by NARUSE, Yui]
                                                                                  -

                                                                                  Thanks

                                                                                  +

                                                                                  Thanks

                                                                                  • takiy33
                                                                                  • @@ -1045,13 +1086,13 @@

                                                                                    3.1.3 - 2015-07-26

                                                                                    It’s a bug fix release.

                                                                                    -

                                                                                    Improvements

                                                                                    +

                                                                                    Improvements

                                                                                    • Removed unused TODO file. [GitHub#108][Patch by takiy33]
                                                                                    -

                                                                                    Fixes

                                                                                    +

                                                                                    Fixes

                                                                                    • @@ -1070,7 +1111,7 @@

                                                                                      Fixes

                                                                                    -

                                                                                    Thanks

                                                                                    +

                                                                                    Thanks

                                                                                    • takiy33
                                                                                    • @@ -1081,7 +1122,7 @@

                                                                                      3.1.2 - 2015-06-09

                                                                                      It’s command line option improvements fix release.

                                                                                      -

                                                                                      Improvements

                                                                                      +

                                                                                      Improvements

                                                                                      • --location: Made path match rule more strict. @@ -1111,7 +1152,7 @@

                                                                                        Improvements

                                                                                        [Suggested by kimura wataru]
                                                                                      -

                                                                                      Thanks

                                                                                      +

                                                                                      Thanks

                                                                                      • kimura wataru
                                                                                      • @@ -1121,7 +1162,7 @@

                                                                                        3.1.1 - 2015-05-29

                                                                                        It’s a bug fix release.

                                                                                        -

                                                                                        Fixes

                                                                                        +

                                                                                        Fixes

                                                                                        • Fixed a bug that --location detects tests not only in sub test @@ -1129,7 +1170,7 @@

                                                                                          Fixes

                                                                                          [GitHub#105][Reported by wanabe]
                                                                                        -

                                                                                        Thanks

                                                                                        +

                                                                                        Thanks

                                                                                        • wanabe
                                                                                        • @@ -1139,13 +1180,13 @@

                                                                                          3.1.0 - 2015-05-28

                                                                                          It’s a bug fix release.

                                                                                          -

                                                                                          Improvements

                                                                                          +

                                                                                          Improvements

                                                                                          • [ui][console] Removed needless new line.
                                                                                          -

                                                                                          Fixes

                                                                                          +

                                                                                          Fixes

                                                                                          • Fixed a bug that priority mode can’t be used on Windows. @@ -1163,7 +1204,7 @@

                                                                                            Fixes

                                                                                            [GitHub#104][Reported by wanabe]
                                                                                          -

                                                                                          Thanks

                                                                                          +

                                                                                          Thanks

                                                                                          • Daniel Berger
                                                                                          • @@ -1178,7 +1219,7 @@

                                                                                            3.0.9 - 2014-12-31

                                                                                            It’s a release that improves colors.

                                                                                            -

                                                                                            Improvements

                                                                                            +

                                                                                            Improvements

                                                                                            • Added a work around for Ruby 1.8. (Note: Ruby 1.8 isn’t @@ -1190,7 +1231,7 @@

                                                                                              Improvements

                                                                                              [Suggested by Tanaka Akira]
                                                                                            -

                                                                                            Thanks

                                                                                            +

                                                                                            Thanks

                                                                                            • Aaron Stone
                                                                                            • @@ -1202,7 +1243,7 @@

                                                                                              3.0.8 - 2014-12-12

                                                                                              It’s a release that supports Ruby 2.2.0 preview2.

                                                                                              -

                                                                                              Improvements

                                                                                              +

                                                                                              Improvements

                                                                                              • Added a link for YARD in README. @@ -1213,7 +1254,7 @@

                                                                                                Improvements

                                                                                                assert_nothing_thrown.
                                                                                              -

                                                                                              Fixes

                                                                                              +

                                                                                              Fixes

                                                                                              • Fixed a bug that error report is failed when source encoding and @@ -1221,7 +1262,7 @@

                                                                                                Fixes

                                                                                                [GitHub#87][Reported by scivola]
                                                                                              -

                                                                                              Thanks

                                                                                              +

                                                                                              Thanks

                                                                                              • sunnyone
                                                                                              • @@ -1232,7 +1273,7 @@

                                                                                                3.0.7 - 2014-11-14

                                                                                                It’s a minor update release.

                                                                                                -

                                                                                                Fixes

                                                                                                +

                                                                                                Fixes

                                                                                                • Fixed a bug that teardown blocks aren’t called with sub class to @@ -1240,7 +1281,7 @@

                                                                                                  Fixes

                                                                                                  [GitHub#85][Reported by TOMITA Masahiro]
                                                                                                -

                                                                                                Thanks

                                                                                                +

                                                                                                Thanks

                                                                                                • TOMITA Masahiro
                                                                                                • @@ -1250,14 +1291,14 @@

                                                                                                  3.0.6 - 2014-11-09

                                                                                                  It’s a minor update release.

                                                                                                  -

                                                                                                  Improvements

                                                                                                  +

                                                                                                  Improvements

                                                                                                  • Improved code snippet location. [GitHub#84][Patch by Yuki Kurihara]
                                                                                                  -

                                                                                                  Thanks

                                                                                                  +

                                                                                                  Thanks

                                                                                                  • Yuki Kurihara
                                                                                                  • @@ -1267,7 +1308,7 @@

                                                                                                    3.0.5 - 2014-11-08

                                                                                                    It’s a minor update release.

                                                                                                    -

                                                                                                    Fixes

                                                                                                    +

                                                                                                    Fixes

                                                                                                    • Fixed a bug that startup/shutdown of parent test case isn’t called @@ -1275,7 +1316,7 @@

                                                                                                      Fixes

                                                                                                      [GitHub#83][Reported by Chadderton Odwazny]
                                                                                                    -

                                                                                                    Thanks

                                                                                                    +

                                                                                                    Thanks

                                                                                                    • Chadderton Odwazny
                                                                                                    • @@ -1285,7 +1326,7 @@

                                                                                                      3.0.4 - 2014-11-01

                                                                                                      It’s a minor update release.

                                                                                                      -

                                                                                                      Improvements

                                                                                                      +

                                                                                                      Improvements

                                                                                                      • Stopped to remove JRuby and Rubinius internal backtrace entries from @@ -1293,7 +1334,7 @@

                                                                                                        Improvements

                                                                                                        [GitHub#82][Patch by Charles Oliver Nutter]
                                                                                                      -

                                                                                                      Thanks

                                                                                                      +

                                                                                                      Thanks

                                                                                                      • Charles Oliver Nutter
                                                                                                      • @@ -1303,7 +1344,7 @@

                                                                                                        3.0.3 - 2014-10-29

                                                                                                        It’s a minor update release.

                                                                                                        -

                                                                                                        Improvements

                                                                                                        +

                                                                                                        Improvements

                                                                                                        • Improved Test::Unit::TestCase.test performance. @@ -1312,14 +1353,14 @@

                                                                                                          Improvements

                                                                                                          [Sugested by Nobuyoshi Nakada]
                                                                                                        -

                                                                                                        Fixes

                                                                                                        +

                                                                                                        Fixes

                                                                                                        • Fixed markup in document. [GitHub#81][Patch by Masafumi Yokoyama]
                                                                                                        -

                                                                                                        Thanks

                                                                                                        +

                                                                                                        Thanks

                                                                                                        • Masafumi Yokoyama
                                                                                                        • @@ -1330,7 +1371,7 @@

                                                                                                          3.0.2 - 2014-10-15

                                                                                                          It’s a minor update release.

                                                                                                          -

                                                                                                          Improvements

                                                                                                          +

                                                                                                          Improvements

                                                                                                          • Supported broken == implementation. @@ -1344,14 +1385,14 @@

                                                                                                            Improvements

                                                                                                            [GitHub#78][Patch by Vít Ondruch]
                                                                                                          -

                                                                                                          Fixes

                                                                                                          +

                                                                                                          Fixes

                                                                                                          • Removed needless executable bit from README file. [GitHub#79][Patch by Vít Ondruch]
                                                                                                          -

                                                                                                          Thanks

                                                                                                          +

                                                                                                          Thanks

                                                                                                          • Emily
                                                                                                          • @@ -1363,7 +1404,7 @@

                                                                                                            3.0.1 - 2014-08-05

                                                                                                            It’s a minor update release.

                                                                                                            -

                                                                                                            Improvements

                                                                                                            +

                                                                                                            Improvements

                                                                                                            • Improved Ruby 1.8.7 support. Note that we don’t support Ruby 1.8.7 @@ -1371,7 +1412,7 @@

                                                                                                              Improvements

                                                                                                              [GitHub#71][Patch by estolfo]
                                                                                                            -

                                                                                                            Thanks

                                                                                                            +

                                                                                                            Thanks

                                                                                                            • estolfo
                                                                                                            • @@ -1381,7 +1422,7 @@

                                                                                                              3.0.0 - 2014-08-03

                                                                                                              It’s Power Assert supported release!

                                                                                                              -

                                                                                                              Improvements

                                                                                                              +

                                                                                                              Improvements

                                                                                                              • Improved Rubinius support. [Ryo Onodera]
                                                                                                              • @@ -1423,7 +1464,7 @@

                                                                                                                Improvements

                                                                                                                [Kazuki Tsujimoto]
                                                                                                              -

                                                                                                              Fixes

                                                                                                              +

                                                                                                              Fixes

                                                                                                              • Fixed a bug that test case defined by block has wrong location. @@ -1433,7 +1474,7 @@

                                                                                                                Fixes

                                                                                                                [GitHub#62][GitHub#63][Patch by Karol Bucek]
                                                                                                              -

                                                                                                              Thanks

                                                                                                              +

                                                                                                              Thanks

                                                                                                              • Ryo Onodera
                                                                                                              • @@ -1449,7 +1490,7 @@

                                                                                                                2.5.5 - 2013-05-18

                                                                                                                It’s Ruby 2.0.0 supported release!

                                                                                                                -

                                                                                                                Improvements

                                                                                                                +

                                                                                                                Improvements

                                                                                                                • Supported Ruby 2.0.0. [GitHub#54] [Reported by mtasaka]
                                                                                                                • @@ -1457,7 +1498,7 @@

                                                                                                                  Improvements

                                                                                                                  [GitHub#55] [Reported by Tom Miller]
                                                                                                                -

                                                                                                                Fixes

                                                                                                                +

                                                                                                                Fixes

                                                                                                                • Fixed a typo in document. @@ -1467,7 +1508,7 @@

                                                                                                                  Fixes

                                                                                                                  [Ruby Bug #8317] [Reported by Nobuhiro IMAI]
                                                                                                                -

                                                                                                                Thanks

                                                                                                                +

                                                                                                                Thanks

                                                                                                                • Baptiste Fontaine
                                                                                                                • @@ -1480,7 +1521,7 @@

                                                                                                                  2.5.4 - 2013-01-23

                                                                                                                  It’s a bug fix release.

                                                                                                                  -

                                                                                                                  Improvements

                                                                                                                  +

                                                                                                                  Improvements

                                                                                                                  • Added documents for data driven test functionality.
                                                                                                                  • @@ -1488,7 +1529,7 @@

                                                                                                                    Improvements

                                                                                                                  • Support tag inspection on JRuby.
                                                                                                                  -

                                                                                                                  Fixes

                                                                                                                  +

                                                                                                                  Fixes

                                                                                                                  • Fixed a bug. It is too slow to filter tests when there are many @@ -1497,7 +1538,7 @@

                                                                                                                    Fixes

                                                                                                                    [GitHub:#49] [Reported by Matthew Rudy Jacobs]
                                                                                                                  -

                                                                                                                  Thanks

                                                                                                                  +

                                                                                                                  Thanks

                                                                                                                  • Matthew Rudy Jacobs
                                                                                                                  • @@ -1507,7 +1548,7 @@

                                                                                                                    2.5.3 - 2012-11-28

                                                                                                                    It’s a release for minitest compatibility and bug fix.

                                                                                                                    -

                                                                                                                    Improvements

                                                                                                                    +

                                                                                                                    Improvements

                                                                                                                    • Supported diff in invalid encoding.
                                                                                                                    • @@ -1519,7 +1560,7 @@

                                                                                                                      Improvements

                                                                                                                      [test-unit-users-en:00098] [Suggested by Piotr Nestorow]
                                                                                                                    -

                                                                                                                    Fixes

                                                                                                                    +

                                                                                                                    Fixes

                                                                                                                    • Allowed use of test for inheritance in ActionController::TestCase. @@ -1533,7 +1574,7 @@

                                                                                                                      Fixes

                                                                                                                      [GitHub#45] [Reported by Piotr Nestorow]
                                                                                                                    -

                                                                                                                    Thanks

                                                                                                                    +

                                                                                                                    Thanks

                                                                                                                    • Michael Grosser
                                                                                                                    • @@ -1548,7 +1589,7 @@

                                                                                                                      2.5.2 - 2012-08-29

                                                                                                                      feature to --line_number in RSpec. sub_test_case is a similar feature to context in shoulda-context and RSpec.

                                                                                                                      -

                                                                                                                      Improvements

                                                                                                                      +

                                                                                                                      Improvements

                                                                                                                      • Cleaned up tests. @@ -1571,7 +1612,7 @@

                                                                                                                        Improvements

                                                                                                                        specify the sub test case name in free form.
                                                                                                                      -

                                                                                                                      Thanks

                                                                                                                      +

                                                                                                                      Thanks

                                                                                                                      • Michael Grosser
                                                                                                                      • @@ -1583,7 +1624,7 @@

                                                                                                                        2.5.1 - 2012-07-05

                                                                                                                        It’s a bug fix release.

                                                                                                                        -

                                                                                                                        Improvements

                                                                                                                        +

                                                                                                                        Improvements

                                                                                                                        • Supported installing from GitHub. @@ -1593,7 +1634,7 @@

                                                                                                                          Improvements

                                                                                                                        • [ui][console] Improved multiline falut message display.
                                                                                                                        -

                                                                                                                        Fixes

                                                                                                                        +

                                                                                                                        Fixes

                                                                                                                        • [ui][console] Fixed a bug that expected and actual values are @@ -1605,7 +1646,7 @@

                                                                                                                          Fixes

                                                                                                                          [RubyForge#29595] [Reported by Jean-Denis Koeck]
                                                                                                                        -

                                                                                                                        Thanks

                                                                                                                        +

                                                                                                                        Thanks

                                                                                                                        • Michael Grosser
                                                                                                                        • @@ -1618,7 +1659,7 @@

                                                                                                                          2.5.0 - 2012-06-06

                                                                                                                          It’s a bug fix release.

                                                                                                                          -

                                                                                                                          Fixes

                                                                                                                          +

                                                                                                                          Fixes

                                                                                                                          • Fixed a backward incompatibility of TestUnitMediator#run_suite @@ -1626,7 +1667,7 @@

                                                                                                                            Fixes

                                                                                                                            [GitHub#28] [Reported by Vladislav Rassokhin]
                                                                                                                          -

                                                                                                                          Thanks

                                                                                                                          +

                                                                                                                          Thanks

                                                                                                                          • Vladislav Rassokhin
                                                                                                                          • @@ -1636,7 +1677,7 @@

                                                                                                                            2.4.9 - 2012-06-03

                                                                                                                            It’s a bug fix release.

                                                                                                                            -

                                                                                                                            Improvements

                                                                                                                            +

                                                                                                                            Improvements

                                                                                                                            • Test::Unit.run? -> @@ -1653,7 +1694,7 @@

                                                                                                                              Improvements

                                                                                                                              as 256 color supported terminal.
                                                                                                                            -

                                                                                                                            Fixes

                                                                                                                            +

                                                                                                                            Fixes

                                                                                                                            • Fixed a bug that --workdir doesn’t work.
                                                                                                                            • @@ -1664,7 +1705,7 @@

                                                                                                                              Fixes

                                                                                                                              [GitHub#25] [Reported by Stephan Kulow]
                                                                                                                            -

                                                                                                                            Thanks

                                                                                                                            +

                                                                                                                            Thanks

                                                                                                                            • Bob Saveland
                                                                                                                            • @@ -1676,7 +1717,7 @@

                                                                                                                              2.4.8 - 2012-3-6

                                                                                                                              It’s a bug fix release.

                                                                                                                              -

                                                                                                                              Improvements

                                                                                                                              +

                                                                                                                              Improvements

                                                                                                                              • Delayed at_exit registration until Test::Unit is used. @@ -1685,7 +1726,7 @@

                                                                                                                                Improvements

                                                                                                                                [GitHub:#22] [Reported by Cédric Boutillier]
                                                                                                                              -

                                                                                                                              Fixes

                                                                                                                              +

                                                                                                                              Fixes

                                                                                                                              • Fixed an error on code snippet display on JRuby. @@ -1693,7 +1734,7 @@

                                                                                                                                Fixes

                                                                                                                                [Reported by Jørgen P. Tjernø][Patch by Junegunn Choi]
                                                                                                                              -

                                                                                                                              Thanks

                                                                                                                              +

                                                                                                                              Thanks

                                                                                                                              • Jørgen P. Tjernø
                                                                                                                              • @@ -1705,7 +1746,7 @@

                                                                                                                                2.4.7 - 2012-2-10

                                                                                                                                It’s a code snippet improvement release.

                                                                                                                                -

                                                                                                                                Improvements

                                                                                                                                +

                                                                                                                                Improvements

                                                                                                                                • Supported code snippet display on all faults.
                                                                                                                                • @@ -1715,7 +1756,7 @@

                                                                                                                                  2.4.6 - 2012-2-9

                                                                                                                                  It’s a TAP runner separated release.

                                                                                                                                  -

                                                                                                                                  Improvements

                                                                                                                                  +

                                                                                                                                  Improvements

                                                                                                                                  • Moved TAP runner to test-unit-runner-tap gem from test-unit gem.
                                                                                                                                  • @@ -1726,7 +1767,7 @@

                                                                                                                                    2.4.5 - 2012-1-16

                                                                                                                                    It’s a failure message readability improvement release.

                                                                                                                                    -

                                                                                                                                    Improvements

                                                                                                                                    +

                                                                                                                                    Improvements

                                                                                                                                    • Removed needless information from exception inspected @@ -1738,7 +1779,7 @@

                                                                                                                                      2.4.4 - 2012-1-2

                                                                                                                                      It’s a Rails integration improved release.

                                                                                                                                      -

                                                                                                                                      Improvements

                                                                                                                                      +

                                                                                                                                      Improvements

                                                                                                                                      • [ui][console] Don’t break progress display when a test is failed.
                                                                                                                                      • @@ -1751,7 +1792,7 @@

                                                                                                                                        Improvements

                                                                                                                                      • Supported a block style setup/teardown/cleanup.
                                                                                                                                      -

                                                                                                                                      Thanks

                                                                                                                                      +

                                                                                                                                      Thanks

                                                                                                                                      • Josh Kalderimis
                                                                                                                                      • @@ -1760,7 +1801,7 @@

                                                                                                                                        Thanks

                                                                                                                                        2.4.3 - 2011-12-11

                                                                                                                                        -

                                                                                                                                        Improvements

                                                                                                                                        +

                                                                                                                                        Improvements

                                                                                                                                        • Improved SimpleCov integration by stopping to modify @@ -1769,7 +1810,7 @@

                                                                                                                                          Improvements

                                                                                                                                        • Improved JRuby integration by removing JRuby internal backtrace.
                                                                                                                                        -

                                                                                                                                        Thanks

                                                                                                                                        +

                                                                                                                                        Thanks

                                                                                                                                        • Nikos Dimitrakopoulos
                                                                                                                                        • @@ -1777,7 +1818,7 @@

                                                                                                                                          Thanks

                                                                                                                                          2.4.2 - 2011-11-26

                                                                                                                                          -

                                                                                                                                          Improvements

                                                                                                                                          +

                                                                                                                                          Improvements

                                                                                                                                          • --name supported data label.
                                                                                                                                          • @@ -1785,7 +1826,7 @@

                                                                                                                                            Improvements

                                                                                                                                            2.4.1 - 2011-11-09

                                                                                                                                            -

                                                                                                                                            Improvements

                                                                                                                                            +

                                                                                                                                            Improvements

                                                                                                                                            • Accepted AssertionMessage as assertion’s user message. @@ -1793,14 +1834,14 @@

                                                                                                                                              Improvements

                                                                                                                                              [Reported by David Heath]
                                                                                                                                            -

                                                                                                                                            Fixes

                                                                                                                                            +

                                                                                                                                            Fixes

                                                                                                                                            • Fixed test failure on LANG=C. #11 [Reported by boutil]
                                                                                                                                            • Suppress warnings on Ruby 1.9.2.
                                                                                                                                            -

                                                                                                                                            Thanks

                                                                                                                                            +

                                                                                                                                            Thanks

                                                                                                                                            • boutil
                                                                                                                                            • @@ -1809,7 +1850,7 @@

                                                                                                                                              Thanks

                                                                                                                                              2.4.0 - 2011-09-18

                                                                                                                                              -

                                                                                                                                              Improvements

                                                                                                                                              +

                                                                                                                                              Improvements

                                                                                                                                              • Supported Travis CI. #5 [Suggested by James Mead]
                                                                                                                                              • @@ -1820,7 +1861,7 @@

                                                                                                                                                Improvements

                                                                                                                                              • [ui][console] Supported 256 colors.
                                                                                                                                              -

                                                                                                                                              Fixes

                                                                                                                                              +

                                                                                                                                              Fixes

                                                                                                                                              • Added missing fixture file. #7 [Reported by grafi-tt]
                                                                                                                                              • @@ -1830,7 +1871,7 @@

                                                                                                                                                Fixes

                                                                                                                                                [Reported by Marc Seeger (Acquia)]
                                                                                                                                              -

                                                                                                                                              Thanks

                                                                                                                                              +

                                                                                                                                              Thanks

                                                                                                                                              • James Mead
                                                                                                                                              • @@ -1842,20 +1883,20 @@

                                                                                                                                                2.3.2 - 2011-08-15

                                                                                                                                                A bug fix release.

                                                                                                                                                -

                                                                                                                                                Improvements

                                                                                                                                                +

                                                                                                                                                Improvements

                                                                                                                                                • [ui][console] Added some newlines to improve readability.
                                                                                                                                                -

                                                                                                                                                Fixes

                                                                                                                                                +

                                                                                                                                                Fixes

                                                                                                                                                • [ui][console] Worked –verbose again.
                                                                                                                                                • Re-supported Ruby 1.8.6. [Reported by James Mead]
                                                                                                                                                -

                                                                                                                                                Thanks

                                                                                                                                                +

                                                                                                                                                Thanks

                                                                                                                                                • James Mead
                                                                                                                                                • @@ -1865,7 +1906,7 @@

                                                                                                                                                  2.3.1 - 2011-08-06

                                                                                                                                                  Output improvement release!

                                                                                                                                                  -

                                                                                                                                                  Improvements

                                                                                                                                                  +

                                                                                                                                                  Improvements

                                                                                                                                                  • [ui][console] Outputs omissions and notifications in short.
                                                                                                                                                  • @@ -1879,7 +1920,7 @@

                                                                                                                                                    Improvements

                                                                                                                                                    fault details when a fault is occurred.
                                                                                                                                                  -

                                                                                                                                                  Fixes

                                                                                                                                                  +

                                                                                                                                                  Fixes

                                                                                                                                                  • [pull request #1] Fixed a problem that load collector @@ -1889,7 +1930,7 @@

                                                                                                                                                    Fixes

                                                                                                                                                    [Reported by Jeremy Stephens]
                                                                                                                                                  -

                                                                                                                                                  Thanks

                                                                                                                                                  +

                                                                                                                                                  Thanks

                                                                                                                                                  • grafi-tt
                                                                                                                                                  • @@ -2331,8 +2372,8 @@

                                                                                                                                                    1.2.3 / 2008-02-25

                                                                                                                                                -
      - +
      + @@ -2373,6 +2414,6 @@

      1.2.3 / 2008-02-25

      -
      - +
      + \ 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

      - - - -
      - - -
      - - + + + + + + + + + + + + + + + + + + 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 - - - - - + + + + + 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 - + <title> + File: README + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
      - - File: README - - — test-unit - + + File: README + + — test-unit + - test-unit @@ -62,36 +62,35 @@
      - - - + + +

      test-unit

      Gem Version -Build Status for Ruby 2.1+ -Build Status for Ruby 1.9 and 2.0

      +Build Status for Ruby 2.1+

      • http://test-unit.github.io/
      • @@ -107,6 +106,19 @@

        Description

        programming software development methodology, for Smalltalk’s SUnit. It allows writing tests, checking results and automated testing in Ruby.

        +

        test-unit ships as part of Ruby as a bundled gem. To check which version is included, see https://stdgems.org/test-unit/. +It’s only necessary to install the gem if you need a newer version.

        + +

        test-unit is the original Ruby unit testing library, and is still active. +It is one of two unit testing libraries bundled with Ruby, the other being minitest.

        + +

        When deciding which to use, consider:

        + +
          +
        • test-unit is strict about backwards compatibility. A backwards-incompatible change would be considered a bug.
        • +
        • test-unit aims to support old Ruby versions, even if EOL.
        • +
        +

        Features

          @@ -205,8 +217,8 @@

          Thanks

        • boutil: A bug report.
        • Vladislav Rassokhin: A bug report.
        -
      - +
      + @@ -247,6 +259,6 @@

      Thanks

      -
      - +
      + \ 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 = $('
        1. '); - 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 =$('
          1. ' + title + '
          2. '); - 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('
                1. ' + title + '
                2. '); + 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(;c
        a",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="
        t
        ",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(;c
        a",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="
        t
        ",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>");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>");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=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
        ").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file diff --git a/test-unit/en/method_list.html b/test-unit/en/method_list.html index e8c4c32d..1d66710c 100644 --- a/test-unit/en/method_list.html +++ b/test-unit/en/method_list.html @@ -1,4339 +1,4339 @@ - - - - - - - - - - - - - - - - - - Method List - - - -
        -
        -

        Method List

        - - - -
        - - -
        - - + + + + + + + + + + + + + + + + + + Method List + + + +
        +
        +

        Method List

        + + + +
        + + +
        + + 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 - + <title> + Module: Test + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test - - — test-unit - + + Module: Test + + — test-unit + - test-unit @@ -62,100 +62,100 @@
        - - - -

        Module: Test - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test.rb,
        - lib/test-unit.rb,
        lib/test/unit.rb,
        lib/test/unit/data.rb,
        lib/test/unit/diff.rb,
        lib/test/unit/color.rb,
        lib/test/unit/error.rb,
        lib/test/unit/failure.rb,
        lib/test/unit/fixture.rb,
        lib/test/unit/pending.rb,
        lib/test/unit/version.rb,
        lib/test/unit/omission.rb,
        lib/test/unit/priority.rb,
        lib/test/unit/testcase.rb,
        lib/test/unit/attribute.rb,
        lib/test/unit/collector.rb,
        lib/test/unit/testsuite.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/autorunner.rb,
        lib/test/unit/runner/xml.rb,
        lib/test/unit/testresult.rb,
        lib/test/unit/util/output.rb,
        lib/test/unit/color-scheme.rb,
        lib/test/unit/notification.rb,
        lib/test/unit/runner/emacs.rb,
        lib/test/unit/collector/dir.rb,
        lib/test/unit/collector/xml.rb,
        lib/test/unit/ui/testrunner.rb,
        lib/test/unit/collector/load.rb,
        lib/test/unit/runner/console.rb,
        lib/test/unit/util/observable.rb,
        lib/test/unit/util/procwrapper.rb,
        lib/test/unit/attribute-matcher.rb,
        lib/test/unit/exception-handler.rb,
        lib/test/unit/ui/xml/testrunner.rb,
        lib/test/unit/auto-runner-loader.rb,
        lib/test/unit/test-suite-creator.rb,
        lib/test/unit/ui/emacs/testrunner.rb,
        lib/test/unit/code-snippet-fetcher.rb,
        lib/test/unit/collector/descendant.rb,
        lib/test/unit/util/backtracefilter.rb,
        lib/test/unit/collector/objectspace.rb,
        lib/test/unit/ui/console/testrunner.rb,
        lib/test/unit/ui/testrunnermediator.rb,
        lib/test/unit/assertion-failed-error.rb,
        lib/test/unit/ui/console/outputlevel.rb,
        lib/test/unit/ui/testrunnerutilities.rb,
        lib/test/unit/fault-location-detector.rb,
        lib/test/unit/util/method-owner-finder.rb,
        lib/test-unit.rb,
        lib/test/unit.rb,
        lib/test/unit/assertion-failed-error.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/collector/objectspace.rb,
        lib/test/unit/collector/xml.rb,
        lib/test/unit/data-sets.rb,
        lib/test/unit/data.rb,
        lib/test/unit/error.rb,
        lib/test/unit/failure.rb,
        lib/test/unit/runner/console.rb,
        lib/test/unit/test-suite-creator.rb,
        lib/test/unit/testcase.rb,
        lib/test/unit/testresult.rb,
        lib/test/unit/testsuite.rb,
        lib/test/unit/ui/console/testrunner.rb,
        lib/test/unit/ui/testrunnermediator.rb,
        lib/test/unit/ui/testrunnerutilities.rb,
        lib/test/unit/ui/xml/testrunner.rb,
        lib/test/unit/util/observable.rb,
        lib/test/unit/util/procwrapper.rb,
        lib/test-unit.rb,
        lib/test/unit/diff.rb,
        lib/test/unit/runner/console.rb,
        lib/test-unit.rb,
        lib/test/unit.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/util/memory-usage.rb,
        lib/test/unit/priority.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Module: Test + + + +

        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test.rb,
        + lib/test-unit.rb,
        lib/test/unit.rb,
        lib/test/unit/data.rb,
        lib/test/unit/diff.rb,
        lib/test/unit/color.rb,
        lib/test/unit/error.rb,
        lib/test/unit/failure.rb,
        lib/test/unit/fixture.rb,
        lib/test/unit/pending.rb,
        lib/test/unit/version.rb,
        lib/test/unit/omission.rb,
        lib/test/unit/priority.rb,
        lib/test/unit/testcase.rb,
        lib/test/unit/attribute.rb,
        lib/test/unit/collector.rb,
        lib/test/unit/testsuite.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/autorunner.rb,
        lib/test/unit/runner/xml.rb,
        lib/test/unit/testresult.rb,
        lib/test/unit/util/output.rb,
        lib/test/unit/color-scheme.rb,
        lib/test/unit/notification.rb,
        lib/test/unit/runner/emacs.rb,
        lib/test/unit/collector/dir.rb,
        lib/test/unit/collector/xml.rb,
        lib/test/unit/ui/testrunner.rb,
        lib/test/unit/collector/load.rb,
        lib/test/unit/runner/console.rb,
        lib/test/unit/util/observable.rb,
        lib/test/unit/util/procwrapper.rb,
        lib/test/unit/attribute-matcher.rb,
        lib/test/unit/exception-handler.rb,
        lib/test/unit/ui/xml/testrunner.rb,
        lib/test/unit/auto-runner-loader.rb,
        lib/test/unit/test-suite-creator.rb,
        lib/test/unit/ui/emacs/testrunner.rb,
        lib/test/unit/code-snippet-fetcher.rb,
        lib/test/unit/collector/descendant.rb,
        lib/test/unit/util/backtracefilter.rb,
        lib/test/unit/collector/objectspace.rb,
        lib/test/unit/ui/console/testrunner.rb,
        lib/test/unit/ui/testrunnermediator.rb,
        lib/test/unit/assertion-failed-error.rb,
        lib/test/unit/ui/console/outputlevel.rb,
        lib/test/unit/ui/testrunnerutilities.rb,
        lib/test/unit/fault-location-detector.rb,
        lib/test/unit/util/method-owner-finder.rb,
        lib/test-unit.rb,
        lib/test/unit.rb,
        lib/test/unit/assertion-failed-error.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/collector/objectspace.rb,
        lib/test/unit/collector/xml.rb,
        lib/test/unit/data-sets.rb,
        lib/test/unit/data.rb,
        lib/test/unit/error.rb,
        lib/test/unit/failure.rb,
        lib/test/unit/runner/console.rb,
        lib/test/unit/test-suite-creator.rb,
        lib/test/unit/testcase.rb,
        lib/test/unit/testresult.rb,
        lib/test/unit/testsuite.rb,
        lib/test/unit/ui/console/testrunner.rb,
        lib/test/unit/ui/testrunnermediator.rb,
        lib/test/unit/ui/testrunnerutilities.rb,
        lib/test/unit/ui/xml/testrunner.rb,
        lib/test/unit/util/observable.rb,
        lib/test/unit/util/procwrapper.rb,
        lib/test-unit.rb,
        lib/test/unit/diff.rb,
        lib/test/unit/runner/console.rb,
        lib/test-unit.rb,
        lib/test/unit.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/util/memory-usage.rb,
        lib/test/unit/priority.rb
        +
        +
        + +
        + +

        Overview

        +

        Author:: Nathaniel Talbott. Copyright:: Copyright (c) 2000-2002 Nathaniel Talbott. All rights reserved. License:: Ruby license.

        - - -
        -
        -
        - - -

        Defined Under Namespace

        -

        - - - Modules: Unit - - - - -

        - - - - - - - - - -
        - - - + + +
        +
        +
        + + +

        Defined Under Namespace

        +

        + + + Modules: Unit + + + + +

        + + + + + + + + + +
        + + +
        @@ -191,6 +191,6 @@

        Overview

        -
        - +
        + \ 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 - + <title> + Module: Test::Unit + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit - - — test-unit - + + Module: Test::Unit + + — test-unit + - test-unit @@ -62,61 +62,61 @@
        - - - -

        Module: Test::Unit - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit.rb,
        - lib/test-unit.rb,
        lib/test/unit.rb,
        lib/test/unit/data.rb,
        lib/test/unit/diff.rb,
        lib/test/unit/color.rb,
        lib/test/unit/error.rb,
        lib/test/unit/failure.rb,
        lib/test/unit/fixture.rb,
        lib/test/unit/pending.rb,
        lib/test/unit/version.rb,
        lib/test/unit/omission.rb,
        lib/test/unit/priority.rb,
        lib/test/unit/testcase.rb,
        lib/test/unit/attribute.rb,
        lib/test/unit/collector.rb,
        lib/test/unit/testsuite.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/autorunner.rb,
        lib/test/unit/runner/xml.rb,
        lib/test/unit/testresult.rb,
        lib/test/unit/util/output.rb,
        lib/test/unit/color-scheme.rb,
        lib/test/unit/notification.rb,
        lib/test/unit/runner/emacs.rb,
        lib/test/unit/collector/dir.rb,
        lib/test/unit/collector/xml.rb,
        lib/test/unit/ui/testrunner.rb,
        lib/test/unit/collector/load.rb,
        lib/test/unit/runner/console.rb,
        lib/test/unit/util/observable.rb,
        lib/test/unit/util/procwrapper.rb,
        lib/test/unit/attribute-matcher.rb,
        lib/test/unit/exception-handler.rb,
        lib/test/unit/ui/xml/testrunner.rb,
        lib/test/unit/auto-runner-loader.rb,
        lib/test/unit/test-suite-creator.rb,
        lib/test/unit/ui/emacs/testrunner.rb,
        lib/test/unit/code-snippet-fetcher.rb,
        lib/test/unit/collector/descendant.rb,
        lib/test/unit/util/backtracefilter.rb,
        lib/test/unit/collector/objectspace.rb,
        lib/test/unit/ui/console/testrunner.rb,
        lib/test/unit/ui/testrunnermediator.rb,
        lib/test/unit/assertion-failed-error.rb,
        lib/test/unit/ui/console/outputlevel.rb,
        lib/test/unit/ui/testrunnerutilities.rb,
        lib/test/unit/fault-location-detector.rb,
        lib/test/unit/util/method-owner-finder.rb,
        lib/test-unit.rb,
        lib/test/unit/assertion-failed-error.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/collector/objectspace.rb,
        lib/test/unit/collector/xml.rb,
        lib/test/unit/data-sets.rb,
        lib/test/unit/data.rb,
        lib/test/unit/error.rb,
        lib/test/unit/failure.rb,
        lib/test/unit/runner/console.rb,
        lib/test/unit/test-suite-creator.rb,
        lib/test/unit/testcase.rb,
        lib/test/unit/testresult.rb,
        lib/test/unit/testsuite.rb,
        lib/test/unit/ui/console/testrunner.rb,
        lib/test/unit/ui/testrunnermediator.rb,
        lib/test/unit/ui/testrunnerutilities.rb,
        lib/test/unit/ui/xml/testrunner.rb,
        lib/test/unit/util/observable.rb,
        lib/test/unit/util/procwrapper.rb,
        lib/test/unit.rb,
        lib/test-unit.rb,
        lib/test/unit/diff.rb,
        lib/test/unit/runner/console.rb,
        lib/test-unit.rb,
        lib/test/unit.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/util/memory-usage.rb,
        lib/test/unit/priority.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Module: Test::Unit + + + +

        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit.rb,
        + lib/test-unit.rb,
        lib/test/unit.rb,
        lib/test/unit/data.rb,
        lib/test/unit/diff.rb,
        lib/test/unit/color.rb,
        lib/test/unit/error.rb,
        lib/test/unit/failure.rb,
        lib/test/unit/fixture.rb,
        lib/test/unit/pending.rb,
        lib/test/unit/version.rb,
        lib/test/unit/omission.rb,
        lib/test/unit/priority.rb,
        lib/test/unit/testcase.rb,
        lib/test/unit/attribute.rb,
        lib/test/unit/collector.rb,
        lib/test/unit/testsuite.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/autorunner.rb,
        lib/test/unit/runner/xml.rb,
        lib/test/unit/testresult.rb,
        lib/test/unit/util/output.rb,
        lib/test/unit/color-scheme.rb,
        lib/test/unit/notification.rb,
        lib/test/unit/runner/emacs.rb,
        lib/test/unit/collector/dir.rb,
        lib/test/unit/collector/xml.rb,
        lib/test/unit/ui/testrunner.rb,
        lib/test/unit/collector/load.rb,
        lib/test/unit/runner/console.rb,
        lib/test/unit/util/observable.rb,
        lib/test/unit/util/procwrapper.rb,
        lib/test/unit/attribute-matcher.rb,
        lib/test/unit/exception-handler.rb,
        lib/test/unit/ui/xml/testrunner.rb,
        lib/test/unit/auto-runner-loader.rb,
        lib/test/unit/test-suite-creator.rb,
        lib/test/unit/ui/emacs/testrunner.rb,
        lib/test/unit/code-snippet-fetcher.rb,
        lib/test/unit/collector/descendant.rb,
        lib/test/unit/util/backtracefilter.rb,
        lib/test/unit/collector/objectspace.rb,
        lib/test/unit/ui/console/testrunner.rb,
        lib/test/unit/ui/testrunnermediator.rb,
        lib/test/unit/assertion-failed-error.rb,
        lib/test/unit/ui/console/outputlevel.rb,
        lib/test/unit/ui/testrunnerutilities.rb,
        lib/test/unit/fault-location-detector.rb,
        lib/test/unit/util/method-owner-finder.rb,
        lib/test-unit.rb,
        lib/test/unit/assertion-failed-error.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/collector/objectspace.rb,
        lib/test/unit/collector/xml.rb,
        lib/test/unit/data-sets.rb,
        lib/test/unit/data.rb,
        lib/test/unit/error.rb,
        lib/test/unit/failure.rb,
        lib/test/unit/runner/console.rb,
        lib/test/unit/test-suite-creator.rb,
        lib/test/unit/testcase.rb,
        lib/test/unit/testresult.rb,
        lib/test/unit/testsuite.rb,
        lib/test/unit/ui/console/testrunner.rb,
        lib/test/unit/ui/testrunnermediator.rb,
        lib/test/unit/ui/testrunnerutilities.rb,
        lib/test/unit/ui/xml/testrunner.rb,
        lib/test/unit/util/observable.rb,
        lib/test/unit/util/procwrapper.rb,
        lib/test/unit.rb,
        lib/test-unit.rb,
        lib/test/unit/diff.rb,
        lib/test/unit/runner/console.rb,
        lib/test-unit.rb,
        lib/test/unit.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/util/memory-usage.rb,
        lib/test/unit/priority.rb
        +
        +
        + +
        + +

        Overview

        +

        Test::Unit - Ruby Unit Testing Framework

        Introduction

        @@ -430,252 +430,252 @@

        Questions?

        I’d really like to get feedback from all levels of Ruby practitioners about typos, grammatical errors, unclear statements, missing points, etc., in this document (or any other).

        - - -
        -
        -
        - - -

        Defined Under Namespace

        -

        - - - Modules: Assertions, Attribute, AutoRunnerLoader, Collector, Data, Diff, ErrorHandler, ExceptionHandler, FailureHandler, Fixture, NotificationHandler, NullResultContainerInitializer, OmissionHandler, PendingHandler, Priority, TestCaseNotificationSupport, TestCaseOmissionSupport, TestCasePendingSupport, TestResultErrorSupport, TestResultFailureSupport, TestResultNotificationSupport, TestResultOmissionSupport, TestResultPendingSupport, UI, Util - - - - Classes: AssertionFailedError, AttributeMatcher, AutoRunner, CodeSnippetFetcher, Color, ColorScheme, DataSets, Error, Failure, FaultLocationDetector, MixColor, Notification, NotifiedError, Omission, OmittedError, PendedError, Pending, TestCase, TestResult, TestSuite, TestSuiteCreator - - -

        - - -

        - Constant Summary - collapse -

        - -
        - -
        VERSION = - -
        -
        "3.5.4"
        - -
        @@at_start_hooks = -
        -
        -

        - This classvariable is part of a private API. - You should avoid using this classvariable if possible, as it may be removed or be changed in the future. -

        - - - -
        -
        -
        - - -
        -
        -
        []
        - -
        @@at_exit_hooks = -
        -
        -

        - This classvariable is part of a private API. - You should avoid using this classvariable if possible, as it may be removed or be changed in the future. -

        - - - -
        -
        -
        - - -
        -
        -
        []
        - -
        - - - - - - - - - -

        - Class Method Summary - collapse -

        - -
        +
        +
        + + +

        Defined Under Namespace

        +

        + + + Modules: Assertions, Attribute, AutoRunnerLoader, Collector, Data, Diff, ErrorHandler, ExceptionHandler, FailureHandler, Fixture, NotificationHandler, NullResultContainerInitializer, OmissionHandler, PendingHandler, Priority, TestCaseNotificationSupport, TestCaseOmissionSupport, TestCasePendingSupport, TestResultErrorSupport, TestResultFailureSupport, TestResultNotificationSupport, TestResultOmissionSupport, TestResultPendingSupport, UI, Util + + + + Classes: AssertionFailedError, AttributeMatcher, AutoRunner, CodeSnippetFetcher, Color, ColorScheme, DataSets, Error, Failure, FaultLocationDetector, MixColor, Notification, NotifiedError, Omission, OmittedError, PendedError, Pending, TestCase, TestResult, TestSuite, TestSuiteCreator + + +

        + + +

        + Constant Summary + collapse +

        + +
        + +
        VERSION = + +
        +
        "3.5.6"
        + +
        @@at_start_hooks = +
        +
        +

        + This classvariable is part of a private API. + You should avoid using this classvariable if possible, as it may be removed or be changed in the future. +

        + + + +
        +
        +
        + + +
        +
        +
        []
        + +
        @@at_exit_hooks = +
        +
        +

        + This classvariable is part of a private API. + You should avoid using this classvariable if possible, as it may be removed or be changed in the future. +

        + + + +
        +
        +
        + + +
        +
        +
        []
        + +
        + + + + + + + + + +

        + Class Method Summary + collapse +

        + +
        + + + + +
      • + + + .at_start { ... } ⇒ void + + + + + + + + + + + + +

        Register a hook that is run before running tests.

        -
        - -
      • - - -
      • - - - .run=(have_run) ⇒ Object - - - - - - - - - - deprecated - - - +
      • + + + + +
      • + + + .run=(have_run) ⇒ Object + + + + + + + + + + deprecated + + + Deprecated. - -
      • - - -
      • - - - .run? ⇒ Boolean - - - - - - - - - - deprecated - - - +
      • + + + + +
      • + + + .run? ⇒ Boolean + + + + + + + + + + deprecated + + + Deprecated. - -
      • - - -
      • - - - .run_at_exit_hooks ⇒ Object - - - - - - - - - - - private - - +
      • + + + + +
      • + + + .run_at_exit_hooks ⇒ Object + + + + + + + + + + + private + +
        -
        - -
      • - - -
      • - - - .run_at_start_hooks ⇒ Object - - - - - - - - - - - private - - +
      • + + + + +
      • + + + .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
      • - - -

        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        Test::Unit.at_exit do
           puts "Exit!"
        -end
        - -
        - -

        Yields:

        -
          - -
        • - - - - - - - +end + +
        + +

        Yields:

        +
          + +
        • + + + + + + +

          A block that is run after running tests.

          -
          - -
        • - -
        -

        Yield Returns:

        -
          - -
        • - - - (void) - - - -
        • - -
        -

        Since:

        -
          - -
        • - - - - - +
        + + + + +

        Yield Returns:

        +
          + +
        • + + + (void) + + + +
        • + +
        +

        Since:

        +
          + +
        • + + + + +

          2.5.2

          -
          - -
        • - -
        - -
        - - + +
        + + + + + + + + + - + - -
         
         
         485
         486
        -487
        -
        +487 +
        # File 'lib/test/unit.rb', line 485
         
         def at_exit(&hook)
           @@at_exit_hooks << hook
        -end
        -
        - - -
        -

        - - .at_start { ... } ⇒ void - - - - - -

        -
        +end +
        +
        + +
        +

        + + .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
      • - - -

        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        Test::Unit.at_start do
           puts "Start!"
        -end
        - -
        - -

        Yields:

        -
          - -
        • - - - - - - - +end + +
        + +

        Yields:

        +
          + +
        • + + + + + + +

          A block that is run before running tests.

          -
          - -
        • - -
        -

        Yield Returns:

        -
          - -
        • - - - (void) - - - -
        • - -
        -

        Since:

        -
          - -
        • - - - - - +
        + + + + +

        Yield Returns:

        + +

        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 - - - - - -

        -
        +end +
        + + +
        +

        + + .run=(have_run) ⇒ Object + + + + + +

        +
        Deprecated.
        +

        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 - - - - - -

        -
        +end +
        + + +
        +

        + + .run?Boolean + + + + + +

        +
        Deprecated.
        +

        Already tests have run?

        - - -
        - -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         323
         324
        -325
        -
        +325 +
        # File 'lib/test/unit.rb', line 323
         
         def run?
           not AutoRunner.need_auto_run?
        -end
        -
        - - -
        -

        - - .run_at_exit_hooksObject - - - - - -

        -
        -

        - 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 +
        +
        + +
        +

        + + .run_at_exit_hooksObject + + + + + +

        +
        +

        + 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_hooksObject - - - - - -

        -
        -

        - 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 +
        +
        + +
        +

        + + .run_at_start_hooksObject + + + + + +

        +
        +

        + 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 - + <title> + Exception: Test::Unit::AssertionFailedError + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Exception: Test::Unit::AssertionFailedError - - — test-unit - + + Exception: Test::Unit::AssertionFailedError + + — test-unit + - test-unit @@ -62,346 +62,346 @@
        - - - -

        Exception: Test::Unit::AssertionFailedError - - - -

        -
        - -
        -
        Inherits:
        -
        - StandardError - -
          -
        • Object
        • - - - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/assertion-failed-error.rb,
        - lib/test/unit/assertion-failed-error.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Exception: Test::Unit::AssertionFailedError + + + +

        +
        + +
        +
        Inherits:
        +
        + StandardError + +
          +
        • Object
        • + + + + + +
        + show all + +
        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/assertion-failed-error.rb,
        + lib/test/unit/assertion-failed-error.rb
        +
        +
        + +
        + +

        Overview

        +

        Thrown by Test::Unit::Assertions when an assertion fails.

        - - -
        -
        -
        - - -
        - - - -

        Instance Attribute Summary collapse

        -
        +
        +
        + + +
        + + + +

        Instance Attribute Summary collapse

        +
        + + + + +
      • + + + #expected ⇒ Object + + + + + + + + + + + + + + + +

        Returns the value of attribute expected.

        -
        - -
      • - - -
      • - - - #inspected_actual ⇒ Object - - - - - - - - - - - - - - - - +
      • + + + + +
      • + + + #inspected_actual ⇒ Object + + + + + + + + + + + + + + + +

        Returns the value of attribute inspected_actual.

        -
        - -
      • - - -
      • - - - #inspected_expected ⇒ Object - - - - - - - - - - - - - - - - +
      • + + + + +
      • + + + #inspected_expected ⇒ Object + + + + + + + + + + + + + + + +

        Returns the value of attribute inspected_expected.

        -
        - -
      • - - -
      • - - - #user_message ⇒ Object - - - - - - - - - - - - - - - - +
      • + + + + +
      • + + + #user_message ⇒ Object + + + + + + + + + + + + + + + +

        Returns the value of attribute user_message.

        -
        - -
      • - - - - - - - - -

        - Class Method Summary - collapse -

        - -
        + + + + + + + + + + +

        + 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

        - - - -
        -

        - - #actualObject - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #actualObject + + + + + +

        +

        Returns the value of attribute actual

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         6
         7
        -8
        -
        +8 +
        # File 'lib/test/unit/assertion-failed-error.rb', line 6
         
         def actual
           @actual
        -end
        -
        - - - - -
        -

        - - #expectedObject - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #expectedObject + + + + + +

        +

        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_actualObject - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #inspected_actualObject + + + + + +

        +

        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_expectedObject - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #inspected_expectedObject + + + + + +

        +

        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_messageObject - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #user_messageObject + + + + + +

        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + .debug_on_failure?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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 - + <title> + Module: Test::Unit::Assertions + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Assertions - - — test-unit - + + Module: Test::Unit::Assertions + + — test-unit + - test-unit @@ -62,66 +62,66 @@
        - - - -

        Module: Test::Unit::Assertions - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestCase
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/assertions.rb,
        - lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Module: Test::Unit::Assertions + + + +

        +
        + + + + + + + + + +
        +
        Included in:
        +
        TestCase
        +
        + + + +
        +
        Defined in:
        +
        lib/test/unit/assertions.rb,
        + lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb
        +
        +
        + +
        + +

        Overview

        +

        Test::Unit::Assertions contains the standard Test::Unit assertions. Assertions is included in Test::Unit::TestCase.

        @@ -136,1568 +136,1568 @@

        Overview

        failure.
      • It is easy to add your own assertions based on assert_block().
      • - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +

        Example Custom Assertion

        -

        - +

        +
        
         def deny(boolean, message=nil)
           message = build_message(message, '<?> is not false or nil.', boolean)
           assert_block(message) do
             not boolean
           end
        -end
        - -
        - - -

        Defined Under Namespace

        -

        - - - - - Classes: AssertExceptionHelper, AssertionMessage - - -

        - - - - - - - - -

        - Class Method Summary - collapse -

        - -
        + + +

        Defined Under Namespace

        +

        + + + + + Classes: AssertExceptionHelper, AssertionMessage + + +

        + + + + + + + + +

        + Class Method Summary + collapse +

        + + - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #assert(object = NOT_SPECIFIED, message = nil, &block) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #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_all(collection, message = nil) {|Object| ... } ⇒ void - - - - (also: #assert_all?) - - - - - - - - - - - +
      • + + + + +
      • + + + #assert_all(collection, message = nil) {|Object| ... } ⇒ void + + + + (also: #assert_all?) + + + + + + + + + + +

        Asserts that all block.call(item) where item is each item in collection are not false nor nil.

        -
        - -
      • - - -
      • - - - #assert_block(message = "assert_block failed.") ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #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 + + + + + + + + + + + + +

        Passes if object.nil?.

        -
        - -
      • - - -
      • - - - #assert_no_match(regexp, string, message = "") ⇒ Object - - - - - - - - - - deprecated - - - + + +
      • + + +
      • + + + #assert_no_match(regexp, string, message = "") ⇒ Object + + + + + + + + + + deprecated + + + Deprecated.

        Use #assert_not_match instead.

        -
        - -
      • - - -
      • - - - #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 + + + + + + + + + + + + +

        Passes if path exists.

        -
        - -
      • - - -
      • - - - #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 + + + + + + + + + + + + +

        Flunk always fails.

        -
        - -
      • - - -
      • - - - #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_assertionvoid - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Method Details

        + + +
        +

        + + #add_assertionvoid + + + + + +

        +

        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 - - - - - - -

        -
        - - - -
        -
        -
        - -

        Overloads:

        -
          - - -
        • - #assert(object, message = nil) ⇒ void -
          -
          +end +
        +
        + +
        +

        + + + #assert(object, message = nil) ⇒ void + + #assert(message = nil) { ... } ⇒ void + + + + + + +

        +
        + + + +
        +
        +
        + +

        Overloads:

        +
          + + +
        • + #assert(object, message = nil) ⇒ void +
          +

          This method returns an undefined value.

          Asserts that object is not false nor nil.

          Normally, you don’t need to use this assertion. Use more specific assertions such as #assert_equal and #assert_include.

          - - -
          -
          -
          - -
          -

          Examples:

          - - + + +
          +
          +
          + +
          +

          Examples:

          + +

          Pass patterns

          -

          - +

          +
          assert(true)               # => pass
          -assert([1, 2].include?(1)) # => pass
          - - +assert([1, 2].include?(1)) # => pass + +

          Failure patterns

          -

          - +

          +
          assert(nil)                # => failure
           assert(false)              # => failure
          -assert([1, 2].include?(5)) # => failure
          - -
        -

        Parameters:

        -
          - -
        • - - object - - - (Object) - - - - — +assert([1, 2].include?(5)) # => failure + +
        +

        Parameters:

        +
          + +
        • + + object + + + (Object) + + + + —

          The check target.

          -
          - -
        • - -
        • - - 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.

        - - -

        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +

        Power Assert

        -

        - +

        +
        coins = [1, 5, 50]
         target_coin = 10
         assert do
        @@ -1735,91 +1735,91 @@ 

        # | | | # | | 10 # | false -# [1, 5, 50]

        - - +# [1, 5, 50] + +

        Pass patterns

        -

        - +

        +
        assert {true}               # => pass
        -assert {[1, 2].include?(1)} # => pass
        - - +assert {[1, 2].include?(1)} # => pass + +

        Failure patterns

        -

        - +
      • +
        assert {nil}                # => failure
         assert {false}              # => failure
        -assert {[1, 2].include?(5)} # => failure
        - - -

        Parameters:

        - - - - - - + +
        + + + + + + + + + + + + + + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        + + +
        +

        + + #assert_alias_method(object, alias_name, original_name, message = nil) ⇒ Object + + + + + +

        +

        Passes if object#alias_name is an alias method of object#original_name.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_alias_method([], :length, :size)  # -> pass
         assert_alias_method([], :size, :length)  # -> pass
        -assert_alias_method([], :each, :size)    # -> fail
        - -
        - - -
        - - + +
        +assert_alias_method([], :each, :size) # -> fail + + + + + + + - + - -
         
         
        @@ -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? - - - - -

        -
        - - - -
        -
        -
        - -
        -
        +end +
        +
        + +
        +

        + + #assert_all(collection, message = nil) {|Object| ... } ⇒ void + + + + Also known as: + assert_all? + + + + +

        +
        + + + +
        +
        +
        + +
        +

        This method returns an undefined value.

        Asserts that all block.call(item) where item is each item in collection are not false nor nil.

        If collection is empty, this assertion is always passed with any block.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +

        Pass patterns

        -

        - +

        +
        assert_all([1, 2, 3]) {|item| item > 0} # => pass
         assert_all([1, 2, 3], &:positive?)      # => pass
        -assert_all([]) {|item| false}           # => pass
        - - +assert_all([]) {|item| false} # => pass + +

        Failure pattern

        -

        - -
        assert_all([0, 1, 2], &:zero?) # => failure
        - -
        -

        Parameters:

        -
          - -
        • - - collection - - - (#each) - - - - — +

        + +
        assert_all([0, 1, 2], &:zero?) # => failure
        + +
        +

        Parameters:

        + - -

        Yields:

        - + +

        Yields:

        + -

        Yield Returns:

        - +

        Yield Returns:

        + - - - -

        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 - - - - - -

        -
        +end +
        + + +
        +

        + + #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.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_block "Couldn't do the thing" do
           do_the_thing
        -end
        - -
        - - -
        - - + +
        +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 @@ 

        raise AssertionFailedError.new(message.to_s) end end -end

        -
        - - -
        -

        - - #assert_boolean(actual, message = nil) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_boolean(actual, message = nil) ⇒ Object + + + + + +

        +

        Passes if actual is a boolean value.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_boolean(true) # -> pass
        -assert_boolean(nil)  # -> fail
        - -
        - - -
        - - + +
        +assert_boolean(nil) # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_compare(expected, operator, actual, message = nil) ⇒ Object + + + + + +

        +

        Passes if expression “expected operator actual” is not false nor nil.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_compare(1, "<", 10)  # -> pass
        -assert_compare(1, ">=", 10) # -> fail
        - -
        - - -
        - - + +
        +assert_compare(1, ">=", 10) # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_const_defined(object, constant_name, message = nil) ⇒ Object + + + + + +

        +

        Passes if object.const_defined?(constant_name)

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_const_defined(Test, :Unit)          # -> pass
        -assert_const_defined(Object, :Nonexistent) # -> fail
        - -
        - - -
        - - + +
        +assert_const_defined(Object, :Nonexistent) # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_empty(object, message = nil) ⇒ Object + + + + + +

        +

        Passes if object is empty.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_empty("")                       # -> pass
         assert_empty([])                       # -> pass
         assert_empty({})                       # -> pass
         assert_empty(" ")                      # -> fail
         assert_empty([nil])                    # -> fail
        -assert_empty({1 => 2})                 # -> fail
        - -
        - - -
        - - + +
        +assert_empty({1 => 2}) # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #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.

        - - -
        -
        -
        - -
        -

        Examples:

        - - -
        assert_equal 'MY STRING', 'my string'.upcase
        - -
        - - -
        - - + +
        + + + + +
        + +
        +

        Examples:

        + + +
        assert_equal 'MY STRING', 'my string'.upcase
        + +
        + + +
        + + - + - -
         
         
        @@ -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 # For JRuby. :< end -end

        -
        - - -
        -

        - - #assert_fail_assertion(message = nil) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_fail_assertion(message = nil) ⇒ Object + + + + + +

        +

        Passes if assertion is failed in block.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_fail_assertion {assert_equal("A", "B")}  # -> pass
        -assert_fail_assertion {assert_equal("A", "A")}  # -> fail
        - -
        - - -
        - - + +
        +assert_fail_assertion {assert_equal("A", "A")} # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_false(actual, message = nil) ⇒ Object + + + + + +

        +

        Passes if actual is false.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_false(false)  # -> pass
        -assert_false(nil)    # -> fail
        - -
        - - -
        - - + +
        +assert_false(nil) # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_in_delta(expected_float, actual_float, delta = 0.001, message = "") ⇒ Object + + + + + +

        +

        Passes if expected_float and actual_float are equal within delta tolerance.

        - - -
        -
        -
        - -
        -

        Examples:

        - - -
        assert_in_delta 0.05, (50000.0 / 10**6), 0.00001
        - -
        - - -
        - - + +
        + + + + +
        + +
        +

        Examples:

        + + +
        assert_in_delta 0.05, (50000.0 / 10**6), 0.00001
        + +
        + + +
        + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #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.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_in_epsilon(10000.0, 9900.0, 0.1) # -> pass
        -assert_in_epsilon(10000.0, 9899.0, 0.1) # -> fail
        - -
        - - -
        - - + +
        +assert_in_epsilon(10000.0, 9899.0, 0.1) # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_include(collection, object, message = nil) ⇒ Object + + + + Also known as: + assert_includes + + + + +

        +

        Passes if collection includes object.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_include([1, 10], 1)            # -> pass
         assert_include(1..10, 5)              # -> pass
         assert_include([1, 10], 5)            # -> fail
        -assert_include(1..10, 20)             # -> fail
        - -
        - - -
        - - + +
        +assert_include(1..10, 20) # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #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).

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_instance_of(String, 'foo')            # -> pass
         assert_instance_of([Fixnum, NilClass], 100)  # -> pass
        -assert_instance_of([Numeric, NilClass], 100) # -> fail
        - -
        - - -
        - - + +
        +assert_instance_of([Numeric, NilClass], 100) # -> fail + + + + + + + - + - -
         
         
        @@ -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).

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_kind_of(Object, 'foo')                # -> pass
         assert_kind_of([Fixnum, NilClass], 100)      # -> pass
        -assert_kind_of([Fixnum, NilClass], "string") # -> fail
        - -
        - - -
        - - + +
        +assert_kind_of([Fixnum, NilClass], "string") # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_match(pattern, string, message = nil) ⇒ Object + + + + + +

        +

        Passes if pattern =~ string.

        - - -
        -
        -
        - -
        -

        Examples:

        - - -
        assert_match(/\d+/, 'five, 6, seven')
        - -
        - - -
        - - + +
        + + + + +
        + +
        +

        Examples:

        + + +
        assert_match(/\d+/, 'five, 6, seven')
        + +
        + + +
        + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_nil(object, message = nil) ⇒ Object + + + + + +

        +

        Passes if object.nil?.

        - - -
        -
        -
        - -
        -

        Examples:

        - - -
        assert_nil [1, 2].uniq!
        - -
        - - -
        - - + +
        + + + + +
        + +
        +

        Examples:

        + + +
        assert_nil [1, 2].uniq!
        + +
        + + +
        + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_no_match(regexp, string, message = "") ⇒ Object + + + + + +

        +
        Deprecated.

        Use #assert_not_match instead.

        -
        +

        Passes if regexp !~ string

        - - -
        - -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_no_match(/two/, 'one 2 three')   # -> pass
        -assert_no_match(/three/, 'one 2 three') # -> fail
        - -
        - - -
        - - + +
        +assert_no_match(/three/, 'one 2 three') # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        + + +
        +

        + + #assert_not_const_defined(object, constant_name, message = nil) ⇒ Object + + + + + +

        +

        Passes if !object.const_defined?(constant_name)

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_not_const_defined(Object, :Nonexistent) # -> pass
        -assert_not_const_defined(Test, :Unit)          # -> fail
        - -
        - - -
        - - + +
        +assert_not_const_defined(Test, :Unit) # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_not_empty(object, message = nil) ⇒ Object + + + + Also known as: + refute_empty + + + + +

        +

        Passes if object is not empty.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_not_empty(" ")                      # -> pass
         assert_not_empty([nil])                    # -> pass
         assert_not_empty({1 => 2})                 # -> pass
         assert_not_empty("")                       # -> fail
         assert_not_empty([])                       # -> fail
        -assert_not_empty({})                       # -> fail
        - -
        - - -
        - - + +
        +assert_not_empty({}) # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_not_equal(expected, actual, message = nil) ⇒ Object + + + + Also known as: + refute_equal + + + + +

        +

        Passes if expected != actual

        - - -
        -
        -
        - -
        -

        Examples:

        - - -
        assert_not_equal 'some string', 5
        - -
        - - -
        - - + +
        + + + + +
        + +
        +

        Examples:

        + + +
        assert_not_equal 'some string', 5
        + +
        + + +
        + + - + - -
         
         
        @@ -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 - - - - -

        -
        +end +
        +
        + +
        +

        + + #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.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_not_in_delta(0.05, (50000.0 / 10**6), 0.00002) # -> pass
        -assert_not_in_delta(0.05, (50000.0 / 10**6), 0.00001) # -> fail
        - -
        - - -
        - - + +
        +assert_not_in_delta(0.05, (50000.0 / 10**6), 0.00001) # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - -

        -
        +end +
        +
        + +
        +

        + + #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.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_not_in_epsilon(10000.0, 9900.0, 0.1) # -> fail
        -assert_not_in_epsilon(10000.0, 9899.0, 0.1) # -> pass
        - -
        - - -
        - - + +
        +assert_not_in_epsilon(10000.0, 9899.0, 0.1) # -> pass + + + + + + + - + - -
         
         
        @@ -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 - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_not_include(collection, object, message = nil) ⇒ Object + + + + Also known as: + assert_not_includes, refute_includes + + + + +

        +

        Passes if collection doesn’t include object.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_not_include([1, 10], 5)            # -> pass
         assert_not_include(1..10, 20)             # -> pass
         assert_not_include([1, 10], 1)            # -> fail
        -assert_not_include(1..10, 5)              # -> fail
        - -
        - - -
        - - + +
        +assert_not_include(1..10, 5) # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - -

        -
        +end +
        +
        + +
        +

        + + #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).

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_not_instance_of(String, 100)                # -> pass
         assert_not_instance_of([Fixnum, NilClass], '100')  # -> pass
        -assert_not_instance_of([Numeric, NilClass], 100)   # -> fail
        - -
        - -

        Since:

        -
          - -
        • - - - - - +assert_not_instance_of([Numeric, NilClass], 100) # -> fail + +
        + +

        Since:

        +
          + +
        • + + + + +

          3.0.0

          -
          - -
        • - -
        - -
        - - + +
        + + + + + + + + + - + - -
         
         
        @@ -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 - - - - -

        -
        +end +
        + + +
        +

        + + #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).

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_not_kind_of(Fixnum, 'foo')           # -> pass
         assert_not_kind_of([Fixnum, NilClass], '0') # -> pass
        -assert_not_kind_of([Fixnum, NilClass], 100) # -> fail
        - -
        - -

        Since:

        -
          - -
        • - - - - - +assert_not_kind_of([Fixnum, NilClass], 100) # -> fail + +
        + +

        Since:

        +
          + +
        • + + + + +

          3.0.0

          -
          - -
        • - -
        - -
        - - + +
        + + + + + + + + + - + - -
         
         
        @@ -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 - - - - -

        -
        +end +
        + + +
        +

        + + #assert_not_match(pattern, string, message = nil) ⇒ Object + + + + Also known as: + refute_match + + + + +

        +

        Passes if regexp !~ string

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_not_match(/two/, 'one 2 three')   # -> pass
        -assert_not_match(/three/, 'one 2 three') # -> fail
        - -
        - - -
        - - + +
        +assert_not_match(/three/, 'one 2 three') # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_not_nil(object, message = nil) ⇒ Object + + + + Also known as: + refute_nil + + + + +

        +

        Passes if ! object .nil?

        - - -
        -
        -
        - -
        -

        Examples:

        - - -
        assert_not_nil '1 two 3'.sub!(/two/, '2')
        - -
        - - -
        - - + +
        + + + + +
        + +
        +

        Examples:

        + + +
        assert_not_nil '1 two 3'.sub!(/two/, '2')
        + +
        + + +
        + + - + - -
         
         
        @@ -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 - - - - -

        -
        +end +
        +
        + +
        +

        + + #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.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_not_operator(5, :<, 4) # => pass
        -assert_not_operator(5, :>, 4) # => fail
        - -
        - -

        Since:

        -
          - -
        • - - - - - +assert_not_operator(5, :>, 4) # => fail + +
        + +

        Since:

        +
          + +
        • + + + + +

          3.0.0

          -
          - -
        • - -
        - -
        - - + +
        + + + + + + + + + - + - -
         
         
        @@ -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 - - - - -

        -
        +end +
        + + +
        +

        + + #assert_not_predicate(object, predicate, message = nil) ⇒ Object + + + + Also known as: + refute_predicate + + + + +

        +

        Passes if object.predicate is false or nil.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_not_predicate([1], :empty?) # -> pass
        -assert_not_predicate([], :empty?)  # -> fail
        - -
        - - -
        - - + +
        +assert_not_predicate([], :empty?) # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_not_respond_to(object, method, message = nil) ⇒ Object + + + + Also known as: + refute_respond_to + + + + +

        +

        Passes if object does not .respond_to? method.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_not_respond_to('bugbear', :nonexistence) # -> pass
        -assert_not_respond_to('bugbear', :size)         # -> fail
        - -
        - - -
        - - + +
        +assert_not_respond_to('bugbear', :size) # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_not_same(expected, actual, message = nil) ⇒ Object + + + + Also known as: + refute_same + + + + +

        +

        Passes if ! actual .equal? expected

        - - -
        -
        -
        - -
        -

        Examples:

        - - -
        assert_not_same Object.new, Object.new
        - -
        - - -
        - - + +
        + + + + +
        + +
        +

        Examples:

        + + +
        assert_not_same Object.new, Object.new
        + +
        + + +
        + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #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

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_not_send([[1, 2], :member?, 1]) # -> fail
        -assert_not_send([[1, 2], :member?, 4]) # -> pass
        - -
        - - -
        - - + +
        +assert_not_send([[1, 2], :member?, 4]) # -> pass + + + + + + + - + - -
         
         
        @@ -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 - - - - - -

        -
        - - - -
        -
        -
        - -
        -
        +end +
        +
        + +
        +

        + + #assert_nothing_leaked_memory(max_increasable_size, target = :physical, message = nil) { ... } ⇒ void + + + + + +

        +
        + + + +
        +
        +
        + +
        +

        This method returns an undefined value.

        Asserts that increased memory usage by block.call is less than max_increasable_size. GC.start is called before and after block.call.

        @@ -4659,19 +4659,19 @@

        String instead of block for the approach. We choose easy to write API approach rather than more stable result approach for this case.

        - - -

        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +

        Pass pattern

        -

        - +

        +
        require "objspace"
         size_per_object = ObjectSpace.memsize_of("Hello")
         # If memory isn't leaked, physical memory of almost created objects
        @@ -4680,12 +4680,12 @@ 

        1_000.times do "Hello".dup end -end # => pass

        - - +end # => pass + +

        Failure pattern

        -

        - +

        +
        require "objspace"
         size_per_object = ObjectSpace.memsize_of("Hello")
         strings = []
        @@ -4694,87 +4694,87 @@ 

        # Created objects aren't GC-ed because they are referred. strings << "Hello".dup end -end # => failure

        - -
        -

        Parameters:

        -
          - -
        • - - target - - - (:physical, :virtual) - - - (defaults to: :physical) - - - — +end # => failure + +
        +

        Parameters:

        + - -

        Yields:

        - -

        Yield Returns:

        - - - - -

        Since:

        - + +

        Yields:

        + +

        Yield Returns:

        + + + + +

        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 - - - - - -

        -
        +end +
        + + +
        +

        + + #assert_nothing_raised(*args) ⇒ Object + + + + + +

        +

        Passes if block does not raise an exception.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_nothing_raised do
           [1, 2].uniq
        -end
        - -
        - - -
        - - + +
        +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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_nothing_thrown(message = nil, &proc) ⇒ Object + + + + + +

        +

        Passes if block does not throw anything.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_nothing_thrown do
           [1, 2].uniq
        -end
        - -
        - - -
        - - + +
        +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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #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.

        - - -
        -
        -
        - -
        -

        Examples:

        - - -
        assert_operator 5, :>=, 4
        - -
        - - -
        - - + +
        + + + + +
        + +
        +

        Examples:

        + + +
        assert_operator 5, :>=, 4
        + +
        + + +
        + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_path_exist(path, message = nil) ⇒ Object + + + + + +

        +

        Passes if path exists.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_path_exist("/tmp")          # -> pass
         assert_path_exist("/bin/sh")       # -> pass
        -assert_path_exist("/nonexistent")  # -> fail
        - -
        - - -
        - - + +
        +assert_path_exist("/nonexistent") # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_path_not_exist(path, message = nil) ⇒ Object + + + + + +

        +

        Passes if path doesn’t exist.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_path_not_exist("/nonexistent")  # -> pass
         assert_path_not_exist("/tmp")          # -> fail
        -assert_path_not_exist("/bin/sh")       # -> fail
        - -
        - - -
        - - + +
        +assert_path_not_exist("/bin/sh") # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_predicate(object, predicate, message = nil) ⇒ Object + + + + + +

        +

        Passes if object.predicate is not false nor nil.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_predicate([], :empty?)  # -> pass
        -assert_predicate([1], :empty?) # -> fail
        - -
        - - -
        - - + +
        +assert_predicate([1], :empty?) # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - -

        -
        +end +
        +
        + +
        +

        + + #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.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_raise(RuntimeError, LoadError) do
           raise 'Boom!!!'
         end # -> pass
        @@ -5316,14 +5316,14 @@ 

        assert_raise(RuntimeError.new("XXX")) {raise "XXX"} # -> pass assert_raise(MyError.new("XXX")) {raise "XXX"} # -> fail -assert_raise(RuntimeError.new("ZZZ")) {raise "XXX"} # -> fail

        - -
        - - -
        - - + +
        +assert_raise(RuntimeError.new("ZZZ")) {raise "XXX"} # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_raise_kind_of(*args, &block) ⇒ Object + + + + + +

        +

        Passes if the block raises one of the given exceptions or sub exceptions of the given exceptions.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_raise_kind_of(SystemCallError) do
           raise Errno::EACCES
        -end
        - -
        - - -
        - - + +
        +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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #assert_raise_message(expected, message = nil) ⇒ Object + + + + + +

        +

        Passes if an exception is raised in block and its message is expected.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        assert_raise_message("exception") {raise "exception"}  # -> pass
         assert_raise_message(/exc/i) {raise "exception"}       # -> pass
         assert_raise_message("exception") {raise "EXCEPTION"}  # -> fail
        -assert_raise_message("exception") {}                   # -> fail
        - -
        - - -
        - - + +
        +assert_raise_message("exception") {} # -> fail + + + + + + + - + - -
         
         
        @@ -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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #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.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +

        Pass pattern: String

        -

        - +

        +
        assert_raise_with_message(RuntimeError, "Boom!!!") do
           raise "Boom!!!"
        -end # -> pass
        - - +end # -> pass + +

        Pass pattern: Regexp

        -

        - +

        +
        assert_raise_with_message(RuntimeError, /!!!/) do
           raise "Boom!!!"
        -end # -> pass
        - - +end # -> pass + +

        Failure pattern: Exception class isn’t matched

        -

        - +

        +
        assert_raise_with_message(RuntimeError, "Boom!!!") do
           raise ArgumentError, "Boom!!!"
        -end # -> failure
        - - +end # -> failure + +

        Failure pattern: Exception message isn’t matched

        -

        - +

        +
        assert_raise_with_message(RuntimeError, "Boom!!!") do
           raise "Hello"
        -end # -> failure
        - - - -

        Since:

        - - - -
        -

        Constructor Details

        - -
        -

        - - #initialize(exception) ⇒ WrappedException - - - - - -

        -
        -

        Returns a new instance of WrappedException.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initialize(exception) ⇒ WrappedException + + + + + +

        +
        +

        Returns a new instance of WrappedException

        + + +
        +
        +
        + + +
        + + - + - -
         
         
         2106
         2107
        -2108
        -
        +2108 +
        # File 'lib/test/unit/assertions.rb', line 2106
         
         def initialize(exception)
           @exception = exception
        -end
        -
        -
        - -
        -
        -

        Dynamic Method Handling

        -

        - This class handles dynamic methods through the method_missing method - -

        - -
        -

        - - #method_missing(name, *args, &block) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +
        +

        Dynamic Method Handling

        +

        + This class handles dynamic methods through the method_missing method + +

        + +
        +

        + + #method_missing(name, *args, &block) ⇒ Object + + + + + +

        + + - + - -
         
         
         2118
         2119
        -2120
        -
        +2120 +
        # File 'lib/test/unit/assertions.rb', line 2118
         
         def method_missing(name, *args, &block)
           @exception.__send__(name, *args, &block)
        -end
        -
        -
        - -
        - -
        -

        Instance Attribute Details

        - - - -
        -

        - - #exceptionObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #exceptionObject (readonly) + + + + + +

        +

        Returns the value of attribute exception

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         2105
         2106
        -2107
        -
        +2107 +
        # File 'lib/test/unit/assertions.rb', line 2105
         
         def exception
           @exception
        -end
        -
        - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #inspectObject - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #inspectObject + + + + + +

        + + - + - -
         
         
        @@ -409,9 +409,9 @@ 

        2113 2114 2115 -2116

        -
        +2116 +
        # File 'lib/test/unit/assertions.rb', line 2110
         
         def inspect
        @@ -420,22 +420,22 @@ 

        else @exception.inspect end -end

        -
        -
        - -
        - - - - - +end +
        +
        + +
        + + + + + @@ -471,6 +471,6 @@

        - - + + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/Assertions/AssertionMessage.html b/test-unit/ja/Test/Unit/Assertions/AssertionMessage.html index 8f6a5571..e9194e30 100644 --- a/test-unit/ja/Test/Unit/Assertions/AssertionMessage.html +++ b/test-unit/ja/Test/Unit/Assertions/AssertionMessage.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::Assertions::AssertionMessage - - — test-unit - + <title> + Class: Test::Unit::Assertions::AssertionMessage + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Assertions::AssertionMessage - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage + + — test-unit + - test-unit @@ -62,558 +62,558 @@
        - - - -

        Class: Test::Unit::Assertions::AssertionMessage - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        Util::BacktraceFilter
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/assertions.rb,
        - lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb
        -
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - - - Classes: ArrayInspector, DelayedLiteral, HashInspector, Inspector, Literal, MaybeContainer, NumericInspector, Template - - -

        - - -

        - Constant Summary - collapse -

        - -
        - -
        MAX_DIFF_TARGET_STRING_SIZE = - -
        -
        1000
        - -
        @@max_diff_target_string_size = - -
        -
        nil
        - -
        - - - - - - -

        Constants included - from Util::BacktraceFilter

        -

        Util::BacktraceFilter::POWERASSERT_PREFIX, Util::BacktraceFilter::TESTUNIT_FILE_SEPARATORS, Util::BacktraceFilter::TESTUNIT_PREFIX, Util::BacktraceFilter::TESTUNIT_RB_FILE

        - - -

        Class Attribute Summary collapse

        - + + + + + +

        + Class Method Summary + collapse +

        + +
        + + + + +
      • + + + .delayed_diff(from, to) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .delayed_literal(&block) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .delayed_literal(&block) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .diff_target_string?(string) ⇒ Boolean - - - - - - - - - - - - - +
      • + + + + +
      • + + + .diff_target_string?(string) ⇒ Boolean + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .ensure_diffable_string(string) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .ensure_diffable_string(string) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .literal(value) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .literal(value) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .max_diff_target_string_size ⇒ Object - - - - - - - - - - - - - + + +
      • + + +
      • + + + .max_diff_target_string_size ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .max_diff_target_string_size=(size) ⇒ Object - - - - - - - - - - - - - + + +
      • + + +
      • + + + .max_diff_target_string_size=(size) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .maybe_container(value, &formatter) ⇒ Object - - - - - - - - - - - - - + + +
      • + + +
      • + + + .maybe_container(value, &formatter) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .prepare_for_diff(from, to) ⇒ Object - - - - - - - - - - - - - + + +
      • + + +
      • + + + .prepare_for_diff(from, to) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - - - -

        - Instance Method Summary - collapse -

        - - + +

        + Instance Method Summary + collapse +

        + + - - - - - - - - - - - -

        Methods included from Util::BacktraceFilter

        -

        filter_backtrace

        -
        -

        Constructor Details

        - -
        -

        - - #initialize(user_message, template_string, parameters) ⇒ AssertionMessage - - - - - -

        -
        -

        Returns a new instance of AssertionMessage.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + + + + + + + + + + +

        Methods included from Util::BacktraceFilter

        +

        filter_backtrace

        +
        +

        Constructor Details

        + +
        +

        + + #initialize(user_message, template_string, parameters) ⇒ AssertionMessage + + + + + +

        +
        +

        Returns a new instance of AssertionMessage

        + + +
        +
        +
        + + +
        + + - + - -
         
         
        @@ -621,87 +621,87 @@ 

        2070 2071 2072 -2073

        -
        +2073 +
        # File 'lib/test/unit/assertions.rb', line 2069
         
         def initialize(head, template_string, parameters)
           @head = head
           @template_string = template_string
           @parameters = parameters
        -end
        -
        -
        - -
        - -
        -

        Class Attribute Details

        - - - -
        -

        - - .use_ppObject - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Class Attribute Details

        + + + +
        +

        + + .use_ppObject + + + + + +

        +

        Returns the value of attribute use_pp

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         1697
         1698
        -1699
        -
        +1699 +
        # File 'lib/test/unit/assertions.rb', line 1697
         
         def use_pp
           @use_pp
        -end
        -
        - - - - - -
        -

        Class Method Details

        - - -
        -

        - - .convert(object) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        Class Method Details

        + + +
        +

        + + .convert(object) ⇒ Object + + + + + +

        + + - + - -
         
         
        @@ -722,9 +722,9 @@ 

        1799 1800 1801 -1802

        -
        +1802 +
        # File 'lib/test/unit/assertions.rb', line 1785
         
         def convert(object)
        @@ -744,24 +744,24 @@ 

        end end inspector.inspect -end

        -
        -
        - -
        -

        - - .delayed_diff(from, to) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .delayed_diff(from, to) ⇒ Object + + + + + +

        + + - + - -
         
         
        @@ -786,9 +786,9 @@ 

        1780 1781 1782 -1783

        -
        +1783 +
        # File 'lib/test/unit/assertions.rb', line 1762
         
         def delayed_diff(from, to)
        @@ -812,77 +812,77 @@ 

        diff end -end

        -
        -
        - -
        -

        - - .delayed_literal(&block) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .delayed_literal(&block) ⇒ Object + + + + + +

        + + - + - -
         
         
         1703
         1704
        -1705
        -
        +1705 +
        # File 'lib/test/unit/assertions.rb', line 1703
         
         def delayed_literal(&block)
           DelayedLiteral.new(block)
        -end
        -
        -
        - -
        -

        - - .diff_target_string?(string) ⇒ Boolean - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + .diff_target_string?(string) ⇒ Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
        @@ -892,9 +892,9 @@ 

        1734 1735 1736 -1737

        -
        +1737 +
        # File 'lib/test/unit/assertions.rb', line 1731
         
         def diff_target_string?(string)
        @@ -903,24 +903,24 @@ 

        else string.size < max_diff_target_string_size end -end

        -
        -
        - -
        -

        - - .ensure_diffable_string(string) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .ensure_diffable_string(string) ⇒ Object + + + + + +

        + + - + - -
         
         
        @@ -930,9 +930,9 @@ 

        1742 1743 1744 -1745

        -
        +1745 +
        # File 'lib/test/unit/assertions.rb', line 1739
         
         def ensure_diffable_string(string)
        @@ -941,54 +941,54 @@ 

        string = string.dup.force_encoding("ASCII-8BIT") end string -end

        -
        -
        - -
        -

        - - .literal(value) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .literal(value) ⇒ Object + + + + + +

        + + - + - -
         
         
         1699
         1700
        -1701
        -
        +1701 +
        # File 'lib/test/unit/assertions.rb', line 1699
         
         def literal(value)
           Literal.new(value)
        -end
        -
        -
        - -
        -

        - - .max_diff_target_string_sizeObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .max_diff_target_string_sizeObject + + + + + +

        + + - + - -
         
         
        @@ -1004,9 +1004,9 @@ 

        1721 1722 1723 -1724

        -
        +1724 +
        # File 'lib/test/unit/assertions.rb', line 1712
         
         def max_diff_target_string_size
        @@ -1021,84 +1021,84 @@ 

        end end size || MAX_DIFF_TARGET_STRING_SIZE -end

        -
        -
        - -
        -

        - - .max_diff_target_string_size=(size) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .max_diff_target_string_size=(size) ⇒ Object + + + + + +

        + + - + - -
         
         
         1727
         1728
        -1729
        -
        +1729 +
        # File 'lib/test/unit/assertions.rb', line 1727
         
         def max_diff_target_string_size=(size)
           @@max_diff_target_string_size = size
        -end
        -
        -
        - -
        -

        - - .maybe_container(value, &formatter) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .maybe_container(value, &formatter) ⇒ Object + + + + + +

        + + - + - -
         
         
         1707
         1708
        -1709
        -
        +1709 +
        # File 'lib/test/unit/assertions.rb', line 1707
         
         def maybe_container(value, &formatter)
           MaybeContainer.new(value, &formatter)
        -end
        -
        -
        - -
        -

        - - .prepare_for_diff(from, to) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .prepare_for_diff(from, to) ⇒ Object + + + + + +

        + + - + - -
         
         
        @@ -1115,9 +1115,9 @@ 

        1757 1758 1759 -1760

        -
        +1760 +
        # File 'lib/test/unit/assertions.rb', line 1747
         
         def prepare_for_diff(from, to)
        @@ -1133,90 +1133,90 @@ 

        else [nil, nil] end -end

        -
        -
        - -
        - -
        -

        Instance Method Details

        - - -
        -

        - - #convert(object) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        + +
        +

        Instance Method Details

        + + +
        +

        + + #convert(object) ⇒ Object + + + + + +

        + + - + - -
         
         
         2075
         2076
        -2077
        -
        +2077 +
        # File 'lib/test/unit/assertions.rb', line 2075
         
         def convert(object)
           self.class.convert(object)
        -end
        -
        -
        - -
        -

        - - #templateObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #templateObject + + + + + +

        + + - + - -
         
         
         2079
         2080
        -2081
        -
        +2081 +
        # File 'lib/test/unit/assertions.rb', line 2079
         
         def template
           @template ||= Template.create(@template_string)
        -end
        -
        -
        - -
        -

        - - #to_sObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #to_sObject + + + + + +

        + + - + - -
         
         
        @@ -1233,9 +1233,9 @@ 

        2097 2098 2099 -2100

        -
        +2100 +
        # File 'lib/test/unit/assertions.rb', line 2087
         
         def to_s
        @@ -1251,24 +1251,24 @@ 

        tail = template.result(@parameters.collect{|e| convert(e)}) message_parts << tail unless(tail.empty?) message_parts.join("\n") -end

        -
        -
        - -
        -

        - - #user_messageObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #user_messageObject + + + + + +

        + + - + - -
         
         
        @@ -1277,9 +1277,9 @@ 

        2093 2094 2095 -2096

        -
        +2096 +
        # File 'lib/test/unit/assertions.rb', line 2091
         
         def user_message
        @@ -1287,22 +1287,22 @@ 

        message = @user_message message = message.call if message.respond_to?(:call) message.to_s -end

        -
        -
        - -
        - - - - - +end +
        +
        + +
        + + + + + @@ -1338,6 +1338,6 @@

        - - + + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/ArrayInspector.html b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/ArrayInspector.html index da80e796..82129fc1 100644 --- a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/ArrayInspector.html +++ b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/ArrayInspector.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::Assertions::AssertionMessage::ArrayInspector - - — test-unit - + <title> + Class: Test::Unit::Assertions::AssertionMessage::ArrayInspector + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Assertions::AssertionMessage::ArrayInspector - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::ArrayInspector + + — test-unit + - test-unit @@ -62,267 +62,267 @@
        - - - -

        Class: Test::Unit::Assertions::AssertionMessage::ArrayInspector - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/assertions.rb,
        - lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb
        -
        -
        - -
        - - - - - - - - - -

        - Class Method Summary - collapse -

        - -
          - -
        • - - - .target?(object) ⇒ Boolean - - - - - - - - - - - - - + + + +

          Class: Test::Unit::Assertions::AssertionMessage::ArrayInspector + + + +

          +
          + +
          +
          Inherits:
          +
          + Object + +
            +
          • Object
          • + + + +
          + show all + +
          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/assertions.rb,
          + lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb
          +
          +
          + +
          + + + + + + + + + +

          + Class Method Summary + collapse +

          + + - -

          - Instance Method Summary - collapse -

          - -
          + +
        • + + +
        + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #initialize(array, inspected_objects) ⇒ ArrayInspector + + + + + + + constructor + + + + + + + +

        A new instance of ArrayInspector.

        -
        - -
      • - - -
      • - - - #inspect ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #inspect ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #pretty_print(q) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #pretty_print(q) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #pretty_print_cycle(q) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #pretty_print_cycle(q) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - - - - -
        -

        Constructor Details

        - -
        -

        - - #initialize(array, inspected_objects) ⇒ ArrayInspector - - - - - -

        -
        -

        Returns a new instance of ArrayInspector.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initialize(array, inspected_objects) ⇒ ArrayInspector + + + + + +

        +
        +

        Returns a new instance of ArrayInspector

        + + +
        +
        +
        + + +
        + + - + - -
         
         
        @@ -331,9 +331,9 @@ 

        1960 1961 1962 -1963

        -
        +1963 +
        # File 'lib/test/unit/assertions.rb', line 1958
         
         def initialize(array, inspected_objects)
        @@ -341,150 +341,150 @@ 

        @array = array.collect do |element| Inspector.cached_new(element, @inspected_objects) end -end

        -
        -
        - -
        - - -
        -

        Class Method Details

        - +end +
        +
        + +
        + + +
        +

        Class Method Details

        + + +
        +

        + + .target?(object) ⇒ Boolean + + + + + +

        +
        -
        -

        - - .target?(object) ⇒ Boolean - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         1953
         1954
        -1955
        -
        +1955 +
        # File 'lib/test/unit/assertions.rb', line 1953
         
         def target?(object)
           object.is_a?(Array)
        -end
        -
        - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #each(&block) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        + +
        +

        Instance Method Details

        + + +
        +

        + + #each(&block) ⇒ Object + + + + + +

        + + - + - -
         
         
         1981
         1982
        -1983
        -
        +1983 +
        # File 'lib/test/unit/assertions.rb', line 1981
         
         def each(&block)
           @array.each(&block)
        -end
        -
        -
        - -
        -

        - - #inspectObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #inspectObject + + + + + +

        + + - + - -
         
         
         1965
         1966
        -1967
        -
        +1967 +
        # File 'lib/test/unit/assertions.rb', line 1965
         
         def inspect
           @array.inspect
        -end
        -
        -
        - -
        -

        - - #pretty_print(q) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #pretty_print(q) ⇒ Object + + + + + +

        + + - + - -
         
         
        @@ -494,9 +494,9 @@ 

        1972 1973 1974 -1975

        -
        +1975 +
        # File 'lib/test/unit/assertions.rb', line 1969
         
         def pretty_print(q)
        @@ -505,52 +505,52 @@ 

        q.pp(v) end end -end

        -
        -
        - -
        -

        - - #pretty_print_cycle(q) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #pretty_print_cycle(q) ⇒ Object + + + + + +

        + + - + - -
         
         
         1977
         1978
        -1979
        -
        +1979 +
        # File 'lib/test/unit/assertions.rb', line 1977
         
         def pretty_print_cycle(q)
           @array.pretty_print_cycle(q)
        -end
        -
        -
        - -
        - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -586,6 +586,6 @@

        -
        - + + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/DelayedLiteral.html b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/DelayedLiteral.html index a6e61fad..90d9d520 100644 --- a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/DelayedLiteral.html +++ b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/DelayedLiteral.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::Assertions::AssertionMessage::DelayedLiteral - - — test-unit - + <title> + Class: Test::Unit::Assertions::AssertionMessage::DelayedLiteral + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Assertions::AssertionMessage::DelayedLiteral - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::DelayedLiteral + + — test-unit + - test-unit @@ -62,231 +62,231 @@
        - - - -

        Class: Test::Unit::Assertions::AssertionMessage::DelayedLiteral - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/assertions.rb,
        - lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb
        -
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
          - -
        • - - - #initialize(value) ⇒ DelayedLiteral - - - - - - - constructor - - - - - - - - + + + +

          Class: Test::Unit::Assertions::AssertionMessage::DelayedLiteral + + + +

          +
          + +
          +
          Inherits:
          +
          + Object + +
            +
          • Object
          • + + + +
          + show all + +
          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/assertions.rb,
          + lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb
          +
          +
          + +
          + + + + + + + + + +

          + Instance Method Summary + collapse +

          + +
          + +
        • + + +
        • + + + #inspect ⇒ Object + + + + + + + + + + + + +
          -
          - -
        • - - -
        - - -
        -

        Constructor Details

        - -
        -

        - - #initialize(value) ⇒ DelayedLiteral - - - - - -

        -
        -

        Returns a new instance of DelayedLiteral.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initialize(value) ⇒ DelayedLiteral + + + + + +

        +
        +

        Returns a new instance of DelayedLiteral

        + + +
        +
        +
        + + +
        + + - + - -
         
         
         1997
         1998
        -1999
        -
        +1999 +
        # File 'lib/test/unit/assertions.rb', line 1997
         
         def initialize(value)
           @value = value
        -end
        -
        -
        - -
        - - -
        -

        Instance Method Details

        - - -
        -

        - - #inspectObject - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #inspectObject + + + + + +

        + + - + - -
         
         
         2001
         2002
        -2003
        -
        +2003 +
        # File 'lib/test/unit/assertions.rb', line 2001
         
         def inspect
           @value.call.to_s
        -end
        -
        -
        - -
        - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -322,6 +322,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/HashInspector.html b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/HashInspector.html index 9d72d3be..5d8f8f32 100644 --- a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/HashInspector.html +++ b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/HashInspector.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::Assertions::AssertionMessage::HashInspector - - — test-unit - + <title> + Class: Test::Unit::Assertions::AssertionMessage::HashInspector + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Assertions::AssertionMessage::HashInspector - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::HashInspector + + — test-unit + - test-unit @@ -62,267 +62,267 @@
        - - - -

        Class: Test::Unit::Assertions::AssertionMessage::HashInspector - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/assertions.rb,
        - lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb
        -
        -
        - -
        - - - - - - - - - -

        - Class Method Summary - collapse -

        - -
          - -
        • - - - .target?(object) ⇒ Boolean - - - - - - - - - - - - - + + + +

          Class: Test::Unit::Assertions::AssertionMessage::HashInspector + + + +

          +
          + +
          +
          Inherits:
          +
          + Object + +
            +
          • Object
          • + + + +
          + show all + +
          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/assertions.rb,
          + lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb
          +
          +
          + +
          + + + + + + + + + +

          + Class Method Summary + collapse +

          + + - -

          - Instance Method Summary - collapse -

          - -
          + +
        • + + +
        + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #initialize(hash, inspected_objects) ⇒ HashInspector + + + + + + + constructor + + + + + + + +

        A new instance of HashInspector.

        -
        - -
      • - - -
      • - - - #inspect ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #inspect ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #pretty_print(q) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #pretty_print(q) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #pretty_print_cycle(q) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #pretty_print_cycle(q) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - - - - -
        -

        Constructor Details

        - -
        -

        - - #initialize(hash, inspected_objects) ⇒ HashInspector - - - - - -

        -
        -

        Returns a new instance of HashInspector.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initialize(hash, inspected_objects) ⇒ HashInspector + + + + + +

        +
        +

        Returns a new instance of HashInspector

        + + +
        +
        +
        + + +
        + + - + - -
         
         
        @@ -334,9 +334,9 @@ 

        1909 1910 1911 -1912

        -
        +1912 +
        # File 'lib/test/unit/assertions.rb', line 1904
         
         def initialize(hash, inspected_objects)
        @@ -347,90 +347,90 @@ 

        value = Inspector.cached_new(value, @inspected_objects) @hash[key] = value end -end

        -
        -
        - -
        - - -
        -

        Class Method Details

        - +end +
        +
        + +
        + + +
        +

        Class Method Details

        + + +
        +

        + + .target?(object) ⇒ Boolean + + + + + +

        +
        -
        -

        - - .target?(object) ⇒ Boolean - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         1899
         1900
        -1901
        -
        +1901 +
        # File 'lib/test/unit/assertions.rb', line 1899
         
         def target?(object)
           object.is_a?(Hash) or ENV.equal?(object)
        -end
        -
        - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #each_pairObject - - - - - -

        - - + +
        +end +
        +
        + +
        + +
        +

        Instance Method Details

        + + +
        +

        + + #each_pairObject + + + + + +

        + + - + - -
         
         
        @@ -443,9 +443,9 @@ 

        1943 1944 1945 -1946

        -
        +1946 +
        # File 'lib/test/unit/assertions.rb', line 1937
         
         def each_pair
        @@ -457,54 +457,54 @@ 

        keys.each do |key| yield(key, @hash[key]) end -end

        -
        -
        - -
        -

        - - #inspectObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #inspectObject + + + + + +

        + + - + - -
         
         
         1914
         1915
        -1916
        -
        +1916 +
        # File 'lib/test/unit/assertions.rb', line 1914
         
         def inspect
           @hash.inspect
        -end
        -
        -
        - -
        -

        - - #pretty_print(q) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #pretty_print(q) ⇒ Object + + + + + +

        + + - + - -
         
         
        @@ -521,9 +521,9 @@ 

        1928 1929 1930 -1931

        -
        +1931 +
        # File 'lib/test/unit/assertions.rb', line 1918
         
         def pretty_print(q)
        @@ -539,52 +539,52 @@ 

        end end end -end

        -
        -
        - -
        -

        - - #pretty_print_cycle(q) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #pretty_print_cycle(q) ⇒ Object + + + + + +

        + + - + - -
         
         
         1933
         1934
        -1935
        -
        +1935 +
        # File 'lib/test/unit/assertions.rb', line 1933
         
         def pretty_print_cycle(q)
           @hash.pretty_print_cycle(q)
        -end
        -
        -
        - -
        - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -620,6 +620,6 @@

        -
        - + + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/Inspector.html b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/Inspector.html index 958e4014..f7a24a1f 100644 --- a/test-unit/ja/Test/Unit/Assertions/AssertionMessage/Inspector.html +++ b/test-unit/ja/Test/Unit/Assertions/AssertionMessage/Inspector.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::Assertions::AssertionMessage::Inspector - - — test-unit - + <title> + Class: Test::Unit::Assertions::AssertionMessage::Inspector + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Assertions::AssertionMessage::Inspector - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::Inspector + + — test-unit + - test-unit @@ -62,414 +62,414 @@
        - - - -

        Class: Test::Unit::Assertions::AssertionMessage::Inspector - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        Comparable
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/assertions.rb,
        - lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb
        -
        -
        - -
        - - - -

        - Constant Summary - collapse -

        - -
        - -
        @@inspector_classes = - -
        -
        []
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
          - -
        • - - - #object ⇒ Object - - - - - - - - - readonly - - - - - - - - - + + + +

          Class: Test::Unit::Assertions::AssertionMessage::Inspector + + + +

          +
          + +
          +
          Inherits:
          +
          + Object + +
            +
          • Object
          • + + + +
          + show all + +
          +
          + + + + + + +
          +
          Includes:
          +
          Comparable
          +
          + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/assertions.rb,
          + lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb
          +
          +
          + +
          + + + +

          + Constant Summary + collapse +

          + +
          + +
          @@inspector_classes = + +
          +
          []
          + +
          + + + + + +

          Instance Attribute Summary collapse

          +
            + +
          • + + + #object ⇒ Object + + + + + + + + + readonly + + + + + + + + +

            Returns the value of attribute object.

            -
            - -
          • - - -
          - - - - - -

          - Class Method Summary - collapse -

          - -
          + +
        • + + +
        + + + + + +

        + Class Method Summary + collapse +

        + +
        + + + + +
      • + + + .inspector_classes ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .register_inspector_class(inspector_class) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .register_inspector_class(inspector_class) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .unregister_inspector_class(inspector_class) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .unregister_inspector_class(inspector_class) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #initialize(object, inspected_objects = {}) ⇒ Inspector + + + + + + + constructor + + + + + + + +

        A new instance of Inspector.

        -
        - -
      • - - -
      • - - - #inspect ⇒ Object - - - - - - - - - - - - - + + +
      • + + +
      • + + + #inspect ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #native_inspect ⇒ Object - - - - - - - - - - - - - + + +
      • + + +
      • + + + #native_inspect ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #pretty_print(q) ⇒ Object - - - - - - - - - - - - - + + +
      • + + +
      • + + + #pretty_print(q) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #pretty_print_cycle(q) ⇒ Object - - - - - - - - - - - - - + + +
      • + + +
      • + + + #pretty_print_cycle(q) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - - - - - -
        -

        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

        - - - -
        -

        - - #objectObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #objectObject (readonly) + + + + + +

        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        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_classesObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .inspector_classesObject + + + + + +

        + + - + - -
         
         
         1815
         1816
        -1817
        -
        +1817 +
        # File 'lib/test/unit/assertions.rb', line 1815
         
         def inspector_classes
           @@inspector_classes
        -end
        -
        -
        - -
        -

        - - .register_inspector_class(inspector_class) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        - - + +
        +end +
        +
        + +
        + +
        +

        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

        -
        -
        - -
        -

        - - #inspectObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #inspectObject + + + + + +

        + + - + - -
         
         
         1837
         1838
        -1839
        -
        +1839 +
        # File 'lib/test/unit/assertions.rb', line 1837
         
         def inspect
           @inspect_target.inspect
        -end
        -
        -
        - -
        -

        - - #native_inspectObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #native_inspectObject + + + + + +

        + + - + - -
         
         
         1836
         1837
        -1838
        -
        +1838 +
        # File 'lib/test/unit/assertions.rb', line 1836
         
         def inspect
           @inspect_target.inspect
        -end
        -
        -
        - -
        -

        - - #pretty_print(q) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - + <title> + Class: Test::Unit::Assertions::AssertionMessage::Literal + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Assertions::AssertionMessage::Literal - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::Literal + + — test-unit + - test-unit @@ -62,231 +62,231 @@
        - - - -

        Class: Test::Unit::Assertions::AssertionMessage::Literal - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/assertions.rb,
        - lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb
        -
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
          - -
        • - - - #initialize(value) ⇒ Literal - - - - - - - constructor - - - - - - - - + + + +

          Class: Test::Unit::Assertions::AssertionMessage::Literal + + + +

          +
          + +
          +
          Inherits:
          +
          + Object + +
            +
          • Object
          • + + + +
          + show all + +
          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/assertions.rb,
          + lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb
          +
          +
          + +
          + + + + + + + + + +

          + Instance Method Summary + collapse +

          + +
          + +
        • + + +
        • + + + #inspect ⇒ Object + + + + + + + + + + + + +
          -
          - -
        • - - -
        - - -
        -

        Constructor Details

        - -
        -

        - - #initialize(value) ⇒ Literal - - - - - -

        -
        -

        Returns a new instance of Literal.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initialize(value) ⇒ Literal + + + + + +

        +
        +

        Returns a new instance of Literal

        + + +
        +
        +
        + + +
        + + - + - -
         
         
         1987
         1988
        -1989
        -
        +1989 +
        # File 'lib/test/unit/assertions.rb', line 1987
         
         def initialize(value)
           @value = value
        -end
        -
        -
        - -
        - - -
        -

        Instance Method Details

        - - -
        -

        - - #inspectObject - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #inspectObject + + + + + +

        + + - + - -
         
         
         1991
         1992
        -1993
        -
        +1993 +
        # File 'lib/test/unit/assertions.rb', line 1991
         
         def inspect
           @value.to_s
        -end
        -
        -
        - -
        - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -322,6 +322,6 @@

        -
        - +
        + \ 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 - + <title> + Class: Test::Unit::Assertions::AssertionMessage::MaybeContainer + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Assertions::AssertionMessage::MaybeContainer - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::MaybeContainer + + — test-unit + - test-unit @@ -62,205 +62,205 @@
        - - - -

        Class: Test::Unit::Assertions::AssertionMessage::MaybeContainer - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/assertions.rb,
        - lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb
        -
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - - - - -
        -

        Constructor Details

        - -
        -

        - - #initialize(value, &formatter) ⇒ MaybeContainer - - - - - -

        -
        -

        Returns a new instance of MaybeContainer.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initialize(value, &formatter) ⇒ MaybeContainer + + + + + +

        +
        +

        Returns a new instance of MaybeContainer

        + + +
        +
        +
        + + +
        + + - + - -
         
         
         2007
         2008
         2009
        -2010
        -
        +2010 +
        # File 'lib/test/unit/assertions.rb', line 2007
         
         def initialize(value, &formatter)
           @value = value
           @formatter = formatter
        -end
        -
        -
        - -
        - - -
        -

        Instance Method Details

        - - -
        -

        - - #inspectObject - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #inspectObject + + + + + +

        + + - + - -
         
         
        @@ -273,9 +273,9 @@ 

        2018 2019 2020 -2021

        -
        +2021 +
        # File 'lib/test/unit/assertions.rb', line 2012
         
         def inspect
        @@ -287,22 +287,22 @@ 

        else @formatter.call(AssertionMessage.convert(@value)) end -end

        -
        -
        - -
        - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -338,6 +338,6 @@

        -
        - +
        + \ 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 - + <title> + Class: Test::Unit::Assertions::AssertionMessage::NumericInspector + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Assertions::AssertionMessage::NumericInspector - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::NumericInspector + + — test-unit + - test-unit @@ -62,430 +62,430 @@
        - - - -

        Class: Test::Unit::Assertions::AssertionMessage::NumericInspector - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/assertions.rb,
        - lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb
        -
        -
        - -
        - - - - - - - - - -

        - Class Method Summary - collapse -

        - - + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #inspect ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #pretty_print(q) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #pretty_print(q) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #pretty_print_cycle(q) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #pretty_print_cycle(q) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - - - - -
        -

        Constructor Details

        - -
        -

        - - #initialize(numeric, inspected_objects) ⇒ NumericInspector - - - - - -

        -
        -

        Returns a new instance of NumericInspector.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initialize(numeric, inspected_objects) ⇒ NumericInspector + + + + + +

        +
        +

        Returns a new instance of NumericInspector

        + + +
        +
        +
        + + +
        + + - + - -
         
         
         1877
         1878
         1879
        -1880
        -
        +1880 +
        # File 'lib/test/unit/assertions.rb', line 1877
         
         def initialize(numeric, inspected_objects)
           @inspected_objects = inspected_objects
           @numeric = numeric
        -end
        -
        -
        - -
        - - -
        -

        Class Method Details

        - - -
        -

        - - .target?(object) ⇒ Boolean - - - - - -

        -
        +end +
        +
        + +
        + + +
        +

        Class Method Details

        + + +
        +

        + + .target?(object) ⇒ Boolean + + + + + +

        +
        - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         1872
         1873
        -1874
        -
        +1874 +
        # File 'lib/test/unit/assertions.rb', line 1872
         
         def target?(object)
           object.is_a?(Numeric)
        -end
        -
        - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #inspectObject - - - - - -

        - - + +
        +end +
        +
        + +
        + +
        +

        Instance Method Details

        + + +
        +

        + + #inspectObject + + + + + +

        + + - + - -
         
         
         1882
         1883
        -1884
        -
        +1884 +
        # File 'lib/test/unit/assertions.rb', line 1882
         
         def inspect
           @numeric.to_s
        -end
        -
        -
        - -
        -

        - - #pretty_print(q) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #pretty_print(q) ⇒ Object + + + + + +

        + + - + - -
         
         
         1886
         1887
        -1888
        -
        +1888 +
        # File 'lib/test/unit/assertions.rb', line 1886
         
         def pretty_print(q)
           q.text(@numeric.to_s)
        -end
        -
        -
        - -
        -

        - - #pretty_print_cycle(q) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #pretty_print_cycle(q) ⇒ Object + + + + + +

        + + - + - -
         
         
         1890
         1891
        -1892
        -
        +1892 +
        # File 'lib/test/unit/assertions.rb', line 1890
         
         def pretty_print_cycle(q)
           q.text(@numeric.to_s)
        -end
        -
        -
        - -
        - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -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 - + <title> + Class: Test::Unit::Assertions::AssertionMessage::Template + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Assertions::AssertionMessage::Template - - — test-unit - + + Class: Test::Unit::Assertions::AssertionMessage::Template + + — test-unit + - test-unit @@ -62,355 +62,355 @@
        - - - -

        Class: Test::Unit::Assertions::AssertionMessage::Template - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/assertions.rb,
        - lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb,
        lib/test/unit/assertions.rb
        -
        -
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
          - -
        • - - - #count ⇒ Object - - - - - - - - - readonly - - - - - - - - - + + + +

          Class: Test::Unit::Assertions::AssertionMessage::Template + + + +

          +
          + +
          +
          Inherits:
          +
          + Object + +
            +
          • Object
          • + + + +
          + show all + +
          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/assertions.rb,
          + lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb,
          lib/test/unit/assertions.rb
          +
          +
          + +
          + + + + + +

          Instance Attribute Summary collapse

          +
            + +
          • + + + #count ⇒ Object + + + + + + + + + readonly + + + + + + + + +

            Returns the value of attribute count.

            -
            - -
          • - - -
          - - - - - -

          - Class Method Summary - collapse -

          - -
          + +
        • + + +
        + + + + + +

        + Class Method Summary + collapse +

        + + - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #result(parameters) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - - - - -
        -

        Constructor Details

        - -
        -

        - - #initialize(parts) ⇒ Template - - - - - -

        -
        -

        Returns a new instance of Template.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initialize(parts) ⇒ Template + + + + + +

        +
        +

        Returns a new instance of Template

        + + +
        +
        +
        + + +
        + + - + - -
         
         
         2032
         2033
         2034
        -2035
        -
        +2035 +
        # File 'lib/test/unit/assertions.rb', line 2032
         
         def initialize(parts)
           @parts = parts
           @count = parts.find_all{|e| e == '?'}.size
        -end
        -
        -
        - -
        - -
        -

        Instance Attribute Details

        - - - -
        -

        - - #countObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #countObject (readonly) + + + + + +

        +

        Returns the value of attribute count

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         2030
         2031
        -2032
        -
        +2032 +
        # File 'lib/test/unit/assertions.rb', line 2030
         
         def count
           @count
        -end
        -
        - - - - - -
        -

        Class Method Details

        - - -
        -

        - - .create(string) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        Class Method Details

        + + +
        +

        + + .create(string) ⇒ Object + + + + + +

        + + - + - -
         
         
         2025
         2026
         2027
        -2028
        -
        +2028 +
        # File 'lib/test/unit/assertions.rb', line 2025
         
         def self.create(string)
           parts = (string ? string.scan(/(?=[^\\])\?|(?:\\\?|[^\?])+/m) : [])
           self.new(parts)
        -end
        -
        -
        - -
        - -
        -

        Instance Method Details

        - - -
        -

        - - #result(parameters) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        + +
        +

        Instance Method Details

        + + +
        +

        + + #result(parameters) ⇒ Object + + + + + +

        + + - + - -
         
         
        @@ -432,9 +432,9 @@ 

        2052 2053 2054 -2055

        -
        +2055 +
        # File 'lib/test/unit/assertions.rb', line 2037
         
         def result(parameters)
        @@ -455,22 +455,22 @@ 

        end end expanded_template -end

        -
        -
        - -
        - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -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 - + <title> + Module: Test::Unit::Attribute + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Attribute - - — test-unit - + + Module: Test::Unit::Attribute + + — test-unit + - test-unit @@ -62,214 +62,214 @@
        - - - -

        Module: Test::Unit::Attribute - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestCase
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/attribute.rb
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - Modules: BaseClassMethods, ClassMethods - - - - Classes: StringifyKeyHash - - -

        - - - - - - - - -

        - Instance Method Summary - collapse -

        - - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #[](name) ⇒ Object - - - - - -

        - - + +
        + + + + + + + + + + +
        +

        Instance Method Details

        + + +
        +

        + + #[](name) ⇒ Object + + + + + +

        + + - + - -
         
         
         217
         218
        -219
        -
        +219 +
        # File 'lib/test/unit/attribute.rb', line 217
         
         def [](name)
           self.class.find_attribute(@method_name, name)
        -end
        -
        -
        - -
        -

        - - #attributesObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #attributesObject + + + + + +

        + + - + - -
         
         
         213
         214
        -215
        -
        +215 +
        # File 'lib/test/unit/attribute.rb', line 213
         
         def attributes
           self.class.attributes(@method_name) || StringifyKeyHash.new
        -end
        -
        -
        - -
        - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -305,6 +305,6 @@

        -
        - +
        + \ 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 - + <title> + Module: Test::Unit::Attribute::BaseClassMethods + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Attribute::BaseClassMethods - - — test-unit - + + Module: Test::Unit::Attribute::BaseClassMethods + + — test-unit + - test-unit @@ -62,144 +62,144 @@
        - - - -

        Module: Test::Unit::Attribute::BaseClassMethods - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/attribute.rb
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
          - -
        • - - - #attributes_table ⇒ Object - - - - - - - - - - - - - + + + +

          Module: Test::Unit::Attribute::BaseClassMethods + + + +

          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/attribute.rb
          +
          + +
          + + + + + + + + + +

          + Instance Method Summary + collapse +

          + + - - - - -
          -

          Instance Method Details

          - - -
          -

          - - #attributes_tableObject - - - - - -

          - - + +
          + + + + + + + + + + +
          +

          Instance Method Details

          + + +
          +

          + + #attributes_tableObject + + + + + +

          + + - + - -
           
           
           32
           33
          -34
          -
          +34 +
          # File 'lib/test/unit/attribute.rb', line 32
           
           def attributes_table
             {}
          -end
          -
          -
          - -
          - - - - - +end +
          +
          + +
          + +
          + + +
        @@ -235,6 +235,6 @@

        -
        - +
        + \ 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 - + <title> + Module: Test::Unit::Attribute::ClassMethods + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Attribute::ClassMethods - - — test-unit - + + Module: Test::Unit::Attribute::ClassMethods + + — test-unit + - test-unit @@ -62,433 +62,433 @@
        - - - -

        Module: Test::Unit::Attribute::ClassMethods - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/attribute.rb
        -
        - -
        - - - -

        - Constant Summary - collapse -

        - -
        - -
        @@attribute_observers = - -
        -
        StringifyKeyHash.new
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + +
      • + + + #attributes(method_name) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #attributes_table ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #attributes_table ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #current_attribute(name) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #current_attribute(name) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #current_attributes ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #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.

        - - -
        -
        -
        - -

        Overloads:

        -
          - - -
        • - #attribute(name, value) ⇒ void -
          -
          + + +
          +
          +
          + +

          Overloads:

          +
            + + +
          • + #attribute(name, value) ⇒ void +
            +

            This method returns an undefined value.

            - - -
            -
            -
            - -
            -

            Examples:

            - - + + +
            +
            +
            + +
            +

            Examples:

            + +
            attribute :speed, :slow
             def test_my_slow_method
               self[:speed] # => :slow
            -end
            - -
            -

            Parameters:

            -
              - -
            • - - name - - - (Object) - - - - — +end + +
            +

            Parameters:

            +
              + +
            • + + name + + + (Object) + + + + —

              the attribute name

              -
              - -
            • - -
            • - - value - - - (Object) - - - - — +
          + +
        • + +
        • + + value + + + (Object) + + + + —

          the attribute value

          -
          - -
        • - -
        - - -
        - - - -
      • - #attribute(name, value, *method_names) ⇒ void -
        -
        +
        + +
      • + + + + +
        + + + +
      • + #attribute(name, value, *method_names) ⇒ void +
        +

        This method returns an undefined value.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        def test_my_slow_method1
           self[:speed] # => :slow
         end
        @@ -497,79 +497,79 @@ 

        def test_my_slow_method2 self[:speed] # => :slow -end

        - -
        -

        Parameters:

        -
          - -
        • - - name - - - (Object) - - - - — +end + +
        +

        Parameters:

        +
          + +
        • + + name + + + (Object) + + + + —

          the attribute name

          -
          - -
        • - -
        • - - value - - - (Object) - - - - — +
      • + + + +
      • + + value + + + (Object) + + + + —

        the attribute value

        -
        - -
      • - -
      • - - 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.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        attribute :speed, :slow, keep: true
         def test_my_slow_method1
           self[:speed] # => :slow
        @@ -577,89 +577,89 @@ 

        def test_my_slow_method2 self[:speed] # => :slow -end

        - -
        -

        Parameters:

        -
          - -
        • - - name - - - (Object) - - - - — +end + +
        +

        Parameters:

        +
          + +
        • + + name + + + (Object) + + + + —

          the attribute name

          -
          - -
        • - -
        • - - value - - - (Object) - - - - — + + +
        • + +
        • + + value + + + (Object) + + + + —

          the attribute value

          -
          - -
        • - -
        - - - - - - - - -

        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.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +
        def test_my_slow_method1
           self[:speed] # => :slow
         end
        @@ -669,84 +669,84 @@ 

        def test_my_slow_method2 self[:speed] # => nil -end

        - -
        -

        Parameters:

        -
          - -
        • - - name - - - (Object) - - - - — +end + +
        +

        Parameters:

        +
          + +
        • + + name + + + (Object) + + + + —

          the attribute name

          -
          - -
        • - -
        • - - value - - - (Object) - - - - — + + +
        • + +
        • + + value + + + (Object) + + + + —

          the attribute value

          -
          - -
        • - -
        • - - options - - - (Hash) - - - - — + + +
        • + +
        • + + options + + + (Hash) + + + + —

          ignored

          -
          - -
        • - -
        • - - 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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 @@ 

        end end attributes || StringifyKeyHash.new -end

        -
        -
        - -
        -

        - - #attributes_tableObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #attributes_tableObject + + + + + +

        + + - + - -
         
         
         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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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_attributesObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #current_attributesObject + + + + + +

        + + - + - -
         
         
         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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - + <title> + Class: Test::Unit::Attribute::StringifyKeyHash + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Attribute::StringifyKeyHash - - — test-unit - + + Class: Test::Unit::Attribute::StringifyKeyHash + + — test-unit + - test-unit @@ -62,360 +62,360 @@
        - - - -

        Class: Test::Unit::Attribute::StringifyKeyHash - - - -

        -
        - -
        -
        Inherits:
        -
        - Hash - -
          -
        • Object
        • - - - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/attribute.rb
        -
        - -
        - - - - - - - - - -

        - Class Method Summary - collapse -

        - - + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #[]=(key, value) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #key?(key) ⇒ Boolean - - - - - - - - - - - - - +
      • + + + + +
      • + + + #key?(key) ⇒ Boolean + + + + + + + + + + + + +
        -
        - -
      • - - - - - - - - -
        -

        Class Method Details

        - - -
        -

        - - .stringify(object) ⇒ Object - - - - - -

        - - + +
        + + + + + + + + + + + +
        +

        Class Method Details

        + + +
        +

        + + .stringify(object) ⇒ Object + + + + + +

        + + - + - -
         
         
         6
         7
        -8
        -
        +8 +
        # File 'lib/test/unit/attribute.rb', line 6
         
         def stringify(object)
           object.to_s
        -end
        -
        -
        - -
        - -
        -

        Instance Method Details

        - - -
        -

        - - #[](key) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        + +
        +

        Instance Method Details

        + + +
        +

        + + #[](key) ⇒ Object + + + + + +

        + + - + - -
         
         
         15
         16
        -17
        -
        +17 +
        # File 'lib/test/unit/attribute.rb', line 15
         
         def [](key)
           super(self.class.stringify(key))
        -end
        -
        -
        - -
        -

        - - #[]=(key, value) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #[]=(key, value) ⇒ Object + + + + + +

        + + - + - -
         
         
         19
         20
        -21
        -
        +21 +
        # File 'lib/test/unit/attribute.rb', line 19
         
         def []=(key, value)
           super(self.class.stringify(key), value)
        -end
        -
        -
        +end +
        +
        + +
        +

        + + #key?(key) ⇒ Boolean + + + + + +

        +
        -
        -

        - - #key?(key) ⇒ Boolean - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         11
         12
        -13
        -
        +13 +
        # File 'lib/test/unit/attribute.rb', line 11
         
         def key?(key)
           super(self.class.stringify(key))
        -end
        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -451,6 +451,6 @@

        -
        - +
        + \ 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 - + <title> + Class: Test::Unit::AttributeMatcher + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::AttributeMatcher - - — test-unit - + + Class: Test::Unit::AttributeMatcher + + — test-unit + - test-unit @@ -62,225 +62,225 @@
        - - - -

        Class: Test::Unit::AttributeMatcher - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/attribute-matcher.rb
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + +
      • + + + #method_missing(name, *args) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - - - - -
        -

        Constructor Details

        - -
        -

        - - #initialize(test) ⇒ AttributeMatcher - - - - - -

        -
        -

        Returns a new instance of AttributeMatcher.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initialize(test) ⇒ AttributeMatcher + + + + + +

        +
        +

        Returns a new instance of AttributeMatcher

        + + +
        +
        +
        + + +
        + + - + - -
         
         
         4
         5
        -6
        -
        +6 +
        # File 'lib/test/unit/attribute-matcher.rb', line 4
         
         def initialize(test)
           @test = test
        -end
        -
        -
        - -
        -
        -

        Dynamic Method Handling

        -

        - This class handles dynamic methods through the method_missing method - -

        - -
        -

        - - #method_missing(name, *args) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +
        +

        Dynamic Method Handling

        +

        + This class handles dynamic methods through the method_missing method + +

        + +
        +

        + + #method_missing(name, *args) ⇒ Object + + + + + +

        + + - + - -
         
         
        @@ -290,9 +290,9 @@ 

        20 21 22 -23

        -
        +23 +
        # File 'lib/test/unit/attribute-matcher.rb', line 17
         
         def method_missing(name, *args)
        @@ -301,54 +301,54 @@ 

        else super end -end

        -
        -
        - -
        - - -
        -

        Instance Method Details

        - +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #match?(expression) ⇒ Boolean + + + + + +

        +
        -
        -

        - - #match?(expression) ⇒ Boolean - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
        @@ -359,9 +359,9 @@ 

        12 13 14 -15

        -
        +15 +
        # File 'lib/test/unit/attribute-matcher.rb', line 8
         
         def match?(expression)
        @@ -371,22 +371,22 @@ 

        else matched end -end

        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -422,6 +422,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/AutoRunner.html b/test-unit/ja/Test/Unit/AutoRunner.html index 7a3e40be..c498332e 100644 --- a/test-unit/ja/Test/Unit/AutoRunner.html +++ b/test-unit/ja/Test/Unit/AutoRunner.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::AutoRunner - - — test-unit - + <title> + Class: Test::Unit::AutoRunner + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::AutoRunner - - — test-unit - + + Class: Test::Unit::AutoRunner + + — test-unit + - test-unit @@ -62,1123 +62,1123 @@
        - - - -

        Class: Test::Unit::AutoRunner - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/autorunner.rb
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - - - Classes: StopOnFailureListener - - -

        - - -

        - Constant Summary - collapse -

        - -
        - -
        RUNNERS = - -
        -
        {}
        - -
        COLLECTORS = - -
        -
        {}
        - -
        ADDITIONAL_OPTIONS = - -
        -
        []
        - -
        PREPARE_HOOKS = - -
        -
        []
        - -
        @@default_runner = - -
        -
        nil
        - -
        @@need_auto_run = - -
        -
        true
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
          - -
        • - - - #base ⇒ Object - - - - - - - - - - - - - - - - + + + +

          Class: Test::Unit::AutoRunner + + + +

          +
          + +
          +
          Inherits:
          +
          + Object + +
            +
          • Object
          • + + + +
          + show all + +
          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/autorunner.rb
          +
          + +
          + +

          Defined Under Namespace

          +

          + + + + + Classes: StopOnFailureListener + + +

          + + +

          + Constant Summary + collapse +

          + +
          + +
          RUNNERS = + +
          +
          {}
          + +
          COLLECTORS = + +
          +
          {}
          + +
          ADDITIONAL_OPTIONS = + +
          +
          []
          + +
          PREPARE_HOOKS = + +
          +
          []
          + +
          @@default_runner = + +
          +
          nil
          + +
          @@need_auto_run = + +
          +
          true
          + +
          + + + + + +

          Instance Attribute Summary collapse

          +
          + +
        • + + +
        • + + + #collector ⇒ Object + + + + + + + + + + writeonly + + + + + + + +

          Sets the attribute collector.

          -
          - -
        • - - -
        • - - - #color_scheme ⇒ Object - - - - - - - - - - - - - - - - +
        + + + + +
      • + + + #color_scheme ⇒ Object + + + + + + + + + + + + + + + +

        Returns the value of attribute color_scheme.

        -
        - -
      • - - -
      • - - - #debug_on_failure ⇒ Object - - - - - - - - - - writeonly - - - - - - - - +
      • + + + + +
      • + + + #debug_on_failure ⇒ Object + + + + + + + + + + writeonly + + + + + + + +

        Sets the attribute debug_on_failure.

        -
        - -
      • - - -
      • - - - #default_test_paths ⇒ Object - - - - - - - - - - - - - - - - +
      • + + + + +
      • + + + #default_test_paths ⇒ Object + + + + + + + + + + + + + + + +

        Returns the value of attribute default_test_paths.

        -
        - -
      • - - -
      • - - - #exclude ⇒ Object - - - - - - - - - - - - - - - - +
      • + + + + +
      • + + + #exclude ⇒ Object + + + + + + + + + + + + + + + +

        Returns the value of attribute exclude.

        -
        - -
      • - - -
      • - - - #filters ⇒ Object - - - - - - - - - - - - - - - - +
      • + + + + +
      • + + + #filters ⇒ Object + + + + + + + + + + + + + + + +

        Returns the value of attribute filters.

        -
        - -
      • - - -
      • - - - #listeners ⇒ Object - - - - - - - - - - - - - - - - +
      • + + + + +
      • + + + #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 +

        + + - -

        - Instance Method Summary - collapse -

        - - + +

        + Instance Method Summary + collapse +

        + + - - -
        -

        Constructor Details

        - -
        -

        - - #initialize(standalone) {|_self| ... } ⇒ AutoRunner - - - - - -

        -
        -

        Returns a new instance of AutoRunner.

        - - -
        -
        -
        - -

        Yields:

        -
          - -
        • - - - (_self) - - - -
        • - -
        -

        Yield Parameters:

        -
        + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initialize(standalone) {|_self| ... } ⇒ AutoRunner + + + + + +

        +
        +

        Returns a new instance of AutoRunner

        + + +
        +
        +
        + +

        Yields:

        +
          + +
        • + + + (_self) + + + +
        • + +
        +

        Yield Parameters:

        + - -
        - - + +
        + + + + + + + + + - + - -
         
         
        @@ -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

        - - - -
        -

        - - #baseObject - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #baseObject + + + + + +

        +

        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 (writeonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #collector=(value) ⇒ Object (writeonly) + + + + + +

        +

        Sets the attribute collector

        - - -
        -
        -
        -

        Parameters:

        -
          - -
        • - - value - - - - - - - — + + +
        +
        +
        +

        Parameters:

        +
          + +
        • + + value + + + + + + + —

          the value to set the attribute collector to.

          -
          - -
        • - -
        - - -
        - - + +
        + + + + + + + + + + - + - -
         
         
         143
         144
        -145
        -
        +145 +
        # File 'lib/test/unit/autorunner.rb', line 143
         
         def collector=(value)
           @collector = value
        -end
        -
        - - - - -
        -

        - - #color_schemeObject - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #color_schemeObject + + + + + +

        +

        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 (writeonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #debug_on_failure=(value) ⇒ Object (writeonly) + + + + + +

        +

        Sets the attribute debug_on_failure

        - - -
        -
        -
        -

        Parameters:

        -
          - -
        • - - value - - - - - - - — + + +
        +
        +
        +

        Parameters:

        +
          + +
        • + + value + + + + + + + —

          the value to set the attribute debug_on_failure to.

          -
          - -
        • - -
        - - -
        - - + +
        + + + + + + + + + + - + - -
         
         
         147
         148
        -149
        -
        +149 +
        # File 'lib/test/unit/autorunner.rb', line 147
         
         def debug_on_failure=(value)
           @debug_on_failure = value
        -end
        -
        - - - - -
        -

        - - #default_test_pathsObject - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #default_test_pathsObject + + + + + +

        +

        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
        -
        - - - - -
        -

        - - #excludeObject - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #excludeObject + + + + + +

        +

        Returns the value of attribute exclude

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         140
         141
        -142
        -
        +142 +
        # File 'lib/test/unit/autorunner.rb', line 140
         
         def exclude
           @exclude
        -end
        -
        - - - - -
        -

        - - #filtersObject - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #filtersObject + + + + + +

        +

        Returns the value of attribute filters

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         138
         139
        -140
        -
        +140 +
        # File 'lib/test/unit/autorunner.rb', line 138
         
         def filters
           @filters
        -end
        -
        - - - - -
        -

        - - #listenersObject - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #listenersObject + + + + + +

        +

        Returns the value of attribute listeners

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         141
         142
        -143
        -
        +143 +
        # File 'lib/test/unit/autorunner.rb', line 141
         
         def listeners
           @listeners
        -end
        -
        - - - - -
        -

        - - #patternObject - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #patternObject + + + + + +

        +

        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 (writeonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #runner=(value) ⇒ Object (writeonly) + + + + + +

        +

        Sets the attribute runner

        - - -
        -
        -
        -

        Parameters:

        -
          - -
        • - - value - - - - - - - — + + +
        +
        +
        +

        Parameters:

        +
          + +
        • + + value + + + + + + + —

          the value to set the attribute runner to.

          -
          - -
        • - -
        - - -
        - - + +
        + + + + + + + + + + - + - -
         
         
         143
         144
        -145
        -
        +145 +
        # File 'lib/test/unit/autorunner.rb', line 143
         
         def runner=(value)
           @runner = value
        -end
        -
        - - - - -
        -

        - - #runner_optionsObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #runner_optionsObject (readonly) + + + + + +

        +

        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 (writeonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #stop_on_failure=(value) ⇒ Object (writeonly) + + + + + +

        +

        Sets the attribute stop_on_failure

        - - -
        -
        -
        -

        Parameters:

        -
          - -
        • - - value - - - - - - - — + + +
        +
        +
        +

        Parameters:

        + - - -
        - - + +
        + + + + + + + + + + - + - -
         
         
         142
         143
        -144
        -
        +144 +
        # File 'lib/test/unit/autorunner.rb', line 142
         
         def stop_on_failure=(value)
           @stop_on_failure = value
        -end
        -
        - - - - -
        -

        - - #suiteObject (readonly) - - - - - -

        -
        +end +
        + + + + +
        +

        + + #suiteObject (readonly) + + + + + +

        +

        Returns the value of attribute suite

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         137
         138
        -139
        -
        +139 +
        # File 'lib/test/unit/autorunner.rb', line 137
         
         def suite
           @suite
        -end
        -
        - - - - -
        -

        - - #to_runObject - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #to_runObject + + + + + +

        +

        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
        -
        - - - - -
        -

        - - #workdirObject - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #workdirObject + + + + + +

        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        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_runnerObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .default_runnerObject + + + + + +

        + + - + - -
         
         
         28
         29
        -30
        -
        +30 +
        # File 'lib/test/unit/autorunner.rb', line 28
         
         def default_runner
           runner(@@default_runner)
        -end
        -
        -
        - -
        -

        - - .default_runner=(id) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + .need_auto_run?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + .standalone?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        + +
        +

        Instance Method Details

        + + +
        +

        + + #debug_on_failure?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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

        -
        -
        - -
        -

        - - #optionsObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #optionsObject + + + + + +

        + + - + - -
         
         
        @@ -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

        -
        -
        - -
        -

        - - #prepareObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #prepareObject + + + + + +

        + + - + - -
         
         
        @@ -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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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

        -
        -
        - -
        -

        - - #runObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #runObject + + + + + +

        + + - + - -
         
         
        @@ -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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + #stop_on_failure?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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 - + <title> + Class: Test::Unit::AutoRunner::StopOnFailureListener + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::AutoRunner::StopOnFailureListener - - — test-unit - + + Class: Test::Unit::AutoRunner::StopOnFailureListener + + — test-unit + - test-unit @@ -62,134 +62,134 @@
        - - - -

        Class: Test::Unit::AutoRunner::StopOnFailureListener - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/autorunner.rb,
        - lib/test/unit/autorunner.rb,
        lib/test/unit/autorunner.rb,
        lib/test/unit/autorunner.rb
        -
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
          - -
        • - - - #attach_to_mediator(mediator) ⇒ Object - - - - - - - - - - - - - + + + +

          Class: Test::Unit::AutoRunner::StopOnFailureListener + + + +

          +
          + +
          +
          Inherits:
          +
          + Object + +
            +
          • Object
          • + + + +
          + show all + +
          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/autorunner.rb,
          + lib/test/unit/autorunner.rb,
          lib/test/unit/autorunner.rb,
          lib/test/unit/autorunner.rb
          +
          +
          + +
          + + + + + + + + + +

          + Instance Method Summary + collapse +

          + + - - - - -
          -

          Instance Method Details

          - - -
          -

          - - #attach_to_mediator(mediator) ⇒ Object - - - - - -

          - - + +
          + + + + + + + + + + +
          +

          Instance Method Details

          + + +
          +

          + + #attach_to_mediator(mediator) ⇒ Object + + + + + +

          + + - + - -
           
           
          @@ -197,31 +197,31 @@ 

          522 523 524 -525

          -
          +525 +
          # File 'lib/test/unit/autorunner.rb', line 521
           
           def attach_to_mediator(mediator)
             mediator.add_listener(TestResult::FINISHED) do |result|
               result.stop unless result.passed?
             end
          -end
          -
          -
          - -
          - - - - - +end +
          +
          + +
          + +
          + + +
        @@ -257,6 +257,6 @@

        -
        - +
        + \ 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 - + <title> + Module: Test::Unit::AutoRunnerLoader + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::AutoRunnerLoader - - — test-unit - + + Module: Test::Unit::AutoRunnerLoader + + — test-unit + - test-unit @@ -62,116 +62,116 @@
        - - - -

        Module: Test::Unit::AutoRunnerLoader - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/auto-runner-loader.rb
        -
        - -
        - - - - - - - - - -

        - Class Method Summary - collapse -

        - -
          - -
        • - - - .check(test_case, method_name) ⇒ Object - - - - - - - - - - - - - + + + +

          Module: Test::Unit::AutoRunnerLoader + + + +

          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/auto-runner-loader.rb
          +
          + +
          + + + + + + + + + +

          + Class Method Summary + collapse +

          + + - - - - -
          -

          Class Method Details

          - - -
          -

          - - .check(test_case, method_name) ⇒ Object - - - - - -

          - - + +
          + + + + + + + + + + +
          +

          Class Method Details

          + + +
          +

          + + .check(test_case, method_name) ⇒ Object + + + + + +

          + + - + - -
           
           
          @@ -180,9 +180,9 @@ 

          10 11 12 -13

          -
          +13 +
          # File 'lib/test/unit/auto-runner-loader.rb', line 8
           
           def check(test_case, method_name)
          @@ -190,22 +190,22 @@ 

          return unless TestSuiteCreator.test_method?(test_case, method_name) require "test/unit" @loaded = true -end

          -
          -
          - -
          - - - - - +end +
          +
          + +
          + +
          + + +
        @@ -241,6 +241,6 @@

        -
        - +
        + \ 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 - + <title> + Class: Test::Unit::CodeSnippetFetcher + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::CodeSnippetFetcher - - — test-unit - + + Class: Test::Unit::CodeSnippetFetcher + + — test-unit + - test-unit @@ -62,224 +62,224 @@
        - - - -

        Class: Test::Unit::CodeSnippetFetcher - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/code-snippet-fetcher.rb
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + +
      • + + + #source(path) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - - - - -
        -

        Constructor Details

        - -
        -

        - - #initializeCodeSnippetFetcher - - - - - -

        -
        -

        Returns a new instance of CodeSnippetFetcher.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initializeCodeSnippetFetcher + + + + + +

        +
        +

        Returns a new instance of CodeSnippetFetcher

        + + +
        +
        +
        + + +
        + + - + - -
         
         
         4
         5
        -6
        -
        +6 +
        # File 'lib/test/unit/code-snippet-fetcher.rb', line 4
         
         def initialize
           @sources = {}
        -end
        -
        -
        - -
        - - -
        -

        Instance Method Details

        - - -
        -

        - - #fetch(path, line, options = {}) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #fetch(path, line, options = {}) ⇒ Object + + + + + +

        + + - + - -
         
         
        @@ -294,9 +294,9 @@ 

        16 17 18 -19

        -
        +19 +
        # File 'lib/test/unit/code-snippet-fetcher.rb', line 8
         
         def fetch(path, line, options={})
        @@ -310,52 +310,52 @@ 

        attributes = {:target_line? => (n == line)} [n, lines[n - 1].chomp, attributes] end -end

        -
        -
        - -
        -

        - - #source(path) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #source(path) ⇒ Object + + + + + +

        + + - + - -
         
         
         21
         22
        -23
        -
        +23 +
        # File 'lib/test/unit/code-snippet-fetcher.rb', line 21
         
         def source(path)
           @sources[path] ||= read_source(path)
        -end
        -
        -
        - -
        - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -391,6 +391,6 @@

        -
        - +
        + \ 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 - + <title> + Module: Test::Unit::Collector + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Collector - - — test-unit - + + Module: Test::Unit::Collector + + — test-unit + - test-unit @@ -62,248 +62,248 @@
        - - - -

        Module: Test::Unit::Collector - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        Descendant, Dir, Load, ObjectSpace, XML
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/collector.rb,
        - lib/test/unit/collector/dir.rb,
        lib/test/unit/collector/xml.rb,
        lib/test/unit/collector/load.rb,
        lib/test/unit/collector/descendant.rb,
        lib/test/unit/collector/objectspace.rb,
        lib/test/unit/collector/objectspace.rb,
        lib/test/unit/collector/xml.rb
        -
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - - - Classes: Descendant, Dir, Load, ObjectSpace, XML - - -

        - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + +
      • + + + #filter=(filters) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #include?(test) ⇒ Boolean - - - - - - - - - - - - - +
      • + + + + +
      • + + + #include?(test) ⇒ Boolean + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #initialize ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #initialize ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #sort(suites) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (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

        -
        - - -
        -

        - - #initializeObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #initializeObject + + + + + +

        + + - + - -
         
         
         4
         5
        -6
        -
        +6 +
        # File 'lib/test/unit/collector.rb', line 4
         
         def initialize
           @filters = []
        -end
        -
        -
        - -
        -

        - - #sort(suites) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - + <title> + Class: Test::Unit::Collector::Descendant + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Collector::Descendant - - — test-unit - + + Class: Test::Unit::Collector::Descendant + + — test-unit + - test-unit @@ -62,164 +62,164 @@
        - - - -

        Class: Test::Unit::Collector::Descendant - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        Test::Unit::Collector
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/collector/descendant.rb
        -
        - -
        - - - -

        - Constant Summary - collapse -

        - -
        - -
        NAME = - -
        -
        'collected from the subclasses of TestCase'
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        @@ -287,6 +287,6 @@

        -
        - +
        + \ 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 - + <title> + Class: Test::Unit::Collector::Dir + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Collector::Dir - - — test-unit - + + Class: Test::Unit::Collector::Dir + + — test-unit + - test-unit @@ -62,359 +62,359 @@
        - - - -

        Class: Test::Unit::Collector::Dir - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        Test::Unit::Collector
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/collector/dir.rb
        -
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
        + + + + +
      • + + + #pattern ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute pattern.

        -
        - -
      • - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #collect_file(name, suites, already_gathered) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #find_test_cases(ignore = []) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #find_test_cases(ignore = []) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #initialize(dir = ::Dir, file = ::File, object_space = ::ObjectSpace, req = nil) ⇒ Dir - - - - - - - constructor - - - - - - - - +
      • + + + + +
      • + + + #initialize(dir = ::Dir, file = ::File, object_space = ::ObjectSpace, req = nil) ⇒ Dir + + + + + + + constructor + + + + + + + +

        A new instance of Dir.

        -
        - -
      • - - -
      • - - - #realdir(path) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #realdir(path) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #recursive_collect(name, already_gathered) ⇒ Object - - - - - - - - - - - - - + + +
      • + + +
      • + + + #recursive_collect(name, already_gathered) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - - - - - - - - - - - - - -

        Methods included from Test::Unit::Collector

        -

        #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.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + + + + + + + + + + +

        Methods included from Test::Unit::Collector

        +

        #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

        - - - -
        -

        - - #baseObject - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #baseObject + + + + + +

        +

        Returns the value of attribute base

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         11
         12
        -13
        -
        +13 +
        # File 'lib/test/unit/collector/dir.rb', line 11
         
         def base
           @base
        -end
        -
        - - - - -
        -

        - - #excludeObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #excludeObject (readonly) + + + + + +

        +

        Returns the value of attribute exclude

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         10
         11
        -12
        -
        +12 +
        # File 'lib/test/unit/collector/dir.rb', line 10
         
         def exclude
           @exclude
        -end
        -
        - - - - -
        -

        - - #patternObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #patternObject (readonly) + + + + + +

        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - + <title> + Class: Test::Unit::Collector::Load + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Collector::Load - - — test-unit - + + Class: Test::Unit::Collector::Load + + — test-unit + - test-unit @@ -62,316 +62,316 @@
        - - - -

        Class: Test::Unit::Collector::Load - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        Test::Unit::Collector
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/collector/load.rb
        -
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
        + + + + +
      • + + + #excludes ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute excludes.

        -
        - -
      • - - -
      • - - - #patterns ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
      • + + + + +
      • + + + #patterns ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute patterns.

        -
        - -
      • - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #find_test_cases(ignore = []) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #initialize ⇒ Load - - - - - - - constructor - - - - - - - - +
      • + + + + +
      • + + + #initialize ⇒ Load + + + + + + + constructor + + + + + + + +

        A new instance of Load.

        -
        - -
      • - - - - - - - - - - - - - - -

        Methods included from Test::Unit::Collector

        -

        #add_suite, #add_test_cases, #filter=, #include?, #sort

        -
        -

        Constructor Details

        - -
        -

        - - #initializeLoad - - - - - -

        -
        -

        Returns a new instance of Load.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + + + + + + + + + + +

        Methods included from Test::Unit::Collector

        +

        #add_suite, #add_test_cases, #filter=, #include?, #sort

        +
        +

        Constructor Details

        + +
        +

        + + #initializeLoad + + + + + +

        +
        +

        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

        - - - -
        -

        - - #baseObject - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #baseObject + + + + + +

        +

        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_pathsObject - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #default_test_pathsObject + + + + + +

        +

        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
        -
        - - - - -
        -

        - - #excludesObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #excludesObject (readonly) + + + + + +

        +

        Returns the value of attribute excludes

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         12
         13
        -14
        -
        +14 +
        # File 'lib/test/unit/collector/load.rb', line 12
         
         def excludes
           @excludes
        -end
        -
        - - - - -
        -

        - - #patternsObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #patternsObject (readonly) + + + + + +

        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - + <title> + Class: Test::Unit::Collector::ObjectSpace + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Collector::ObjectSpace - - — test-unit - + + Class: Test::Unit::Collector::ObjectSpace + + — test-unit + - test-unit @@ -62,237 +62,237 @@
        - - - -

        Class: Test::Unit::Collector::ObjectSpace - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        Test::Unit::Collector
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/collector/objectspace.rb,
        - lib/test/unit/collector/objectspace.rb
        -
        -
        - -
        - - - -

        - Constant Summary - collapse -

        - -
        - -
        NAME = - -
        -
        'collected from the ObjectSpace'
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - - - - - - - - - - - - - -

        Methods included from Test::Unit::Collector

        -

        #add_suite, #add_test_cases, #filter=, #include?, #sort

        -
        -

        Constructor Details

        - -
        -

        - - #initialize(source = ::ObjectSpace) ⇒ ObjectSpace - - - - - -

        -
        -

        Returns a new instance of ObjectSpace.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + + + + + + + + + + +

        Methods included from Test::Unit::Collector

        +

        #add_suite, #add_test_cases, #filter=, #include?, #sort

        +
        +

        Constructor Details

        + +
        +

        + + #initialize(source = ::ObjectSpace) ⇒ ObjectSpace + + + + + +

        +
        +

        Returns a new instance of ObjectSpace

        + + +
        +
        +
        + + +
        + + - + - -
         
         
         11
         12
         13
        -14
        -
        +14 +
        # File 'lib/test/unit/collector/objectspace.rb', line 11
         
         def initialize(source=::ObjectSpace)
           super()
           @source = source
        -end
        -
        -
        - -
        - - -
        -

        Instance Method Details

        - - -
        -

        - - #collect(name = NAME) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #collect(name = NAME) ⇒ Object + + + + + +

        + + - + - -
         
         
        @@ -306,9 +306,9 @@ 

        23 24 25 -26

        -
        +26 +
        # File 'lib/test/unit/collector/objectspace.rb', line 16
         
         def collect(name=NAME)
        @@ -321,22 +321,22 @@ 

        end sort(sub_suites).each{|s| suite << s} suite -end

        -
        -
        - -
        - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -372,6 +372,6 @@

        -
        - +
        + \ 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 - + <title> + Class: Test::Unit::Collector::XML + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Collector::XML - - — test-unit - + + Class: Test::Unit::Collector::XML + + — test-unit + - test-unit @@ -62,160 +62,160 @@
        - - - -

        Class: Test::Unit::Collector::XML - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        Test::Unit::Collector
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/collector/xml.rb,
        - lib/test/unit/collector/xml.rb
        -
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - - - Classes: Listener - - -

        - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        @@ -295,6 +295,6 @@

        -
        - +
        + \ 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 - + <title> + Class: Test::Unit::Collector::XML::Listener + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Collector::XML::Listener - - — test-unit - + + Class: Test::Unit::Collector::XML::Listener + + — test-unit + - test-unit @@ -62,251 +62,251 @@
        - - - -

        Class: Test::Unit::Collector::XML::Listener - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        REXML::StreamListener
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/collector/xml.rb,
        - lib/test/unit/collector/xml.rb
        -
        -
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
          - -
        • - - - #test_suites ⇒ Object - - - - - - - - - readonly - - - - - - - - - + + + +

          Class: Test::Unit::Collector::XML::Listener + + + +

          +
          + +
          +
          Inherits:
          +
          + Object + +
            +
          • Object
          • + + + +
          + show all + +
          +
          + + + + + + +
          +
          Includes:
          +
          REXML::StreamListener
          +
          + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/collector/xml.rb,
          + lib/test/unit/collector/xml.rb
          +
          +
          + +
          + + + + + +

          Instance Attribute Summary collapse

          +
            + +
          • + + + #test_suites ⇒ Object + + + + + + + + + readonly + + + + + + + + +

            Returns the value of attribute test_suites.

            -
            - -
          • - - -
          - - - - - -

          - Instance Method Summary - collapse -

          - -
          + +
        • + + +
        + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #tag_end(name) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #tag_start(name, attributes) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #tag_start(name, attributes) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #text(data) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #text(data) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - - - - - -
        -

        Constructor Details

        - -
        -

        - - #initializeListener - - - - - -

        -
        -

        Returns a new instance of Listener.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initializeListener + + + + + +

        +
        +

        Returns a new instance of Listener

        + + +
        +
        +
        + + +
        + + - + - -
         
         
        @@ -317,9 +317,9 @@ 

        32 33 34 -35

        -
        +35 +
        # File 'lib/test/unit/collector/xml.rb', line 28
         
         def initialize
        @@ -329,78 +329,78 @@ 

        @state_stack = [:root] @values = {} @test_suites = [] -end

        -
        -
        - -
        - -
        -

        Instance Attribute Details

        - - - -
        -

        - - #test_suitesObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #test_suitesObject (readonly) + + + + + +

        +

        Returns the value of attribute test_suites

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         27
         28
        -29
        -
        +29 +
        # File 'lib/test/unit/collector/xml.rb', line 27
         
         def test_suites
           @test_suites
        -end
        -
        - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #tag_end(name) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #tag_end(name) ⇒ Object + + + + + +

        + + - + - -
         
         
        @@ -438,9 +438,9 @@ 

        101 102 103 -104

        -
        +104 +
        # File 'lib/test/unit/collector/xml.rb', line 70
         
         def tag_end(name)
        @@ -477,24 +477,24 @@ 

        @values[local] = text end @ns_stack.pop -end

        -
        -
        - -
        -

        - - #tag_start(name, attributes) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #tag_start(name, attributes) ⇒ Object + + + + + +

        + + - + - -
         
         
        @@ -529,9 +529,9 @@ 

        65 66 67 -68

        -
        +68 +
        # File 'lib/test/unit/collector/xml.rb', line 37
         
         def tag_start(name, attributes)
        @@ -565,52 +565,52 @@ 

        @backtrace = [] @values_backup = @values end -end

        -
        -
        - -
        -

        - - #text(data) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #text(data) ⇒ Object + + + + + +

        + + - + - -
         
         
         106
         107
        -108
        -
        +108 +
        # File 'lib/test/unit/collector/xml.rb', line 106
         
         def text(data)
           @text_stack.last << data
        -end
        -
        -
        - -
        - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -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 - + <title> + Class: Test::Unit::Color + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Color - - — test-unit - + + Class: Test::Unit::Color + + — test-unit + - test-unit @@ -62,463 +62,463 @@
        - - - -

        Class: Test::Unit::Color - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/color.rb
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - - - Classes: Error, ParseError - - -

        - - -

        - Constant Summary - collapse -

        - -
        - -
        NAMES = - -
        + + + +

        Class: Test::Unit::Color + + + +

        +
        + +
        +
        Inherits:
        +
        + Object + +
          +
        • Object
        • + + + +
        + show all + +
        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/color.rb
        +
        + +
        + +

        Defined Under Namespace

        +

        + + + + + Classes: Error, ParseError + + +

        + + +

        + Constant Summary + collapse +

        + +
        + +
        NAMES = + +
        ["black", "red", "green", "yellow",
        -"blue", "magenta", "cyan", "white"]
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
          - -
        • - - - #name ⇒ Object - - - - - - - - - readonly - - - - - - - - - +"blue", "magenta", "cyan", "white"] + +
        + + + + + +

        Instance Attribute Summary collapse

        +
          + +
        • + + + #name ⇒ Object + + + + + + + + + readonly + + + + + + + + +

          Returns the value of attribute name.

          -
          - -
        • - - -
        - - - - - -

        - Class Method Summary - collapse -

        - -
        + + + + + + + + + + +

        + Class Method Summary + collapse +

        + + - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #==(other) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #background? ⇒ Boolean - - - - - - - - - - - - - +
      • + + + + +
      • + + + #background? ⇒ Boolean + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #bold? ⇒ Boolean - - - - - - - - - - - - - +
      • + + + + +
      • + + + #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

        - - - -
        -

        - - #nameObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #nameObject (readonly) + + + + + +

        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        + +
        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #==(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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + #background?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         49
         50
        -51
        -
        +51 +
        # File 'lib/test/unit/color.rb', line 49
         
         def background?
           @background
        -end
        -
        -
        - -
        -

        - - #bold?Boolean - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + #bold?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         57
         58
        -59
        -
        +59 +
        # File 'lib/test/unit/color.rb', line 57
         
         def bold?
           @bold
        -end
        -
        -
        - -
        -

        - - #escape_sequenceObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #escape_sequenceObject + + + + + +

        + + - + - -
         
         
         100
         101
        -102
        -
        +102 +
        # File 'lib/test/unit/color.rb', line 100
         
         def escape_sequence
           "\e[#{sequence.join(';')}m"
        -end
        -
        -
        - -
        -

        - - #foreground?Boolean - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + #foreground?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         45
         46
        -47
        -
        +47 +
        # File 'lib/test/unit/color.rb', line 45
         
         def foreground?
           not background?
        -end
        -
        -
        - -
        -

        - - #intensity?Boolean - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + #intensity?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         53
         54
        -55
        -
        +55 +
        # File 'lib/test/unit/color.rb', line 53
         
         def intensity?
           @intensity
        -end
        -
        -
        - -
        -

        - - #italic?Boolean - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + #italic?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         61
         62
        -63
        -
        +63 +
        # File 'lib/test/unit/color.rb', line 61
         
         def italic?
           @italic
        -end
        -
        -
        - -
        -

        - - #sequenceObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #sequenceObject + + + + + +

        + + - + - -
         
         
        @@ -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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + #underline?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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 - + <title> + Exception: Test::Unit::Color::Error + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Exception: Test::Unit::Color::Error - - — test-unit - + + Exception: Test::Unit::Color::Error + + — test-unit + - test-unit @@ -62,97 +62,97 @@
        - - - -

        Exception: Test::Unit::Color::Error - - - -

        -
        - -
        -
        Inherits:
        -
        - StandardError - -
          -
        • Object
        • - - - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/color.rb
        -
        - -
        - -
        -

        Direct Known Subclasses

        -

        ParseError

        -
        - - - - - - - - - - -
        - - - + + + +

        Exception: Test::Unit::Color::Error + + + +

        +
        + +
        +
        Inherits:
        +
        + StandardError + +
          +
        • Object
        • + + + + + +
        + show all + +
        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/color.rb
        +
        + +
        + +
        +

        Direct Known Subclasses

        +

        ParseError

        +
        + + + + + + + + + + +
        + + +
        @@ -188,6 +188,6 @@

        Direct Known Subclasses

        -
        - +
        + \ 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 - + <title> + Exception: Test::Unit::Color::ParseError + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Exception: Test::Unit::Color::ParseError - - — test-unit - + + Exception: Test::Unit::Color::ParseError + + — test-unit + - test-unit @@ -62,101 +62,101 @@
        - - - -

        Exception: Test::Unit::Color::ParseError - - - -

        -
        - -
        -
        Inherits:
        -
        - Error - -
          -
        • Object
        • - - - - - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/color.rb
        -
        - -
        - - - - - - - - - - - - - - - - - -
        - - - + + + +

        Exception: Test::Unit::Color::ParseError + + + +

        +
        + +
        +
        Inherits:
        +
        + Error + +
          +
        • Object
        • + + + + + + + +
        + show all + +
        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/color.rb
        +
        + +
        + + + + + + + + + + + + + + + + + +
        + + +
        @@ -192,6 +192,6 @@
        -
        - +
        + \ 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 - + <title> + Class: Test::Unit::ColorScheme + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::ColorScheme - - — test-unit - + + Class: Test::Unit::ColorScheme + + — test-unit + - test-unit @@ -62,90 +62,90 @@
        - - - -

        Class: Test::Unit::ColorScheme - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        Enumerable
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/color-scheme.rb
        -
        - -
        - - - -

        - Constant Summary - collapse -

        - -
        - -
        TERM_256 = - -
        + + + +

        Class: Test::Unit::ColorScheme + + + +

        +
        + +
        +
        Inherits:
        +
        + Object + +
          +
        • Object
        • + + + +
        + show all + +
        +
        + + + + + + +
        +
        Includes:
        +
        Enumerable
        +
        + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/color-scheme.rb
        +
        + +
        + + + +

        + Constant Summary + collapse +

        + +
        + +
        TERM_256 = + +
        /
         [+-]256color|
         \A(?:
        @@ -160,356 +160,356 @@ 

        terminology(?:-[0-9.]+)?| termite| vscode -)\z/x

        - -
        @@default_for_8_colors = - -
        -
        nil
        - -
        @@default_for_256_colors = - -
        -
        nil
        - -
        @@schemes = - -
        -
        {}
        - -
        - - - - - - - - - -

        - Class Method Summary - collapse -

        - -
          - -
        • - - - .[](id) ⇒ Object - - - - - - - - - - - - - +)\z/x + +
          @@default_for_8_colors = + +
          +
          nil
          + +
          @@default_for_256_colors = + +
          +
          nil
          + +
          @@schemes = + +
          +
          {}
          + +
        + + + + + + + + + +

        + Class Method Summary + collapse +

        + +
        + + + + +
      • + + + .[]=(id, scheme_or_spec) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .all ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .all ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .available_colors ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .available_colors ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .default ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .default ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .default_for_256_colors ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .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 - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .[]=(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

        -
        -
        - -
        -

        - - .allObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .allObject + + + + + +

        + + - + - -
         
         
         92
         93
        -94
        -
        +94 +
        # File 'lib/test/unit/color-scheme.rb', line 92
         
         def all
           @@schemes.merge("default" => default)
        -end
        -
        -
        - -
        -

        - - .available_colorsObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .available_colorsObject + + + + + +

        + + - + - -
         
         
        @@ -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

        -
        -
        - -
        -

        - - .defaultObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .defaultObject + + + + + +

        + + - + - -
         
         
        @@ -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_colorsObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .default_for_256_colorsObject + + + + + +

        + + - + - -
         
         
        @@ -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_colorsObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .default_for_8_colorsObject + + + + + +

        + + - + - -
         
         
        @@ -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 - - - - - -

        - - + +
        +end +
        +
        + +
        + +
        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #[]=(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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #each(&block) ⇒ Object + + + + + +

        + + - + - -
         
         
         166
         167
        -168
        -
        +168 +
        # File 'lib/test/unit/color-scheme.rb', line 166
         
         def each(&block)
           @scheme.each(&block)
        -end
        -
        -
        - -
        -

        - - #to_hashObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #to_hashObject + + + + + +

        + + - + - -
         
         
        @@ -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 - + <title> + Module: Test::Unit::Data + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Data - - — test-unit - + + Module: Test::Unit::Data + + — test-unit + - test-unit @@ -62,91 +62,91 @@
        - - - -

        Module: Test::Unit::Data - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestCase
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/data.rb,
        - lib/test/unit/data.rb
        -
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - Modules: ClassMethods - - - - -

        - - - - - - - - - -
        - - - + + + +

        Module: Test::Unit::Data + + + +

        +
        + + + + + + + + + +
        +
        Included in:
        +
        TestCase
        +
        + + + +
        +
        Defined in:
        +
        lib/test/unit/data.rb,
        + lib/test/unit/data.rb
        +
        +
        + +
        + +

        Defined Under Namespace

        +

        + + + Modules: ClassMethods + + + + +

        + + + + + + + + + +
        + + +
        @@ -182,6 +182,6 @@

        Defined Under Namespace

        -
        - +
        + \ 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 - + <title> + Module: Test::Unit::Data::ClassMethods + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Data::ClassMethods - - — test-unit - + + Module: Test::Unit::Data::ClassMethods + + — test-unit + - test-unit @@ -62,300 +62,300 @@
        - - - -

        Module: Test::Unit::Data::ClassMethods - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/data.rb,
        - lib/test/unit/data.rb
        -
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - - - Classes: Loader - - -

        - - - - - - - - -

        - Instance Method Summary - collapse -

        - - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - - #data(label, data, options = {}) ⇒ Object - - #data(variable, patterns, options = {}) ⇒ Object - - #data(data_set, options = {}) ⇒ Object - - #data(options = {}, &block) ⇒ Object - - #data(options = {}, &block) ⇒ Object - - - - - - -

        -
        +
        + + + + + + + + + +
        +

        Instance Method Details

        + + +
        +

        + + + #data(label, data, options = {}) ⇒ Object + + #data(variable, patterns, options = {}) ⇒ Object + + #data(data_set, options = {}) ⇒ Object + + #data(options = {}, &block) ⇒ Object + + #data(options = {}, &block) ⇒ Object + + + + + + +

        +

        データ駆動テスト機能のドキュメントを追加しました。

        Define test data in the test code.

        - - -
        -
        -
        - -

        Overloads:

        -
          - - -
        • - #data(label, data, options = {}) ⇒ Object -
          -
          - - - -
          -
          -
          - -
          -

          Examples:

          - - + + +
          +
          +
          + +

          Overloads:

          +
            + + +
          • + #data(label, data, options = {}) ⇒ Object +
            +
            + + + +
            +
            +
            + +
            +

            Examples:

            + +

            data(label, data)

            -

            - +

            +
            data("empty string", [true, ""])
             data("plain string", [false, "hello"])
             def test_empty?(data)
               expected, target = data
               assert_equal(expected, target.empty?)
            -end
            - -
            -

            Parameters:

            -
              - -
            • - - label - - - (String) - - - - — +end + +
          +

          Parameters:

          +
            + +
          • + + label + + + (String) + + + + —

            specify test case name.

            -
            - -
          • - -
          • - - data - - - - - - - — +
        + + + +
      • + + data + + + + + + + —

        specify test data.

        -
        - -
      • - -
      • - - options - - - (Hash) - - - (defaults to: {}) - - - — +
      • + + + +
      • + + options + + + (Hash) + + + (defaults to: {}) + + + —

        specify options.

        -
        - -
      • - - - - - - - - - - -

        Options Hash (options):

        -
          - -
        • - :keep - (Boolean) - - - - +
        + + + + + + + + + + + + +

        Options Hash (options):

        +
          + +
        • + :keep + (Boolean) + + + + —

          whether or not to use this data in the following test methods

          -
          - -
        • - -
        - - - -
        - - - -
      • - #data(variable, patterns, options = {}) ⇒ Object -
        -
        +
        + +
      • + + + + + +
        + + + +
      • + #data(variable, patterns, options = {}) ⇒ Object +
        +

        Generates test matrix from variable and patterns pairs.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +

        data(variable, patterns)

        -

        - +

        +
        data(:x, [1, 2, 3])
         data(:y, ["a", "b"])
         def test_patterns(data)
        @@ -369,216 +369,216 @@ 

        # => {:x => 2, :y => "b"} # => {:x => 3, :y => "a"} # => {:x => 3, :y => "b"} -end

        - -
        -

        Parameters:

        -
          - -
        • - - variable - - - (Symbol) - - - - — +end + +
      • +

        Parameters:

        +
          + +
        • + + variable + + + (Symbol) + + + + —

          specify test pattern variable name.

          -
          - -
        • - -
        • - - patterns - - - (Array) - - - - — +
        + + + +
      • + + patterns + + + (Array) + + + + —

        specify test patterns for the variable.

        -
        - -
      • - -
      • - - options - - - (Hash) - - - (defaults to: {}) - - - — +
      • + + + +
      • + + options + + + (Hash) + + + (defaults to: {}) + + + —

        specify options.

        -
        - -
      • - - - - - - - - - - -

        Options Hash (options):

        -
          - -
        • - :keep - (Boolean) - - - - +
        + + + + + + + + + + + + +

        Options Hash (options):

        +
          + +
        • + :keep + (Boolean) + + + + —

          whether or not to use this data in the following test methods

          -
          - -
        • - -
        • - :group - (Object) - - - - +
        + + + +
      • + :group + (Object) + + + + —

        the test pattern group. Test matrix is generated for each test pattern group separately.

        -
        - -
      • - - - - - -
        - - - -
      • - #data(data_set, options = {}) ⇒ Object -
        -
        - - - -
        -
        -
        - -
        -

        Examples:

        - - +
        + +
      • + + + + + + + + + +
      • + #data(data_set, options = {}) ⇒ Object +
        +
        + + + +
        +
        +
        + +
        +

        Examples:

        + +

        data(data_set)

        -

        - +

        +
        data("empty string" => [true, ""],
              "plain string" => [false, "hello"])
         def test_empty?(data)
           expected, target = data
           assert_equal(expected, target.empty?)
        -end
        - -
        -

        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: {}) + + + —

            specify options.

            -
            - -
          • - -
          - - - - - - -

          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 -
          -
          - - - -
          -
          -
          - -
          -

          Examples:

          - - +
          + +
        • + +
        + + + + +
      • + + +
      • + #data(options = {}, &block) ⇒ Object +
        +
        + + + +
        +
        +
        + +
        +

        Examples:

        + +

        data(&block)

        -

        - +

        +
        data do
           data_set = {}
           data_set["empty string"] = [true, ""]
        @@ -588,96 +588,96 @@ 

        def test_empty?(data) expected, target = data assert_equal(expected, target.empty?) -end

        - -
        -

        Parameters:

        -
          - -
        • - - options - - - (Hash) - - - (defaults to: {}) - - - — +end + + +

          Parameters:

          +
            + +
          • + + options + + + (Hash) + + + (defaults to: {}) + + + —

            specify options.

            -
            - -
          • - -
          - - - - -

          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.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +

        data(&block)

        -

        - +

        +
        data do
           patterns = 3.times.to_a
           [:x, patterns]
        @@ -702,83 +702,83 @@ 

        # => {:x => 1, :y => "b"} # => {:x => 2, :y => "a"} # => {:x => 2, :y => "b"} -end

        - -
        -

        Parameters:

        -
          - -
        • - - options - - - (Hash) - - - (defaults to: {}) - - - — +end + + +

          Parameters:

          +
            + +
          • + + options + + + (Hash) + + + (defaults to: {}) + + + —

            specify options.

            -
            - -
          • - -
          - - - - -

          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 - - - - - -

        -
        +end +
        + + +
        +

        + + #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.

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +

        Load data from CSV file

        -

        - +

        +
        load_data("/path/to/test-data.csv")
         def test_empty?(data)
           assert_equal(data["expected"], data["target"].empty?)
        -end
        - -
        -

        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 - + <title> + Class: Test::Unit::Data::ClassMethods::Loader + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Data::ClassMethods::Loader - - — test-unit - + + Class: Test::Unit::Data::ClassMethods::Loader + + — test-unit + - test-unit @@ -62,312 +62,312 @@
        - - - -

        Class: Test::Unit::Data::ClassMethods::Loader - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/data.rb,
        - lib/test/unit/data.rb
        -
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + +

      • + + +
      • + + + #load_csv(file_name) ⇒ Object + + + + + + + + + + + private + +

        CSVファイルからデータを読み込みます。.

        -
        - -
      • - - -
      • - - - #load_tsv(file_name) ⇒ Object - - - - - - - - - - - private - - + + +
      • + + +
      • + + + #load_tsv(file_name) ⇒ Object + + + + + + + + + + + private + +

        TSVファイルからデータを読み込みます。.

        -
        - -
      • - - - - - -
        -

        Constructor Details

        - -
        -

        - - #initialize(test_case) ⇒ Loader - - - - - -

        -
        -

        - 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. -

        -

        Returns a new instance of Loader.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initialize(test_case) ⇒ Loader + + + + + +

        +
        +

        + 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. +

        +

        Returns a new instance of Loader

        + + +
        +
        +
        + + +
        + + - + - -
         
         
         97
         98
        -99
        -
        +99 +
        # File 'lib/test/unit/data.rb', line 97
         
         def initialize(test_case)
           @test_case = test_case
        -end
        -
        -
        - -
        - - -
        -

        Instance Method Details

        - - -
        -

        - - #load(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 +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #load(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. +

        ファイルからデータを読み込みます。

        - - -
        -
        -
        -

        Parameters:

        -
          - -
        • - - file_name - - - (String) - - - - — + + +
        +
        +
        +

        Parameters:

        +
          + +
        • + + file_name + + + (String) + + + + —

          データファイルのフルパスを指定します。ファイルフォーマットはファイルの拡張子から自動的に判別します。

          -
          - -
        • - -
        - -

        Raises:

        -
          - -
        • - - - (ArgumentError) - - - - — +
        + + + + + +

        Raises:

        +
          + +
        • + + + (ArgumentError) + + + + —

          file_name がサポートされていないファイルフォーマットのときに発生します。

          -
          - -
        • - -
        - -

        See Also:

        -
          - -
        • - -
        • - -
        - -
        - - + +
        + + + + + + +

        See Also:

        +
          + +
        • + +
        • + +
        + + + + - + - -
         
         
        @@ -380,9 +380,9 @@ 

        115 116 117 -118

        -
        +118 +
        # File 'lib/test/unit/data.rb', line 109
         
         def load(file_name)
        @@ -394,45 +394,45 @@ 

        else raise ArgumentError, "unsupported file format: <#{file_name}>" end -end

        -
        - - -
        -

        - - #load_csv(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_csv(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. +

        CSVファイルからデータを読み込みます。

        以下の2種類のサンプルのようなCSVファイルを使用できます。 一つ目は、一行目の最初のカラムが”label”という文字列であるものです。 もう一つは、ヘッダ行のないファイルです。

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +

        Load data from CSV file with header

        -

        - +

        +
        # test-data.csv:
         #  label,expected,target
         #  empty string,true,""
        @@ -441,12 +441,12 @@ 

        load_data("/path/to/test-data.csv") def test_empty?(data) assert_equal(data["expected"], data["target"].empty?) -end

        - - +end + +

        Load data from CSV file without header

        -

        - +

        +
        # test-data-without-header.csv:
         #  empty string,true,""
         #  plain string,false,hello
        @@ -455,14 +455,14 @@ 

        def test_empty?(data) expected, target = data assert_equal(expected, target.empty?) -end

        - -
        - - - - - + +
        +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(header, 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”という文字列であるものです。 もう一つは、ヘッダ行のないファイルです。

        - - -
        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +

        Load data from TSV file with header

        -

        - +

        +
        # test-data.tsv:
         #  label	expected	target
         #  empty string	true	""
        @@ -548,12 +548,12 @@ 

        load_data("/path/to/test-data.tsv") def test_empty?(data) assert_equal(data["expected"], data["target"].empty?) -end

        - - +end + +

        Load data from TSV file without header

        -

        - +

        +
        # test-data-without-header.tsv:
         #  empty string	true	""
         #  plain string	false	hello
        @@ -562,14 +562,14 @@ 

        def test_empty?(data) expected, target = data assert_equal(expected, target.empty?) -end

        - -
        - - - - - + +
        +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(header, 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 - + <title> + Class: Test::Unit::DataSets + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::DataSets - - — test-unit - + + Class: Test::Unit::DataSets + + — test-unit + - test-unit @@ -62,325 +62,325 @@
        - - - -

        Class: Test::Unit::DataSets - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/data-sets.rb
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + +
      • + + + #add(data_set, options = nil) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #each ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #each ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #eql?(other) ⇒ Boolean - - - - - - - - - - - - - +
      • + + + + +
      • + + + #eql?(other) ⇒ Boolean + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #hash ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #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

        - -
        -

        - - #initializeDataSets - - - - - -

        -
        -

        Returns a new instance of DataSets.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initializeDataSets + + + + + +

        +
        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #==(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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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

        -
        -
        - -
        -

        - - #eachObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #eachObject + + + + + +

        + + - + - -
         
         
        @@ -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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + #eql?(other) ⇒ Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         73
         74
        -75
        -
        +75 +
        # File 'lib/test/unit/data-sets.rb', line 73
         
         def eql?(other)
           self == other
        -end
        -
        -
        - -
        -

        - - #hashObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #hashObject + + + + + +

        + + - + - -
         
         
         77
         78
        -79
        -
        +79 +
        # File 'lib/test/unit/data-sets.rb', line 77
         
         def hash
           [@variables, @procs, @value_sets].hash
        -end
        -
        -
        - -
        -

        - - #have_keep?Boolean - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + #have_keep?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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

        -
        -
        - -
        -

        - - #keepObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #keepObject + + + + + +

        + + - + - -
         
         
        @@ -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 - + <title> + Module: Test::Unit::Diff + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Diff - - — test-unit - + + Module: Test::Unit::Diff + + — test-unit + - test-unit @@ -62,243 +62,243 @@
        - - - -

        Module: Test::Unit::Diff - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/diff.rb,
        - lib/test/unit/diff.rb
        -
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - - - Classes: Differ, ReadableDiffer, SequenceMatcher, UTF8Line, UnifiedDiffer - - -

        - - - - - - - - -

        - Class Method Summary - collapse -

        - -
        + + + + +
      • + + + .folded_readable(from, to, options = {}) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .need_fold?(diff) ⇒ Boolean - - - - - - - - - - - - - +
      • + + + + +
      • + + + .need_fold?(diff) ⇒ Boolean + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .readable(from, to, options = {}) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .readable(from, to, options = {}) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .unified(from, to, options = {}) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - + <title> + Class: Test::Unit::Diff::Differ + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Diff::Differ - - — test-unit - + + Class: Test::Unit::Diff::Differ + + — test-unit + - test-unit @@ -62,178 +62,178 @@
        - - - -

        Class: Test::Unit::Diff::Differ - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/diff.rb,
        - lib/test/unit/diff.rb
        -
        -
        - -
        - -
        -

        Direct Known Subclasses

        -

        ReadableDiffer, UnifiedDiffer

        -
        - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
          - -
        • - - - #initialize(from, to) ⇒ Differ - - - - - - - constructor - - - - - - - - + + + +

          Class: Test::Unit::Diff::Differ + + + +

          +
          + +
          +
          Inherits:
          +
          + Object + +
            +
          • Object
          • + + + +
          + show all + +
          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/diff.rb,
          + lib/test/unit/diff.rb
          +
          +
          + +
          + +
          +

          Direct Known Subclasses

          +

          ReadableDiffer, UnifiedDiffer

          +
          + + + + + + + + +

          + Instance Method Summary + collapse +

          + + - - -
          -

          Constructor Details

          - -
          -

          - - #initialize(from, to) ⇒ Differ - - - - - -

          -
          -

          Returns a new instance of Differ.

          - - -
          -
          -
          - - -
          - - + +
          + + + + + + + + +
          +

          Constructor Details

          + +
          +

          + + #initialize(from, to) ⇒ Differ + + + + + +

          +
          +

          Returns a new instance of Differ

          + + +
          +
          +
          + + +
          + + - + - -
           
           
           265
           266
           267
          -268
          -
          +268 +
          # File 'lib/test/unit/diff.rb', line 265
           
           def initialize(from, to)
             @from = from
             @to = to
          -end
          -
          -
          - -
          - - - - - - +end +
          +
          + +
          + + +
          + + +
        @@ -269,6 +269,6 @@

        -
        - +
        + \ 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 - + <title> + Class: Test::Unit::Diff::ReadableDiffer + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Diff::ReadableDiffer - - — test-unit - + + Class: Test::Unit::Diff::ReadableDiffer + + — test-unit + - test-unit @@ -62,157 +62,157 @@
        - - - -

        Class: Test::Unit::Diff::ReadableDiffer - - - -

        -
        - -
        -
        Inherits:
        -
        - Differ - -
          -
        • Object
        • - - - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/diff.rb,
        - lib/test/unit/diff.rb
        -
        -
        - -
        - -
        -

        Direct Known Subclasses

        -

        UI::Console::ColorizedReadableDiffer

        -
        - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
          - -
        • - - - #diff(options = {}) ⇒ Object - - - - - - - - - - - - - + + + +

          Class: Test::Unit::Diff::ReadableDiffer + + + +

          +
          + +
          +
          Inherits:
          +
          + Differ + +
            +
          • Object
          • + + + + + +
          + show all + +
          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/diff.rb,
          + lib/test/unit/diff.rb
          +
          +
          + +
          + +
          +

          Direct Known Subclasses

          +

          UI::Console::ColorizedReadableDiffer

          +
          + + + + + + + + +

          + Instance Method Summary + collapse +

          + + - - - - - - - - - - - -

          Methods inherited from Differ

          -

          #initialize

          -
          -

          Constructor Details

          - -

          This class inherits a constructor from Test::Unit::Diff::Differ

          - -
          - - -
          -

          Instance Method Details

          - - -
          -

          - - #diff(options = {}) ⇒ Object - - - - - -

          - - + +
          + + + + + + + + + + + + + + + + + +

          Methods inherited from Differ

          +

          #initialize

          +
          +

          Constructor Details

          + +

          This class inherits a constructor from Test::Unit::Diff::Differ

          + +
          + + +
          +

          Instance Method Details

          + + +
          +

          + + #diff(options = {}) ⇒ Object + + + + + +

          + + - + - -
           
           
          @@ -233,9 +233,9 @@ 

          428 429 430 -431

          -
          +431 +
          # File 'lib/test/unit/diff.rb', line 414
           
           def diff(options={})
          @@ -255,22 +255,22 @@ 

          end end @result -end

          -
          -
          - -
          - - - - - +end +
          +
          + +
          + +
          + + +
        @@ -306,6 +306,6 @@

        -
        - +
        + \ 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 - + <title> + Class: Test::Unit::Diff::SequenceMatcher + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Diff::SequenceMatcher - - — test-unit - + + Class: Test::Unit::Diff::SequenceMatcher + + — test-unit + - test-unit @@ -62,258 +62,258 @@
        - - - -

        Class: Test::Unit::Diff::SequenceMatcher - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/diff.rb,
        - lib/test/unit/diff.rb
        -
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + +
      • + + + #initialize(from, to, &junk_predicate) ⇒ SequenceMatcher + + + + + + + constructor + + + + + + + +

        A new instance of SequenceMatcher.

        -
        - -
      • - - -
      • - - - #longest_match(from_start, from_end, to_start, to_end) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #longest_match(from_start, from_end, to_start, to_end) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #operations ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #operations ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #ratio ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #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

        - - -
        -

        - - #blocksObject - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #blocksObject + + + + + +

        + + - + - -
         
         
         35
         36
        -37
        -
        +37 +
        # File 'lib/test/unit/diff.rb', line 35
         
         def blocks
           @blocks ||= compute_blocks
        -end
        -
        -
        - -
        -

        - - #grouped_operations(context_size = nil) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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

        -
        -
        - -
        -

        - - #operationsObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #operationsObject + + + + + +

        + + - + - -
         
         
         39
         40
        -41
        -
        +41 +
        # File 'lib/test/unit/diff.rb', line 39
         
         def operations
           @operations ||= compute_operations
        -end
        -
        -
        - -
        -

        - - #ratioObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #ratioObject + + + + + +

        + + - + - -
         
         
         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 - + <title> + Class: Test::Unit::Diff::UTF8Line + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Diff::UTF8Line - - — test-unit - + + Class: Test::Unit::Diff::UTF8Line + + — test-unit + - test-unit @@ -62,97 +62,97 @@
        - - - -

        Class: Test::Unit::Diff::UTF8Line - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/diff.rb,
        - lib/test/unit/diff.rb
        -
        -
        - -
        - - - -

        - Constant Summary - collapse -

        - -
        - -
        WIDE_CHARACTERS = -
        -
        + + + +

        Class: Test::Unit::Diff::UTF8Line + + + +

        +
        + +
        +
        Inherits:
        +
        + Object + +
          +
        • Object
        • + + + +
        + show all + +
        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/diff.rb,
        + lib/test/unit/diff.rb
        +
        +
        + +
        + + + +

        + Constant Summary + collapse +

        + +
        + +
        WIDE_CHARACTERS = +
        +

        from http://unicode.org/reports/tr11/

        - - -
        -
        -
        - - -
        -
        + + +
        +
        +
        + + +
        +
        [0x1100..0x1159, 0x115F..0x115F, 0x2329..0x232A,
          0x2E80..0x2E99, 0x2E9B..0x2EF3, 0x2F00..0x2FD5,
          0x2FF0..0x2FFB, 0x3000..0x303E, 0x3041..0x3096,
        @@ -164,11 +164,11 @@ 

        0xFA70..0xFAD9, 0xFE10..0xFE19, 0xFE30..0xFE52, 0xFE54..0xFE66, 0xFE68..0xFE6B, 0xFF01..0xFF60, 0xFFE0..0xFFE6, 0x20000..0x2FFFD, 0x30000..0x3FFFD, -]

        - -
        AMBIGUOUS = - -
        +] + +
        AMBIGUOUS = + +
        [0x00A1..0x00A1, 0x00A4..0x00A4, 0x00A7..0x00A8,
          0x00AA..0x00AA, 0x00AD..0x00AE, 0x00B0..0x00B4,
          0x00B6..0x00BA, 0x00BC..0x00BF, 0x00C6..0x00C6,
        @@ -222,325 +222,325 @@ 

        0x266F..0x266F, 0x273D..0x273D, 0x2776..0x277F, 0xE000..0xF8FF, 0xFE00..0xFE0F, 0xFFFD..0xFFFD, 0xE0100..0xE01EF, 0xF0000..0xFFFFD, 0x100000..0x10FFFD, -]

        - -
        - - - - - - - - - -

        - Class Method Summary - collapse -

        - -
        + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #compute_width(start, _end) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #each(&block) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #each(&block) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #initialize(line) ⇒ UTF8Line - - - - - - - constructor - - - - - - - - +
      • + + + + +
      • + + + #initialize(line) ⇒ UTF8Line + + + + + + + constructor + + + + + + + +

        A new instance of UTF8Line.

        -
        - -
      • - - -
      • - - - #size ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #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 - - - - - -

        -
        +end +
        +
        + +
        + + +
        +

        Class Method Details

        + + +
        +

        + + .wide_character?(character) ⇒ Boolean + + + + + +

        +
        - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (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 - - - - - -

        - - + +
        +end +
        +
        + +
        + +
        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #each(&block) ⇒ Object + + + + + +

        + + - + - -
         
         
         388
         389
        -390
        -
        +390 +
        # File 'lib/test/unit/diff.rb', line 388
         
         def each(&block)
           @characters.each(&block)
        -end
        -
        -
        - -
        -

        - - #sizeObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #sizeObject + + + + + +

        + + - + - -
         
         
         392
         393
        -394
        -
        +394 +
        # File 'lib/test/unit/diff.rb', line 392
         
         def size
           @characters.size
        -end
        -
        -
        - -
        -

        - - #to_sObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #to_sObject + + + + + +

        + + - + - -
         
         
         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 - + <title> + Class: Test::Unit::Diff::UnifiedDiffer + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Diff::UnifiedDiffer - - — test-unit - + + Class: Test::Unit::Diff::UnifiedDiffer + + — test-unit + - test-unit @@ -62,153 +62,153 @@
        - - - -

        Class: Test::Unit::Diff::UnifiedDiffer - - - -

        -
        - -
        -
        Inherits:
        -
        - Differ - -
          -
        • Object
        • - - - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/diff.rb,
        - lib/test/unit/diff.rb
        -
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
          - -
        • - - - #diff(options = {}) ⇒ Object - - - - - - - - - - - - - + + + +

          Class: Test::Unit::Diff::UnifiedDiffer + + + +

          +
          + +
          +
          Inherits:
          +
          + Differ + +
            +
          • Object
          • + + + + + +
          + show all + +
          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/diff.rb,
          + lib/test/unit/diff.rb
          +
          +
          + +
          + + + + + + + + + +

          + Instance Method Summary + collapse +

          + + - - - - - - - - - - - -

          Methods inherited from Differ

          -

          #initialize

          -
          -

          Constructor Details

          - -

          This class inherits a constructor from Test::Unit::Diff::Differ

          - -
          - - -
          -

          Instance Method Details

          - - -
          -

          - - #diff(options = {}) ⇒ Object - - - - - -

          - - + +
          + + + + + + + + + + + + + + + + + +

          Methods inherited from Differ

          +

          #initialize

          +
          +

          Constructor Details

          + +

          This class inherits a constructor from Test::Unit::Diff::Differ

          + +
          + + +
          +

          Instance Method Details

          + + +
          +

          + + #diff(options = {}) ⇒ Object + + + + + +

          + + - + - -
           
           
          @@ -239,9 +239,9 @@ 

          652 653 654 -655

          -
          +655 +
          # File 'lib/test/unit/diff.rb', line 628
           
           def diff(options={})
          @@ -271,22 +271,22 @@ 

          end end result -end

          -
          -
          - -
          - - - - - +end +
          +
          + +
          + +
          + + +
        @@ -322,6 +322,6 @@

        -
        - +
        + \ 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 - + <title> + Class: Test::Unit::Error + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Error - - — test-unit - + + Class: Test::Unit::Error + + — test-unit + - test-unit @@ -62,474 +62,474 @@
        - - - -

        Class: Test::Unit::Error - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        Util::BacktraceFilter
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/error.rb,
        - lib/test/unit/error.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Class: Test::Unit::Error + + + +

        +
        + +
        +
        Inherits:
        +
        + Object + +
          +
        • Object
        • + + + +
        + show all + +
        +
        + + + + + + +
        +
        Includes:
        +
        Util::BacktraceFilter
        +
        + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/error.rb,
        + lib/test/unit/error.rb
        +
        +
        + +
        + +

        Overview

        +

        Encapsulates an error in a test. Created by Test::Unit::TestCase when it rescues an exception thrown during the processing of a test.

        - - -
        -
        -
        - - -
        - -

        - Constant Summary - collapse -

        - -
        - -
        SINGLE_CHARACTER = - -
        -
        'E'
        - -
        LABEL = - -
        -
        "Error"
        - -
        - - - - - - -

        Constants included - from Util::BacktraceFilter

        -

        Util::BacktraceFilter::POWERASSERT_PREFIX, Util::BacktraceFilter::TESTUNIT_FILE_SEPARATORS, Util::BacktraceFilter::TESTUNIT_PREFIX, Util::BacktraceFilter::TESTUNIT_RB_FILE

        - - -

        Instance Attribute Summary collapse

        -
        +
        +
        + + +
        + +

        + Constant Summary + collapse +

        + +
        + +
        SINGLE_CHARACTER = + +
        +
        'E'
        + +
        LABEL = + +
        +
        "Error"
        + +
        + + + + + + +

        Constants included + from Util::BacktraceFilter

        +

        Util::BacktraceFilter::POWERASSERT_PREFIX, Util::BacktraceFilter::TESTUNIT_FILE_SEPARATORS, Util::BacktraceFilter::TESTUNIT_PREFIX, Util::BacktraceFilter::TESTUNIT_RB_FILE

        + + +

        Instance Attribute Summary collapse

        +
        + + + + +
      • + + + #method_name ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute method_name.

        -
        - -
      • - - -
      • - - - #test_name ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
      • + + + + +
      • + + + #test_name ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute test_name.

        -
        - -
      • - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #initialize(test_name, exception, options = {}) ⇒ Error + + + + + + + constructor + + + + + + + +

        Creates a new Error with the given test_name and exception.

        -
        - -
      • - - -
      • - - - #label ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #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.

        -
        - -
      • - - - - - - - - - - - - - - -

        Methods included from Util::BacktraceFilter

        -

        filter_backtrace

        -
        -

        Constructor Details

        - -
        -

        - - #initialize(test_name, exception, options = {}) ⇒ Error - - - - - -

        -
        +
        + + + + + + + + + + + + + + + + +

        Methods included from Util::BacktraceFilter

        +

        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

        - - - -
        -

        - - #exceptionObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #exceptionObject (readonly) + + + + + +

        +

        Returns the value of attribute exception

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         12
         13
        -14
        -
        +14 +
        # File 'lib/test/unit/error.rb', line 12
         
         def exception
           @exception
        -end
        -
        - - - - -
        -

        - - #method_nameObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #method_nameObject (readonly) + + + + + +

        +

        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_nameObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #test_nameObject (readonly) + + + + + +

        +

        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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #critical?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         61
         62
        -63
        -
        +63 +
        # File 'lib/test/unit/error.rb', line 61
         
         def critical?
           true
        -end
        -
        -
        - -
        -

        - - #labelObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #labelObject + + + + + +

        + + - + - -
         
         
         31
         32
        -33
        -
        +33 +
        # File 'lib/test/unit/error.rb', line 31
         
         def label
           LABEL
        -end
        -
        -
        - -
        -

        - - #locationObject - - - - Also known as: - backtrace - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #locationObject + + + + 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_displayObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #long_displayObject + + + + + +

        +

        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
        -
        - - -
        -

        - - #messageObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #messageObject + + + + + +

        +

        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_displayObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #short_displayObject + + + + + +

        +

        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_displayObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #single_character_displayObject + + + + + +

        +

        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_sObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #to_sObject + + + + + +

        +

        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 - + <title> + Module: Test::Unit::ErrorHandler + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::ErrorHandler - - — test-unit - + + Module: Test::Unit::ErrorHandler + + — test-unit + - test-unit @@ -62,117 +62,117 @@
        - - - -

        Module: Test::Unit::ErrorHandler - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestCase
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/error.rb,
        - lib/test/unit/error.rb
        -
        -
        - -
        - - - -

        - Constant Summary - collapse -

        - -
        - -
        NOT_PASS_THROUGH_EXCEPTIONS = - -
        -
        []
        - -
        NOT_PASS_THROUGH_EXCEPTION_NAMES = - -
        -
        ["Timeout::Error"]
        - -
        PASS_THROUGH_EXCEPTIONS = - -
        + + + +

        Module: Test::Unit::ErrorHandler + + + +

        +
        + + + + + + + + + +
        +
        Included in:
        +
        TestCase
        +
        + + + +
        +
        Defined in:
        +
        lib/test/unit/error.rb,
        + lib/test/unit/error.rb
        +
        +
        + +
        + + + +

        + Constant Summary + collapse +

        + +
        + +
        NOT_PASS_THROUGH_EXCEPTIONS = + +
        +
        []
        + +
        NOT_PASS_THROUGH_EXCEPTION_NAMES = + +
        +
        ["Timeout::Error"]
        + +
        PASS_THROUGH_EXCEPTIONS = + +
        [
           NoMemoryError,
           SignalException,
           Interrupt,
           SystemExit,
        -]
        - -
        PASS_THROUGH_EXCEPTION_NAMES = - -
        -
        []
        - -
        - - - - - - - - - - -
        - - - +] + +
        PASS_THROUGH_EXCEPTION_NAMES = + +
        +
        []
        + +
        + + + + + + + + + + +
        + + +
        @@ -208,6 +208,6 @@

        -
        - +
        + \ 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 - + <title> + Module: Test::Unit::ExceptionHandler + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::ExceptionHandler - - — test-unit - + + Module: Test::Unit::ExceptionHandler + + — test-unit + - test-unit @@ -62,175 +62,175 @@
        - - - -

        Module: Test::Unit::ExceptionHandler - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestCase
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/exception-handler.rb
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - Modules: ClassMethods - - - - -

        - - -

        - Constant Summary - collapse -

        - -
        - -
        @@exception_handlers = - -
        -
        []
        - -
        - - - - - - - - - -

        - Class Method Summary - collapse -

        - -
          - -
        • - - - .exception_handlers ⇒ Object - - - - - - - - - - - - - + + + +

          Module: Test::Unit::ExceptionHandler + + + +

          +
          + + + + + + + + + +
          +
          Included in:
          +
          TestCase
          +
          + + + +
          +
          Defined in:
          +
          lib/test/unit/exception-handler.rb
          +
          + +
          + +

          Defined Under Namespace

          +

          + + + Modules: ClassMethods + + + + +

          + + +

          + Constant Summary + collapse +

          + +
          + +
          @@exception_handlers = + +
          +
          []
          + +
          + + + + + + + + + +

          + Class Method Summary + collapse +

          + + - - - - -
          -

          Class Method Details

          - - -
          -

          - - .exception_handlersObject - - - - - -

          - - + +
          + + + + + + + + + + +
          +

          Class Method Details

          + + +
          +

          + + .exception_handlersObject + + + + + +

          + + - + - -
           
           
           6
           7
          -8
          -
          +8 +
          # File 'lib/test/unit/exception-handler.rb', line 6
           
           def exception_handlers
             @@exception_handlers
          -end
          -
          -
          - -
          - - - - - +end +
          +
          + +
          + +
          + + +
        @@ -266,6 +266,6 @@

        -
        - +
        + \ 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 - + <title> + Module: Test::Unit::ExceptionHandler::ClassMethods + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::ExceptionHandler::ClassMethods - - — test-unit - + + Module: Test::Unit::ExceptionHandler::ClassMethods + + — test-unit + - test-unit @@ -62,302 +62,302 @@
        - - - -

        Module: Test::Unit::ExceptionHandler::ClassMethods - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/exception-handler.rb
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + +
      • + + + #unregister_exception_handler(*method_name_or_handlers) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - - #exception_handler(method_name) ⇒ void - - #exception_handler {|test, exception| ... } ⇒ void - - - - - - -

        -
        +
        + + + + + + + + + +
        +

        Instance Method Details

        + + +
        +

        + + + #exception_handler(method_name) ⇒ void + + #exception_handler {|test, exception| ... } ⇒ void + + + + + + +

        +

        This is a public API for developers who extend test-unit.

        - - -
        -
        -
        - -

        Overloads:

        -
          - - -
        • - #exception_handler(method_name) ⇒ void -
          -
          + + +
          +
          +
          + +

          Overloads:

          +
            + + +
          • + #exception_handler(method_name) ⇒ void +
            +

            This method returns an undefined value.

            Add an exception handler method.

            - - -
            -
            -
            -

            Parameters:

            -
              - -
            • - - method_name - - - (Symbol) - - - - — + + +
            +
          +
          +

          Parameters:

          +
            + +
          • + + method_name + + + (Symbol) + + + + —

            The method name that handles exception raised in tests.

            -
            - -
          • - -
          - - -
          -
        • - - -
        • - #exception_handler {|test, exception| ... } ⇒ void -
          -
          +
          + +
        • + +
        + + +
        + + + +
      • + #exception_handler {|test, exception| ... } ⇒ void +
        +

        This method returns an undefined value.

        Add an exception handler.

        - - -
        -
        -
        - -

        Yields:

        -
          - -
        • - - - (test, exception) - - - - — + + +
        +
      • +
        + +

        Yields:

        +
          + +
        • + + + (test, exception) + + + + —

          Gives the test and the exception.

          -
          - -
        • - -
        -

        Yield Parameters:

        -
        + + + + +

        Yield Parameters:

        +
          + +
        • + + test + + + (Test::Unit::TestCase) + + + + —

          The test where the exception is raised.

          -
          - -
        • - -
        • - - exception - - - (Exception) - - - - — +
        + + + +
      • + + exception + + + (Exception) + + + + —

        The exception that is raised in running the test.

        -
        - -
      • - - -

        Yield Returns:

        -
          - -
        • - - - (Boolean) - - - - — +
        + + + + +

        Yield Returns:

        +
          + +
        • + + + (Boolean) + + + + —

          Whether the handler handles the exception or not. The handler must return true if the handler handles test exception, false otherwise.

          -
          - -
        • - -
        - -
        - - - - - -
        - - + +
        + + + + + + + + + + + + + + + - + - -
         
         
        @@ -375,9 +375,9 @@ 

        63 64 65 -66

        -
        +66 +
        # File 'lib/test/unit/exception-handler.rb', line 52
         
         def exception_handler(*method_name_or_handlers, &block)
        @@ -394,54 +394,54 @@ 

        end end end -end

        -
        - - -
        -

        - - #exception_handlersObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #exception_handlersObject + + + + + +

        + + - + - -
         
         
         25
         26
        -27
        -
        +27 +
        # File 'lib/test/unit/exception-handler.rb', line 25
         
         def exception_handlers
           ExceptionHandler.exception_handlers
        -end
        -
        -
        - -
        -

        - - #unregister_exception_handler(*method_name_or_handlers) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #unregister_exception_handler(*method_name_or_handlers) ⇒ Object + + + + + +

        + + - + - -
         
         
        @@ -455,9 +455,9 @@ 

        75 76 77 -78

        -
        +78 +
        # File 'lib/test/unit/exception-handler.rb', line 68
         
         def unregister_exception_handler(*method_name_or_handlers)
        @@ -470,22 +470,22 @@ 

        attribute(:exception_handler, false, {}, method_name) end end -end

        -
        -
        - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -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 - + <title> + Class: Test::Unit::Failure + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Failure - - — test-unit - + + Class: Test::Unit::Failure + + — test-unit + - test-unit @@ -62,622 +62,622 @@
        - - - -

        Class: Test::Unit::Failure - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/failure.rb,
        - lib/test/unit/failure.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Class: Test::Unit::Failure + + + +

        +
        + +
        +
        Inherits:
        +
        + Object + +
          +
        • Object
        • + + + +
        + show all + +
        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/failure.rb,
        + lib/test/unit/failure.rb
        +
        +
        + +
        + +

        Overview

        +

        Encapsulates a test failure. Created by Test::Unit::TestCase when an assertion fails.

        - - -
        -
        -
        - - -
        - -

        - Constant Summary - collapse -

        - -
        - -
        SINGLE_CHARACTER = - -
        -
        'F'
        - -
        LABEL = - -
        -
        "Failure"
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
        +
        +
        + + +
        + +

        + Constant Summary + collapse +

        + +
        + +
        SINGLE_CHARACTER = + +
        +
        'F'
        + +
        LABEL = + +
        +
        "Failure"
        + +
        + + + + + +

        Instance Attribute Summary collapse

        +
        + + + + +
      • + + + #expected ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute expected.

        -
        - -
      • - - -
      • - - - #inspected_actual ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
      • + + + + +
      • + + + #inspected_actual ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute inspected_actual.

        -
        - -
      • - - -
      • - - - #inspected_expected ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
      • + + + + +
      • + + + #inspected_expected ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute inspected_expected.

        -
        - -
      • - - -
      • - - - #location ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
      • + + + + +
      • + + + #location ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute location.

        -
        - -
      • - - -
      • - - - #message ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
      • + + + + +
      • + + + #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

        - - - -
        -

        - - #actualObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #actualObject (readonly) + + + + + +

        +

        Returns the value of attribute actual

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         9
         10
        -11
        -
        +11 +
        # File 'lib/test/unit/failure.rb', line 9
         
         def actual
           @actual
        -end
        -
        - - - - -
        -

        - - #expectedObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #expectedObject (readonly) + + + + + +

        +

        Returns the value of attribute expected

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         9
         10
        -11
        -
        +11 +
        # File 'lib/test/unit/failure.rb', line 9
         
         def expected
           @expected
        -end
        -
        - - - - -
        -

        - - #inspected_actualObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #inspected_actualObject (readonly) + + + + + +

        +

        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_expectedObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #inspected_expectedObject (readonly) + + + + + +

        +

        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
        -
        - - - - -
        -

        - - #locationObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #locationObject (readonly) + + + + + +

        +

        Returns the value of attribute location

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         7
         8
        -9
        -
        +9 +
        # File 'lib/test/unit/failure.rb', line 7
         
         def location
           @location
        -end
        -
        - - - - -
        -

        - - #messageObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #messageObject (readonly) + + + + + +

        +

        Returns the value of attribute message

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         7
         8
        -9
        -
        +9 +
        # File 'lib/test/unit/failure.rb', line 7
         
         def message
           @message
        -end
        -
        - - - - -
        -

        - - #method_nameObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #method_nameObject (readonly) + + + + + +

        +

        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_locationObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #source_locationObject (readonly) + + + + + +

        +

        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_nameObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #test_nameObject (readonly) + + + + + +

        +

        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_messageObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #user_messageObject (readonly) + + + + + +

        +

        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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #critical?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         59
         60
        -61
        -
        +61 +
        # File 'lib/test/unit/failure.rb', line 59
         
         def critical?
           true
        -end
        -
        -
        - -
        -

        - - #diffObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #diffObject + + + + + +

        + + - + - -
         
         
         63
         64
        -65
        -
        +65 +
        # File 'lib/test/unit/failure.rb', line 63
         
         def diff
           @diff ||= compute_diff
        -end
        -
        -
        - -
        -

        - - #labelObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #labelObject + + + + + +

        + + - + - -
         
         
         35
         36
        -37
        -
        +37 +
        # File 'lib/test/unit/failure.rb', line 35
         
         def label
           LABEL
        -end
        -
        -
        - -
        -

        - - #long_displayObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #long_displayObject + + + + + +

        +

        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_displayObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #short_displayObject + + + + + +

        +

        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_displayObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #single_character_displayObject + + + + + +

        +

        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_sObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #to_sObject + + + + + +

        +

        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 - + <title> + Module: Test::Unit::FailureHandler + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::FailureHandler - - — test-unit - + + Module: Test::Unit::FailureHandler + + — test-unit + - test-unit @@ -62,291 +62,291 @@
        - - - -

        Module: Test::Unit::FailureHandler - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestCase
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/failure.rb,
        - lib/test/unit/failure.rb
        -
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - - + + + + +
        +

        Instance Method Details

        + + +
        +

        + + #add_failure(message, backtrace, options = {}) ⇒ void + + + + + +

        +

        This method returns an undefined value.

        Report a failure.

        This is a public API for developers who extend test-unit.

        - - -
        -
        -
        -

        Parameters:

        -
          - -
        • - - message - - - (String) - - - - — + + +
        +
        +
        +

        Parameters:

        +
          + +
        • + + message + + + (String) + + + + —

          The description about the failure.

          -
          - -
        • - -
        • - - backtrace - - - (Array<String>) - - - - — +
        + + + +
      • + + backtrace + + + (Array<String>) + + + + —

        The backtrace for the failure.

        -
        - -
      • - -
      • - - options - - - (Hash) - - - (defaults to: {}) - - - — +
      • + + + +
      • + + options + + + (Hash) + + + (defaults to: {}) + + + —

        a customizable set of options

        -
        - -
      • - - - - - - - - - - -

        Options Hash (options):

        -
          - -
        • - :expected - (Object) - - - - +
        + + + + + + + + + + + + +

        Options Hash (options):

        +
          + +
        • + :expected + (Object) + + + + —

          The expected value of the assertion.

          -
          - -
        • - -
        • - :actual - (Object) - - - - +
        + + + +
      • + :actual + (Object) + + + + —

        The actual value of the assertion.

        -
        - -
      • - -
      • - :inspected_expected - (String) - - - - +
      • + + + +
      • + :inspected_expected + (String) + + + + —

        The inspected expected value of the assertion. It is used for diff between expected and actual of the failure.

        -
        - -
      • - -
      • - :inspected_actual - (String) - - - - +
      • + + + +
      • + :inspected_actual + (String) + + + + —

        The inspected actual value of the assertion. It is used for diff between expected and actual of the failure.

        -
        - -
      • - -
      • - :user_message - (String) - - - - +
      • + + + +
      • + :user_message + (String) + + + + —

        The message of the assertion from user.

        -
        - -
      • - -
      • - :method_name - (String) - - - — default: - @method_name - - - + + +
      • + +
      • + :method_name + (String) + + + — default: + @method_name + + + —

        The method name of the test.

        -
        - -
      • - -
      • - :source_location - (Array<String, Integer>) - - - - + + +
      • + +
      • + :source_location + (Array<String, Integer>) + + + + —

        The location where the test is defined. It is the same format as Proc#source_location. That is, it’s an array of path and and line number where the test definition is started.

        -
        - -
      • - - - - - - - - + +
        + + + + + + + + + + + - + - -
         
         
        @@ -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 - + <title> + Class: Test::Unit::FaultLocationDetector + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::FaultLocationDetector - - — test-unit - + + Class: Test::Unit::FaultLocationDetector + + — test-unit + - test-unit @@ -62,187 +62,187 @@
        - - - -

        Class: Test::Unit::FaultLocationDetector - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/fault-location-detector.rb
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + +
      • + + + #target?(backtrace_entry) ⇒ Boolean + + + + + + + + + + + + +
        -
        - -
      • - - - - - -
        -

        Constructor Details

        - -
        -

        - - #initialize(fault, code_snippet_fetcher) ⇒ FaultLocationDetector - - - - - -

        -
        -

        Returns a new instance of FaultLocationDetector.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initialize(fault, code_snippet_fetcher) ⇒ FaultLocationDetector + + + + + +

        +
        +

        Returns a new instance of FaultLocationDetector

        + + +
        +
        +
        + + +
        + + - + - -
         
         
        @@ -250,40 +250,40 @@ 

        11 12 13 -14

        -
        +14 +
        # File 'lib/test/unit/fault-location-detector.rb', line 10
         
         def initialize(fault, code_snippet_fetcher)
           @fault = fault
           @code_snippet_fetcher = code_snippet_fetcher
           extract_fault_information
        -end
        -
        -
        - -
        - - -
        -

        Instance Method Details

        - - -
        -

        - - #split_backtrace_entry(entry) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #split_backtrace_entry(entry) ⇒ Object + + + + + +

        + + - + - -
         
         
        @@ -301,9 +301,9 @@ 

        27 28 29 -30

        -
        +30 +
        # File 'lib/test/unit/fault-location-detector.rb', line 16
         
         def split_backtrace_entry(entry)
        @@ -320,47 +320,47 @@ 

        method_name = nil end [file, line_number, context, method_name] -end

        -
        -
        +end +
        +
        + +
        +

        + + #target?(backtrace_entry) ⇒ Boolean + + + + + +

        +
        -
        -

        - - #target?(backtrace_entry) ⇒ Boolean - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
        @@ -377,9 +377,9 @@ 

        42 43 44 -45

        -
        +45 +
        # File 'lib/test/unit/fault-location-detector.rb', line 32
         
         def target?(backtrace_entry)
        @@ -395,22 +395,22 @@ 

        else true end -end

        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -446,6 +446,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/Fixture.html b/test-unit/ja/Test/Unit/Fixture.html index 2c373a8f..746eaedd 100644 --- a/test-unit/ja/Test/Unit/Fixture.html +++ b/test-unit/ja/Test/Unit/Fixture.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::Fixture - - — test-unit - + <title> + Module: Test::Unit::Fixture + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Fixture - - — test-unit - + + Module: Test::Unit::Fixture + + — test-unit + - test-unit @@ -62,91 +62,91 @@
        - - - -

        Module: Test::Unit::Fixture - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestCase
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/fixture.rb
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - Modules: ClassMethods - - - - Classes: Fixture, HookPoint - - -

        - - - - - - - - - -
        - - - + + + +

        Module: Test::Unit::Fixture + + + +

        +
        + + + + + + + + + +
        +
        Included in:
        +
        TestCase
        +
        + + + +
        +
        Defined in:
        +
        lib/test/unit/fixture.rb
        +
        + +
        + +

        Defined Under Namespace

        +

        + + + Modules: ClassMethods + + + + Classes: Fixture, HookPoint + + +

        + + + + + + + + + +
        + + +
        @@ -182,6 +182,6 @@

        Defined Under Namespace

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/Fixture/ClassMethods.html b/test-unit/ja/Test/Unit/Fixture/ClassMethods.html index 6f24426e..d1f75ff5 100644 --- a/test-unit/ja/Test/Unit/Fixture/ClassMethods.html +++ b/test-unit/ja/Test/Unit/Fixture/ClassMethods.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::Fixture::ClassMethods - - — test-unit - + <title> + Module: Test::Unit::Fixture::ClassMethods + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Fixture::ClassMethods - - — test-unit - + + Module: Test::Unit::Fixture::ClassMethods + + — test-unit + - test-unit @@ -62,464 +62,464 @@
        - - - -

        Module: Test::Unit::Fixture::ClassMethods - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/fixture.rb,
        - lib/test/unit/fixture.rb
        -
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + +
      • + + + #setup(*method_names, &callback) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #teardown(*method_names, &callback) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #teardown(*method_names, &callback) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #unregister_cleanup(*method_names_or_callbacks) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #unregister_cleanup(*method_names_or_callbacks) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #unregister_setup(*method_names_or_callbacks) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #unregister_setup(*method_names_or_callbacks) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #unregister_teardown(*method_names_or_callbacks) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #unregister_teardown(*method_names_or_callbacks) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #cleanup(*method_names, &callback) ⇒ Object - - - - - -

        - - + +
        + + + + + + + + + + +
        +

        Instance Method Details

        + + +
        +

        + + #cleanup(*method_names, &callback) ⇒ Object + + + + + +

        + + - + - -
         
         
         212
         213
        -214
        -
        +214 +
        # File 'lib/test/unit/fixture.rb', line 212
         
         def cleanup(*method_names, &callback)
           register_fixture(:cleanup, *method_names, &callback)
        -end
        -
        -
        - -
        -

        - - #fixtureObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #fixtureObject + + + + + +

        + + - + - -
         
         
         200
         201
        -202
        -
        +202 +
        # File 'lib/test/unit/fixture.rb', line 200
         
         def fixture
           @fixture ||= Fixture.new(self)
        -end
        -
        -
        - -
        -

        - - #setup(*method_names, &callback) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #setup(*method_names, &callback) ⇒ Object + + + + + +

        + + - + - -
         
         
         204
         205
        -206
        -
        +206 +
        # File 'lib/test/unit/fixture.rb', line 204
         
         def setup(*method_names, &callback)
           register_fixture(:setup, *method_names, &callback)
        -end
        -
        -
        - -
        -

        - - #teardown(*method_names, &callback) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #teardown(*method_names, &callback) ⇒ Object + + + + + +

        + + - + - -
         
         
         220
         221
        -222
        -
        +222 +
        # File 'lib/test/unit/fixture.rb', line 220
         
         def teardown(*method_names, &callback)
           register_fixture(:teardown, *method_names, &callback)
        -end
        -
        -
        - -
        -

        - - #unregister_cleanup(*method_names_or_callbacks) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #unregister_cleanup(*method_names_or_callbacks) ⇒ Object + + + + + +

        + + - + - -
         
         
         216
         217
        -218
        -
        +218 +
        # File 'lib/test/unit/fixture.rb', line 216
         
         def unregister_cleanup(*method_names_or_callbacks)
           unregister_fixture(:cleanup, *method_names_or_callbacks)
        -end
        -
        -
        - -
        -

        - - #unregister_setup(*method_names_or_callbacks) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #unregister_setup(*method_names_or_callbacks) ⇒ Object + + + + + +

        + + - + - -
         
         
         208
         209
        -210
        -
        +210 +
        # File 'lib/test/unit/fixture.rb', line 208
         
         def unregister_setup(*method_names_or_callbacks)
           unregister_fixture(:setup, *method_names_or_callbacks)
        -end
        -
        -
        - -
        -

        - - #unregister_teardown(*method_names_or_callbacks) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #unregister_teardown(*method_names_or_callbacks) ⇒ Object + + + + + +

        + + - + - -
         
         
         224
         225
        -226
        -
        +226 +
        # File 'lib/test/unit/fixture.rb', line 224
         
         def unregister_teardown(*method_names_or_callbacks)
           unregister_fixture(:teardown, *method_names_or_callbacks)
        -end
        -
        -
        - -
        - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -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 - + <title> + Class: Test::Unit::Fixture::Fixture + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Fixture::Fixture - - — test-unit - + + Class: Test::Unit::Fixture::Fixture + + — test-unit + - test-unit @@ -62,299 +62,299 @@
        - - - -

        Class: Test::Unit::Fixture::Fixture - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/fixture.rb
        -
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
          - -
        • - - - #cleanup ⇒ Object - - - - - - - - - readonly - - - - - - - - - + + + +

          Class: Test::Unit::Fixture::Fixture + + + +

          +
          + +
          +
          Inherits:
          +
          + Object + +
            +
          • Object
          • + + + +
          + show all + +
          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/fixture.rb
          +
          + +
          + + + + + +

          Instance Attribute Summary collapse

          +
            + +
          • + + + #cleanup ⇒ Object + + + + + + + + + readonly + + + + + + + + +

            Returns the value of attribute cleanup.

            -
            - -
          • - - -
          • - - - #setup ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
          + +
        • + + +
        • + + + #setup ⇒ Object + + + + + + + + + readonly + + + + + + + + +

          Returns the value of attribute setup.

          -
          - -
        • - - -
        • - - - #teardown ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
        + + + + +
      • + + + #teardown ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute teardown.

        -
        - -
      • - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #after_callbacks(type) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #before_callbacks(type) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #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

        - - - -
        -

        - - #cleanupObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #cleanupObject (readonly) + + + + + +

        +

        Returns the value of attribute cleanup

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         23
         24
        -25
        -
        +25 +
        # File 'lib/test/unit/fixture.rb', line 23
         
         def cleanup
           @cleanup
        -end
        -
        - - - - -
        -

        - - #setupObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #setupObject (readonly) + + + + + +

        +

        Returns the value of attribute setup

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         22
         23
        -24
        -
        +24 +
        # File 'lib/test/unit/fixture.rb', line 22
         
         def setup
           @setup
        -end
        -
        - - - - -
        -

        - - #teardownObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #teardownObject (readonly) + + + + + +

        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - + <title> + Class: Test::Unit::Fixture::HookPoint + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Fixture::HookPoint - - — test-unit - + + Class: Test::Unit::Fixture::HookPoint + + — test-unit + - test-unit @@ -62,279 +62,279 @@
        - - - -

        Class: Test::Unit::Fixture::HookPoint - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/fixture.rb
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + +
      • + + + #before_append_callbacks ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #before_prepend_callbacks ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #before_prepend_callbacks ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #initialize(test_case, type, default_options) ⇒ HookPoint - - - - - - - constructor - - - - - - - - +
      • + + + + +
      • + + + #initialize(test_case, type, default_options) ⇒ HookPoint + + + + + + + constructor + + + + + + + +

        A new instance of HookPoint.

        -
        - -
      • - - -
      • - - - #register(method_name_or_callback, options = nil) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #register(method_name_or_callback, options = nil) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #unregister(method_name_or_callback) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #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_callbacksObject - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #after_append_callbacksObject + + + + + +

        + + - + - -
         
         
         162
         163
        -164
        -
        +164 +
        # File 'lib/test/unit/fixture.rb', line 162
         
         def after_append_callbacks
           @after_append_callbacks - @unregistered_callbacks
        -end
        -
        -
        - -
        -

        - - #after_prepend_callbacksObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #after_prepend_callbacksObject + + + + + +

        + + - + - -
         
         
         158
         159
        -160
        -
        +160 +
        # File 'lib/test/unit/fixture.rb', line 158
         
         def after_prepend_callbacks
           @after_prepend_callbacks - @unregistered_callbacks
        -end
        -
        -
        - -
        -

        - - #before_append_callbacksObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #before_append_callbacksObject + + + + + +

        + + - + - -
         
         
         154
         155
        -156
        -
        +156 +
        # File 'lib/test/unit/fixture.rb', line 154
         
         def before_append_callbacks
           @before_append_callbacks - @unregistered_callbacks
        -end
        -
        -
        - -
        -

        - - #before_prepend_callbacksObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #before_prepend_callbacksObject + + + + + +

        + + - + - -
         
         
         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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - + <title> + Class: Test::Unit::MixColor + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::MixColor - - — test-unit - + + Class: Test::Unit::MixColor + + — test-unit + - test-unit @@ -62,440 +62,440 @@
        - - - -

        Class: Test::Unit::MixColor - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/color.rb
        -
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
          - -
        • - - - #colors ⇒ Object - - - - - - - - - readonly - - - - - - - - - + + + +

          Class: Test::Unit::MixColor + + + +

          +
          + +
          +
          Inherits:
          +
          + Object + +
            +
          • Object
          • + + + +
          + show all + +
          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/color.rb
          +
          + +
          + + + + + +

          Instance Attribute Summary collapse

          +
            + +
          • + + + #colors ⇒ Object + + + + + + + + + readonly + + + + + + + + +

            Returns the value of attribute colors.

            -
            - -
          • - - -
          - - - - - -

          - Instance Method Summary - collapse -

          - -
          + +
        • + + +
        + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #==(other) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #escape_sequence ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #escape_sequence ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #initialize(colors) ⇒ MixColor - - - - - - - constructor - - - - - - - - +
      • + + + + +
      • + + + #initialize(colors) ⇒ MixColor + + + + + + + constructor + + + + + + + +

        A new instance of MixColor.

        -
        - -
      • - - -
      • - - - #sequence ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #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

        - - - -
        -

        - - #colorsObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #colorsObject (readonly) + + + + + +

        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #==(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_sequenceObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #escape_sequenceObject + + + + + +

        + + - + - -
         
         
         121
         122
        -123
        -
        +123 +
        # File 'lib/test/unit/color.rb', line 121
         
         def escape_sequence
           "\e[#{sequence.join(';')}m"
        -end
        -
        -
        - -
        -

        - - #sequenceObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #sequenceObject + + + + + +

        + + - + - -
         
         
        @@ -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 - + <title> + Class: Test::Unit::Notification + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Notification - - — test-unit - + + Class: Test::Unit::Notification + + — test-unit + - test-unit @@ -62,440 +62,440 @@
        - - - -

        Class: Test::Unit::Notification - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        Util::BacktraceFilter
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/notification.rb
        -
        - -
        - - - -

        - Constant Summary - collapse -

        - -
        - -
        SINGLE_CHARACTER = - -
        -
        'N'
        - -
        LABEL = - -
        -
        "Notification"
        - -
        - - - - - - -

        Constants included - from Util::BacktraceFilter

        -

        Util::BacktraceFilter::POWERASSERT_PREFIX, Util::BacktraceFilter::TESTUNIT_FILE_SEPARATORS, Util::BacktraceFilter::TESTUNIT_PREFIX, Util::BacktraceFilter::TESTUNIT_RB_FILE

        - - -

        Instance Attribute Summary collapse

        -
        + + + + +
      • + + + #method_name ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute method_name.

        -
        - -
      • - - -
      • - - - #test_name ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
      • + + + + +
      • + + + #test_name ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute test_name.

        -
        - -
      • - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #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.

        -
        - -
      • - - - - - - - - - - - - - - -

        Methods included from Util::BacktraceFilter

        -

        filter_backtrace

        -
        -

        Constructor Details

        - -
        -

        - - #initialize(test_name, location, message, options = {}) ⇒ Notification - - - - - -

        -
        +
        + + + + + + + + + + + + + + + + +

        Methods included from Util::BacktraceFilter

        +

        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

        - - - -
        -

        - - #locationObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #locationObject (readonly) + + + + + +

        +

        Returns the value of attribute location

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         7
         8
        -9
        -
        +9 +
        # File 'lib/test/unit/notification.rb', line 7
         
         def location
           @location
        -end
        -
        - - - - -
        -

        - - #messageObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #messageObject (readonly) + + + + + +

        +

        Returns the value of attribute message

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         7
         8
        -9
        -
        +9 +
        # File 'lib/test/unit/notification.rb', line 7
         
         def message
           @message
        -end
        -
        - - - - -
        -

        - - #method_nameObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #method_nameObject (readonly) + + + + + +

        +

        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_nameObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #test_nameObject (readonly) + + + + + +

        +

        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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #critical?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         47
         48
        -49
        -
        +49 +
        # File 'lib/test/unit/notification.rb', line 47
         
         def critical?
           false
        -end
        -
        -
        - -
        -

        - - #labelObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #labelObject + + + + + +

        + + - + - -
         
         
         27
         28
        -29
        -
        +29 +
        # File 'lib/test/unit/notification.rb', line 27
         
         def label
           LABEL
        -end
        -
        -
        - -
        -

        - - #long_displayObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #long_displayObject + + + + + +

        +

        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_displayObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #short_displayObject + + + + + +

        +

        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_displayObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #single_character_displayObject + + + + + +

        +

        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_sObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #to_sObject + + + + + +

        +

        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 - + <title> + Module: Test::Unit::NotificationHandler + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::NotificationHandler - - — test-unit - + + Module: Test::Unit::NotificationHandler + + — test-unit + - test-unit @@ -62,76 +62,76 @@
        - - - -

        Module: Test::Unit::NotificationHandler - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/notification.rb,
        - lib/test/unit/notification.rb
        -
        -
        - -
        - - - - - - - - - - -
        - - - + + + +

        Module: Test::Unit::NotificationHandler + + + +

        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/notification.rb,
        + lib/test/unit/notification.rb
        +
        +
        + +
        + + + + + + + + + + +
        + + +
        @@ -167,6 +167,6 @@
        -
        - +
        + \ 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 - + <title> + Exception: Test::Unit::NotifiedError + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Exception: Test::Unit::NotifiedError - - — test-unit - + + Exception: Test::Unit::NotifiedError + + — test-unit + - test-unit @@ -62,93 +62,93 @@
        - - - -

        Exception: Test::Unit::NotifiedError - - - -

        -
        - -
        -
        Inherits:
        -
        - StandardError - -
          -
        • Object
        • - - - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/notification.rb
        -
        - -
        - - - - - - - - - - - -
        - - - + + + +

        Exception: Test::Unit::NotifiedError + + + +

        +
        + +
        +
        Inherits:
        +
        + StandardError + +
          +
        • Object
        • + + + + + +
        + show all + +
        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/notification.rb
        +
        + +
        + + + + + + + + + + + +
        + + +
        @@ -184,6 +184,6 @@
        -
        - +
        + \ 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 - + <title> + Module: Test::Unit::NullResultContainerInitializer + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::NullResultContainerInitializer - - — test-unit - + + Module: Test::Unit::NullResultContainerInitializer + + — test-unit + - test-unit @@ -62,81 +62,81 @@
        - - - -

        Module: Test::Unit::NullResultContainerInitializer - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestResult
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/testresult.rb,
        - lib/test/unit/testresult.rb
        -
        -
        - -
        - - - - - - - - - - -
        - - - + + + +

        Module: Test::Unit::NullResultContainerInitializer + + + +

        +
        + + + + + + + + + +
        +
        Included in:
        +
        TestResult
        +
        + + + +
        +
        Defined in:
        +
        lib/test/unit/testresult.rb,
        + lib/test/unit/testresult.rb
        +
        +
        + +
        + + + + + + + + + + +
        + + +
        @@ -172,6 +172,6 @@
        -
        - +
        + \ 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 - + <title> + Class: Test::Unit::Omission + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Omission - - — test-unit - + + Class: Test::Unit::Omission + + — test-unit + - test-unit @@ -62,440 +62,440 @@
        - - - -

        Class: Test::Unit::Omission - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        Util::BacktraceFilter
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/omission.rb
        -
        - -
        - - - -

        - Constant Summary - collapse -

        - -
        - -
        SINGLE_CHARACTER = - -
        -
        'O'
        - -
        LABEL = - -
        -
        "Omission"
        - -
        - - - - - - -

        Constants included - from Util::BacktraceFilter

        -

        Util::BacktraceFilter::POWERASSERT_PREFIX, Util::BacktraceFilter::TESTUNIT_FILE_SEPARATORS, Util::BacktraceFilter::TESTUNIT_PREFIX, Util::BacktraceFilter::TESTUNIT_RB_FILE

        - - -

        Instance Attribute Summary collapse

        -
        + + + + +
      • + + + #method_name ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute method_name.

        -
        - -
      • - - -
      • - - - #test_name ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
      • + + + + +
      • + + + #test_name ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute test_name.

        -
        - -
      • - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #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.

        -
        - -
      • - - - - - - - - - - - - - - -

        Methods included from Util::BacktraceFilter

        -

        filter_backtrace

        -
        -

        Constructor Details

        - -
        -

        - - #initialize(test_name, location, message, options = {}) ⇒ Omission - - - - - -

        -
        +
        + + + + + + + + + + + + + + + + +

        Methods included from Util::BacktraceFilter

        +

        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

        - - - -
        -

        - - #locationObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #locationObject (readonly) + + + + + +

        +

        Returns the value of attribute location

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         7
         8
        -9
        -
        +9 +
        # File 'lib/test/unit/omission.rb', line 7
         
         def location
           @location
        -end
        -
        - - - - -
        -

        - - #messageObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #messageObject (readonly) + + + + + +

        +

        Returns the value of attribute message

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         7
         8
        -9
        -
        +9 +
        # File 'lib/test/unit/omission.rb', line 7
         
         def message
           @message
        -end
        -
        - - - - -
        -

        - - #method_nameObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #method_nameObject (readonly) + + + + + +

        +

        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_nameObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #test_nameObject (readonly) + + + + + +

        +

        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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #critical?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         47
         48
        -49
        -
        +49 +
        # File 'lib/test/unit/omission.rb', line 47
         
         def critical?
           true
        -end
        -
        -
        - -
        -

        - - #labelObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #labelObject + + + + + +

        + + - + - -
         
         
         27
         28
        -29
        -
        +29 +
        # File 'lib/test/unit/omission.rb', line 27
         
         def label
           LABEL
        -end
        -
        -
        - -
        -

        - - #long_displayObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #long_displayObject + + + + + +

        +

        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_displayObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #short_displayObject + + + + + +

        +

        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_displayObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #single_character_displayObject + + + + + +

        +

        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_sObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #to_sObject + + + + + +

        +

        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 - + <title> + Module: Test::Unit::OmissionHandler + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::OmissionHandler - - — test-unit - + + Module: Test::Unit::OmissionHandler + + — test-unit + - test-unit @@ -62,76 +62,76 @@
        - - - -

        Module: Test::Unit::OmissionHandler - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/omission.rb,
        - lib/test/unit/omission.rb
        -
        -
        - -
        - - - - - - - - - - -
        - - - + + + +

        Module: Test::Unit::OmissionHandler + + + +

        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/omission.rb,
        + lib/test/unit/omission.rb
        +
        +
        + +
        + + + + + + + + + + +
        + + +
        @@ -167,6 +167,6 @@
        -
        - +
        + \ 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 - + <title> + Exception: Test::Unit::OmittedError + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Exception: Test::Unit::OmittedError - - — test-unit - + + Exception: Test::Unit::OmittedError + + — test-unit + - test-unit @@ -62,93 +62,93 @@
        - - - -

        Exception: Test::Unit::OmittedError - - - -

        -
        - -
        -
        Inherits:
        -
        - StandardError - -
          -
        • Object
        • - - - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/omission.rb
        -
        - -
        - - - - - - - - - - - -
        - - - + + + +

        Exception: Test::Unit::OmittedError + + + +

        +
        + +
        +
        Inherits:
        +
        + StandardError + +
          +
        • Object
        • + + + + + +
        + show all + +
        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/omission.rb
        +
        + +
        + + + + + + + + + + + +
        + + +
        @@ -184,6 +184,6 @@
        -
        - +
        + \ 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 - + <title> + Exception: Test::Unit::PendedError + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Exception: Test::Unit::PendedError - - — test-unit - + + Exception: Test::Unit::PendedError + + — test-unit + - test-unit @@ -62,93 +62,93 @@
        - - - -

        Exception: Test::Unit::PendedError - - - -

        -
        - -
        -
        Inherits:
        -
        - StandardError - -
          -
        • Object
        • - - - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/pending.rb
        -
        - -
        - - - - - - - - - - - -
        - - - + + + +

        Exception: Test::Unit::PendedError + + + +

        +
        + +
        +
        Inherits:
        +
        + StandardError + +
          +
        • Object
        • + + + + + +
        + show all + +
        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/pending.rb
        +
        + +
        + + + + + + + + + + + +
        + + +
        @@ -184,6 +184,6 @@
        -
        - +
        + \ 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 - + <title> + Class: Test::Unit::Pending + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Pending - - — test-unit - + + Class: Test::Unit::Pending + + — test-unit + - test-unit @@ -62,440 +62,440 @@
        - - - -

        Class: Test::Unit::Pending - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        Util::BacktraceFilter
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/pending.rb
        -
        - -
        - - - -

        - Constant Summary - collapse -

        - -
        - -
        SINGLE_CHARACTER = - -
        -
        'P'
        - -
        LABEL = - -
        -
        "Pending"
        - -
        - - - - - - -

        Constants included - from Util::BacktraceFilter

        -

        Util::BacktraceFilter::POWERASSERT_PREFIX, Util::BacktraceFilter::TESTUNIT_FILE_SEPARATORS, Util::BacktraceFilter::TESTUNIT_PREFIX, Util::BacktraceFilter::TESTUNIT_RB_FILE

        - - -

        Instance Attribute Summary collapse

        -
        + + + + +
      • + + + #method_name ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute method_name.

        -
        - -
      • - - -
      • - - - #test_name ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
      • + + + + +
      • + + + #test_name ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute test_name.

        -
        - -
      • - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #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.

        -
        - -
      • - - - - - - - - - - - - - - -

        Methods included from Util::BacktraceFilter

        -

        filter_backtrace

        -
        -

        Constructor Details

        - -
        -

        - - #initialize(test_name, location, message, options = {}) ⇒ Pending - - - - - -

        -
        +
        + + + + + + + + + + + + + + + + +

        Methods included from Util::BacktraceFilter

        +

        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

        - - - -
        -

        - - #locationObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #locationObject (readonly) + + + + + +

        +

        Returns the value of attribute location

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         7
         8
        -9
        -
        +9 +
        # File 'lib/test/unit/pending.rb', line 7
         
         def location
           @location
        -end
        -
        - - - - -
        -

        - - #messageObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #messageObject (readonly) + + + + + +

        +

        Returns the value of attribute message

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         7
         8
        -9
        -
        +9 +
        # File 'lib/test/unit/pending.rb', line 7
         
         def message
           @message
        -end
        -
        - - - - -
        -

        - - #method_nameObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #method_nameObject (readonly) + + + + + +

        +

        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_nameObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #test_nameObject (readonly) + + + + + +

        +

        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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #critical?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         47
         48
        -49
        -
        +49 +
        # File 'lib/test/unit/pending.rb', line 47
         
         def critical?
           true
        -end
        -
        -
        - -
        -

        - - #labelObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #labelObject + + + + + +

        + + - + - -
         
         
         27
         28
        -29
        -
        +29 +
        # File 'lib/test/unit/pending.rb', line 27
         
         def label
           LABEL
        -end
        -
        -
        - -
        -

        - - #long_displayObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #long_displayObject + + + + + +

        +

        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_displayObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #short_displayObject + + + + + +

        +

        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_displayObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #single_character_displayObject + + + + + +

        +

        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_sObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #to_sObject + + + + + +

        +

        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 - + <title> + Module: Test::Unit::PendingHandler + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::PendingHandler - - — test-unit - + + Module: Test::Unit::PendingHandler + + — test-unit + - test-unit @@ -62,76 +62,76 @@
        - - - -

        Module: Test::Unit::PendingHandler - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/pending.rb,
        - lib/test/unit/pending.rb
        -
        -
        - -
        - - - - - - - - - - -
        - - - + + + +

        Module: Test::Unit::PendingHandler + + + +

        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/pending.rb,
        + lib/test/unit/pending.rb
        +
        +
        + +
        + + + + + + + + + + +
        + + +
        @@ -167,6 +167,6 @@
        -
        - +
        + \ 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 - + <title> + Module: Test::Unit::Priority + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Priority - - — test-unit - + + Module: Test::Unit::Priority + + — test-unit + - test-unit @@ -62,446 +62,446 @@
        - - - -

        Module: Test::Unit::Priority - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestCase
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/priority.rb,
        - lib/test/unit/priority.rb
        -
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - Modules: ClassMethods - - - - Classes: Checker - - -

        - - -

        - Constant Summary - collapse -

        - -
        - -
        @@enabled = - -
        -
        false
        - -
        @@default = - -
        -
        :normal
        - -
        - - - - - - - - - -

        - Class Method Summary - collapse -

        - -
        + + + + +
      • + + + .default=(default) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .disable ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .disable ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .enable ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .enable ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .enabled? ⇒ Boolean - - - - - - - - - - - - - +
      • + + + + +
      • + + + .enabled? ⇒ Boolean + + + + + + + + + + + + +
        -
        - -
      • - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + +

        + Instance Method Summary + collapse +

        + + - - - - -
        -

        Class Method Details

        - - -
        -

        - - .available_valuesObject - - - - - -

        - - + +
        + + + + + + + + + + +
        +

        Class Method Details

        + + +
        +

        + + .available_valuesObject + + + + + +

        + + - + - -
         
         
         40
         41
        -42
        -
        +42 +
        # File 'lib/test/unit/priority.rb', line 40
         
         def available_values
           Checker.available_priorities
        -end
        -
        -
        - -
        -

        - - .defaultObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .defaultObject + + + + + +

        + + - + - -
         
         
         32
         33
        -34
        -
        +34 +
        # File 'lib/test/unit/priority.rb', line 32
         
         def default
           @@default || :normal
        -end
        -
        -
        - -
        -

        - - .default=(default) ⇒ Object - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .default=(default) ⇒ Object + + + + + +

        + + - + - -
         
         
         36
         37
        -38
        -
        +38 +
        # File 'lib/test/unit/priority.rb', line 36
         
         def default=(default)
           @@default = default
        -end
        -
        -
        - -
        -

        - - .disableObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .disableObject + + + + + +

        + + - + - -
         
         
         27
         28
        -29
        -
        +29 +
        # File 'lib/test/unit/priority.rb', line 27
         
         def disable
           @@enabled = false
        -end
        -
        -
        - -
        -

        - - .enableObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .enableObject + + + + + +

        + + - + - -
         
         
        @@ -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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + .enabled?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         17
         18
        -19
        -
        +19 +
        # File 'lib/test/unit/priority.rb', line 17
         
         def enabled?
           @@enabled
        -end
        -
        -
        - -
        - -
        -

        Instance Method Details

        - - -
        -

        - - #priority_setupObject - - - - - -

        - - + +
        +end +
        +
        + +
        + +
        +

        Instance Method Details

        + + +
        +

        + + #priority_setupObject + + + + + +

        + + - + - -
         
         
         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_teardownObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #priority_teardownObject + + + + + +

        + + - + - -
         
         
         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 - + <title> + Class: Test::Unit::Priority::Checker + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Priority::Checker - - — test-unit - + + Class: Test::Unit::Priority::Checker + + — test-unit + - test-unit @@ -62,545 +62,545 @@
        - - - -

        Class: Test::Unit::Priority::Checker - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/priority.rb,
        - lib/test/unit/priority.rb
        -
        -
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
          - -
        • - - - #test ⇒ Object - - - - - - - - - readonly - - - - - - - - - + + + +

          Class: Test::Unit::Priority::Checker + + + +

          +
          + +
          +
          Inherits:
          +
          + Object + +
            +
          • Object
          • + + + +
          + show all + +
          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/priority.rb,
          + lib/test/unit/priority.rb
          +
          +
          + +
          + + + + + +

          Instance Attribute Summary collapse

          +
            + +
          • + + + #test ⇒ Object + + + + + + + + + readonly + + + + + + + + +

            Returns the value of attribute test.

            -
            - -
          • - - -
          - - - - - -

          - Class Method Summary - collapse -

          - -
          + +
        • + + +
        + + + + + +

        + Class Method Summary + collapse +

        + +
        + + + + +
      • + + + .have_priority?(name) ⇒ Boolean + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .need_to_run?(test) ⇒ Boolean - - - - - - - - - - - - - +
      • + + + + +
      • + + + .need_to_run?(test) ⇒ Boolean + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .run_priority_high?(test) ⇒ Boolean - - - - - - - - - - - - - +
      • + + + + +
      • + + + .run_priority_high?(test) ⇒ Boolean + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .run_priority_important?(test) ⇒ Boolean - - - - - - - - - - - - - +
      • + + + + +
      • + + + .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

        - - - -
        -

        - - #testObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #testObject (readonly) + + + + + +

        +

        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_prioritiesObject - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        Class Method Details

        + + +
        +

        + + .available_prioritiesObject + + + + + +

        + + - + - -
         
         
        @@ -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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + .have_priority?(name) ⇒ Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + .need_to_run?(test) ⇒ Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + .run_priority_high?(test) ⇒ Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + .run_priority_important?(test) ⇒ Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + .run_priority_low?(test) ⇒ Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + .run_priority_must?(test) ⇒ Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + .run_priority_never?(test) ⇒ Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + .run_priority_normal?(test) ⇒ Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        + +
        +

        Instance Method Details

        + + +
        +

        + + #need_to_run?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (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
        -
        -
        - -
        -

        - - #setupObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #setupObject + + + + + +

        + + - + - -
         
         
         103
         104
        -105
        -
        +105 +
        # File 'lib/test/unit/priority.rb', line 103
         
         def setup
           FileUtils.rm_f(passed_file)
        -end
        -
        -
        - -
        -

        - - #teardownObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #teardownObject + + + + + +

        + + - + - -
         
         
        @@ -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 - + <title> + Module: Test::Unit::Priority::ClassMethods + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Priority::ClassMethods - - — test-unit - + + Module: Test::Unit::Priority::ClassMethods + + — test-unit + - test-unit @@ -62,118 +62,118 @@
        - - - -

        Module: Test::Unit::Priority::ClassMethods - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/priority.rb,
        - lib/test/unit/priority.rb,
        lib/test/unit/priority.rb
        -
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
          - -
        • - - - #priority(name, *tests) ⇒ Object - - - - - - - - - - - - - + + + +

          Module: Test::Unit::Priority::ClassMethods + + + +

          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/priority.rb,
          + lib/test/unit/priority.rb,
          lib/test/unit/priority.rb
          +
          +
          + +
          + + + + + + + + + +

          + Instance Method Summary + collapse +

          + + - - - - -
          -

          Instance Method Details

          - - -
          -

          - - #priority(name, *tests) ⇒ Object - - - - - -

          - - + +
          + + + + + + + + + + +
          +

          Instance Method Details

          + + +
          +

          + + #priority(name, *tests) ⇒ Object + + + + + +

          + + - + - -
           
           
          @@ -182,9 +182,9 @@ 

          175 176 177 -178

          -
          +178 +
          # File 'lib/test/unit/priority.rb', line 173
           
           def priority(name, *tests)
          @@ -192,22 +192,22 @@ 

          raise ArgumentError, "unknown priority: #{name}" end attribute(:priority, name, {:keep => true}, *tests) -end

          -
          -
          - -
          - - - - - +end +
          +
          + +
          + +
          + + +
        @@ -243,6 +243,6 @@

        -
        - +
        + \ 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 - + <title> + Class: Test::Unit::TestCase + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::TestCase - - — test-unit - + + Class: Test::Unit::TestCase + + — test-unit + - test-unit @@ -62,82 +62,82 @@
        - - - -

        Class: Test::Unit::TestCase - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        Assertions, Attribute, Data, ErrorHandler, ExceptionHandler, FailureHandler, Fixture, Priority, TestCaseNotificationSupport, TestCaseOmissionSupport, TestCasePendingSupport, Util::BacktraceFilter, Util::Output
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/testcase.rb,
        - lib/test/unit/testcase.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Class: Test::Unit::TestCase + + + +

        +
        + +
        +
        Inherits:
        +
        + Object + +
          +
        • Object
        • + + + +
        + show all + +
        +
        + + + + + + +
        +
        Includes:
        +
        Assertions, Attribute, Data, ErrorHandler, ExceptionHandler, FailureHandler, Fixture, Priority, TestCaseNotificationSupport, TestCaseOmissionSupport, TestCasePendingSupport, Util::BacktraceFilter, Util::Output
        +
        + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/testcase.rb,
        + lib/test/unit/testcase.rb
        +
        +
        + +
        + +

        Overview

        +

        Ties everything together. If you subclass and add your own test methods, it takes care of making them into tests and wrapping those tests into a suite. It also does the @@ -215,1338 +215,1338 @@

        Overview

        end end - - -
        -
        -
        - - -

        Defined Under Namespace

        -

        - - - - - Classes: InternalData - - -

        - - -

        - Constant Summary - collapse -

        - -
        - -
        STARTED = -
        -
        + + +
        +
        +
        + + +

        Defined Under Namespace

        +

        + + + + + Classes: InternalData + + +

        + + +

        + Constant Summary + collapse +

        + +
        + +
        STARTED = +
        +

        :nodoc:

        - - -
        -
        -
        - - -
        -
        -
        name + "::STARTED"
        - -
        FINISHED = -
        -
        + + +
        +
        +
        + + +
        +
        +
        name + "::STARTED"
        + +
        FINISHED = +
        +

        :nodoc:

        - - -
        -
        -
        - - -
        -
        -
        name + "::FINISHED"
        - -
        STARTED_OBJECT = -
        -
        + + +
        +
        +
        + + +
        +
        +
        name + "::FINISHED"
        + +
        STARTED_OBJECT = +
        +

        :nodoc:

        - - -
        -
        -
        - - -
        -
        -
        name + "::STARTED::OBJECT"
        - -
        FINISHED_OBJECT = -
        -
        + + +
        +
        +
        + + +
        +
        +
        name + "::STARTED::OBJECT"
        + +
        FINISHED_OBJECT = +
        +

        :nodoc:

        - - -
        -
        -
        - - -
        -
        -
        name + "::FINISHED::OBJECT"
        - -
        DESCENDANTS = -
        -
        + + +
        +
        +
        + + +
        +
        +
        name + "::FINISHED::OBJECT"
        + +
        DESCENDANTS = +
        +

        :nodoc:

        - - -
        -
        -
        - - -
        -
        -
        []
        - -
        AVAILABLE_ORDERS = -
        -
        + + +
        +
        +
        + + +
        +
        +
        []
        + +
        AVAILABLE_ORDERS = +
        +

        :nodoc:

        - - -
        -
        -
        - - -
        -
        -
        [:alphabetic, :random, :defined]
        - -
        @@added_method_names = - -
        -
        {}
        - -
        @@test_orders = - -
        -
        {}
        - -
        - - - - - - -

        Constants included - from Util::BacktraceFilter

        -

        Util::BacktraceFilter::POWERASSERT_PREFIX, Util::BacktraceFilter::TESTUNIT_FILE_SEPARATORS, Util::BacktraceFilter::TESTUNIT_PREFIX, Util::BacktraceFilter::TESTUNIT_RB_FILE

        - - - -

        Constants included - from ErrorHandler

        -

        ErrorHandler::NOT_PASS_THROUGH_EXCEPTIONS, ErrorHandler::NOT_PASS_THROUGH_EXCEPTION_NAMES, ErrorHandler::PASS_THROUGH_EXCEPTIONS, ErrorHandler::PASS_THROUGH_EXCEPTION_NAMES

        - - -

        Instance Attribute Summary collapse

        -
        +
        +
        + + +
        + +
        [:alphabetic, :random, :defined]
        + +
        @@added_method_names = + +
        +
        {}
        + +
        @@test_orders = + +
        +
        {}
        + + + + + + + + +

        Constants included + from Util::BacktraceFilter

        +

        Util::BacktraceFilter::POWERASSERT_PREFIX, Util::BacktraceFilter::TESTUNIT_FILE_SEPARATORS, Util::BacktraceFilter::TESTUNIT_PREFIX, Util::BacktraceFilter::TESTUNIT_RB_FILE

        + + + +

        Constants included + from ErrorHandler

        +

        ErrorHandler::NOT_PASS_THROUGH_EXCEPTIONS, ErrorHandler::NOT_PASS_THROUGH_EXCEPTION_NAMES, ErrorHandler::PASS_THROUGH_EXCEPTIONS, ErrorHandler::PASS_THROUGH_EXCEPTION_NAMES

        + + +

        Instance Attribute Summary collapse

        +
          + +
        • + + + #method_name ⇒ Object + + + + + + + + + readonly + + + + + + + + +

          Returns the value of attribute method_name.

          -
          - -
        • - - -
        - - - - - -

        - Class Method Summary - collapse -

        - -
        + + + + + + + + + + +

        + Class Method Summary + collapse +

        + +
        + + + + +
      • + + + .description(value, target = nil) ⇒ Object + + + + + + + + + + + + +

        Describes a test.

        -
        - -
      • - - -
      • - - - .find_locations(query) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .find_locations(query) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - .include(*modules, &block) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .include(*modules, &block) ⇒ Object + + + + + + + + + + + + +

        :nodoc:.

        -
        - -
      • - - -
      • - - - .inherited(sub_class) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .inherited(sub_class) ⇒ Object + + + + + + + + + + + + +

        :nodoc:.

        -
        - -
      • - - -
      • - - - .method_added(name) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + .method_added(name) ⇒ Object + + + + + + + + + + + + +

        :nodoc:.

        -
        - -
      • - - -
      • - - - .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 +

        + + - - - - - - - - - - - -

        Methods included from Util::Output

        -

        #capture_output

        - - - - - - - - - -

        Methods included from Util::BacktraceFilter

        -

        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

        - - - - - - - - - -

        Methods included from TestCaseNotificationSupport

        -

        #notify

        - - - - - - - - - -

        Methods included from TestCaseOmissionSupport

        -

        #omit, #omit_if, #omit_unless

        - - - - - - - - - -

        Methods included from TestCasePendingSupport

        -

        #pend

        - - - - - - - - - -

        Methods included from FailureHandler

        -

        #add_failure

        - - - - - - - - - - - - - - - -

        Methods included from ExceptionHandler

        -

        exception_handlers

        - - - - - - - - - - - - - - - -

        Methods included from Attribute

        -

        #[], #attributes

        -
        -

        Constructor Details

        - -
        -

        - - #initialize(test_method_name) ⇒ TestCase - - - - - -

        -
        +
        + + + + + + + + + + + + + + + + +

        Methods included from Util::Output

        +

        #capture_output

        + + + + + + + + + +

        Methods included from Util::BacktraceFilter

        +

        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

        + + + + + + + + + +

        Methods included from TestCaseNotificationSupport

        +

        #notify

        + + + + + + + + + +

        Methods included from TestCaseOmissionSupport

        +

        #omit, #omit_if, #omit_unless

        + + + + + + + + + +

        Methods included from TestCasePendingSupport

        +

        #pend

        + + + + + + + + + +

        Methods included from FailureHandler

        +

        #add_failure

        + + + + + + + + + + + + + + + +

        Methods included from ExceptionHandler

        +

        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_nameObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #method_nameObject (readonly) + + + + + +

        +

        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_namesObject - - - - - -

        -
        +end +
        +
        + +
        + + +
        +

        Class Method Details

        + + +
        +

        + + .added_method_namesObject + + + + + +

        +

        :nodoc:

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         154
         155
        -156
        -
        +156 +
        # File 'lib/test/unit/testcase.rb', line 154
         
         def added_method_names # :nodoc:
           (@@added_method_names[self] ||= {}).keys
        -end
        -
        - - -
        -

        - - .description(value, target = nil) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + .include(*modules, &block) ⇒ Object + + + + + +

        +

        :nodoc:

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -1700,9 +1700,9 @@ 

        137 138 139 -140

        -
        +140 +
        # File 'lib/test/unit/testcase.rb', line 133
         
         def include(*modules, &block) # :nodoc:
        @@ -1712,76 +1712,76 @@ 

        AutoRunnerLoader.check(self, method_name.to_s) end end -end

        -
        - - -
        -

        - - .inherited(sub_class) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        +

        + + .inherited(sub_class) ⇒ Object + + + + + +

        +

        :nodoc:

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         120
         121
         122
        -123
        -
        +123 +
        # File 'lib/test/unit/testcase.rb', line 120
         
         def inherited(sub_class) # :nodoc:
           DESCENDANTS << sub_class
           super
        -end
        -
        - - -
        -

        - - .method_added(name) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        +

        + + .method_added(name) ⇒ Object + + + + + +

        +

        :nodoc:

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -1811,9 +1811,9 @@ 

        149 150 151 -152

        -
        +152 +
        # File 'lib/test/unit/testcase.rb', line 126
         
         def method_added(name) # :nodoc:
        @@ -1842,23 +1842,23 @@ 

        } added_method_names[stringified_name] = true AutoRunnerLoader.check(self, stringified_name) -end

        -
        - - -
        -

        - - .ractor(options = {}) ⇒ void - - - - - -

        -
        +end +
        +
        + +
        +

        + + .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.

        - - -

        -
        -
        - -
        -

        Examples:

        - - + + +
        +
        +
        + +
        +

        Examples:

        + +

        Declares that test_do_something_with_ractor uses Ractor

        -

        - +

        +
        
         ractor
         def test_do_something_with_ractor
           Ractor.new do
             # ...
           end
        -end
        - -
        -

        Parameters:

        -
          - -
        • - - options - - - (Hash) - - - (defaults to: {}) - - - — +end + +
        +

        Parameters:

        + - -

        Since:

        -
          - -
        • - - - - - +
        + + + + + +

        Since:

        +
          + +
        • + + + + +

          3.4.6

          -
          - -
        • - -
        - -
        - - + +
        + + + + + + + + + - + - -
         
         
         380
         381
        -382
        -
        +382 +
        # File 'lib/test/unit/testcase.rb', line 380
         
         def ractor(options={})
           attribute(:ractor, true, options)
        -end
        -
        - - -
        -

        - - .shutdownObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + .shutdownObject + + + + + +

        +

        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
        -
        - - -
        -

        - - .startupObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + .startupObject + + + + + +

        +

        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 - - - - - -

        -
        +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”.
        • -
        - - -

        -
        -
        -

        Parameters:

        -
          - -
        • - - name - - - (String) - - - - — -

          The name of newly created sub test case.

          -
          - -
        • - +
        • 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”.
        - -

        Yields:

        -
          - -
        • - - - - - - - + + +
        +
        +
        +

        Parameters:

        +
          + +
        • + + name + + + (String) + + + + — +

          The name of newly created sub test case.

          +
          + +
        • + +
        + +

        Yields:

        +
          + +
        • + + + + + + +

          The block is evaluated under the newly created sub test case class context.

          -
          - -
        • - -
        -

        Returns:

        -
        + + + + +

        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

        -
        - - -
        -

        - - .suiteObject - - - - - -

        -
        +end +
        + + +
        +

        + + .suiteObject + + + + + +

        +

        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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + .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 @@ 

        AutoRunnerLoader.check(self, target) end end -end

        -
        - - -
        -

        - - .test_defined?(query) ⇒ Boolean - - - - - -

        -
        +end +
        +
        + +
        +

        + + .test_defined?(query) ⇒ Boolean + + + + + +

        +

        Checks whether a test that is matched the query is defined.

        - - -
        -
        -
        -

        Parameters:

        -
          - -
        • - - query - - - (Hash) - - - - — + + +
        +
        +
        +

        Parameters:

        + - - - - -

        Options Hash (query):

        -
        + + + + + + + + +

        Options Hash (query):

        + - - -

        Returns:

        - - - - - + +
        + + + + + + + +

        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_orderObject - - - - - -

        -
        +end +
        + + +
        +

        + + .test_orderObject + + + + + +

        +

        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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + .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 - - - - - -

        -
        +end +
        +
        + + + +
        +

        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_passvoid - - - - - -

        -
        +end +
        +
        + +
        +

        + + #add_passvoid + + + + + +

        +

        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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #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) # :nodoc:
           @internal_data.assign_test_data(label, data)
        -end
        -
        - - -
        -

        - - #cleanupObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #cleanupObject + + + + + +

        +

        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
        -
        - - -
        -

        - - #dataObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #dataObject + + + + + +

        +

        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_labelObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #data_labelObject + + + + + +

        +

        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_testObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #default_testObject + + + + + +

        + + - + - -
         
         
         658
         659
        -660
        -
        +660 +
        # File 'lib/test/unit/testcase.rb', line 658
         
         def default_test
           flunk("No tests were specified")
        -end
        -
        -
        - -
        -

        - - #descriptionObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #descriptionObject + + + + + +

        +

        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_timeObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #elapsed_timeObject + + + + + +

        +

        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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #interrupted?Boolean + + + + + +

        +

        Returns whether the test is interrupted.

        - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         725
         726
        -727
        -
        +727 +
        # File 'lib/test/unit/testcase.rb', line 725
         
         def interrupted?
           @internal_data.interrupted?
        -end
        -
        - - -
        -

        - - #local_nameObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #local_nameObject + + + + + +

        +

        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

        -
        - - -
        -

        - - #nameObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #nameObject + + + + + +

        +

        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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #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.

        - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         732
         733
        -734
        -
        +734 +
        # File 'lib/test/unit/testcase.rb', line 732
         
         def passed?
           @internal_data.passed?
        -end
        -
        - - -
        -

        - - #problem_occurredvoid - - - - - -

        -
        +end +
        +
        + +
        +

        + + #problem_occurredvoid + + + + + +

        +

        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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #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 # @_result = nil # For test-spec's after_all :< end -end

        -
        - - -
        -

        - - #setupObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #setupObject + + + + + +

        +

        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
        -
        - - -
        -

        - - #sizeObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #sizeObject + + + + + +

        + + - + - -
         
         
         662
         663
        -664
        -
        +664 +
        # File 'lib/test/unit/testcase.rb', line 662
         
         def size
           1
        -end
        -
        -
        - -
        -

        - - #start_timeObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #start_timeObject + + + + + +

        +

        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
        -
        - - -
        -

        - - #teardownObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #teardownObject + + + + + +

        +

        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_sObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #to_sObject + + + + + +

        +

        Overridden to return #name.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         702
         703
        -704
        -
        +704 +
        # File 'lib/test/unit/testcase.rb', line 702
         
         def to_s
           name
        -end
        -
        - - -
        -

        - - #valid?Boolean - - - - - -

        -
        +end +
        +
        + +
        +

        + + #valid?Boolean + + + + + +

        +

        Returns the test is valid test. It is used in internal.

        - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
        @@ -3743,9 +3743,9 @@ 

        472 473 474 -475

        -
        +475 +
        # File 'lib/test/unit/testcase.rb', line 464
         
         def valid? # :nodoc:
        @@ -3759,22 +3759,22 @@ 

        return false end true -end

        -
        - - - - - - - - +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 - + <title> + Class: Test::Unit::TestCase::InternalData + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::TestCase::InternalData - - — test-unit - + + Class: Test::Unit::TestCase::InternalData + + — test-unit + - test-unit @@ -62,444 +62,444 @@
        - - - -

        Class: Test::Unit::TestCase::InternalData - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/testcase.rb,
        - lib/test/unit/testcase.rb,
        lib/test/unit/testcase.rb,
        lib/test/unit/testcase.rb,
        lib/test/unit/testcase.rb,
        lib/test/unit/testcase.rb
        -
        -
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
          - -
        • - - - #elapsed_time ⇒ Object - - - - - - - - - readonly - - - - - - - - - + + + +

          Class: Test::Unit::TestCase::InternalData + + + +

          +
          + +
          +
          Inherits:
          +
          + Object + +
            +
          • Object
          • + + + +
          + show all + +
          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/testcase.rb,
          + lib/test/unit/testcase.rb,
          lib/test/unit/testcase.rb,
          lib/test/unit/testcase.rb,
          lib/test/unit/testcase.rb,
          lib/test/unit/testcase.rb
          +
          +
          + +
          + + + + + +

          Instance Attribute Summary collapse

          +
          + +
        • + + +
        • + + + #start_time ⇒ Object + + + + + + + + + readonly + + + + + + + + +

          Returns the value of attribute start_time.

          -
          - -
        • - - -
        • - - - #test_data ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
        + + + + +
      • + + + #test_data ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute test_data.

        -
        - -
      • - - -
      • - - - #test_data_label ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
      • + + + + +
      • + + + #test_data_label ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute test_data_label.

        -
        - -
      • - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #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

        - -
        -

        - - #initializeInternalData - - - - - -

        -
        -

        Returns a new instance of InternalData.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initializeInternalData + + + + + +

        +
        +

        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_timeObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #elapsed_timeObject (readonly) + + + + + +

        +

        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_timeObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #start_timeObject (readonly) + + + + + +

        +

        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_dataObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #test_dataObject (readonly) + + + + + +

        +

        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_labelObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #test_data_labelObject (readonly) + + + + + +

        +

        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 - - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + #have_test_data?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         830
         831
        -832
        -
        +832 +
        # File 'lib/test/unit/testcase.rb', line 830
         
         def have_test_data?
           not @test_data_label.nil?
        -end
        -
        -
        - -
        -

        - - #interruptedObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #interruptedObject + + + + + +

        + + - + - -
         
         
         846
         847
        -848
        -
        +848 +
        # File 'lib/test/unit/testcase.rb', line 846
         
         def interrupted
           @interrupted = true
        -end
        -
        -
        - -
        -

        - - #interrupted?Boolean - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + #interrupted?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         821
         822
        -823
        -
        +823 +
        # File 'lib/test/unit/testcase.rb', line 821
         
         def interrupted?
           @interrupted
        -end
        -
        -
        - -
        -

        - - #passed?Boolean - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + #passed?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         817
         818
        -819
        -
        +819 +
        # File 'lib/test/unit/testcase.rb', line 817
         
         def passed?
           @passed
        -end
        -
        -
        - -
        -

        - - #problem_occurredObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #problem_occurredObject + + + + + +

        + + - + - -
         
         
         842
         843
        -844
        -
        +844 +
        # File 'lib/test/unit/testcase.rb', line 842
         
         def problem_occurred
           @passed = false
        -end
        -
        -
        - -
        -

        - - #test_finishedObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #test_finishedObject + + + + + +

        + + - + - -
         
         
         838
         839
        -840
        -
        +840 +
        # File 'lib/test/unit/testcase.rb', line 838
         
         def test_finished
           @elapsed_time = Time.now - @start_time
        -end
        -
        -
        - -
        -

        - - #test_startedObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #test_startedObject + + + + + +

        + + - + - -
         
         
         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 - + <title> + Module: Test::Unit::TestCaseNotificationSupport + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::TestCaseNotificationSupport - - — test-unit - + + Module: Test::Unit::TestCaseNotificationSupport + + — test-unit + - test-unit @@ -62,120 +62,120 @@
        - - - -

        Module: Test::Unit::TestCaseNotificationSupport - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestCase
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/notification.rb
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - - + + + + +
        +

        Instance Method Details

        + + +
        +

        + + #notify(message, options = {}, &block) ⇒ Object + + + + + +

        +

        Notify some information.

        Example:

        @@ -192,16 +192,16 @@

        :backtrace override backtrace.
         
        - - -

        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -210,9 +210,9 @@ 

        79 80 81 -82

        -
        +82 +
        # File 'lib/test/unit/notification.rb', line 77
         
         def notify(message, options={}, &block)
        @@ -220,22 +220,22 @@ 

        notification = Notification.new(name, backtrace, message, :method_name => @method_name) add_notification(notification) -end

        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -271,6 +271,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/TestCaseOmissionSupport.html b/test-unit/ja/Test/Unit/TestCaseOmissionSupport.html index b7aa3d5b..f411c6d8 100644 --- a/test-unit/ja/Test/Unit/TestCaseOmissionSupport.html +++ b/test-unit/ja/Test/Unit/TestCaseOmissionSupport.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::TestCaseOmissionSupport - - — test-unit - + <title> + Module: Test::Unit::TestCaseOmissionSupport + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::TestCaseOmissionSupport - - — test-unit - + + Module: Test::Unit::TestCaseOmissionSupport + + — test-unit + - test-unit @@ -62,166 +62,166 @@
        - - - -

        Module: Test::Unit::TestCaseOmissionSupport - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestCase
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/omission.rb
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + +
      • + + + #omit_unless(condition, *args, &block) ⇒ Object + + + + + + + + + + + + +

        Omit the test or part of the test if condition is not true.

        -
        - -
      • - - - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #omit(message = nil, &block) ⇒ Object - - - - - -

        -
        +
        + + + + + + + + + +
        +

        Instance Method Details

        + + +
        +

        + + #omit(message = nil, &block) ⇒ Object + + + + + +

        +

        Omit the test or part of the test.

        Example:

        @@ -238,16 +238,16 @@

        # Reached here end - - -

        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -260,9 +260,9 @@ 

        85 86 87 -88

        -
        +88 +
        # File 'lib/test/unit/omission.rb', line 79
         
         def omit(message=nil, &block)
        @@ -274,23 +274,23 @@ 

        else raise OmittedError.new(message) end -end

        -
        - - -
        -

        - - #omit_if(condition, *args, &block) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        +

        + + #omit_if(condition, *args, &block) ⇒ Object + + + + + +

        +

        Omit the test or part of the test if condition is true.

        @@ -311,16 +311,16 @@

        # Reached here too end - - -

        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -330,9 +330,9 @@ 

        111 112 113 -114

        -
        +114 +
        # File 'lib/test/unit/omission.rb', line 108
         
         def omit_if(condition, *args, &block)
        @@ -341,23 +341,23 @@ 

        else block.call if block end -end

        -
        - - -
        -

        - - #omit_unless(condition, *args, &block) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        +

        + + #omit_unless(condition, *args, &block) ⇒ Object + + + + + +

        +

        Omit the test or part of the test if condition is not true.

        @@ -378,16 +378,16 @@

        # Reached here too end - - -

        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -397,9 +397,9 @@ 

        137 138 139 -140

        -
        +140 +
        # File 'lib/test/unit/omission.rb', line 134
         
         def omit_unless(condition, *args, &block)
        @@ -408,22 +408,22 @@ 

        else omit(*args, &block) end -end

        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -459,6 +459,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/TestCasePendingSupport.html b/test-unit/ja/Test/Unit/TestCasePendingSupport.html index 00b3b703..3c3f8297 100644 --- a/test-unit/ja/Test/Unit/TestCasePendingSupport.html +++ b/test-unit/ja/Test/Unit/TestCasePendingSupport.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::TestCasePendingSupport - - — test-unit - + <title> + Module: Test::Unit::TestCasePendingSupport + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::TestCasePendingSupport - - — test-unit - + + Module: Test::Unit::TestCasePendingSupport + + — test-unit + - test-unit @@ -62,120 +62,120 @@
        - - - -

        Module: Test::Unit::TestCasePendingSupport - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestCase
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/pending.rb
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
          - -
        • - - - #pend(message = nil, &block) ⇒ Object - - - - - - - - - - - - - + + + +

          Module: Test::Unit::TestCasePendingSupport + + + +

          +
          + + + + + + + + + +
          +
          Included in:
          +
          TestCase
          +
          + + + +
          +
          Defined in:
          +
          lib/test/unit/pending.rb
          +
          + +
          + + + + + + + + + +

          + Instance Method Summary + collapse +

          + + - - - - -
          -

          Instance Method Details

          - - -
          -

          - - #pend(message = nil, &block) ⇒ Object - - - - - -

          -
          +
          + +
        • + + +
        + + + + +
        +

        Instance Method Details

        + + +
        +

        + + #pend(message = nil, &block) ⇒ Object + + + + + +

        +

        Marks the test or part of the test is pending.

        Example:

        @@ -194,16 +194,16 @@

        # Reached here end - - -

        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -224,9 +224,9 @@ 

        95 96 97 -98

        -
        +98 +
        # File 'lib/test/unit/pending.rb', line 81
         
         def pend(message=nil, &block)
        @@ -246,22 +246,22 @@ 

        else raise PendedError.new(message) end -end

        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -297,6 +297,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/TestResult.html b/test-unit/ja/Test/Unit/TestResult.html index c248d9a7..fc730448 100644 --- a/test-unit/ja/Test/Unit/TestResult.html +++ b/test-unit/ja/Test/Unit/TestResult.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::TestResult - - — test-unit - + <title> + Class: Test::Unit::TestResult + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::TestResult - - — test-unit - + + Class: Test::Unit::TestResult + + — test-unit + - test-unit @@ -62,645 +62,645 @@
        - - - -

        Class: Test::Unit::TestResult - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        NullResultContainerInitializer, TestResultErrorSupport, TestResultFailureSupport, TestResultNotificationSupport, TestResultOmissionSupport, TestResultPendingSupport, Util::Observable
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/testresult.rb,
        - lib/test/unit/testresult.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Class: Test::Unit::TestResult + + + +

        +
        + +
        +
        Inherits:
        +
        + Object + +
          +
        • Object
        • + + + +
        + show all + +
        +
        + + + + + + +
        +
        Includes:
        +
        NullResultContainerInitializer, TestResultErrorSupport, TestResultFailureSupport, TestResultNotificationSupport, TestResultOmissionSupport, TestResultPendingSupport, Util::Observable
        +
        + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/testresult.rb,
        + lib/test/unit/testresult.rb
        +
        +
        + +
        + +

        Overview

        +

        Collects Test::Unit::Failure and Test::Unit::Error so that they can be displayed to the user. To this end, observers can be added to it, allowing the dynamic updating of, say, a UI.

        - - -
        -
        -
        - - -
        - -

        - Constant Summary - collapse -

        - -
        - -
        FINISHED = - -
        -
        name + "::FINISHED"
        - -
        CHANGED = - -
        -
        name + "::CHANGED"
        - -
        PASS_ASSERTION = - -
        -
        name + "::PASS_ASSERTION"
        - -
        FAULT = - -
        -
        name + "::FAULT"
        - -
        - - - - - - -

        Constants included - from Util::Observable

        -

        Util::Observable::NOTHING

        - - -

        Instance Attribute Summary collapse

        -
        +
        +
        + + +
        + +

        + Constant Summary + collapse +

        + +
        + +
        FINISHED = + +
        +
        name + "::FINISHED"
        + +
        CHANGED = + +
        +
        name + "::CHANGED"
        + +
        PASS_ASSERTION = + +
        +
        name + "::PASS_ASSERTION"
        + +
        FAULT = + +
        +
        name + "::FAULT"
        + +
        + + + + + + +

        Constants included + from Util::Observable

        +

        Util::Observable::NOTHING

        + + +

        Instance Attribute Summary collapse

        +
        + + + + +
      • + + + #faults ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute faults.

        -
        - -
      • - - -
      • - - - #pass_count ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
      • + + + + +
      • + + + #pass_count ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute pass_count.

        -
        - -
      • - - -
      • - - - #run_count ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
      • + + + + +
      • + + + #run_count ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute run_count.

        -
        - -
      • - - -
      • - - - #stop_tag ⇒ Object - - - - - - - - - - - - - - - - +
      • + + + + +
      • + + + #stop_tag ⇒ Object + + + + + + + + + + + + + + + +

        Returns the value of attribute stop_tag.

        -
        - -
      • - - - - - - - - -

        Attributes included from TestResultNotificationSupport

        -

        #notifications

        - - - -

        Attributes included from TestResultOmissionSupport

        -

        #omissions

        - - - -

        Attributes included from TestResultPendingSupport

        -

        #pendings

        - - - -

        Attributes included from TestResultErrorSupport

        -

        #errors

        - - - -

        Attributes included from TestResultFailureSupport

        -

        #failures

        - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + + + + + +

        Attributes included from TestResultNotificationSupport

        +

        #notifications

        + + + +

        Attributes included from TestResultOmissionSupport

        +

        #omissions

        + + + +

        Attributes included from TestResultPendingSupport

        +

        #pendings

        + + + +

        Attributes included from TestResultErrorSupport

        +

        #errors

        + + + +

        Attributes included from TestResultFailureSupport

        +

        #failures

        + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #add_pass ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #add_run ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #add_run ⇒ Object + + + + + + + + + + + + +

        Records a test run.

        -
        - -
      • - - -
      • - - - #initialize ⇒ TestResult - - - - - - - constructor - - - - - - - - +
      • + + + + +
      • + + + #initialize ⇒ TestResult + + + + + + + constructor + + + + + + + +

        Constructs a new, empty TestResult.

        -
        - -
      • - - -
      • - - - #pass_percentage ⇒ Object - - - - - - - - - - - - - + + +
      • + + +
      • + + + #pass_percentage ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #passed? ⇒ Boolean - - - - - - - - - - - - - + + +
      • + + +
      • + + + #passed? ⇒ Boolean + + + + + + + + + + + + +

        Returns whether or not this TestResult represents successful completion.

        -
        - -
      • - - -
      • - - - #status ⇒ Object - - - - - - - - - - - - - + + +
      • + + +
      • + + + #status ⇒ Object + + + + + + + + + + + + +

        Returnes a string that shows result status.

        -
        - -
      • - - -
      • - - - #stop ⇒ Object - - - - - - - - - - - - - + + +
      • + + +
      • + + + #stop ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #summary ⇒ Object - - - - - - - - - - - - - + + +
      • + + +
      • + + + #summary ⇒ Object + + + + + + + + + + + + +

        Returns a string contain the recorded runs, assertions, failures and errors in this TestResult.

        -
        - -
      • - - -
      • - - - #to_s ⇒ Object - - - - - - - - - - - - - + + +
      • + + +
      • + + + #to_s ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - - - - - - - - - - - - - -

        Methods included from TestResultNotificationSupport

        -

        #add_notification, #notification_count

        - - - - - - - - - -

        Methods included from TestResultOmissionSupport

        -

        #add_omission, #omission_count

        - - - - - - - - - -

        Methods included from TestResultPendingSupport

        -

        #add_pending, #pending_count

        - - - - - - - - - -

        Methods included from TestResultErrorSupport

        -

        #add_error, #error_count, #error_occurred?

        - - - - - - - - - -

        Methods included from TestResultFailureSupport

        -

        #add_failure, #failure_count, #failure_occurred?

        - - - - - - - - - - - - - - - -

        Methods included from Util::Observable

        -

        #add_listener, #notify_listeners, #remove_listener

        -
        -

        Constructor Details

        - -
        -

        - - #initializeTestResult - - - - - -

        -
        +
        + + + + + + + + + + + + + + + + +

        Methods included from TestResultNotificationSupport

        +

        #add_notification, #notification_count

        + + + + + + + + + +

        Methods included from TestResultOmissionSupport

        +

        #add_omission, #omission_count

        + + + + + + + + + +

        Methods included from TestResultPendingSupport

        +

        #add_pending, #pending_count

        + + + + + + + + + +

        Methods included from TestResultErrorSupport

        +

        #add_error, #error_count, #error_occurred?

        + + + + + + + + + +

        Methods included from TestResultFailureSupport

        +

        #add_failure, #failure_count, #failure_occurred?

        + + + + + + + + + + + + + + + +

        Methods included from Util::Observable

        +

        #add_listener, #notify_listeners, #remove_listener

        +
        +

        Constructor Details

        + +
        +

        + + #initializeTestResult + + + + + +

        +

        Constructs a new, empty TestResult.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -711,9 +711,9 @@ 

        43 44 45 -46

        -
        +46 +
        # File 'lib/test/unit/testresult.rb', line 39
         
         def initialize
        @@ -723,256 +723,256 @@ 

        @faults = [] @stop_tag = nil initialize_containers -end

        -
        - - - - -
        -

        Instance Attribute Details

        - - - -
        -

        - - #assertion_countObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #assertion_countObject (readonly) + + + + + +

        +

        Returns the value of attribute assertion_count

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         34
         35
        -36
        -
        +36 +
        # File 'lib/test/unit/testresult.rb', line 34
         
         def assertion_count
           @assertion_count
        -end
        -
        - - - - -
        -

        - - #faultsObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #faultsObject (readonly) + + + + + +

        +

        Returns the value of attribute faults

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         34
         35
        -36
        -
        +36 +
        # File 'lib/test/unit/testresult.rb', line 34
         
         def faults
           @faults
        -end
        -
        - - - - -
        -

        - - #pass_countObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #pass_countObject (readonly) + + + + + +

        +

        Returns the value of attribute pass_count

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         34
         35
        -36
        -
        +36 +
        # File 'lib/test/unit/testresult.rb', line 34
         
         def pass_count
           @pass_count
        -end
        -
        - - - - -
        -

        - - #run_countObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #run_countObject (readonly) + + + + + +

        +

        Returns the value of attribute run_count

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         34
         35
        -36
        -
        +36 +
        # File 'lib/test/unit/testresult.rb', line 34
         
         def run_count
           @run_count
        -end
        -
        - - - - -
        -

        - - #stop_tagObject - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #stop_tagObject + + + + + +

        +

        Returns the value of attribute stop_tag

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         36
         37
        -38
        -
        +38 +
        # File 'lib/test/unit/testresult.rb', line 36
         
         def stop_tag
           @stop_tag
        -end
        -
        - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #add_assertionObject - - - - - -

        -
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #add_assertionObject + + + + + +

        +

        Records an individual assertion.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -980,73 +980,73 @@ 

        61 62 63 -64

        -
        +64 +
        # File 'lib/test/unit/testresult.rb', line 60
         
         def add_assertion
           @assertion_count += 1
           notify_listeners(PASS_ASSERTION, self)
           notify_changed
        -end
        -
        - - -
        -

        - - #add_passObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #add_passObject + + + + + +

        + + - + - -
         
         
         55
         56
        -57
        -
        +57 +
        # File 'lib/test/unit/testresult.rb', line 55
         
         def add_pass
           @pass_count += 1
        -end
        -
        -
        - -
        -

        - - #add_runObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #add_runObject + + + + + +

        +

        Records a test run.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -1054,33 +1054,33 @@ 

        50 51 52 -53

        -
        +53 +
        # File 'lib/test/unit/testresult.rb', line 49
         
         def add_run
           @run_count += 1
           notify_listeners(FINISHED, self)
           notify_changed
        -end
        -
        - - -
        -

        - - #pass_percentageObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #pass_percentageObject + + + + + +

        + + - + - -
         
         
        @@ -1091,9 +1091,9 @@ 

        111 112 113 -114

        -
        +114 +
        # File 'lib/test/unit/testresult.rb', line 107
         
         def pass_percentage
        @@ -1103,88 +1103,88 @@ 

        else 100.0 * (@pass_count / n_tests.to_f) end -end

        -
        -
        - -
        -

        - - #passed?Boolean - - - - - -

        -
        +end +
        +
        + +
        +

        + + #passed?Boolean + + + + + +

        +

        Returns whether or not this TestResult represents successful completion.

        - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         103
         104
        -105
        -
        +105 +
        # File 'lib/test/unit/testresult.rb', line 103
         
         def passed?
           @problem_checkers.all? {|checker| not __send__(checker)}
        -end
        -
        - - -
        -

        - - #statusObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #statusObject + + + + + +

        +

        Returnes a string that shows result status.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -1204,9 +1204,9 @@ 

        88 89 90 -91

        -
        +91 +
        # File 'lib/test/unit/testresult.rb', line 75
         
         def status
        @@ -1225,65 +1225,65 @@ 

        elsif failure_count > 0 "failure" end -end

        -
        - - -
        -

        - - #stopObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #stopObject + + + + + +

        + + - + - -
         
         
         93
         94
        -95
        -
        +95 +
        # File 'lib/test/unit/testresult.rb', line 93
         
         def stop
           throw @stop_tag
        -end
        -
        -
        - -
        -

        - - #summaryObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #summaryObject + + + + + +

        +

        Returns a string contain the recorded runs, assertions, failures and errors in this TestResult.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -1291,61 +1291,61 @@ 

        69 70 71 -72

        -
        +72 +
        # File 'lib/test/unit/testresult.rb', line 68
         
         def summary
           ["#{run_count} tests",
            "#{assertion_count} assertions",
            *@summary_generators.collect {|generator| __send__(generator)}].join(", ")
        -end
        -
        - - -
        -

        - - #to_sObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #to_sObject + + + + + +

        + + - + - -
         
         
         97
         98
        -99
        -
        +99 +
        # File 'lib/test/unit/testresult.rb', line 97
         
         def to_s
           summary
        -end
        -
        -
        - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -1381,6 +1381,6 @@

        - - + + \ 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 - + <title> + Module: Test::Unit::TestResultErrorSupport + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::TestResultErrorSupport - - — test-unit - + + Module: Test::Unit::TestResultErrorSupport + + — test-unit + - test-unit @@ -62,259 +62,259 @@
        - - - -

        Module: Test::Unit::TestResultErrorSupport - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestResult
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/error.rb,
        - lib/test/unit/error.rb
        -
        -
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
          - -
        • - - - #errors ⇒ Object - - - - - - - - - readonly - - - - - - - - - + + + +

          Module: Test::Unit::TestResultErrorSupport + + + +

          +
          + + + + + + + + + +
          +
          Included in:
          +
          TestResult
          +
          + + + +
          +
          Defined in:
          +
          lib/test/unit/error.rb,
          + lib/test/unit/error.rb
          +
          +
          + +
          + + + + + +

          Instance Attribute Summary collapse

          +
            + +
          • + + + #errors ⇒ Object + + + + + + + + + readonly + + + + + + + + +

            Returns the value of attribute errors.

            -
            - -
          • - - -
          - - - - - -

          - Instance Method Summary - collapse -

          - -
          + +
        • + + +
        + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #error_count ⇒ Object + + + + + + + + + + + + +

        Returns the number of errors this TestResult has recorded.

        -
        - -
      • - - -
      • - - - #error_occurred? ⇒ Boolean - - - - - - - - - - - - - +
      • + + + + +
      • + + + #error_occurred? ⇒ Boolean + + + + + + + + + + + + +
        -
        - -
      • - - - - - - -
        -

        Instance Attribute Details

        - - - -
        -

        - - #errorsObject (readonly) - - - - - -

        -
        +
        + + + + + + + + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #errorsObject (readonly) + + + + + +

        +

        Returns the value of attribute errors

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         120
         121
        -122
        -
        +122 +
        # File 'lib/test/unit/error.rb', line 120
         
         def errors
           @errors
        -end
        -
        - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #add_error(error) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #add_error(error) ⇒ Object + + + + + +

        +

        Records a Test::Unit::Error.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -322,125 +322,125 @@ 

        124 125 126 -127

        -
        +127 +
        # File 'lib/test/unit/error.rb', line 123
         
         def add_error(error)
           @errors << error
           notify_fault(error)
           notify_changed
        -end
        -
        - - -
        -

        - - #error_countObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #error_countObject + + + + + +

        +

        Returns the number of errors this TestResult has recorded.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         131
         132
        -133
        -
        +133 +
        # File 'lib/test/unit/error.rb', line 131
         
         def error_count
           @errors.size
        -end
        -
        - - -
        -

        - - #error_occurred?Boolean - - - - - -

        -
        +end +
        +
        + +
        +

        + + #error_occurred?Boolean + + + + + +

        +
        - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         135
         136
        -137
        -
        +137 +
        # File 'lib/test/unit/error.rb', line 135
         
         def error_occurred?
           not @errors.empty?
        -end
        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -476,6 +476,6 @@

        -
        - +
        + \ 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 - + <title> + Module: Test::Unit::TestResultFailureSupport + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::TestResultFailureSupport - - — test-unit - + + Module: Test::Unit::TestResultFailureSupport + + — test-unit + - test-unit @@ -62,259 +62,259 @@
        - - - -

        Module: Test::Unit::TestResultFailureSupport - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestResult
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/failure.rb,
        - lib/test/unit/failure.rb
        -
        -
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
          - -
        • - - - #failures ⇒ Object - - - - - - - - - readonly - - - - - - - - - + + + +

          Module: Test::Unit::TestResultFailureSupport + + + +

          +
          + + + + + + + + + +
          +
          Included in:
          +
          TestResult
          +
          + + + +
          +
          Defined in:
          +
          lib/test/unit/failure.rb,
          + lib/test/unit/failure.rb
          +
          +
          + +
          + + + + + +

          Instance Attribute Summary collapse

          +
            + +
          • + + + #failures ⇒ Object + + + + + + + + + readonly + + + + + + + + +

            Returns the value of attribute failures.

            -
            - -
          • - - -
          - - - - - -

          - Instance Method Summary - collapse -

          - -
          + +
        • + + +
        + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #failure_count ⇒ Object + + + + + + + + + + + + +

        Returns the number of failures this TestResult has recorded.

        -
        - -
      • - - -
      • - - - #failure_occurred? ⇒ Boolean - - - - - - - - - - - - - +
      • + + + + +
      • + + + #failure_occurred? ⇒ Boolean + + + + + + + + + + + + +
        -
        - -
      • - - - - - - -
        -

        Instance Attribute Details

        - - - -
        -

        - - #failuresObject (readonly) - - - - - -

        -
        +
        + + + + + + + + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #failuresObject (readonly) + + + + + +

        +

        Returns the value of attribute failures

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         131
         132
        -133
        -
        +133 +
        # File 'lib/test/unit/failure.rb', line 131
         
         def failures
           @failures
        -end
        -
        - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #add_failure(failure) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #add_failure(failure) ⇒ Object + + + + + +

        +

        Records a Test::Unit::Failure.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -322,125 +322,125 @@ 

        135 136 137 -138

        -
        +138 +
        # File 'lib/test/unit/failure.rb', line 134
         
         def add_failure(failure)
           @failures << failure
           notify_fault(failure)
           notify_changed
        -end
        -
        - - -
        -

        - - #failure_countObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #failure_countObject + + + + + +

        +

        Returns the number of failures this TestResult has recorded.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         142
         143
        -144
        -
        +144 +
        # File 'lib/test/unit/failure.rb', line 142
         
         def failure_count
           @failures.size
        -end
        -
        - - -
        -

        - - #failure_occurred?Boolean - - - - - -

        -
        +end +
        +
        + +
        +

        + + #failure_occurred?Boolean + + + + + +

        +
        - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         146
         147
        -148
        -
        +148 +
        # File 'lib/test/unit/failure.rb', line 146
         
         def failure_occurred?
           not @failures.empty?
        -end
        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -476,6 +476,6 @@

        -
        - +
        + \ 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 - + <title> + Module: Test::Unit::TestResultNotificationSupport + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::TestResultNotificationSupport - - — test-unit - + + Module: Test::Unit::TestResultNotificationSupport + + — test-unit + - test-unit @@ -62,236 +62,236 @@
        - - - -

        Module: Test::Unit::TestResultNotificationSupport - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestResult
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/notification.rb,
        - lib/test/unit/notification.rb
        -
        -
        - -
        - - - - - -

        Instance Attribute Summary collapse

        - + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #notification_count ⇒ Object + + + + + + + + + + + + +

        Returns the number of notifications this TestResult has recorded.

        -
        - -
      • - - - - - - -
        -

        Instance Attribute Details

        - - - -
        -

        - - #notificationsObject (readonly) - - - - - -

        -
        +
        + + + + + + + + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #notificationsObject (readonly) + + + + + +

        +

        Returns the value of attribute notifications

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         109
         110
        -111
        -
        +111 +
        # File 'lib/test/unit/notification.rb', line 109
         
         def notifications
           @notifications
        -end
        -
        - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #add_notification(notification) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #add_notification(notification) ⇒ Object + + + + + +

        +

        Records a Test::Unit::Notification.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -299,72 +299,72 @@ 

        113 114 115 -116

        -
        +116 +
        # File 'lib/test/unit/notification.rb', line 112
         
         def add_notification(notification)
           @notifications << notification
           notify_fault(notification)
           notify_changed
        -end
        -
        - - -
        -

        - - #notification_countObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #notification_countObject + + + + + +

        +

        Returns the number of notifications this TestResult has recorded.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         120
         121
        -122
        -
        +122 +
        # File 'lib/test/unit/notification.rb', line 120
         
         def notification_count
           @notifications.size
        -end
        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -400,6 +400,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/TestResultOmissionSupport.html b/test-unit/ja/Test/Unit/TestResultOmissionSupport.html index 896ac00f..e52c2102 100644 --- a/test-unit/ja/Test/Unit/TestResultOmissionSupport.html +++ b/test-unit/ja/Test/Unit/TestResultOmissionSupport.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::TestResultOmissionSupport - - — test-unit - + <title> + Module: Test::Unit::TestResultOmissionSupport + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::TestResultOmissionSupport - - — test-unit - + + Module: Test::Unit::TestResultOmissionSupport + + — test-unit + - test-unit @@ -62,236 +62,236 @@
        - - - -

        Module: Test::Unit::TestResultOmissionSupport - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestResult
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/omission.rb,
        - lib/test/unit/omission.rb
        -
        -
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
          - -
        • - - - #omissions ⇒ Object - - - - - - - - - readonly - - - - - - - - - + + + +

          Module: Test::Unit::TestResultOmissionSupport + + + +

          +
          + + + + + + + + + +
          +
          Included in:
          +
          TestResult
          +
          + + + +
          +
          Defined in:
          +
          lib/test/unit/omission.rb,
          + lib/test/unit/omission.rb
          +
          +
          + +
          + + + + + +

          Instance Attribute Summary collapse

          +
            + +
          • + + + #omissions ⇒ Object + + + + + + + + + readonly + + + + + + + + +

            Returns the value of attribute omissions.

            -
            - -
          • - - -
          - - - - - -

          - Instance Method Summary - collapse -

          - -
          + +
        • + + +
        + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #omission_count ⇒ Object + + + + + + + + + + + + +

        Returns the number of omissions this TestResult has recorded.

        -
        - -
      • - - - - - - -
        -

        Instance Attribute Details

        - - - -
        -

        - - #omissionsObject (readonly) - - - - - -

        -
        +
        + + + + + + + + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #omissionsObject (readonly) + + + + + +

        +

        Returns the value of attribute omissions

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         168
         169
        -170
        -
        +170 +
        # File 'lib/test/unit/omission.rb', line 168
         
         def omissions
           @omissions
        -end
        -
        - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #add_omission(omission) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #add_omission(omission) ⇒ Object + + + + + +

        +

        Records a Test::Unit::Omission.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -299,72 +299,72 @@ 

        172 173 174 -175

        -
        +175 +
        # File 'lib/test/unit/omission.rb', line 171
         
         def add_omission(omission)
           @omissions << omission
           notify_fault(omission)
           notify_changed
        -end
        -
        - - -
        -

        - - #omission_countObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #omission_countObject + + + + + +

        +

        Returns the number of omissions this TestResult has recorded.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         179
         180
        -181
        -
        +181 +
        # File 'lib/test/unit/omission.rb', line 179
         
         def omission_count
           @omissions.size
        -end
        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -400,6 +400,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/TestResultPendingSupport.html b/test-unit/ja/Test/Unit/TestResultPendingSupport.html index 985382cb..b96e667c 100644 --- a/test-unit/ja/Test/Unit/TestResultPendingSupport.html +++ b/test-unit/ja/Test/Unit/TestResultPendingSupport.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::TestResultPendingSupport - - — test-unit - + <title> + Module: Test::Unit::TestResultPendingSupport + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::TestResultPendingSupport - - — test-unit - + + Module: Test::Unit::TestResultPendingSupport + + — test-unit + - test-unit @@ -62,236 +62,236 @@
        - - - -

        Module: Test::Unit::TestResultPendingSupport - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestResult
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/pending.rb,
        - lib/test/unit/pending.rb
        -
        -
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
          - -
        • - - - #pendings ⇒ Object - - - - - - - - - readonly - - - - - - - - - + + + +

          Module: Test::Unit::TestResultPendingSupport + + + +

          +
          + + + + + + + + + +
          +
          Included in:
          +
          TestResult
          +
          + + + +
          +
          Defined in:
          +
          lib/test/unit/pending.rb,
          + lib/test/unit/pending.rb
          +
          +
          + +
          + + + + + +

          Instance Attribute Summary collapse

          +
            + +
          • + + + #pendings ⇒ Object + + + + + + + + + readonly + + + + + + + + +

            Returns the value of attribute pendings.

            -
            - -
          • - - -
          - - - - - -

          - Instance Method Summary - collapse -

          - -
          + +
        • + + +
        + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #pending_count ⇒ Object + + + + + + + + + + + + +

        Returns the number of pendings this TestResult has recorded.

        -
        - -
      • - - - - - - -
        -

        Instance Attribute Details

        - - - -
        -

        - - #pendingsObject (readonly) - - - - - -

        -
        +
        + + + + + + + + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #pendingsObject (readonly) + + + + + +

        +

        Returns the value of attribute pendings

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         127
         128
        -129
        -
        +129 +
        # File 'lib/test/unit/pending.rb', line 127
         
         def pendings
           @pendings
        -end
        -
        - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #add_pending(pending) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #add_pending(pending) ⇒ Object + + + + + +

        +

        Records a Test::Unit::Pending.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -299,72 +299,72 @@ 

        131 132 133 -134

        -
        +134 +
        # File 'lib/test/unit/pending.rb', line 130
         
         def add_pending(pending)
           @pendings << pending
           notify_fault(pending)
           notify_changed
        -end
        -
        - - -
        -

        - - #pending_countObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #pending_countObject + + + + + +

        +

        Returns the number of pendings this TestResult has recorded.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         138
         139
        -140
        -
        +140 +
        # File 'lib/test/unit/pending.rb', line 138
         
         def pending_count
           @pendings.size
        -end
        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -400,6 +400,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/TestSuite.html b/test-unit/ja/Test/Unit/TestSuite.html index bb4b553c..108c814c 100644 --- a/test-unit/ja/Test/Unit/TestSuite.html +++ b/test-unit/ja/Test/Unit/TestSuite.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::TestSuite - - — test-unit - + <title> + Class: Test::Unit::TestSuite + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::TestSuite - - — test-unit - + + Class: Test::Unit::TestSuite + + — test-unit + - test-unit @@ -62,77 +62,77 @@
        - - - -

        Class: Test::Unit::TestSuite - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/testsuite.rb,
        - lib/test/unit/testsuite.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Class: Test::Unit::TestSuite + + + +

        +
        + +
        +
        Inherits:
        +
        + Object + +
          +
        • Object
        • + + + +
        + show all + +
        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/testsuite.rb,
        + lib/test/unit/testsuite.rb
        +
        +
        + +
        + +

        Overview

        +

        A collection of tests which can be #run.

        Note: It is easy to confuse a TestSuite instance with @@ -140,490 +140,490 @@

        Overview

        have trouble keeping them straight. Think of something that has a suite method as simply providing a way to get a meaningful TestSuite instance.

        - - -
        -
        -
        - - -
        - -

        - Constant Summary - collapse -

        - -
        - -
        STARTED = - -
        -
        name + "::STARTED"
        - -
        STARTED_OBJECT = - -
        -
        name + "::STARTED::OBJECT"
        - -
        FINISHED = - -
        -
        name + "::FINISHED"
        - -
        FINISHED_OBJECT = - -
        -
        name + "::FINISHED::OBJECT"
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
        +
        +
        + + +
        + +

        + Constant Summary + collapse +

        + +
        + +
        STARTED = + +
        +
        name + "::STARTED"
        + +
        STARTED_OBJECT = + +
        +
        name + "::STARTED::OBJECT"
        + +
        FINISHED = + +
        +
        name + "::FINISHED"
        + +
        FINISHED_OBJECT = + +
        +
        name + "::FINISHED::OBJECT"
        + +
        + + + + + +

        Instance Attribute Summary collapse

        +
        + + + + +
      • + + + #name ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute name.

        -
        - -
      • - - -
      • - - - #priority ⇒ Object - - - - - - - - - - - - - - - - +
      • + + + + +
      • + + + #priority ⇒ Object + + + + + + + + + + + + + + + +

        Test suite that has higher priority is ran prior to test suites that have lower priority.

        -
        - -
      • - - -
      • - - - #start_time ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
      • + + + + +
      • + + + #start_time ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute start_time.

        -
        - -
      • - - -
      • - - - #test_case ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
      • + + + + +
      • + + + #test_case ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute test_case.

        -
        - -
      • - - -
      • - - - #tests ⇒ Object - - - - - - - - - readonly - - - - - - - - - +
      • + + + + +
      • + + + #tests ⇒ Object + + + + + + + + + readonly + + + + + + + + +

        Returns the value of attribute tests.

        -
        - -
      • - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #==(other) ⇒ Object + + + + + + + + + + + + +

        It’s handy to be able to compare TestSuite instances.

        -
        - -
      • - - -
      • - - - #delete(test) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #delete(test) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #delete_tests(tests) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #delete_tests(tests) ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #empty? ⇒ Boolean - - - - - - - - - - - - - +
      • + + + + +
      • + + + #empty? ⇒ Boolean + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #initialize(name = "Unnamed TestSuite", test_case = nil) ⇒ TestSuite - - - - - - - constructor - - - - - - - - +
      • + + + + +
      • + + + #initialize(name = "Unnamed TestSuite", test_case = nil) ⇒ TestSuite + + + + + + + constructor + + + + + + + +

        Creates a new TestSuite with the given name.

        -
        - -
      • - - -
      • - - - #passed? ⇒ Boolean - - - - - - - - - - - - - +
      • + + + + +
      • + + + #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_timeObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #elapsed_timeObject (readonly) + + + + + +

        +

        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
        -
        - - - - -
        -

        - - #nameObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #nameObject (readonly) + + + + + +

        +

        Returns the value of attribute name

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         14
         15
        -16
        -
        +16 +
        # File 'lib/test/unit/testsuite.rb', line 14
         
         def name
           @name
        -end
        -
        - - - - -
        -

        - - #priorityObject - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #priorityObject + + + + + +

        +

        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_timeObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #start_timeObject (readonly) + + + + + +

        +

        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_caseObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #test_caseObject (readonly) + + + + + +

        +

        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
        -
        - - - - -
        -

        - - #testsObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #testsObject (readonly) + + + + + +

        +

        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 - - - - - -

        -
        +end +
        +
        + +
        + + +
        +

        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 - - - - - -

        -
        +end +
        +
        + +
        +

        + + #==(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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #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 - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + #empty?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         82
         83
        -84
        -
        +84 +
        # File 'lib/test/unit/testsuite.rb', line 82
         
         def empty?
           size.zero?
        -end
        -
        -
        - -
        -

        - - #passed?Boolean - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        +end +
        +
        + +
        +

        + + #passed?Boolean + + + + + +

        +
        + + + +
        +
        +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         99
         100
        -101
        -
        +101 +
        # File 'lib/test/unit/testsuite.rb', line 99
         
         def passed?
           @passed
        -end
        -
        -
        - -
        -

        - - #run(result, &progress_block) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        +

        + + #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 @@ 

        yield(FINISHED, name) yield(FINISHED_OBJECT, self) end -end

        -
        - - -
        -

        - - #sizeObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #sizeObject + + + + + +

        +

        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_sObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #to_sObject + + + + + +

        +

        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 - + <title> + Class: Test::Unit::TestSuiteCreator + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::TestSuiteCreator - - — test-unit - + + Class: Test::Unit::TestSuiteCreator + + — test-unit + - test-unit @@ -62,306 +62,306 @@
        - - - -

        Class: Test::Unit::TestSuiteCreator - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/test-suite-creator.rb,
        - lib/test/unit/test-suite-creator.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Class: Test::Unit::TestSuiteCreator + + + +

        +
        + +
        +
        Inherits:
        +
        + Object + +
          +
        • Object
        • + + + +
        + show all + +
        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/test-suite-creator.rb,
        + lib/test/unit/test-suite-creator.rb
        +
        +
        + +
        + +

        Overview

        +

        :nodoc:

        - - -
        -
        -
        - - -
        - - - - - - - -

        - Class Method Summary - collapse -

        - -
        +
        +
        + + +
        + + + + + + + +

        + Class Method Summary + collapse +

        + + - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #initialize(test_case) ⇒ TestSuiteCreator + + + + + + + constructor + + + + + + + +

        A new instance of TestSuiteCreator.

        -
        - -
      • - - - - - -
        -

        Constructor Details

        - -
        -

        - - #initialize(test_case) ⇒ TestSuiteCreator - - - - - -

        -
        -

        Returns a new instance of TestSuiteCreator.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initialize(test_case) ⇒ TestSuiteCreator + + + + + +

        +
        +

        Returns a new instance of TestSuiteCreator

        + + +
        +
        +
        + + +
        + + - + - -
         
         
         11
         12
        -13
        -
        +13 +
        # File 'lib/test/unit/test-suite-creator.rb', line 11
         
         def initialize(test_case)
           @test_case = test_case
        -end
        -
        -
        - -
        - - -
        -

        Class Method Details

        - +end +
        +
        + +
        + + +
        +

        Class Method Details

        + + +
        +

        + + .test_method?(test_case, method_name) ⇒ Boolean + + + + + +

        +
        -
        -

        - - .test_method?(test_case, method_name) ⇒ Boolean - - - - - -

        -
        - - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
         5
         6
         7
        -8
        -
        +8 +
        # File 'lib/test/unit/test-suite-creator.rb', line 5
         
         def test_method?(test_case, method_name)
           /\Atest./ =~ method_name.to_s or
             test_case.find_attribute(method_name, :test)
        -end
        -
        - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #createObject - - - - - -

        - - + +
        +end +
        +
        + +
        + +
        +

        Instance Method Details

        + + +
        +

        + + #createObject + + + + + +

        + + - + - -
         
         
        @@ -385,9 +385,9 @@ 

        32 33 34 -35

        -
        +35 +
        # File 'lib/test/unit/test-suite-creator.rb', line 15
         
         def create
        @@ -410,22 +410,22 @@ 

        end append_test(suite, "default_test") if suite.empty? suite -end

        -
        -
        - -
        - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -461,6 +461,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/UI.html b/test-unit/ja/Test/Unit/UI.html index be3ab86d..d37bfbf9 100644 --- a/test-unit/ja/Test/Unit/UI.html +++ b/test-unit/ja/Test/Unit/UI.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::UI - - — test-unit - + <title> + Module: Test::Unit::UI + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::UI - - — test-unit - + + Module: Test::Unit::UI + + — test-unit + - test-unit @@ -62,88 +62,88 @@
        - - - -

        Module: Test::Unit::UI - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/ui/testrunner.rb,
        - lib/test/unit/ui/xml/testrunner.rb,
        lib/test/unit/ui/emacs/testrunner.rb,
        lib/test/unit/ui/console/testrunner.rb,
        lib/test/unit/ui/testrunnermediator.rb,
        lib/test/unit/ui/console/outputlevel.rb,
        lib/test/unit/ui/testrunnerutilities.rb,
        lib/test/unit/ui/console/testrunner.rb,
        lib/test/unit/ui/testrunnermediator.rb,
        lib/test/unit/ui/testrunnerutilities.rb,
        lib/test/unit/ui/xml/testrunner.rb
        -
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - Modules: Console, Emacs, TestRunnerUtilities, XML - - - - Classes: TestRunner, TestRunnerMediator - - -

        - - - - - - - - - -
        - - - + + + +

        Module: Test::Unit::UI + + + +

        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/ui/testrunner.rb,
        + lib/test/unit/ui/xml/testrunner.rb,
        lib/test/unit/ui/emacs/testrunner.rb,
        lib/test/unit/ui/console/testrunner.rb,
        lib/test/unit/ui/testrunnermediator.rb,
        lib/test/unit/ui/console/outputlevel.rb,
        lib/test/unit/ui/testrunnerutilities.rb,
        lib/test/unit/ui/console/testrunner.rb,
        lib/test/unit/ui/testrunnermediator.rb,
        lib/test/unit/ui/testrunnerutilities.rb,
        lib/test/unit/ui/xml/testrunner.rb
        +
        +
        + +
        + +

        Defined Under Namespace

        +

        + + + Modules: Console, Emacs, TestRunnerUtilities, XML + + + + Classes: TestRunner, TestRunnerMediator + + +

        + + + + + + + + + +
        + + +
        @@ -179,6 +179,6 @@

        Defined Under Namespace

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/UI/Console.html b/test-unit/ja/Test/Unit/UI/Console.html index 10858acb..5ac97a98 100644 --- a/test-unit/ja/Test/Unit/UI/Console.html +++ b/test-unit/ja/Test/Unit/UI/Console.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::UI::Console - - — test-unit - + <title> + Module: Test::Unit::UI::Console + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::UI::Console - - — test-unit - + + Module: Test::Unit::UI::Console + + — test-unit + - test-unit @@ -62,88 +62,88 @@
        - - - -

        Module: Test::Unit::UI::Console - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/ui/console/testrunner.rb,
        - lib/test/unit/ui/console/outputlevel.rb,
        lib/test/unit/ui/console/testrunner.rb
        -
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - Modules: OutputLevel - - - - Classes: ColorizedReadableDiffer, TestRunner - - -

        - - - - - - - - - -
        - - - + + + +

        Module: Test::Unit::UI::Console + + + +

        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/ui/console/testrunner.rb,
        + lib/test/unit/ui/console/outputlevel.rb,
        lib/test/unit/ui/console/testrunner.rb
        +
        +
        + +
        + +

        Defined Under Namespace

        +

        + + + Modules: OutputLevel + + + + Classes: ColorizedReadableDiffer, TestRunner + + +

        + + + + + + + + + +
        + + +
        @@ -179,6 +179,6 @@

        Defined Under Namespace

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/UI/Console/ColorizedReadableDiffer.html b/test-unit/ja/Test/Unit/UI/Console/ColorizedReadableDiffer.html index 58156553..7ff2d7cf 100644 --- a/test-unit/ja/Test/Unit/UI/Console/ColorizedReadableDiffer.html +++ b/test-unit/ja/Test/Unit/UI/Console/ColorizedReadableDiffer.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::UI::Console::ColorizedReadableDiffer - - — test-unit - + <title> + Class: Test::Unit::UI::Console::ColorizedReadableDiffer + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::UI::Console::ColorizedReadableDiffer - - — test-unit - + + Class: Test::Unit::UI::Console::ColorizedReadableDiffer + + — test-unit + - test-unit @@ -62,249 +62,249 @@
        - - - -

        Class: Test::Unit::UI::Console::ColorizedReadableDiffer - - - -

        -
        - -
        -
        Inherits:
        -
        - Diff::ReadableDiffer - - - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/ui/console/testrunner.rb,
        - lib/test/unit/ui/console/testrunner.rb,
        lib/test/unit/ui/console/testrunner.rb,
        lib/test/unit/ui/console/testrunner.rb
        -
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - - - - - - - - - - - - - -

        Methods inherited from Diff::ReadableDiffer

        -

        #diff

        - - - - - - -
        -

        Constructor Details

        - -
        -

        - - #initialize(from, to, runner) ⇒ ColorizedReadableDiffer - - - - - -

        -
        -

        Returns a new instance of ColorizedReadableDiffer.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + + + + + + + + + + +

        Methods inherited from Diff::ReadableDiffer

        +

        #diff

        + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initialize(from, to, runner) ⇒ ColorizedReadableDiffer + + + + + +

        +
        +

        Returns a new instance of ColorizedReadableDiffer

        + + +
        +
        +
        + + +
        + + - + - -
         
         
         599
         600
         601
        -602
        -
        +602 +
        # File 'lib/test/unit/ui/console/testrunner.rb', line 599
         
         def initialize(from, to, runner)
           @runner = runner
           super(from, to)
        -end
        -
        -
        - -
        - - -
        -

        Instance Method Details

        - - -
        -

        - - #need_diff?(options = {}) ⇒ Boolean - - - - - -

        -
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #need_diff?(options = {}) ⇒ Boolean + + + + + +

        +
        - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
        @@ -314,9 +314,9 @@ 

        607 608 609 -610

        -
        +610 +
        # File 'lib/test/unit/ui/console/testrunner.rb', line 604
         
         def need_diff?(options={})
        @@ -325,22 +325,22 @@ 

        return true if [:replace, :equal].include?(tag) end false -end

        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -376,6 +376,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/UI/Console/OutputLevel.html b/test-unit/ja/Test/Unit/UI/Console/OutputLevel.html index 8f81768f..28ae2768 100644 --- a/test-unit/ja/Test/Unit/UI/Console/OutputLevel.html +++ b/test-unit/ja/Test/Unit/UI/Console/OutputLevel.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::UI::Console::OutputLevel - - — test-unit - + <title> + Module: Test::Unit::UI::Console::OutputLevel + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::UI::Console::OutputLevel - - — test-unit - + + Module: Test::Unit::UI::Console::OutputLevel + + — test-unit + - test-unit @@ -62,115 +62,115 @@
        - - - -

        Module: Test::Unit::UI::Console::OutputLevel - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestRunner
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/ui/console/outputlevel.rb
        -
        - -
        - - - -

        - Constant Summary - collapse -

        - -
        - -
        SILENT = - -
        -
        0
        - -
        PROGRESS_ONLY = - -
        -
        1
        - -
        IMPORTANT_FAULTS_ONLY = - -
        -
        2
        - -
        NORMAL = - -
        -
        3
        - -
        VERBOSE = - -
        -
        4
        - -
        - - - - - - - - - - -
        - - - + + + +

        Module: Test::Unit::UI::Console::OutputLevel + + + +

        +
        + + + + + + + + + +
        +
        Included in:
        +
        TestRunner
        +
        + + + +
        +
        Defined in:
        +
        lib/test/unit/ui/console/outputlevel.rb
        +
        + +
        + + + +

        + Constant Summary + collapse +

        + +
        + +
        SILENT = + +
        +
        0
        + +
        PROGRESS_ONLY = + +
        +
        1
        + +
        IMPORTANT_FAULTS_ONLY = + +
        +
        2
        + +
        NORMAL = + +
        +
        3
        + +
        VERBOSE = + +
        +
        4
        + +
        + + + + + + + + + + +
        + + +
        @@ -206,6 +206,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/UI/Console/TestRunner.html b/test-unit/ja/Test/Unit/UI/Console/TestRunner.html index c09a04f8..cdbd8203 100644 --- a/test-unit/ja/Test/Unit/UI/Console/TestRunner.html +++ b/test-unit/ja/Test/Unit/UI/Console/TestRunner.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::UI::Console::TestRunner - - — test-unit - + <title> + Class: Test::Unit::UI::Console::TestRunner + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::UI::Console::TestRunner - - — test-unit - + + Class: Test::Unit::UI::Console::TestRunner + + — test-unit + - test-unit @@ -62,208 +62,208 @@
        - - - -

        Class: Test::Unit::UI::Console::TestRunner - - - -

        -
        - -
        -
        Inherits:
        -
        - TestRunner - -
          -
        • Object
        • - - - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        OutputLevel
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/ui/console/testrunner.rb,
        - lib/test/unit/ui/console/testrunner.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Class: Test::Unit::UI::Console::TestRunner + + + +

        +
        + +
        +
        Inherits:
        +
        + TestRunner + +
          +
        • Object
        • + + + + + +
        + show all + +
        +
        + + + + + + +
        +
        Includes:
        +
        OutputLevel
        +
        + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/ui/console/testrunner.rb,
        + lib/test/unit/ui/console/testrunner.rb
        +
        +
        + +
        + +

        Overview

        +

        Runs a Test::Unit::TestSuite on the console.

        - - -
        -
        -
        - - -
        -

        Direct Known Subclasses

        -

        Emacs::TestRunner

        -
        - - - -

        Constant Summary

        - -

        Constants included - from OutputLevel

        -

        OutputLevel::IMPORTANT_FAULTS_ONLY, OutputLevel::NORMAL, OutputLevel::PROGRESS_ONLY, OutputLevel::SILENT, OutputLevel::VERBOSE

        - - - - -

        Instance Attribute Summary

        - -

        Attributes inherited from TestRunner

        -

        #listeners

        - - - -

        - Instance Method Summary - collapse -

        - -
        +
        +
        + + +
        +

        Direct Known Subclasses

        +

        Emacs::TestRunner

        +
        + + + +

        Constant Summary

        + +

        Constants included + from OutputLevel

        +

        OutputLevel::IMPORTANT_FAULTS_ONLY, OutputLevel::NORMAL, OutputLevel::PROGRESS_ONLY, OutputLevel::SILENT, OutputLevel::VERBOSE

        + + + + +

        Instance Attribute Summary

        + +

        Attributes inherited from TestRunner

        +

        #listeners

        + + + +

        + Instance Method Summary + collapse +

        + + - - - - - - - - - - - - - - - - - -

        Methods inherited from TestRunner

        -

        #start

        - - - - - - - - - -

        Methods included from TestRunnerUtilities

        -

        #run, #start_command_line_test

        -
        -

        Constructor Details

        - -
        -

        - - #initialize(suite, options = {}) ⇒ TestRunner - - - - - -

        -
        +
        + + + + + + + + + + + + + + + + + + + + + + +

        Methods inherited from TestRunner

        +

        #start

        + + + + + + + + + +

        Methods included from TestRunnerUtilities

        +

        #run, #start_command_line_test

        +
        +

        Constructor Details

        + +
        +

        + + #initialize(suite, options = {}) ⇒ TestRunner + + + + + +

        +

        Creates a new TestRunner for running the passed suite. If quiet_mode is true, the output while running is limited to progress dots, errors and failures, and the final result. io specifies where runner output should go to; defaults to STDOUT.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -289,9 +289,9 @@ 

        48 49 50 -51

        -
        +51 +
        # File 'lib/test/unit/ui/console/testrunner.rb', line 29
         
         def initialize(suite, options={})
        @@ -316,23 +316,23 @@ 

        @faults = [] @code_snippet_fetcher = CodeSnippetFetcher.new @test_suites = [] -end

        -
        - - - - - - - - - +end +
        +
        + +
        + + +
        + + +
        @@ -368,6 +368,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/UI/Emacs.html b/test-unit/ja/Test/Unit/UI/Emacs.html index ecf141a6..75596669 100644 --- a/test-unit/ja/Test/Unit/UI/Emacs.html +++ b/test-unit/ja/Test/Unit/UI/Emacs.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::UI::Emacs - - — test-unit - + <title> + Module: Test::Unit::UI::Emacs + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::UI::Emacs - - — test-unit - + + Module: Test::Unit::UI::Emacs + + — test-unit + - test-unit @@ -62,84 +62,84 @@
        - - - -

        Module: Test::Unit::UI::Emacs - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/ui/emacs/testrunner.rb
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - - - Classes: TestRunner - - -

        - - - - - - - - - -
        - - - + + + +

        Module: Test::Unit::UI::Emacs + + + +

        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/ui/emacs/testrunner.rb
        +
        + +
        + +

        Defined Under Namespace

        +

        + + + + + Classes: TestRunner + + +

        + + + + + + + + + +
        + + +
        @@ -175,6 +175,6 @@

        Defined Under Namespace

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/UI/Emacs/TestRunner.html b/test-unit/ja/Test/Unit/UI/Emacs/TestRunner.html index 7f35759a..168c59c5 100644 --- a/test-unit/ja/Test/Unit/UI/Emacs/TestRunner.html +++ b/test-unit/ja/Test/Unit/UI/Emacs/TestRunner.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::UI::Emacs::TestRunner - - — test-unit - + <title> + Class: Test::Unit::UI::Emacs::TestRunner + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::UI::Emacs::TestRunner - - — test-unit - + + Class: Test::Unit::UI::Emacs::TestRunner + + — test-unit + - test-unit @@ -62,150 +62,150 @@
        - - - -

        Class: Test::Unit::UI::Emacs::TestRunner - - - -

        -
        - -
        -
        Inherits:
        -
        - Console::TestRunner - - - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/ui/emacs/testrunner.rb
        -
        - -
        - - - - -

        Constant Summary

        - -

        Constants included - from Console::OutputLevel

        -

        Console::OutputLevel::IMPORTANT_FAULTS_ONLY, Console::OutputLevel::NORMAL, Console::OutputLevel::PROGRESS_ONLY, Console::OutputLevel::SILENT, Console::OutputLevel::VERBOSE

        - - - - -

        Instance Attribute Summary

        - -

        Attributes inherited from TestRunner

        -

        #listeners

        - - - - - - - - - -

        Method Summary

        - -

        Methods inherited from Console::TestRunner

        -

        #initialize

        - - - - - - - - - - - - - - - -

        Methods inherited from TestRunner

        -

        #initialize, #start

        - - - - - - - - - -

        Methods included from TestRunnerUtilities

        -

        #run, #start_command_line_test

        -
        -

        Constructor Details

        - -

        This class inherits a constructor from Test::Unit::UI::Console::TestRunner

        - -
        - - -
        - - - + + + +

        Class: Test::Unit::UI::Emacs::TestRunner + + + +

        +
        + +
        +
        Inherits:
        +
        + Console::TestRunner + + + show all + +
        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/ui/emacs/testrunner.rb
        +
        + +
        + + + + +

        Constant Summary

        + +

        Constants included + from Console::OutputLevel

        +

        Console::OutputLevel::IMPORTANT_FAULTS_ONLY, Console::OutputLevel::NORMAL, Console::OutputLevel::PROGRESS_ONLY, Console::OutputLevel::SILENT, Console::OutputLevel::VERBOSE

        + + + + +

        Instance Attribute Summary

        + +

        Attributes inherited from TestRunner

        +

        #listeners

        + + + + + + + + + +

        Method Summary

        + +

        Methods inherited from Console::TestRunner

        +

        #initialize

        + + + + + + + + + + + + + + + +

        Methods inherited from TestRunner

        +

        #initialize, #start

        + + + + + + + + + +

        Methods included from TestRunnerUtilities

        +

        #run, #start_command_line_test

        +
        +

        Constructor Details

        + +

        This class inherits a constructor from Test::Unit::UI::Console::TestRunner

        + +
        + + +
        + + +
        @@ -241,6 +241,6 @@

        Constructor Details

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/UI/TestRunner.html b/test-unit/ja/Test/Unit/UI/TestRunner.html index 10ff602b..b96bde4d 100644 --- a/test-unit/ja/Test/Unit/UI/TestRunner.html +++ b/test-unit/ja/Test/Unit/UI/TestRunner.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::UI::TestRunner - - — test-unit - + <title> + Class: Test::Unit::UI::TestRunner + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::UI::TestRunner - - — test-unit - + + Class: Test::Unit::UI::TestRunner + + — test-unit + - test-unit @@ -62,217 +62,217 @@
        - - - -

        Class: Test::Unit::UI::TestRunner - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - -
        -
        Extended by:
        -
        TestRunnerUtilities
        -
        - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/ui/testrunner.rb
        -
        - -
        - -
        -

        Direct Known Subclasses

        -

        Console::TestRunner, XML::TestRunner

        -
        - - - - -

        Instance Attribute Summary collapse

        - + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #start ⇒ Object + + + + + + + + + + + + +

        Begins the test run.

        -
        - -
      • - - - - - - - - - - - - - - -

        Methods included from TestRunnerUtilities

        -

        run, start_command_line_test

        -
        -

        Constructor Details

        - -
        -

        - - #initialize(suite, options = {}) ⇒ TestRunner - - - - - -

        -
        -

        Returns a new instance of TestRunner.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + + + + + + + + + + +

        Methods included from TestRunnerUtilities

        +

        run, start_command_line_test

        +
        +

        Constructor Details

        + +
        +

        + + #initialize(suite, options = {}) ⇒ TestRunner + + + + + +

        +
        +

        Returns a new instance of TestRunner

        + + +
        +
        +
        + + +
        + + - + - -
         
         
        @@ -284,9 +284,9 @@ 

        15 16 17 -18

        -
        +18 +
        # File 'lib/test/unit/ui/testrunner.rb', line 10
         
         def initialize(suite, options={})
        @@ -297,88 +297,88 @@ 

        end @options = options @listeners = @options[:listeners] || [] -end

        -
        -
        - -
        - -
        -

        Instance Attribute Details

        - - - -
        -

        - - #listenersObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #listenersObject (readonly) + + + + + +

        +

        Returns the value of attribute listeners

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         9
         10
        -11
        -
        +11 +
        # File 'lib/test/unit/ui/testrunner.rb', line 9
         
         def listeners
           @listeners
        -end
        -
        - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #startObject - - - - - -

        -
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #startObject + + + + + +

        +

        Begins the test run.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -387,9 +387,9 @@ 

        23 24 25 -26

        -
        +26 +
        # File 'lib/test/unit/ui/testrunner.rb', line 21
         
         def start
        @@ -397,22 +397,22 @@ 

        attach_to_mediator attach_listeners start_mediator -end

        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -448,6 +448,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/UI/TestRunnerMediator.html b/test-unit/ja/Test/Unit/UI/TestRunnerMediator.html index d8ab0ef1..66f30e3d 100644 --- a/test-unit/ja/Test/Unit/UI/TestRunnerMediator.html +++ b/test-unit/ja/Test/Unit/UI/TestRunnerMediator.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::UI::TestRunnerMediator - - — test-unit - + <title> + Class: Test::Unit::UI::TestRunnerMediator + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::UI::TestRunnerMediator - - — test-unit - + + Class: Test::Unit::UI::TestRunnerMediator + + — test-unit + - test-unit @@ -62,297 +62,297 @@
        - - - -

        Class: Test::Unit::UI::TestRunnerMediator - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        Test::Unit::Util::Observable
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/ui/testrunnermediator.rb,
        - lib/test/unit/ui/testrunnermediator.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Class: Test::Unit::UI::TestRunnerMediator + + + +

        +
        + +
        +
        Inherits:
        +
        + Object + +
          +
        • Object
        • + + + +
        + show all + +
        +
        + + + + + + +
        +
        Includes:
        +
        Test::Unit::Util::Observable
        +
        + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/ui/testrunnermediator.rb,
        + lib/test/unit/ui/testrunnermediator.rb
        +
        +
        + +
        + +

        Overview

        +

        Provides an interface to write any given UI against, hopefully making it easy to write new UIs.

        - - -
        -
        -
        - - -
        - -

        - Constant Summary - collapse -

        - -
        - -
        RESET = - -
        -
        name + "::RESET"
        - -
        STARTED = - -
        -
        name + "::STARTED"
        - -
        FINISHED = - -
        -
        name + "::FINISHED"
        - -
        - - - - - - -

        Constants included - from Test::Unit::Util::Observable

        -

        Test::Unit::Util::Observable::NOTHING

        - - - - - - -

        - Instance Method Summary - collapse -

        - -
        +
        +
        + + +
        + +

        + Constant Summary + collapse +

        + +
        + +
        RESET = + +
        +
        name + "::RESET"
        + +
        STARTED = + +
        +
        name + "::STARTED"
        + +
        FINISHED = + +
        +
        name + "::FINISHED"
        + +
        + + + + + + +

        Constants included + from Test::Unit::Util::Observable

        +

        Test::Unit::Util::Observable::NOTHING

        + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #run ⇒ Object + + + + + + + + + + + + +

        Runs the suite the TestRunnerMediator was created with.

        -
        - -
      • - - -
      • - - - #run_suite(result = nil) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #run_suite(result = nil) ⇒ Object + + + + + + + + + + + + +

        Just for backward compatibility for NetBeans.

        -
        - -
      • - - - - - - - - - - - - - - -

        Methods included from Test::Unit::Util::Observable

        -

        #add_listener, #notify_listeners, #remove_listener

        -
        -

        Constructor Details

        - -
        -

        - - #initialize(suite) ⇒ TestRunnerMediator - - - - - -

        -
        +
        + + + + + + + + + + + + + + + + +

        Methods included from Test::Unit::Util::Observable

        +

        #add_listener, #notify_listeners, #remove_listener

        +
        +

        Constructor Details

        + +
        +

        + + #initialize(suite) ⇒ TestRunnerMediator + + + + + +

        +

        Creates a new TestRunnerMediator initialized to run the passed suite.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         19
         20
        -21
        -
        +21 +
        # File 'lib/test/unit/ui/testrunnermediator.rb', line 19
         
         def initialize(suite)
           @suite = suite
        -end
        -
        - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #runObject - - - - - -

        -
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #runObject + + + + + +

        +

        Runs the suite the TestRunnerMediator was created with.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -380,9 +380,9 @@ 

        46 47 48 -49

        -
        +49 +
        # File 'lib/test/unit/ui/testrunnermediator.rb', line 25
         
         def run
        @@ -409,39 +409,39 @@ 

        Test::Unit.run_at_exit_hooks result -end

        -
        - - -
        -

        - - #run_suite(result = nil) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        +

        + + #run_suite(result = nil) ⇒ Object + + + + + +

        +

        Just for backward compatibility for NetBeans. NetBeans should not use monkey patching. NetBeans should use runner change public API.

        See GitHub#38 https://github.com/test-unit/test-unit/issues/38

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -453,9 +453,9 @@ 

        62 63 64 -65

        -
        +65 +
        # File 'lib/test/unit/ui/testrunnermediator.rb', line 57
         
         def run_suite(result=nil)
        @@ -466,22 +466,22 @@ 

        notify_listeners(channel, value) end end -end

        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -517,6 +517,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/UI/TestRunnerUtilities.html b/test-unit/ja/Test/Unit/UI/TestRunnerUtilities.html index a26958a2..b9fb0e83 100644 --- a/test-unit/ja/Test/Unit/UI/TestRunnerUtilities.html +++ b/test-unit/ja/Test/Unit/UI/TestRunnerUtilities.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::UI::TestRunnerUtilities - - — test-unit - + <title> + Module: Test::Unit::UI::TestRunnerUtilities + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::UI::TestRunnerUtilities - - — test-unit - + + Module: Test::Unit::UI::TestRunnerUtilities + + — test-unit + - test-unit @@ -62,66 +62,66 @@
        - - - -

        Module: Test::Unit::UI::TestRunnerUtilities - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestRunner
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/ui/testrunnerutilities.rb,
        - lib/test/unit/ui/testrunnerutilities.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Module: Test::Unit::UI::TestRunnerUtilities + + + +

        +
        + + + + + + + + + +
        +
        Included in:
        +
        TestRunner
        +
        + + + +
        +
        Defined in:
        +
        lib/test/unit/ui/testrunnerutilities.rb,
        + lib/test/unit/ui/testrunnerutilities.rb
        +
        +
        + +
        + +

        Overview

        +

        Provides some utilities common to most, if not all, TestRunners.

        @@ -130,147 +130,147 @@

        Overview

        Perhaps there ought to be a TestRunner superclass? There seems to be a decent amount of shared code between test runners.

        - - -
        -
        -
        - - -
        - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        +
        +
        + + +
        + + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #start_command_line_test ⇒ Object + + + + + + + + + + + + +

        Takes care of the ARGV parsing and suite determination necessary for running one of the TestRunners from the command line.

        -
        - -
      • - - - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #run(suite, options = {}) ⇒ Object - - - - - -

        -
        +
        + + + + + + + + + +
        +

        Instance Method Details

        + + +
        +

        + + #run(suite, options = {}) ⇒ Object + + + + + +

        +

        Creates a new TestRunner and runs the suite.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         17
         18
        -19
        -
        +19 +
        # File 'lib/test/unit/ui/testrunnerutilities.rb', line 17
         
         def run(suite, options={})
           return new(suite, options).start
        -end
        -
        - - -
        -

        - - #start_command_line_testObject - - - - - -

        -
        +end +
        +
        + +
        +

        + + #start_command_line_testObject + + + + + +

        +

        Takes care of the ARGV parsing and suite determination necessary for running one of the TestRunners from the command line.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -281,9 +281,9 @@ 

        28 29 30 -31

        -
        +31 +
        # File 'lib/test/unit/ui/testrunnerutilities.rb', line 24
         
         def start_command_line_test
        @@ -293,22 +293,22 @@ 

        end require ARGV[0].gsub(/.+::/, '') new(eval(ARGV[0])).start -end

        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -344,6 +344,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/UI/XML.html b/test-unit/ja/Test/Unit/UI/XML.html index 6d1b2345..87e62abc 100644 --- a/test-unit/ja/Test/Unit/UI/XML.html +++ b/test-unit/ja/Test/Unit/UI/XML.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::UI::XML - - — test-unit - + <title> + Module: Test::Unit::UI::XML + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::UI::XML - - — test-unit - + + Module: Test::Unit::UI::XML + + — test-unit + - test-unit @@ -62,86 +62,86 @@
        - - - -

        Module: Test::Unit::UI::XML - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/ui/xml/testrunner.rb,
        - lib/test/unit/ui/xml/testrunner.rb
        -
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - - - Classes: TestRunner - - -

        - - - - - - - - - -
        - - - + + + +

        Module: Test::Unit::UI::XML + + + +

        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/ui/xml/testrunner.rb,
        + lib/test/unit/ui/xml/testrunner.rb
        +
        +
        + +
        + +

        Defined Under Namespace

        +

        + + + + + Classes: TestRunner + + +

        + + + + + + + + + +
        + + +
        @@ -177,6 +177,6 @@

        Defined Under Namespace

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/UI/XML/TestRunner.html b/test-unit/ja/Test/Unit/UI/XML/TestRunner.html index d41e9adf..ff1c77b5 100644 --- a/test-unit/ja/Test/Unit/UI/XML/TestRunner.html +++ b/test-unit/ja/Test/Unit/UI/XML/TestRunner.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::UI::XML::TestRunner - - — test-unit - + <title> + Class: Test::Unit::UI::XML::TestRunner + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::UI::XML::TestRunner - - — test-unit - + + Class: Test::Unit::UI::XML::TestRunner + + — test-unit + - test-unit @@ -62,190 +62,190 @@
        - - - -

        Class: Test::Unit::UI::XML::TestRunner - - - -

        -
        - -
        -
        Inherits:
        -
        - TestRunner - -
          -
        • Object
        • - - - - - -
        - show all - -
        -
        - - - - - - -
        -
        Includes:
        -
        ERB::Util
        -
        - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/ui/xml/testrunner.rb,
        - lib/test/unit/ui/xml/testrunner.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Class: Test::Unit::UI::XML::TestRunner + + + +

        +
        + +
        +
        Inherits:
        +
        + TestRunner + +
          +
        • Object
        • + + + + + +
        + show all + +
        +
        + + + + + + +
        +
        Includes:
        +
        ERB::Util
        +
        + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/ui/xml/testrunner.rb,
        + lib/test/unit/ui/xml/testrunner.rb
        +
        +
        + +
        + +

        Overview

        +

        Runs a Test::Unit::TestSuite and outputs XML.

        - - -
        -
        -
        - - -
        - - - - - -

        Instance Attribute Summary

        - -

        Attributes inherited from TestRunner

        -

        #listeners

        - - - -

        - Instance Method Summary - collapse -

        - -
        +
        +
        + + +
        + + + + + +

        Instance Attribute Summary

        + +

        Attributes inherited from TestRunner

        +

        #listeners

        + + + +

        + Instance Method Summary + collapse +

        + + - - - - - - - - - - - - -

        Methods inherited from TestRunner

        -

        #start

        - - - - - - - - - -

        Methods included from TestRunnerUtilities

        -

        #run, #start_command_line_test

        -
        -

        Constructor Details

        - -
        -

        - - #initialize(suite, options = {}) ⇒ TestRunner - - - - - -

        -
        +
        + + + + + + + + + + + + + + + + + +

        Methods inherited from TestRunner

        +

        #start

        + + + + + + + + + +

        Methods included from TestRunnerUtilities

        +

        #run, #start_command_line_test

        +
        +

        Constructor Details

        + +
        +

        + + #initialize(suite, options = {}) ⇒ TestRunner + + + + + +

        +

        Creates a new TestRunner for running the passed suite. :output option specifies where runner output should go to; defaults to STDOUT.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -261,9 +261,9 @@ 

        27 28 29 -30

        -
        +30 +
        # File 'lib/test/unit/ui/xml/testrunner.rb', line 18
         
         def initialize(suite, options={})
        @@ -278,23 +278,23 @@ 

        @current_test = nil @current_test_suite = nil @already_outputted = false -end

        -
        - - - - - - - - - +end +
        +
        + +
        + + +
        + + +
        @@ -330,6 +330,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/Util.html b/test-unit/ja/Test/Unit/Util.html index 240fbda5..7a53ea79 100644 --- a/test-unit/ja/Test/Unit/Util.html +++ b/test-unit/ja/Test/Unit/Util.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::Util - - — test-unit - + <title> + Module: Test::Unit::Util + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Util - - — test-unit - + + Module: Test::Unit::Util + + — test-unit + - test-unit @@ -62,88 +62,88 @@
        - - - -

        Module: Test::Unit::Util - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/util/output.rb,
        - lib/test/unit/util/observable.rb,
        lib/test/unit/util/procwrapper.rb,
        lib/test/unit/util/backtracefilter.rb,
        lib/test/unit/util/method-owner-finder.rb,
        lib/test/unit/util/observable.rb,
        lib/test/unit/util/procwrapper.rb,
        lib/test/unit/util/memory-usage.rb
        -
        -
        - -
        - -

        Defined Under Namespace

        -

        - - - Modules: BacktraceFilter, MethodOwnerFinder, Observable, Output - - - - Classes: MemoryUsage, ProcWrapper - - -

        - - - - - - - - - -
        - - - + + + +

        Module: Test::Unit::Util + + + +

        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/util/output.rb,
        + lib/test/unit/util/observable.rb,
        lib/test/unit/util/procwrapper.rb,
        lib/test/unit/util/backtracefilter.rb,
        lib/test/unit/util/method-owner-finder.rb,
        lib/test/unit/util/observable.rb,
        lib/test/unit/util/procwrapper.rb,
        lib/test/unit/util/memory-usage.rb
        +
        +
        + +
        + +

        Defined Under Namespace

        +

        + + + Modules: BacktraceFilter, MethodOwnerFinder, Observable, Output + + + + Classes: MemoryUsage, ProcWrapper + + +

        + + + + + + + + + +
        + + +
        @@ -179,6 +179,6 @@

        Defined Under Namespace

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/Util/BacktraceFilter.html b/test-unit/ja/Test/Unit/Util/BacktraceFilter.html index 4e93ba3e..6af9c149 100644 --- a/test-unit/ja/Test/Unit/Util/BacktraceFilter.html +++ b/test-unit/ja/Test/Unit/Util/BacktraceFilter.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::Util::BacktraceFilter - - — test-unit - + <title> + Module: Test::Unit::Util::BacktraceFilter + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Util::BacktraceFilter - - — test-unit - + + Module: Test::Unit::Util::BacktraceFilter + + — test-unit + - test-unit @@ -62,154 +62,154 @@
        - - - -

        Module: Test::Unit::Util::BacktraceFilter - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        Assertions::AssertionMessage, Error, Notification, Omission, Pending, TestCase
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/util/backtracefilter.rb
        -
        - -
        - - - -

        - Constant Summary - collapse -

        - -
        - -
        TESTUNIT_FILE_SEPARATORS = - -
        -
        %r{[\\/:]}
        - -
        TESTUNIT_PREFIX = - -
        -
        __FILE__.split(TESTUNIT_FILE_SEPARATORS)[0..-3]
        - -
        TESTUNIT_RB_FILE = - -
        -
        /\.rb\Z/
        - -
        POWERASSERT_PREFIX = - -
        + + + +

        Module: Test::Unit::Util::BacktraceFilter + + + +

        +
        + + + + + + + + + +
        +
        Included in:
        +
        Assertions::AssertionMessage, Error, Notification, Omission, Pending, TestCase
        +
        + + + +
        +
        Defined in:
        +
        lib/test/unit/util/backtracefilter.rb
        +
        + +
        + + + +

        + Constant Summary + collapse +

        + +
        + +
        TESTUNIT_FILE_SEPARATORS = + +
        +
        %r{[\\/:]}
        + +
        TESTUNIT_PREFIX = + +
        +
        __FILE__.split(TESTUNIT_FILE_SEPARATORS)[0..-3]
        + +
        TESTUNIT_RB_FILE = + +
        +
        /\.rb\Z/
        + +
        POWERASSERT_PREFIX = + +
        defined?(::PowerAssert) ?
         ::PowerAssert.method(:start).source_location[0].split(TESTUNIT_FILE_SEPARATORS)[0..-2] :
        -nil
        - -
        - - - - - - - - - -

        - Class Method Summary - collapse -

        - -
        + + + + + + + + + +

        + Class Method Summary + collapse +

        + + - - - - -
        -

        Class Method Details

        - - -
        -

        - - .filter_backtrace(backtrace, prefix = nil) ⇒ Object - - - - - -

        - - + +
        + + + + + + + + + + +
        +

        Class Method Details

        + + +
        +

        + + .filter_backtrace(backtrace, prefix = nil) ⇒ Object + + + + + +

        + + - + - -
         
         
        @@ -248,9 +248,9 @@ 

        52 53 54 -55

        -
        +55 +
        # File 'lib/test/unit/util/backtracefilter.rb', line 20
         
         def filter_backtrace(backtrace, prefix=nil)
        @@ -288,22 +288,22 @@ 

        new_backtrace = backtrace if new_backtrace.empty? end new_backtrace -end

        -
        -
        - -
        - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -339,6 +339,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/Util/MemoryUsage.html b/test-unit/ja/Test/Unit/Util/MemoryUsage.html index eaefc63e..4d72b187 100644 --- a/test-unit/ja/Test/Unit/Util/MemoryUsage.html +++ b/test-unit/ja/Test/Unit/Util/MemoryUsage.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::Util::MemoryUsage - - — test-unit - + <title> + Class: Test::Unit::Util::MemoryUsage + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Util::MemoryUsage - - — test-unit - + + Class: Test::Unit::Util::MemoryUsage + + — test-unit + - test-unit @@ -62,225 +62,225 @@
        - - - -

        Class: Test::Unit::Util::MemoryUsage - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/util/memory-usage.rb
        -
        - -
        - - - - - -

        Instance Attribute Summary collapse

        -
          - -
        • - - - #physical ⇒ Object - - - - - - - - - readonly - - - - - - - - - + + + +

          Class: Test::Unit::Util::MemoryUsage + + + +

          +
          + +
          +
          Inherits:
          +
          + Object + +
            +
          • Object
          • + + + +
          + show all + +
          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/util/memory-usage.rb
          +
          + +
          + + + + + +

          Instance Attribute Summary collapse

          +
          + +
        • + + +
        • + + + #virtual ⇒ Object + + + + + + + + + readonly + + + + + + + + +

          Returns the value of attribute virtual.

          -
          - -
        • - - -
        - - - - - -

        - Instance Method Summary - collapse -

        - -
        + + + + + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #initialize ⇒ MemoryUsage + + + + + + + constructor + + + + + + + +

        A new instance of MemoryUsage.

        -
        - -
      • - - - - - -
        -

        Constructor Details

        - -
        -

        - - #initializeMemoryUsage - - - - - -

        -
        -

        Returns a new instance of MemoryUsage.

        - - -
        -
        -
        - - -
        - - + +
        + + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initializeMemoryUsage + + + + + +

        +
        +

        Returns a new instance of MemoryUsage

        + + +
        +
        +
        + + +
        + + - + - -
         
         
        @@ -288,152 +288,152 @@ 

        8 9 10 -11

        -
        +11 +
        # File 'lib/test/unit/util/memory-usage.rb', line 7
         
         def initialize
           @virtual = nil
           @physical = nil
           collect_data
        -end
        -
        -
        - -
        - -
        -

        Instance Attribute Details

        - - - -
        -

        - - #physicalObject (readonly) - - - - - -

        -
        +end +
        +
        + +
        + +
        +

        Instance Attribute Details

        + + + +
        +

        + + #physicalObject (readonly) + + + + + +

        +

        Returns the value of attribute physical.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         6
         7
        -8
        -
        +8 +
        # File 'lib/test/unit/util/memory-usage.rb', line 6
         
         def physical
           @physical
        -end
        -
        - - - - -
        -

        - - #virtualObject (readonly) - - - - - -

        -
        +end +
        +
        + + + +
        +

        + + #virtualObject (readonly) + + + + + +

        +

        Returns the value of attribute virtual.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         5
         6
        -7
        -
        +7 +
        # File 'lib/test/unit/util/memory-usage.rb', line 5
         
         def virtual
           @virtual
        -end
        -
        - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #collected?Boolean - - - - - -

        -
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #collected?Boolean + + + + + +

        +
        - - -
        -
        -
        - -

        Returns:

        -
          - -
        • - - - (Boolean) - - - -
        • - -
        - -
        - - + +
        + + + + +
        + +

        Returns:

        +
          + +
        • + + + (Boolean) + + + +
        • + +
        + +
        + + - + - -
         
         
        @@ -441,31 +441,31 @@ 

        14 15 16 -17

        -
        +17 +
        # File 'lib/test/unit/util/memory-usage.rb', line 13
         
         def collected?
           return false if @virtual.nil?
           return false if @physical.nil?
           true
        -end
        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -501,6 +501,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/Util/MethodOwnerFinder.html b/test-unit/ja/Test/Unit/Util/MethodOwnerFinder.html index b0d27d86..25893802 100644 --- a/test-unit/ja/Test/Unit/Util/MethodOwnerFinder.html +++ b/test-unit/ja/Test/Unit/Util/MethodOwnerFinder.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::Util::MethodOwnerFinder - - — test-unit - + <title> + Module: Test::Unit::Util::MethodOwnerFinder + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Util::MethodOwnerFinder - - — test-unit - + + Module: Test::Unit::Util::MethodOwnerFinder + + — test-unit + - test-unit @@ -62,116 +62,116 @@
        - - - -

        Module: Test::Unit::Util::MethodOwnerFinder - - - -

        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/util/method-owner-finder.rb
        -
        - -
        - - - - - - - - - -

        - Class Method Summary - collapse -

        - -
          - -
        • - - - .find(object, method_name) ⇒ Object - - - - - - - - - - - - - + + + +

          Module: Test::Unit::Util::MethodOwnerFinder + + + +

          +
          + + + + + + + + + + + +
          +
          Defined in:
          +
          lib/test/unit/util/method-owner-finder.rb
          +
          + +
          + + + + + + + + + +

          + Class Method Summary + collapse +

          + + - - - - -
          -

          Class Method Details

          - - -
          -

          - - .find(object, method_name) ⇒ Object - - - - - -

          - - + +
          + + + + + + + + + + +
          +

          Class Method Details

          + + +
          +

          + + .find(object, method_name) ⇒ Object + + + + + +

          + + - + - -
           
           
          @@ -193,9 +193,9 @@ 

          21 22 23 -24

          -
          +24 +
          # File 'lib/test/unit/util/method-owner-finder.rb', line 6
           
           def find(object, method_name)
          @@ -216,22 +216,22 @@ 

          else object.class end -end

          -
          -
          - -
          - - - - - +end +
          +
          + +
          + +
          + + +
        @@ -267,6 +267,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/Util/Observable.html b/test-unit/ja/Test/Unit/Util/Observable.html index eeaef91f..2c02cb5d 100644 --- a/test-unit/ja/Test/Unit/Util/Observable.html +++ b/test-unit/ja/Test/Unit/Util/Observable.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::Util::Observable - - — test-unit - + <title> + Module: Test::Unit::Util::Observable + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Util::Observable - - — test-unit - + + Module: Test::Unit::Util::Observable + + — test-unit + - test-unit @@ -62,206 +62,206 @@
        - - - -

        Module: Test::Unit::Util::Observable - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestResult, Test::Unit::UI::TestRunnerMediator
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/util/observable.rb,
        - lib/test/unit/util/observable.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Module: Test::Unit::Util::Observable + + + +

        +
        + + + + + + + + + +
        +
        Included in:
        +
        TestResult, Test::Unit::UI::TestRunnerMediator
        +
        + + + +
        +
        Defined in:
        +
        lib/test/unit/util/observable.rb,
        + lib/test/unit/util/observable.rb
        +
        +
        + +
        + +

        Overview

        +

        This is a utility class that allows anything mixing it in to notify a set of listeners about interesting events.

        - - -
        -
        -
        - - -
        - -

        - Constant Summary - collapse -

        - -
        - -
        NOTHING = -
        -
        + + +
        +
        +
        + + +
        + +

        + Constant Summary + collapse +

        + +
        + +
        NOTHING = +
        +

        We use this for defaults since nil might mean something

        - - -
        -
        -
        - - -
        -
        -
        "NOTHING/#{__id__}"
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        +
        +
        + + +
        + +
        "NOTHING/#{__id__}"
        + + + + + + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #notify_listeners(channel_name, *arguments) ⇒ Object + + + + + + + + + + + + +

        Calls all the procs registered on the channel indicated by channel_name.

        -
        - -
      • - - -
      • - - - #remove_listener(channel_name, listener_key) ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #remove_listener(channel_name, listener_key) ⇒ Object + + + + + + + + + + + + +

        Removes the listener indicated by listener_key from the channel indicated by channel_name.

        -
        - -
      • - - - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #add_listener(channel_name, listener_key = NOTHING, &listener) ⇒ Object - - - - - -

        -
        +
        + + + + + + + + + +
        +

        Instance Method Details

        + + +
        +

        + + #add_listener(channel_name, listener_key = NOTHING, &listener) ⇒ Object + + + + + +

        +

        Adds the passed proc as a listener on the channel indicated by channel_name. listener_key is used to remove the listener later; if none is @@ -274,16 +274,16 @@

        listener = add_listener("Channel") { ... }
         remove_listener("Channel", listener)
         
        - - -

        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -301,9 +301,9 @@ 

        36 37 38 -39

        -
        +39 +
        # File 'lib/test/unit/util/observable.rb', line 25
         
         def add_listener(channel_name, listener_key=NOTHING, &listener) # :yields: value
        @@ -320,23 +320,23 @@ 

        channels[channel_name] ||= {} channels[channel_name][key] = listener return listener_key -end

        -
        - - -
        -

        - - #notify_listeners(channel_name, *arguments) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        +

        + + #notify_listeners(channel_name, *arguments) ⇒ Object + + + + + +

        +

        Calls all the procs registered on the channel indicated by channel_name. If value is specified, it is passed in to the procs, @@ -347,16 +347,16 @@

        Perhaps this should be private? Would it ever make sense for an external class to call this method directly?

        - - -

        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -366,9 +366,9 @@ 

        71 72 73 -74

        -
        +74 +
        # File 'lib/test/unit/util/observable.rb', line 68
         
         def notify_listeners(channel_name, *arguments)
        @@ -377,37 +377,37 @@ 

        listeners = channel.values listeners.each { |listener| listener.call(*arguments) } return listeners.size -end

        -
        - - -
        -

        - - #remove_listener(channel_name, listener_key) ⇒ Object - - - - - -

        -
        +end +
        +
        + +
        +

        + + #remove_listener(channel_name, listener_key) ⇒ Object + + + + + +

        +

        Removes the listener indicated by listener_key from the channel indicated by channel_name. Returns the registered proc, or nil if none was found.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -422,9 +422,9 @@ 

        53 54 55 -56

        -
        +56 +
        # File 'lib/test/unit/util/observable.rb', line 45
         
         def remove_listener(channel_name, listener_key)
        @@ -438,22 +438,22 @@ 

        return channel.delete(key) end return nil -end

        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -489,6 +489,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/Util/Output.html b/test-unit/ja/Test/Unit/Util/Output.html index 9b71be79..9f733b24 100644 --- a/test-unit/ja/Test/Unit/Util/Output.html +++ b/test-unit/ja/Test/Unit/Util/Output.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Module: Test::Unit::Util::Output - - — test-unit - + <title> + Module: Test::Unit::Util::Output + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Module: Test::Unit::Util::Output - - — test-unit - + + Module: Test::Unit::Util::Output + + — test-unit + - test-unit @@ -62,120 +62,120 @@
        - - - -

        Module: Test::Unit::Util::Output - - - -

        -
        - - - - - - - - - -
        -
        Included in:
        -
        TestCase
        -
        - - - -
        -
        Defined in:
        -
        lib/test/unit/util/output.rb
        -
        - -
        - - - - - - - - - -

        - Instance Method Summary - collapse -

        - -
          - -
        • - - - #capture_output ⇒ Object - - - - - - - - - - - - - + + + +

          Module: Test::Unit::Util::Output + + + +

          +
          + + + + + + + + + +
          +
          Included in:
          +
          TestCase
          +
          + + + +
          +
          Defined in:
          +
          lib/test/unit/util/output.rb
          +
          + +
          + + + + + + + + + +

          + Instance Method Summary + collapse +

          + +
            + +
          • + + + #capture_output ⇒ Object + + + + + + + + + + + + +

            Returns output for standard output and standard error as string.

            -
            - -
          • - - -
          - - - - -
          -

          Instance Method Details

          - - -
          -

          - - #capture_outputObject - - - - - -

          -
          +
          + +
        • + + +
        + + + + +
        +

        Instance Method Details

        + + +
        +

        + + #capture_outputObject + + + + + +

        +

        Returns output for standard output and standard error as string.

        @@ -186,16 +186,16 @@

        warn("stderr") end # -> ["stdout\n", "stderr\n"] - - -

        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
        @@ -212,9 +212,9 @@ 

        24 25 26 -27

        -
        +27 +
        # File 'lib/test/unit/util/output.rb', line 14
         
         def capture_output
        @@ -230,22 +230,22 @@ 

        ensure $stdout, $stderr = stdout_save, stderr_save end -end

        -
        - - - - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -281,6 +281,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/Test/Unit/Util/ProcWrapper.html b/test-unit/ja/Test/Unit/Util/ProcWrapper.html index 142077b0..0b27b73f 100644 --- a/test-unit/ja/Test/Unit/Util/ProcWrapper.html +++ b/test-unit/ja/Test/Unit/Util/ProcWrapper.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Class: Test::Unit::Util::ProcWrapper - - — test-unit - + <title> + Class: Test::Unit::Util::ProcWrapper + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - Class: Test::Unit::Util::ProcWrapper - - — test-unit - + + Class: Test::Unit::Util::ProcWrapper + + — test-unit + - test-unit @@ -62,77 +62,77 @@
        - - - -

        Class: Test::Unit::Util::ProcWrapper - - - -

        -
        - -
        -
        Inherits:
        -
        - Object - -
          -
        • Object
        • - - - -
        - show all - -
        -
        - - - - - - - - - - - -
        -
        Defined in:
        -
        lib/test/unit/util/procwrapper.rb,
        - lib/test/unit/util/procwrapper.rb
        -
        -
        - -
        - -

        Overview

        -
        + + + +

        Class: Test::Unit::Util::ProcWrapper + + + +

        +
        + +
        +
        Inherits:
        +
        + Object + +
          +
        • Object
        • + + + +
        + show all + +
        +
        + + + + + + + + + + + +
        +
        Defined in:
        +
        lib/test/unit/util/procwrapper.rb,
        + lib/test/unit/util/procwrapper.rb
        +
        +
        + +
        + +

        Overview

        +

        Allows the storage of a Proc passed through ‘&’ in a hash.

        @@ -141,195 +141,195 @@

        Overview

        efficiency is not too important, since the hash is only accessed when adding and removing listeners, not when notifying.

        - - -
        -
        -
        - - -
        - - - - - - - -

        - Instance Method Summary - collapse -

        - -
        +
        +
        + + +
        + + + + + + + +

        + Instance Method Summary + collapse +

        + +
        + + + + +
      • + + + #hash ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - -
      • - - - #initialize(a_proc) ⇒ ProcWrapper - - - - - - - constructor - - - - - - - - +
      • + + + + +
      • + + + #initialize(a_proc) ⇒ ProcWrapper + + + + + + + constructor + + + + + + + +

        Creates a new wrapper for a_proc.

        -
        - -
      • - - -
      • - - - #to_proc ⇒ Object - - - - - - - - - - - - - +
      • + + + + +
      • + + + #to_proc ⇒ Object + + + + + + + + + + + + +
        -
        - -
      • - - - - - -
        -

        Constructor Details

        - -
        -

        - - #initialize(a_proc) ⇒ ProcWrapper - - - - - -

        -
        +
        + + + + + + + +
        +

        Constructor Details

        + +
        +

        + + #initialize(a_proc) ⇒ ProcWrapper + + + + + +

        +

        Creates a new wrapper for a_proc.

        - - -
        -
        -
        - - -
        - - + +
        + + + + +
        + + +
        + + - + - -
         
         
         17
         18
         19
        -20
        -
        +20 +
        # File 'lib/test/unit/util/procwrapper.rb', line 17
         
         def initialize(a_proc)
           @a_proc = a_proc
           @hash = a_proc.inspect.sub(/^(#<#{a_proc.class}:)/){''}.sub(/(>)$/){''}.hex
        -end
        -
        - - - - - -
        -

        Instance Method Details

        - - -
        -

        - - #==(other) ⇒ Object - - - - Also known as: - eql? - - - - -

        - - + +
        +end +
        +
        + +
        + + +
        +

        Instance Method Details

        + + +
        +

        + + #==(other) ⇒ Object + + + + Also known as: + eql? + + + + +

        + + - + - -
         
         
        @@ -340,9 +340,9 @@ 

        30 31 32 -33

        -
        +33 +
        # File 'lib/test/unit/util/procwrapper.rb', line 26
         
         def ==(other)
        @@ -352,82 +352,82 @@ 

        else return super end -end

        -
        -
        - -
        -

        - - #hashObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #hashObject + + + + + +

        + + - + - -
         
         
         22
         23
        -24
        -
        +24 +
        # File 'lib/test/unit/util/procwrapper.rb', line 22
         
         def hash
           return @hash
        -end
        -
        -
        - -
        -

        - - #to_procObject - - - - - -

        - - + +
        +end +
        +
        + +
        +

        + + #to_procObject + + + + + +

        + + - + - -
         
         
         36
         37
        -38
        -
        +38 +
        # File 'lib/test/unit/util/procwrapper.rb', line 36
         
         def to_proc
           return @a_proc
        -end
        -
        -
        - -
        - - - - - +end +
        +
        + +
        + +
        + + +
        @@ -463,6 +463,6 @@

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/alphabetical_index.html b/test-unit/ja/alphabetical_index.html index b78c569f..3256af83 100644 --- a/test-unit/ja/alphabetical_index.html +++ b/test-unit/ja/alphabetical_index.html @@ -1,46 +1,46 @@ - - - - - + + + + + - - test-unit - + <title> + test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
        - - test-unit - + + test-unit + - test-unit @@ -58,946 +58,946 @@
        - - - -

        test-unit

        -
        -

        Alphabetic Index

        - -

        File Listing

        - - -
        -

        Namespace Listing A-Z

        - - - - - - - - - - -
        - - - - - - - - - - - -
          -
        • D
        • -
            - -
          • - Data - - (Test::Unit) - -
          • - -
          • - DataSets - - (Test::Unit) - -
          • - -
          • - DelayedLiteral - - (Test::Unit::Assertions::AssertionMessage) - -
          • - -
          • - Descendant - - (Test::Unit::Collector) - -
          • - -
          • - Diff - - (Test::Unit) - -
          • - -
          • - Differ - - (Test::Unit::Diff) - -
          • - -
          • - Dir - - (Test::Unit::Collector) - -
          • - -
          -
        - - - - - - - - -
          -
        • H
        • -
            - -
          • - HashInspector - - (Test::Unit::Assertions::AssertionMessage) - -
          • - -
          • - HookPoint - - (Test::Unit::Fixture) - -
          • - -
          -
        - - -
        - - -
          -
        • I
        • -
            - -
          • - Inspector - - (Test::Unit::Assertions::AssertionMessage) - -
          • - -
          • - InternalData - - (Test::Unit::TestCase) - -
          • - -
          -
        - - -
          -
        • L
        • -
            - -
          • - Listener - - (Test::Unit::Collector::XML) - -
          • - -
          • - Literal - - (Test::Unit::Assertions::AssertionMessage) - -
          • - -
          • - Load - - (Test::Unit::Collector) - -
          • - -
          • - Loader - - (Test::Unit::Data::ClassMethods) - -
          • - -
          -
        - - - - - - - - - - - - - - - - - - - - -
        - - - - - -
          -
        • U
        • -
            - -
          • - UI - - (Test::Unit) - -
          • - -
          • - UTF8Line - - (Test::Unit::Diff) - -
          • - -
          • - UnifiedDiffer - - (Test::Unit::Diff) - -
          • - -
          • - Unit - - (Test) - -
          • - -
          • - Util - - (Test::Unit) - -
          • - -
          -
        - - -
          -
        • W
        • -
            - -
          • - WrappedException - - (Test::Unit::Assertions::AssertExceptionHelper) - -
          • - -
          -
        - - -
          -
        • X
        • -
            - -
          • - XML - - (Test::Unit::UI) - -
          • - -
          • - XML - - (Test::Unit::Collector) - -
          • - -
          -
        - -
        - -
        - -
        - - - + + + +

        test-unit

        +
        +

        Alphabetic Index

        + +

        File Listing

        + + +
        +

        Namespace Listing A-Z

        + + + + + + + + + + +
        + + + + + + + + + + + +
          +
        • D
        • +
            + +
          • + Data + + (Test::Unit) + +
          • + +
          • + DataSets + + (Test::Unit) + +
          • + +
          • + DelayedLiteral + + (Test::Unit::Assertions::AssertionMessage) + +
          • + +
          • + Descendant + + (Test::Unit::Collector) + +
          • + +
          • + Diff + + (Test::Unit) + +
          • + +
          • + Differ + + (Test::Unit::Diff) + +
          • + +
          • + Dir + + (Test::Unit::Collector) + +
          • + +
          +
        + + + + + + + + +
          +
        • H
        • +
            + +
          • + HashInspector + + (Test::Unit::Assertions::AssertionMessage) + +
          • + +
          • + HookPoint + + (Test::Unit::Fixture) + +
          • + +
          +
        + + +
        + + +
          +
        • I
        • +
            + +
          • + Inspector + + (Test::Unit::Assertions::AssertionMessage) + +
          • + +
          • + InternalData + + (Test::Unit::TestCase) + +
          • + +
          +
        + + +
          +
        • L
        • +
            + +
          • + Listener + + (Test::Unit::Collector::XML) + +
          • + +
          • + Literal + + (Test::Unit::Assertions::AssertionMessage) + +
          • + +
          • + Load + + (Test::Unit::Collector) + +
          • + +
          • + Loader + + (Test::Unit::Data::ClassMethods) + +
          • + +
          +
        + + + + + + + + + + + + + + + + + + + + +
        + + + + + +
          +
        • U
        • +
            + +
          • + UI + + (Test::Unit) + +
          • + +
          • + UTF8Line + + (Test::Unit::Diff) + +
          • + +
          • + UnifiedDiffer + + (Test::Unit::Diff) + +
          • + +
          • + Unit + + (Test) + +
          • + +
          • + Util + + (Test::Unit) + +
          • + +
          +
        + + +
          +
        • W
        • +
            + +
          • + WrappedException + + (Test::Unit::Assertions::AssertExceptionHelper) + +
          • + +
          +
        + + +
          +
        • X
        • +
            + +
          • + XML + + (Test::Unit::UI) + +
          • + +
          • + XML + + (Test::Unit::Collector) + +
          • + +
          +
        + +
        + +
        + +
        + + +
        @@ -1033,6 +1033,6 @@

        Namespace Listing A-Z

        -
        - +
        + \ No newline at end of file diff --git a/test-unit/ja/class_list.html b/test-unit/ja/class_list.html index a00cd6cf..09085004 100644 --- a/test-unit/ja/class_list.html +++ b/test-unit/ja/class_list.html @@ -1,51 +1,51 @@ - - - - - - - - - - - - - - - - - - Class List - - - -
        -
        -

        Class List

        - - - -
        - - -
        - - + + + + + + + + + + + + + + + + + + Class List + + + +
        +
        +

        Class List

        + + + +
        + + +
        + + diff --git a/test-unit/ja/css/full_list.css b/test-unit/ja/css/full_list.css index fa359824..742b72fa 100644 --- a/test-unit/ja/css/full_list.css +++ b/test-unit/ja/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/ja/css/style.css b/test-unit/ja/css/style.css index eb0dbc86..44d87e0d 100644 --- a/test-unit/ja/css/style.css +++ b/test-unit/ja/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/ja/file.README.html b/test-unit/ja/file.README.html index bc052089..56dddfbc 100644 --- a/test-unit/ja/file.README.html +++ b/test-unit/ja/file.README.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - File: README - - — test-unit - + <title> + File: README + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
          - - File: README - - — test-unit - + + File: README + + — test-unit + - test-unit @@ -62,36 +62,35 @@
          - - - + + +

          test-unit

          Gem Version -Build Status for Ruby 2.1+ -Build Status for Ruby 1.9 and 2.0

          +Build Status for Ruby 2.1+

          • http://test-unit.github.io/
          • @@ -107,6 +106,19 @@

            説明

            programming software development methodology, for Smalltalk’s SUnit. It allows writing tests, checking results and automated testing in Ruby.

            +

            test-unit ships as part of Ruby as a bundled gem. To check which version is included, see https://stdgems.org/test-unit/. +It’s only necessary to install the gem if you need a newer version.

            + +

            test-unit is the original Ruby unit testing library, and is still active. +It is one of two unit testing libraries bundled with Ruby, the other being minitest.

            + +

            When deciding which to use, consider:

            + +
              +
            • test-unit is strict about backwards compatibility. A backwards-incompatible change would be considered a bug.
            • +
            • test-unit aims to support old Ruby versions, even if EOL.
            • +
            +

            Features

              @@ -205,14 +217,14 @@

              感謝

            • boutil: A bug report.
            • Vladislav Rassokhin: A bug report.
            -
          - - - +
          + + +
          @@ -248,6 +260,6 @@

          感謝

          - - + + \ No newline at end of file diff --git a/test-unit/ja/file.getting-started.html b/test-unit/ja/file.getting-started.html index b3481438..5bc1a382 100644 --- a/test-unit/ja/file.getting-started.html +++ b/test-unit/ja/file.getting-started.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - File: getting-started - - — test-unit - + <title> + File: getting-started + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
          - - File: getting-started - - — test-unit - + + File: getting-started + + — test-unit + - test-unit @@ -62,31 +62,31 @@
          - - - + + +

          1. test-unitはじめの一歩

          テストユニットを使ってみましょう。

          @@ -313,14 +313,14 @@

          7. 詳細な情報

          -
          - - - +
          + + +
          @@ -356,6 +356,6 @@

          7. 詳細な情報

          - - + + \ No newline at end of file diff --git a/test-unit/ja/file.how-to.html b/test-unit/ja/file.how-to.html index d1cab12d..1ae53393 100644 --- a/test-unit/ja/file.how-to.html +++ b/test-unit/ja/file.how-to.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - File: how-to - - — test-unit - + <title> + File: how-to + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
          - - File: how-to - - — test-unit - + + File: how-to + + — test-unit + - test-unit @@ -62,31 +62,31 @@
          - - - + + +

          一歩進んだ使い方

          すべてのテストを実行する

          @@ -198,14 +198,14 @@

          プロジェクトごとにtest-unitを設定する

          name: green bold: true -
          - - - +
          + + +
          @@ -241,6 +241,6 @@

          プロジェクトごとにtest-unitを設定する

          - - + + \ No newline at end of file diff --git a/test-unit/ja/file.news.html b/test-unit/ja/file.news.html index dbddafde..905846c7 100644 --- a/test-unit/ja/file.news.html +++ b/test-unit/ja/file.news.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - File: news - - — test-unit - + <title> + File: news + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
          - - File: news - - — test-unit - + + File: news + + — test-unit + - test-unit @@ -62,43 +62,84 @@
          + + + +

          News

          - +
            +
          • Suppressed a warning. +[GitHub#219][Patch by Kenichi Kamiya]
          • +
          -

          News

          +

          感謝

          + +
            +
          • Kenichi Kamiya
          • +
          + +

          3.5.4 - 2022-10-04

          + +

          改良

          + +
            +
          • +

            Don’t raise an error on Test::Unit::TestCase.clone. +[GitHub#210][Reported by David Marchaland]

            +
          • +
          • +

            Added support for BigDeciaml in assert_in_delta family. +[GitHub#218][Patch by Kenta Murata]

            +
          • +
          + +

          感謝

          + +
            +
          • +

            David Marchaland

            +
          • +
          • +

            Kenta Murata

            +
          • +

          3.5.3 - 2021-12-20

          -

          改良

          +

          改良

          • Made how to sub test case generation customizable. [GitHub#207][Patch by Akira Matsuda]
          -

          感謝

          +

          感謝

          • Akira Matsuda
          • @@ -106,14 +147,14 @@

            感謝

            3.5.2 - 2021-12-10

            -

            改良

            +

            改良

            • Required fileutils lazy. [GitHub#206][Patch by David Rodríguez]
            -

            感謝

            +

            感謝

            • David Rodríguez
            • @@ -121,14 +162,14 @@

              感謝

              3.5.1 - 2021-11-08

              -

              修正

              +

              修正

              • Fixed a bug that keep: true is ignored when data set is generated by block. [Reported by Kenta Murata]
              -

              感謝

              +

              感謝

              • Kenta Murata
              • @@ -136,7 +177,7 @@

                感謝

                3.5.0 - 2021-10-18

                -

                修正

                +

                修正

                • Fixed a bug that keep: true is ignored when the last data @@ -145,7 +186,7 @@

                  修正

                  3.4.9 - 2021-10-18

                  -

                  改良

                  +

                  改良

                  • Added support for labeling each variable values by using Hash.
                  • @@ -153,7 +194,7 @@

                    改良

                    3.4.8 - 2021-10-11

                    -

                    改良

                    +

                    改良

                    • Added support for omitting Ractor tests on Ruby 2.7 or earlier @@ -162,14 +203,14 @@

                      改良

                      3.4.7 - 2021-09-14

                      -

                      修正

                      +

                      修正

                      • Suppressed a warning on Ruby 2. [GitHub#205][Patch by Kenichi Kamiya]
                      -

                      感謝

                      +

                      感謝

                      • Kenichi Kamiya
                      • @@ -177,7 +218,7 @@

                        感謝

                        3.4.6 - 2021-09-11

                        -

                        改良

                        +

                        改良

                        • @@ -192,7 +233,7 @@

                          改良

                          3.4.5 - 2021-09-04

                          -

                          改良

                          +

                          改良

                          • @@ -213,14 +254,14 @@

                            改良

                          -

                          修正

                          +

                          修正

                          • Fixed typos in documents. [GitHub#189][GitHub#190][GitHub#195][GitHub#197][Patch by Kenichi Kamiya]
                          -

                          感謝

                          +

                          感謝

                          • Kenichi Kamiya
                          • @@ -228,7 +269,7 @@

                            感謝

                            3.4.4 - 2021-06-04

                            -

                            改良

                            +

                            改良

                            • Renamed assert_all? to assert_all. assert_all? is deprecated @@ -237,7 +278,7 @@

                              改良

                              3.4.3 - 2021-06-04

                              -

                              改良

                              +

                              改良

                              • @@ -253,7 +294,7 @@

                                改良

                                3.4.2 - 2021-05-30

                                -

                                改良

                                +

                                改良

                                • [UI][console]: Improved diff readability for no color @@ -262,7 +303,7 @@

                                  改良

                                  3.4.1 - 2021-04-19

                                  -

                                  修正

                                  +

                                  修正

                                  • Fixed a bug that setup/cleanup/teardown with block may be @@ -271,7 +312,7 @@

                                    修正

                                    [GitHub#179][Reported by akira yamada]
                                  -

                                  感謝

                                  +

                                  感謝

                                  • akira yamada
                                  • @@ -279,7 +320,7 @@

                                    感謝

                                    3.4.0 - 2021-01-30

                                    -

                                    改良

                                    +

                                    改良

                                    • Enable deprecated warnings by default.
                                    • @@ -287,14 +328,14 @@

                                      改良

                                      3.3.9 - 2020-12-29

                                      -

                                      改良

                                      +

                                      改良

                                      • assert_not_match: Add support for String as pattern. [GitHub#178][Patch by David Rodríguez]
                                      -

                                      感謝

                                      +

                                      感謝

                                      • David Rodríguez
                                      • @@ -302,7 +343,7 @@

                                        感謝

                                        3.3.8 - 2020-12-25

                                        -

                                        改良

                                        +

                                        改良

                                        • [UI][console]: Removed reverse mode because Ruby 3.0 reverts @@ -311,7 +352,7 @@

                                          改良

                                          3.3.7 - 2020-11-18

                                          -

                                          改良

                                          +

                                          改良

                                          • @@ -335,14 +376,14 @@

                                            改良

                                          -

                                          修正

                                          +

                                          修正

                                          • Fixed a typo in --help output: [GitHub#176][Patch by icm7216]
                                          -

                                          感謝

                                          +

                                          感謝

                                          • @@ -358,7 +399,7 @@

                                            感謝

                                            3.3.6 - 2020-06-10

                                            -

                                            改良

                                            +

                                            改良

                                            • @@ -380,7 +421,7 @@

                                              改良

                                            -

                                            感謝

                                            +

                                            感謝

                                            • @@ -393,14 +434,14 @@

                                              感謝

                                              3.3.5 - 2020-01-10

                                              -

                                              改良

                                              +

                                              改良

                                              • Improved code snippet showing with different default external encoding. [GitHub#166][Patch by Yuta Iwama]
                                              -

                                              感謝

                                              +

                                              感謝

                                              • Yuta Iwama
                                              • @@ -408,7 +449,7 @@

                                                感謝

                                                3.3.4 - 2019-09-30

                                                -

                                                改良

                                                +

                                                改良

                                                • @@ -421,7 +462,7 @@

                                                  改良

                                                -

                                                感謝

                                                +

                                                感謝

                                                • @@ -443,7 +484,7 @@

                                                  Fixed

                                                  3.3.2 - 2019-04-11

                                                  -

                                                  修正

                                                  +

                                                  修正

                                                  • Fixed a bug that Test::Unit::Collector::Load doesn’t load test @@ -452,7 +493,7 @@

                                                    修正

                                                    [Reported by Kenta Murata]
                                                  -

                                                  感謝

                                                  +

                                                  感謝

                                                  • Kenta Murata
                                                  • @@ -460,7 +501,7 @@

                                                    感謝

                                                    3.3.1 - 2019-03-27

                                                    -

                                                    改良

                                                    +

                                                    改良

                                                    • Added support for Test::Unit::AssertionFailedError#user_message @@ -469,7 +510,7 @@

                                                      改良

                                                      [GitHub#162][Reported by xgraffm]
                                                    -

                                                    感謝

                                                    +

                                                    感謝

                                                    • xgraffm
                                                    • @@ -477,7 +518,7 @@

                                                      感謝

                                                      3.3.0 - 2019-01-23

                                                      -

                                                      改良

                                                      +

                                                      改良

                                                      • @@ -498,7 +539,7 @@

                                                        改良

                                                      -

                                                      修正

                                                      +

                                                      修正

                                                      • Fixed a code snippet fetch failure when source code isn’t UTF-8 @@ -506,7 +547,7 @@

                                                        修正

                                                        [GitHub#161][Reported by masa kunikata]
                                                      -

                                                      感謝

                                                      +

                                                      感謝

                                                      • @@ -522,7 +563,7 @@

                                                        感謝

                                                        3.2.9 - 2018-12-01

                                                        -

                                                        改良

                                                        +

                                                        改良

                                                        • @@ -606,7 +647,7 @@

                                                          改良

                                                          3.2.8 - 2018-05-13

                                                          -

                                                          改良

                                                          +

                                                          改良

                                                          • [UI][console]: Changed to put code snippet before backtrace on @@ -615,7 +656,7 @@

                                                            改良

                                                            3.2.7 - 2017-12-12

                                                            -

                                                            改良

                                                            +

                                                            改良

                                                            • @@ -633,7 +674,7 @@

                                                              改良

                                                            -

                                                            修正

                                                            +

                                                            修正

                                                            • @@ -645,7 +686,7 @@

                                                              修正

                                                            -

                                                            感謝

                                                            +

                                                            感謝

                                                            • @@ -661,14 +702,14 @@

                                                              感謝

                                                              3.2.6 - 2017-09-21

                                                              -

                                                              改良

                                                              +

                                                              改良

                                                              • Changed test file require failure to error from omission. [GitHub#154][Patch by naofumi-fujii]
                                                              -

                                                              感謝

                                                              +

                                                              感謝

                                                              • naofumi-fujii
                                                              • @@ -676,14 +717,14 @@

                                                                感謝

                                                                3.2.5 - 2017-06-24

                                                                -

                                                                改良

                                                                +

                                                                改良

                                                                • Supported --enable-frozen-string-literal ruby option. [GitHub#149][Reported by Pat Allan]
                                                                -

                                                                感謝

                                                                +

                                                                感謝

                                                                • Pat Allan
                                                                • @@ -691,7 +732,7 @@

                                                                  感謝

                                                                  3.2.4 - 2017-05-23

                                                                  -

                                                                  改良

                                                                  +

                                                                  改良

                                                                  • @@ -716,7 +757,7 @@

                                                                    改良

                                                                  -

                                                                  修正

                                                                  +

                                                                  修正

                                                                  • @@ -749,7 +790,7 @@

                                                                    修正

                                                                  -

                                                                  感謝

                                                                  +

                                                                  感謝

                                                                  • @@ -789,14 +830,14 @@

                                                                    感謝

                                                                    3.2.3 - 2016-11-25

                                                                    -

                                                                    修正

                                                                    +

                                                                    修正

                                                                    • Fixed a bug that --order isn’t applied. [GitHub#129][Reported by Vít Ondruch]
                                                                    -

                                                                    感謝

                                                                    +

                                                                    感謝

                                                                    • Vít Ondruch
                                                                    • @@ -804,7 +845,7 @@

                                                                      感謝

                                                                      3.2.2 - 2016-11-02

                                                                      -

                                                                      改良

                                                                      +

                                                                      改良

                                                                      • @@ -817,7 +858,7 @@

                                                                        改良

                                                                      -

                                                                      修正

                                                                      +

                                                                      修正

                                                                      • @@ -842,7 +883,7 @@

                                                                        修正

                                                                      -

                                                                      感謝

                                                                      +

                                                                      感謝

                                                                      • @@ -861,7 +902,7 @@

                                                                        感謝

                                                                        3.2.1 - 2016-07-19

                                                                        -

                                                                        改良

                                                                        +

                                                                        改良

                                                                        • @@ -876,7 +917,7 @@

                                                                          改良

                                                                        -

                                                                        感謝

                                                                        +

                                                                        感謝

                                                                        • @@ -889,14 +930,14 @@

                                                                          感謝

                                                                          3.2.0 - 2016-06-12

                                                                          -

                                                                          改良

                                                                          +

                                                                          改良

                                                                          • Supported rxvt family terminals as color available terminals. [GitHub#121][Reported by Ippei Kishida]
                                                                          -

                                                                          感謝

                                                                          +

                                                                          感謝

                                                                          • Ippei Kishida
                                                                          • @@ -904,7 +945,7 @@

                                                                            感謝

                                                                            3.1.9 - 2016-05-20

                                                                            -

                                                                            修正

                                                                            +

                                                                            修正

                                                                            • @@ -916,7 +957,7 @@

                                                                              修正

                                                                            -

                                                                            感謝

                                                                            +

                                                                            感謝

                                                                            • Kazuki Tsujimoto
                                                                            • @@ -924,7 +965,7 @@

                                                                              感謝

                                                                              3.1.8 - 2016-03-19

                                                                              -

                                                                              改良

                                                                              +

                                                                              改良

                                                                              • Added --stop-on-failure command line option. With this option, @@ -934,7 +975,7 @@

                                                                                改良

                                                                                3.1.7 - 2016-01-17

                                                                                -

                                                                                修正

                                                                                +

                                                                                修正

                                                                                • Added a missing require.
                                                                                • @@ -944,7 +985,7 @@

                                                                                  3.1.6 - 2016-01-17

                                                                                  Railsと一緒に使いやすくなったリリースです。

                                                                                  -

                                                                                  改良

                                                                                  +

                                                                                  改良

                                                                                  • Filtered backtrace of power_assert. @@ -991,7 +1032,7 @@

                                                                                    改良

                                                                                  -

                                                                                  修正

                                                                                  +

                                                                                  修正

                                                                                  • Fixed a bug that test isn’t ran. The test has the same name as @@ -1003,7 +1044,7 @@

                                                                                    3.1.5 - 2015-10-09

                                                                                    Rackと一緒に使いやすくなったリリースです。

                                                                                    -

                                                                                    改良

                                                                                    +

                                                                                    改良

                                                                                    • Renamed experimental top-level run method to run_test method @@ -1011,7 +1052,7 @@

                                                                                      改良

                                                                                      [GitHub#32][GitHub:basecamp/pow#303] [Reported by Yevhen Viktorov]
                                                                                    -

                                                                                    感謝

                                                                                    +

                                                                                    感謝

                                                                                    • Yevhen Viktorov
                                                                                    • @@ -1021,7 +1062,7 @@

                                                                                      3.1.4 - 2015-09-26

                                                                                      微改良リリースです。

                                                                                      -

                                                                                      改良

                                                                                      +

                                                                                      改良

                                                                                      • Updated sample code. [GitHub#109][Patch by takiy33]
                                                                                      • @@ -1034,7 +1075,7 @@

                                                                                        改良

                                                                                        [GitHub#113][Patch by NARUSE, Yui]
                                                                                      -

                                                                                      感謝

                                                                                      +

                                                                                      感謝

                                                                                      • takiy33
                                                                                      • @@ -1045,13 +1086,13 @@

                                                                                        3.1.3 - 2015-07-26

                                                                                        バグフィックスリリースです。

                                                                                        -

                                                                                        改良

                                                                                        +

                                                                                        改良

                                                                                        • Removed unused TODO file. [GitHub#108][Patch by takiy33]
                                                                                        -

                                                                                        修正

                                                                                        +

                                                                                        修正

                                                                                        • @@ -1070,7 +1111,7 @@

                                                                                          修正

                                                                                        -

                                                                                        感謝

                                                                                        +

                                                                                        感謝

                                                                                        • takiy33
                                                                                        • @@ -1081,7 +1122,7 @@

                                                                                          3.1.2 - 2015-06-09

                                                                                          It’s command line option improvements fix release.

                                                                                          -

                                                                                          改良

                                                                                          +

                                                                                          改良

                                                                                          • --location: Made path match rule more strict. @@ -1111,7 +1152,7 @@

                                                                                            改良

                                                                                            [Suggested by kimura wataru]
                                                                                          -

                                                                                          感謝

                                                                                          +

                                                                                          感謝

                                                                                          • kimura wataru
                                                                                          • @@ -1121,7 +1162,7 @@

                                                                                            3.1.1 - 2015-05-29

                                                                                            バグフィックスリリースです。

                                                                                            -

                                                                                            修正

                                                                                            +

                                                                                            修正

                                                                                            • Fixed a bug that --location detects tests not only in sub test @@ -1129,7 +1170,7 @@

                                                                                              修正

                                                                                              [GitHub#105][Reported by wanabe]
                                                                                            -

                                                                                            感謝

                                                                                            +

                                                                                            感謝

                                                                                            • wanabe
                                                                                            • @@ -1139,13 +1180,13 @@

                                                                                              3.1.0 - 2015-05-28

                                                                                              バグフィックスリリースです。

                                                                                              -

                                                                                              改良

                                                                                              +

                                                                                              改良

                                                                                              • [ui][console] Removed needless new line.
                                                                                              -

                                                                                              修正

                                                                                              +

                                                                                              修正

                                                                                              • Fixed a bug that priority mode can’t be used on Windows. @@ -1163,7 +1204,7 @@

                                                                                                修正

                                                                                                [GitHub#104][Reported by wanabe]
                                                                                              -

                                                                                              感謝

                                                                                              +

                                                                                              感謝

                                                                                              • Daniel Berger
                                                                                              • @@ -1178,7 +1219,7 @@

                                                                                                3.0.9 - 2014-12-31

                                                                                                It’s a release that improves colors.

                                                                                                -

                                                                                                改良

                                                                                                +

                                                                                                改良

                                                                                                • Added a work around for Ruby 1.8. (Note: Ruby 1.8 isn’t @@ -1190,7 +1231,7 @@

                                                                                                  改良

                                                                                                  [Suggested by Tanaka Akira]
                                                                                                -

                                                                                                感謝

                                                                                                +

                                                                                                感謝

                                                                                                • Aaron Stone
                                                                                                • @@ -1202,7 +1243,7 @@

                                                                                                  3.0.8 - 2014-12-12

                                                                                                  It’s a release that supports Ruby 2.2.0 preview2.

                                                                                                  -

                                                                                                  改良

                                                                                                  +

                                                                                                  改良

                                                                                                  • Added a link for YARD in README. @@ -1213,7 +1254,7 @@

                                                                                                    改良

                                                                                                    assert_nothing_thrown.
                                                                                                  -

                                                                                                  修正

                                                                                                  +

                                                                                                  修正

                                                                                                  • Fixed a bug that error report is failed when source encoding and @@ -1221,7 +1262,7 @@

                                                                                                    修正

                                                                                                    [GitHub#87][Reported by scivola]
                                                                                                  -

                                                                                                  感謝

                                                                                                  +

                                                                                                  感謝

                                                                                                  • sunnyone
                                                                                                  • @@ -1232,7 +1273,7 @@

                                                                                                    3.0.7 - 2014-11-14

                                                                                                    マイナーアップデートリリースです。

                                                                                                    -

                                                                                                    修正

                                                                                                    +

                                                                                                    修正

                                                                                                    • Fixed a bug that teardown blocks aren’t called with sub class to @@ -1240,7 +1281,7 @@

                                                                                                      修正

                                                                                                      [GitHub#85][Reported by TOMITA Masahiro]
                                                                                                    -

                                                                                                    感謝

                                                                                                    +

                                                                                                    感謝

                                                                                                    • TOMITA Masahiro
                                                                                                    • @@ -1250,14 +1291,14 @@

                                                                                                      3.0.6 - 2014-11-09

                                                                                                      マイナーアップデートリリースです。

                                                                                                      -

                                                                                                      改良

                                                                                                      +

                                                                                                      改良

                                                                                                      • Improved code snippet location. [GitHub#84][Patch by Yuki Kurihara]
                                                                                                      -

                                                                                                      感謝

                                                                                                      +

                                                                                                      感謝

                                                                                                      • Yuki Kurihara
                                                                                                      • @@ -1267,7 +1308,7 @@

                                                                                                        3.0.5 - 2014-11-08

                                                                                                        マイナーアップデートリリースです。

                                                                                                        -

                                                                                                        修正

                                                                                                        +

                                                                                                        修正

                                                                                                        • Fixed a bug that startup/shutdown of parent test case isn’t called @@ -1275,7 +1316,7 @@

                                                                                                          修正

                                                                                                          [GitHub#83][Reported by Chadderton Odwazny]
                                                                                                        -

                                                                                                        感謝

                                                                                                        +

                                                                                                        感謝

                                                                                                        • Chadderton Odwazny
                                                                                                        • @@ -1285,7 +1326,7 @@

                                                                                                          3.0.4 - 2014-11-01

                                                                                                          マイナーアップデートリリースです。

                                                                                                          -

                                                                                                          改良

                                                                                                          +

                                                                                                          改良

                                                                                                          • Stopped to remove JRuby and Rubinius internal backtrace entries from @@ -1293,7 +1334,7 @@

                                                                                                            改良

                                                                                                            [GitHub#82][Patch by Charles Oliver Nutter]
                                                                                                          -

                                                                                                          感謝

                                                                                                          +

                                                                                                          感謝

                                                                                                          • Charles Oliver Nutter
                                                                                                          • @@ -1303,7 +1344,7 @@

                                                                                                            3.0.3 - 2014-10-29

                                                                                                            マイナーアップデートリリースです。

                                                                                                            -

                                                                                                            改良

                                                                                                            +

                                                                                                            改良

                                                                                                            • Improved Test::Unit::TestCase.test performance. @@ -1312,14 +1353,14 @@

                                                                                                              改良

                                                                                                              [Sugested by Nobuyoshi Nakada]
                                                                                                            -

                                                                                                            修正

                                                                                                            +

                                                                                                            修正

                                                                                                            • Fixed markup in document. [GitHub#81][Patch by Masafumi Yokoyama]
                                                                                                            -

                                                                                                            感謝

                                                                                                            +

                                                                                                            感謝

                                                                                                            • Masafumi Yokoyama
                                                                                                            • @@ -1330,7 +1371,7 @@

                                                                                                              3.0.2 - 2014-10-15

                                                                                                              マイナーアップデートリリースです。

                                                                                                              -

                                                                                                              改良

                                                                                                              +

                                                                                                              改良

                                                                                                              • Supported broken == implementation. @@ -1344,14 +1385,14 @@

                                                                                                                改良

                                                                                                                [GitHub#78][Patch by Vít Ondruch]
                                                                                                              -

                                                                                                              修正

                                                                                                              +

                                                                                                              修正

                                                                                                              • Removed needless executable bit from README file. [GitHub#79][Patch by Vít Ondruch]
                                                                                                              -

                                                                                                              感謝

                                                                                                              +

                                                                                                              感謝

                                                                                                              • Emily
                                                                                                              • @@ -1363,7 +1404,7 @@

                                                                                                                3.0.1 - 2014-08-05

                                                                                                                マイナーアップデートリリースです。

                                                                                                                -

                                                                                                                改良

                                                                                                                +

                                                                                                                改良

                                                                                                                • Improved Ruby 1.8.7 support. Note that we don’t support Ruby 1.8.7 @@ -1371,7 +1412,7 @@

                                                                                                                  改良

                                                                                                                  [GitHub#71][Patch by estolfo]
                                                                                                                -

                                                                                                                感謝

                                                                                                                +

                                                                                                                感謝

                                                                                                                • estolfo
                                                                                                                • @@ -1381,7 +1422,7 @@

                                                                                                                  3.0.0 - 2014-08-03

                                                                                                                  Power Assertをサポートしたリリースです!

                                                                                                                  -

                                                                                                                  改良

                                                                                                                  +

                                                                                                                  改良

                                                                                                                  • Improved Rubinius support. [Ryo Onodera]
                                                                                                                  • @@ -1423,7 +1464,7 @@

                                                                                                                    改良

                                                                                                                    [Kazuki Tsujimoto]
                                                                                                                  -

                                                                                                                  修正

                                                                                                                  +

                                                                                                                  修正

                                                                                                                  • Fixed a bug that test case defined by block has wrong location. @@ -1433,7 +1474,7 @@

                                                                                                                    修正

                                                                                                                    [GitHub#62][GitHub#63][Patch by Karol Bucek]
                                                                                                                  -

                                                                                                                  感謝

                                                                                                                  +

                                                                                                                  感謝

                                                                                                                  • Ryo Onodera
                                                                                                                  • @@ -1449,7 +1490,7 @@

                                                                                                                    2.5.5 - 2013-05-18

                                                                                                                    It’s Ruby 2.0.0 supported release!

                                                                                                                    -

                                                                                                                    改良

                                                                                                                    +

                                                                                                                    改良

                                                                                                                    • Supported Ruby 2.0.0. [GitHub#54] [Reported by mtasaka]
                                                                                                                    • @@ -1457,7 +1498,7 @@

                                                                                                                      改良

                                                                                                                      [GitHub#55] [Reported by Tom Miller]
                                                                                                                    -

                                                                                                                    修正

                                                                                                                    +

                                                                                                                    修正

                                                                                                                    • Fixed a typo in document. @@ -1467,7 +1508,7 @@

                                                                                                                      修正

                                                                                                                      [Ruby Bug #8317] [Reported by Nobuhiro IMAI]
                                                                                                                    -

                                                                                                                    感謝

                                                                                                                    +

                                                                                                                    感謝

                                                                                                                    • Baptiste Fontaine
                                                                                                                    • @@ -1480,7 +1521,7 @@

                                                                                                                      2.5.4 - 2013-01-23

                                                                                                                      バグフィックスリリースです。

                                                                                                                      -

                                                                                                                      改良

                                                                                                                      +

                                                                                                                      改良

                                                                                                                      • Added documents for data driven test functionality.
                                                                                                                      • @@ -1488,7 +1529,7 @@

                                                                                                                        改良

                                                                                                                      • Support tag inspection on JRuby.
                                                                                                                      -

                                                                                                                      修正

                                                                                                                      +

                                                                                                                      修正

                                                                                                                      • Fixed a bug. It is too slow to filter tests when there are many @@ -1497,7 +1538,7 @@

                                                                                                                        修正

                                                                                                                        [GitHub:#49] [Reported by Matthew Rudy Jacobs]
                                                                                                                      -

                                                                                                                      感謝

                                                                                                                      +

                                                                                                                      感謝

                                                                                                                      • Matthew Rudy Jacobs
                                                                                                                      • @@ -1507,7 +1548,7 @@

                                                                                                                        2.5.3 - 2012-11-28

                                                                                                                        minitestとの互換製の改良とバグフィックスのリリースです。

                                                                                                                        -

                                                                                                                        改良

                                                                                                                        +

                                                                                                                        改良

                                                                                                                        • Supported diff in invalid encoding.
                                                                                                                        • @@ -1517,7 +1558,7 @@

                                                                                                                          改良

                                                                                                                          [test-unit-users-en:00098] [Suggested by Piotr Nestorow]
                                                                                                                        -

                                                                                                                        修正

                                                                                                                        +

                                                                                                                        修正

                                                                                                                        • Allowed use of test for inheritance in ActionController::TestCase. @@ -1531,7 +1572,7 @@

                                                                                                                          修正

                                                                                                                          [GitHub#45] [Reported by Piotr Nestorow]
                                                                                                                        -

                                                                                                                        感謝

                                                                                                                        +

                                                                                                                        感謝

                                                                                                                        • Michael Grosser
                                                                                                                        • @@ -1544,7 +1585,7 @@

                                                                                                                          2.5.2 - 2012-08-29

                                                                                                                          とみたさん用に改良したリリースです。 --location はRSpecの --line_number と似た機能です。 sub_test_case はshoulda-contextとRSpecの context と似た機能です。

                                                                                                                          -

                                                                                                                          改良

                                                                                                                          +

                                                                                                                          改良

                                                                                                                          • Cleaned up tests. @@ -1567,7 +1608,7 @@

                                                                                                                            改良

                                                                                                                            specify the sub test case name in free form.
                                                                                                                          -

                                                                                                                          感謝

                                                                                                                          +

                                                                                                                          感謝

                                                                                                                          • Michael Grosser
                                                                                                                          • @@ -1579,7 +1620,7 @@

                                                                                                                            2.5.1 - 2012-07-05

                                                                                                                            バグフィックスリリースです。

                                                                                                                            -

                                                                                                                            改良

                                                                                                                            +

                                                                                                                            改良

                                                                                                                            • Supported installing from GitHub. @@ -1589,7 +1630,7 @@

                                                                                                                              改良

                                                                                                                            • [ui][console] Improved multiline falut message display.
                                                                                                                            -

                                                                                                                            修正

                                                                                                                            +

                                                                                                                            修正

                                                                                                                            • [ui][console] 期待値と実測値が空になる問題を修正。 @@ -1600,7 +1641,7 @@

                                                                                                                              修正

                                                                                                                              [RubyForge#29595] [Reported by Jean-Denis Koeck]
                                                                                                                            -

                                                                                                                            感謝

                                                                                                                            +

                                                                                                                            感謝

                                                                                                                            • Michael Grosser
                                                                                                                            • @@ -1613,14 +1654,14 @@

                                                                                                                              2.5.0 - 2012-06-06

                                                                                                                              バグフィックスリリースです。

                                                                                                                              -

                                                                                                                              修正

                                                                                                                              +

                                                                                                                              修正

                                                                                                                              • 2.4.9で入った TestUnitMediator#run_suite の後方非互換な変更を修正しました。 [GitHub#28] [Vladislav Rassokhinさんが報告]
                                                                                                                              -

                                                                                                                              感謝

                                                                                                                              +

                                                                                                                              感謝

                                                                                                                              • Vladislav Rassokhinさん
                                                                                                                              • @@ -1630,7 +1671,7 @@

                                                                                                                                2.4.9 - 2012-06-03

                                                                                                                                バグフィックスリリースです。

                                                                                                                                -

                                                                                                                                改良

                                                                                                                                +

                                                                                                                                改良

                                                                                                                                • Test::Unit.run? -> @@ -1647,7 +1688,7 @@

                                                                                                                                  改良

                                                                                                                                  as 256 color supported terminal.
                                                                                                                                -

                                                                                                                                修正

                                                                                                                                +

                                                                                                                                修正

                                                                                                                                • Fixed a bug that --workdir doesn’t work.
                                                                                                                                • @@ -1658,7 +1699,7 @@

                                                                                                                                  修正

                                                                                                                                  [GitHub#25] [Reported by Stephan Kulow]
                                                                                                                                -

                                                                                                                                感謝

                                                                                                                                +

                                                                                                                                感謝

                                                                                                                                • Bob Saveland
                                                                                                                                • @@ -1670,7 +1711,7 @@

                                                                                                                                  2.4.8 - 2012-3-6

                                                                                                                                  バグフィックスリリースです。

                                                                                                                                  -

                                                                                                                                  改良

                                                                                                                                  +

                                                                                                                                  改良

                                                                                                                                  • Delayed at_exit registration until Test::Unit is used. @@ -1679,7 +1720,7 @@

                                                                                                                                    改良

                                                                                                                                    [GitHub:#22] [Reported by Cédric Boutillier]
                                                                                                                                  -

                                                                                                                                  修正

                                                                                                                                  +

                                                                                                                                  修正

                                                                                                                                  • JRuby上でテスト失敗時のコード表示時に発生していたエラーを修正した。 @@ -1687,7 +1728,7 @@

                                                                                                                                    修正

                                                                                                                                    [Jørgen P. Tjernøさんが報告][Junegunn Choiさんがパッチ提供]
                                                                                                                                  -

                                                                                                                                  感謝

                                                                                                                                  +

                                                                                                                                  感謝

                                                                                                                                  • Jørgen P. Tjernø
                                                                                                                                  • @@ -1699,7 +1740,7 @@

                                                                                                                                    2.4.7 - 2012-2-10

                                                                                                                                    失敗時のコード表示を改良したリリースです。

                                                                                                                                    -

                                                                                                                                    改良

                                                                                                                                    +

                                                                                                                                    改良

                                                                                                                                    • 失敗時だけでなくエラー時などでもコードの一部を表示するようにした。
                                                                                                                                    • @@ -1709,7 +1750,7 @@

                                                                                                                                      2.4.6 - 2012-2-9

                                                                                                                                      TAPランナーサポートを分離したリリースです。

                                                                                                                                      -

                                                                                                                                      改良

                                                                                                                                      +

                                                                                                                                      改良

                                                                                                                                      • Moved TAP runner to test-unit-runner-tap gem from test-unit gem.
                                                                                                                                      • @@ -1720,7 +1761,7 @@

                                                                                                                                        2.4.5 - 2012-1-16

                                                                                                                                        失敗時のメッセージの読みやすさを改良したリリースです。

                                                                                                                                        -

                                                                                                                                        改良

                                                                                                                                        +

                                                                                                                                        改良

                                                                                                                                        • 失敗時に例外の内容を示すテキストから不必要な情報を削除した。これは例外の内容を読みやすくするためである。
                                                                                                                                        • @@ -1731,7 +1772,7 @@

                                                                                                                                          2.4.4 - 2012-1-2

                                                                                                                                          Railsと一緒に使いやすくなったリリースです。

                                                                                                                                          -

                                                                                                                                          改良

                                                                                                                                          +

                                                                                                                                          改良

                                                                                                                                          • [ui][console] Don’t break progress display when a test is failed.
                                                                                                                                          • @@ -1744,7 +1785,7 @@

                                                                                                                                            改良

                                                                                                                                          • Supported a block style setup/teardown/cleanup.
                                                                                                                                          -

                                                                                                                                          感謝

                                                                                                                                          +

                                                                                                                                          感謝

                                                                                                                                          • Josh Kalderimis
                                                                                                                                          • @@ -1753,7 +1794,7 @@

                                                                                                                                            感謝

                                                                                                                                            2.4.3 - 2011-12-11

                                                                                                                                            -

                                                                                                                                            改良

                                                                                                                                            +

                                                                                                                                            改良

                                                                                                                                            • 自動テストランナー内で ARGV を変更しないようにしてSimpleCov連携を改良した。 @@ -1762,7 +1803,7 @@

                                                                                                                                              改良

                                                                                                                                            • Improved JRuby integration by removing JRuby internal backtrace.
                                                                                                                                            -

                                                                                                                                            感謝

                                                                                                                                            +

                                                                                                                                            感謝

                                                                                                                                            • Nikos Dimitrakopoulosさん
                                                                                                                                            • @@ -1770,38 +1811,38 @@

                                                                                                                                              感謝

                                                                                                                                              2.4.2 - 2011-11-26

                                                                                                                                              -

                                                                                                                                              改良

                                                                                                                                              +

                                                                                                                                              改良

                                                                                                                                              • --name がデータのラベルも比較するようになった。
                                                                                                                                              -

                                                                                                                                              2.4.1 - 2011-11-09

                                                                                                                                              +

                                                                                                                                              2.4.1 - 2011-11-09

                                                                                                                                              -

                                                                                                                                              改良

                                                                                                                                              +

                                                                                                                                              改良

                                                                                                                                              • アサーションに指定するメッセージにAssertionMessageも使えるようにした。これはactionpack内のassert_selectで使われている。 [David Heathさんが報告]
                                                                                                                                              -

                                                                                                                                              修正

                                                                                                                                              +

                                                                                                                                              修正

                                                                                                                                              • Fixed test failure on LANG=C. #11 [Reported by boutil]
                                                                                                                                              • Suppress warnings on Ruby 1.9.2.
                                                                                                                                              -

                                                                                                                                              感謝

                                                                                                                                              +

                                                                                                                                              感謝

                                                                                                                                              • boutil
                                                                                                                                              • David Heath
                                                                                                                                              -

                                                                                                                                              2.4.0 - 2011-09-18

                                                                                                                                              +

                                                                                                                                              2.4.0 - 2011-09-18

                                                                                                                                              -

                                                                                                                                              改良

                                                                                                                                              +

                                                                                                                                              改良

                                                                                                                                              • Supported Travis CI. #5 [Suggested by James Mead]
                                                                                                                                              • @@ -1812,7 +1853,7 @@

                                                                                                                                                改良

                                                                                                                                              • [ui][console] Supported 256 colors.
                                                                                                                                              -

                                                                                                                                              修正

                                                                                                                                              +

                                                                                                                                              修正

                                                                                                                                              • Added missing fixture file. #7 [Reported by grafi-tt]
                                                                                                                                              • @@ -1822,7 +1863,7 @@

                                                                                                                                                修正

                                                                                                                                                [Reported by Marc Seeger (Acquia)]
                                                                                                                                              -

                                                                                                                                              感謝

                                                                                                                                              +

                                                                                                                                              感謝

                                                                                                                                              • James Mead
                                                                                                                                              • @@ -1830,17 +1871,17 @@

                                                                                                                                                感謝

                                                                                                                                              • Marc Seeger (Acquia)
                                                                                                                                              -

                                                                                                                                              2.3.2 - 2011-08-15

                                                                                                                                              +

                                                                                                                                              2.3.2 - 2011-08-15

                                                                                                                                              バグフィックスリリース。

                                                                                                                                              -

                                                                                                                                              改良

                                                                                                                                              +

                                                                                                                                              改良

                                                                                                                                              • [ui][console] 読み易くするために改行を追加。
                                                                                                                                              -

                                                                                                                                              修正

                                                                                                                                              +

                                                                                                                                              修正

                                                                                                                                              • [ui][console] Worked –verbose again.
                                                                                                                                              • @@ -1848,7 +1889,7 @@

                                                                                                                                                修正

                                                                                                                                                [James Meadさんが報告]
                                                                                                                                              -

                                                                                                                                              感謝

                                                                                                                                              +

                                                                                                                                              感謝

                                                                                                                                              • James Meadさん
                                                                                                                                              • @@ -1858,7 +1899,7 @@

                                                                                                                                                2.3.1 - 2011-08-06

                                                                                                                                                Output improvement release!

                                                                                                                                                -

                                                                                                                                                改良

                                                                                                                                                +

                                                                                                                                                改良

                                                                                                                                                • [ui][console] Outputs omissions and notifications in short.
                                                                                                                                                • @@ -1872,7 +1913,7 @@

                                                                                                                                                  改良

                                                                                                                                                  fault details when a fault is occurred.
                                                                                                                                                -

                                                                                                                                                修正

                                                                                                                                                +

                                                                                                                                                修正

                                                                                                                                                • [pull request #1] Fixed a problem that load collector @@ -1882,7 +1923,7 @@

                                                                                                                                                  修正

                                                                                                                                                  [Reported by Jeremy Stephens]
                                                                                                                                                -

                                                                                                                                                感謝

                                                                                                                                                +

                                                                                                                                                感謝

                                                                                                                                                • grafi-tt
                                                                                                                                                • @@ -1890,7 +1931,7 @@

                                                                                                                                                  感謝

                                                                                                                                                • Hans de Graaff
                                                                                                                                                -

                                                                                                                                                2.3.0 / 2011-04-17

                                                                                                                                                +

                                                                                                                                                2.3.0 / 2011-04-17

                                                                                                                                                • 13 enhancements @@ -1920,7 +1961,7 @@

                                                                                                                                                  2.3.0 / 2011-04-17

                                                                                                                                                -

                                                                                                                                                2.2.0 / 2011-02-14

                                                                                                                                                +

                                                                                                                                                2.2.0 / 2011-02-14

                                                                                                                                                • 22 enhancements @@ -1969,7 +2010,7 @@

                                                                                                                                                  2.2.0 / 2011-02-14

                                                                                                                                                -

                                                                                                                                                2.1.2 / 2010-11-25

                                                                                                                                                +

                                                                                                                                                2.1.2 / 2010-11-25

                                                                                                                                                • 1 enhancement @@ -1979,7 +2020,7 @@

                                                                                                                                                  2.1.2 / 2010-11-25

                                                                                                                                                -

                                                                                                                                                2.1.1 / 2010-07-29

                                                                                                                                                +

                                                                                                                                                2.1.1 / 2010-07-29

                                                                                                                                                • 1 bug fix @@ -2011,7 +2052,7 @@

                                                                                                                                                  2.1.1 / 2010-07-29

                                                                                                                                                -

                                                                                                                                                2.0.8 / 2010-06-02

                                                                                                                                                +

                                                                                                                                                2.0.8 / 2010-06-02

                                                                                                                                                • 5 major enchancements @@ -2046,7 +2087,7 @@

                                                                                                                                                  2.0.8 / 2010-06-02

                                                                                                                                                -

                                                                                                                                                2.0.7 / 2010-03-09

                                                                                                                                                +

                                                                                                                                                2.0.7 / 2010-03-09

                                                                                                                                                • 4 major enhancements @@ -2085,7 +2126,7 @@

                                                                                                                                                  2.0.7 / 2010-03-09

                                                                                                                                                -

                                                                                                                                                2.0.6 / 2010-01-09

                                                                                                                                                +

                                                                                                                                                2.0.6 / 2010-01-09

                                                                                                                                                • 3 major enhancements @@ -2122,7 +2163,7 @@

                                                                                                                                                  2.0.6 / 2010-01-09

                                                                                                                                                -

                                                                                                                                                2.0.5 / 2009-10-18

                                                                                                                                                +

                                                                                                                                                2.0.5 / 2009-10-18

                                                                                                                                                • 1 bug fixes @@ -2137,7 +2178,7 @@

                                                                                                                                                  2.0.5 / 2009-10-18

                                                                                                                                                -

                                                                                                                                                2.0.4 / 2009-10-17

                                                                                                                                                +

                                                                                                                                                2.0.4 / 2009-10-17

                                                                                                                                                • 4 major enhancements @@ -2170,7 +2211,7 @@

                                                                                                                                                  2.0.4 / 2009-10-17

                                                                                                                                                -

                                                                                                                                                2.0.3 / 2009-07-19

                                                                                                                                                +

                                                                                                                                                2.0.3 / 2009-07-19

                                                                                                                                                • 6 major enhancements @@ -2207,7 +2248,7 @@

                                                                                                                                                  2.0.3 / 2009-07-19

                                                                                                                                                -

                                                                                                                                                2.0.2 / 2008-12-21

                                                                                                                                                +

                                                                                                                                                2.0.2 / 2008-12-21

                                                                                                                                                • @@ -2238,7 +2279,7 @@

                                                                                                                                                  2.0.2 / 2008-12-21

                                                                                                                                                -

                                                                                                                                                2.0.1 / 2008-11-09

                                                                                                                                                +

                                                                                                                                                2.0.1 / 2008-11-09

                                                                                                                                                • @@ -2277,7 +2318,7 @@

                                                                                                                                                  2.0.1 / 2008-11-09

                                                                                                                                                -

                                                                                                                                                2.0.0 / 2008-06-18

                                                                                                                                                +

                                                                                                                                                2.0.0 / 2008-06-18

                                                                                                                                                • @@ -2313,7 +2354,7 @@

                                                                                                                                                  2.0.0 / 2008-06-18

                                                                                                                                                -

                                                                                                                                                1.2.3 / 2008-02-25

                                                                                                                                                +

                                                                                                                                                1.2.3 / 2008-02-25

                                                                                                                                                • @@ -2324,14 +2365,14 @@

                                                                                                                                                  1.2.3 / 2008-02-25

                                                                                                                                              -
          - - - +
          + + +
          @@ -2367,6 +2408,6 @@

          1.2.3 / 2008-02-25

          -
          - +
          + \ No newline at end of file diff --git a/test-unit/ja/file_list.html b/test-unit/ja/file_list.html index 6f0df66f..bf4ce37f 100644 --- a/test-unit/ja/file_list.html +++ b/test-unit/ja/file_list.html @@ -1,71 +1,71 @@ - - - - - - - - - - - - - - - - - - File List - - - -
          -
          -

          File List

          - - - -
          - - -
          - - + + + + + + + + + + + + + + + + + + File List + + + +
          +
          +

          File List

          + + + +
          + + +
          + + diff --git a/test-unit/ja/frames.html b/test-unit/ja/frames.html index e4579fa7..0475bbac 100644 --- a/test-unit/ja/frames.html +++ b/test-unit/ja/frames.html @@ -1,21 +1,21 @@ - - - - + + + + test-unit - test-unit - - - - - + + + + + diff --git a/test-unit/ja/index.html b/test-unit/ja/index.html index 72f9f088..cc26d343 100644 --- a/test-unit/ja/index.html +++ b/test-unit/ja/index.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - File: README - - — test-unit - + <title> + File: README + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
          - - File: README - - — test-unit - + + File: README + + — test-unit + - test-unit @@ -62,36 +62,35 @@
          - - - + + +

          test-unit

          Gem Version -Build Status for Ruby 2.1+ -Build Status for Ruby 1.9 and 2.0

          +Build Status for Ruby 2.1+

          • http://test-unit.github.io/
          • @@ -107,6 +106,19 @@

            説明

            programming software development methodology, for Smalltalk’s SUnit. It allows writing tests, checking results and automated testing in Ruby.

            +

            test-unit ships as part of Ruby as a bundled gem. To check which version is included, see https://stdgems.org/test-unit/. +It’s only necessary to install the gem if you need a newer version.

            + +

            test-unit is the original Ruby unit testing library, and is still active. +It is one of two unit testing libraries bundled with Ruby, the other being minitest.

            + +

            When deciding which to use, consider:

            + +
              +
            • test-unit is strict about backwards compatibility. A backwards-incompatible change would be considered a bug.
            • +
            • test-unit aims to support old Ruby versions, even if EOL.
            • +
            +

            Features

              @@ -205,14 +217,14 @@

              感謝

            • boutil: A bug report.
            • Vladislav Rassokhin: A bug report.
            -
          - - - +
          + + +
          @@ -248,6 +260,6 @@

          感謝

          - - + + \ No newline at end of file diff --git a/test-unit/ja/js/app.js b/test-unit/ja/js/app.js index 8d067fe3..c3f326d3 100644 --- a/test-unit/ja/js/app.js +++ b/test-unit/ja/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 = $('
            1. '); - 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 =$('
              1. ' + title + '
              2. '); - 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('
                    1. ' + title + '
                    2. '); + 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/ja/js/full_list.js b/test-unit/ja/js/full_list.js index 59069c5e..3e4afd6f 100644 --- a/test-unit/ja/js/full_list.js +++ b/test-unit/ja/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/ja/js/jquery.js b/test-unit/ja/js/jquery.js index 198b3ff0..979ed082 100644 --- a/test-unit/ja/js/jquery.js +++ b/test-unit/ja/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(;c
            a",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="
            t
            ",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(;c
            a",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="
            t
            ",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>");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>");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=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
            ").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file diff --git a/test-unit/ja/method_list.html b/test-unit/ja/method_list.html index e8c4c32d..1d66710c 100644 --- a/test-unit/ja/method_list.html +++ b/test-unit/ja/method_list.html @@ -1,4339 +1,4339 @@ - - - - - - - - - - - - - - - - - - Method List - - - -
            -
            -

            Method List

            - - - -
            - - -
            - - + + + + + + + + + + + + + + + + + + Method List + + + +
            +
            +

            Method List

            + + + +
            + + +
            + + diff --git a/test-unit/ja/top-level-namespace.html b/test-unit/ja/top-level-namespace.html index edd18da1..ae481a90 100644 --- a/test-unit/ja/top-level-namespace.html +++ b/test-unit/ja/top-level-namespace.html @@ -1,50 +1,50 @@ - - - - - + + + + + - - Top Level Namespace - - — test-unit - + <title> + Top Level Namespace + + — test-unit + - test-unit - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
            - - Top Level Namespace - - — test-unit - + + Top Level Namespace + + — test-unit + - test-unit @@ -62,162 +62,162 @@
            - - - -

            Top Level Namespace - - - -

            -
            - - - - - - - - - - - -
            - -

            Defined Under Namespace

            -

            - - - Modules: Test - - - - -

            - - - - - - - - -

            - Instance Method Summary - collapse -

            - -
              - -
            • - - - #run_test ⇒ Object - - - - - - - - - - - - - + + + +

              Top Level Namespace + + + +

              +
              + + + + + + + + + + + +
              + +

              Defined Under Namespace

              +

              + + + Modules: Test + + + + +

              + + + + + + + + +

              + Instance Method Summary + collapse +

              + + - - - - -
              -

              Instance Method Details

              - - -
              -

              - - #run_testObject - - - - - -

              -
              +
              + +
            • + + +
            + + + + +
            +

            Instance Method Details

            + + +
            +

            + + #run_testObject + + + + + +

            +

            experimental. It is for “ruby -rtest-unit -e run_test test/test_*.rb”. Is this API OK or dirty?

            - - -
            -
            -
            - - -
            - - + +
            + + + + +
            + + +
            + + - + - -
             
             
             314
             315
             316
            -317
            -
            +317 +
            # File 'lib/test-unit.rb', line 314
             
             def run_test
               self.class.send(:undef_method, :run_test)
               require "test/unit"
            -end
            -
            - - - - - - - - +end +
            +
            + +
            + +
            + + +
            @@ -253,6 +253,6 @@

            -
            - +
            + \ No newline at end of file