junit.extensions
クラス TestDecorator

java.lang.Object
  拡張junit.framework.Assert
      拡張junit.extensions.TestDecorator
すべての実装インタフェース:
Test
直系の既知のサブクラス:
RepeatedTest, TestSetup

public class TestDecorator
extends Assert
implements Test

A Decorator for Tests. Use TestDecorator as the base class for defining new test decorators. Test decorator subclasses can be introduced to add behaviour before or after a test is run.


フィールドの概要
protected  Test fTest
           
 
コンストラクタの概要
TestDecorator(Test test)
           
 
メソッドの概要
 void basicRun(TestResult result)
          The basic run behaviour.
 int countTestCases()
          Counts the number of test cases that will be run by this test.
 Test getTest()
           
 void run(TestResult result)
          Runs a test and collects its result in a TestResult instance.
 java.lang.String toString()
           
 
クラス junit.framework.Assert から継承したメソッド
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

fTest

protected Test fTest
コンストラクタの詳細

TestDecorator

public TestDecorator(Test test)
メソッドの詳細

basicRun

public void basicRun(TestResult result)
The basic run behaviour.


countTestCases

public int countTestCases()
インタフェース Test の記述:
Counts the number of test cases that will be run by this test.

定義:
インタフェース Test 内の countTestCases

run

public void run(TestResult result)
インタフェース Test の記述:
Runs a test and collects its result in a TestResult instance.

定義:
インタフェース Test 内の run

toString

public java.lang.String toString()

getTest

public Test getTest()


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