インタフェース
junit.framework.Test の使用

Test を使用しているパッケージ
junit.awtui   
junit.extensions   
junit.framework   
junit.runner   
junit.samples   
junit.samples.money   
junit.swingui   
junit.textui   
 

junit.awtui での Test の使用
 

Test 型のパラメータを持つ junit.awtui のメソッド
 void TestRunner.testFailed(int status, Test test, java.lang.Throwable t)
           
 

junit.extensions での Test の使用
 

Test を実装している junit.extensions のクラス
 class ActiveTestSuite
          A TestSuite for active Tests.
 class ExceptionTestCase
          A TestCase that expects an Exception of class fExpected to be thrown.
 class RepeatedTest
          A Decorator that runs a test repeatedly.
 class TestDecorator
          A Decorator for Tests.
 class TestSetup
          A Decorator to set up and tear down additional fixture state.
 

Test として宣言されている junit.extensions のフィールド
protected  Test TestDecorator.fTest
           
 

Test を返す junit.extensions のメソッド
 Test TestDecorator.getTest()
           
 

Test 型のパラメータを持つ junit.extensions のメソッド
 void ActiveTestSuite.runTest(Test test, TestResult result)
           
 void ActiveTestSuite.runFinished(Test test)
           
 

Test 型のパラメータを持つ junit.extensions のコンストラクタ
RepeatedTest(Test test, int repeat)
           
TestDecorator(Test test)
           
TestSetup(Test test)
           
 

junit.framework での Test の使用
 

Test を実装している junit.framework のクラス
 class TestCase
          A test case defines the fixture to run multiple tests.
 class TestSuite
          A TestSuite is a Composite of Tests.
 

Test として宣言されている junit.framework のフィールド
protected  Test TestFailure.fFailedTest
           
 

Test を返す junit.framework のメソッド
 Test TestFailure.failedTest()
          Gets the failed test.
static Test TestSuite.createTest(java.lang.Class theClass, java.lang.String name)
          ...as the moon sets over the early morning Merlin, Oregon mountains, our intrepid adventurers type...
 Test TestSuite.testAt(int index)
          Returns the test at the given index
 

Test 型のパラメータを持つ junit.framework のメソッド
 void TestListener.addError(Test test, java.lang.Throwable t)
          An error occurred.
 void TestListener.addFailure(Test test, AssertionFailedError t)
          A failure occurred.
 void TestListener.endTest(Test test)
          A test ended.
 void TestListener.startTest(Test test)
          A test started.
 void TestResult.addError(Test test, java.lang.Throwable t)
          Adds an error to the list of errors.
 void TestResult.addFailure(Test test, AssertionFailedError t)
          Adds a failure to the list of failures.
 void TestResult.endTest(Test test)
          Informs the result that a test was completed.
 void TestResult.runProtected(Test test, Protectable p)
          Runs a TestCase.
 void TestResult.startTest(Test test)
          Informs the result that a test will be started.
 void TestSuite.addTest(Test test)
          Adds a test to the suite.
 void TestSuite.runTest(Test test, TestResult result)
           
 

Test 型のパラメータを持つ junit.framework のコンストラクタ
TestFailure(Test failedTest, java.lang.Throwable thrownException)
          Constructs a TestFailure with the given test and exception.
 

junit.runner での Test の使用
 

Test を返す junit.runner のメソッド
 Test BaseTestRunner.getTest(java.lang.String suiteClassName)
          Returns the Test corresponding to the given suite.
 

Test 型のパラメータを持つ junit.runner のメソッド
 void BaseTestRunner.startTest(Test test)
           
 void BaseTestRunner.endTest(Test test)
           
 void BaseTestRunner.addError(Test test, java.lang.Throwable t)
           
 void BaseTestRunner.addFailure(Test test, AssertionFailedError t)
           
abstract  void BaseTestRunner.testFailed(int status, Test test, java.lang.Throwable t)
           
 

junit.samples での Test の使用
 

Test を実装している junit.samples のクラス
 class SimpleTest
          Some simple tests.
 class VectorTest
          A sample test case, testing java.util.Vector.
 

Test を返す junit.samples のメソッド
static Test AllTests.suite()
           
static Test SimpleTest.suite()
           
static Test VectorTest.suite()
           
 

junit.samples.money での Test の使用
 

Test を実装している junit.samples.money のクラス
 class MoneyTest
           
 

junit.swingui での Test の使用
 

Test を返す junit.swingui のメソッド
 Test FailureRunView.getSelectedTest()
           
 Test TestHierarchyRunView.getSelectedTest()
           
 

Test 型のパラメータを持つ junit.swingui のメソッド
 void FailureRunView.revealFailure(Test failure)
           
 void FailureRunView.aboutToStart(Test suite, TestResult result)
           
 void FailureRunView.runFinished(Test suite, TestResult result)
           
 void TestHierarchyRunView.revealFailure(Test failure)
           
 void TestHierarchyRunView.aboutToStart(Test suite, TestResult result)
           
 void TestHierarchyRunView.runFinished(Test suite, TestResult result)
           
 void TestRunContext.handleTestSelected(Test test)
          Handles the selection of a Test.
 void TestRunner.testFailed(int status, Test test, java.lang.Throwable t)
           
protected  void TestRunner.aboutToStart(Test testSuite)
           
protected  void TestRunner.runFinished(Test testSuite)
           
protected  void TestRunner.runTest(Test testSuite)
           
 void TestRunner.handleTestSelected(Test test)
           
 

junit.textui での Test の使用
 

Test 型のパラメータを持つ junit.textui のメソッド
 void ResultPrinter.addError(Test test, java.lang.Throwable t)
           
 void ResultPrinter.addFailure(Test test, AssertionFailedError t)
           
 void ResultPrinter.endTest(Test test)
           
 void ResultPrinter.startTest(Test test)
           
static TestResult TestRunner.run(Test test)
          Runs a single test and collects its results.
static void TestRunner.runAndWait(Test suite)
          Runs a single test and waits until the user types RETURN.
 void TestRunner.testFailed(int status, Test test, java.lang.Throwable t)
           
 TestResult TestRunner.doRun(Test test)
           
 TestResult TestRunner.doRun(Test suite, boolean wait)
           
 



Copyright © 2001-2004 JUnit.org. All Rights Reserved.