junit.samples
クラス VectorTest

java.lang.Object
  拡張junit.framework.Assert
      拡張junit.framework.TestCase
          拡張junit.samples.VectorTest
すべての実装インタフェース:
Test

public class VectorTest
extends TestCase

A sample test case, testing java.util.Vector.


フィールドの概要
protected  java.util.Vector fEmpty
           
protected  java.util.Vector fFull
           
 
コンストラクタの概要
VectorTest()
           
 
メソッドの概要
static void main(java.lang.String[] args)
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
static Test suite()
           
 void testCapacity()
           
 void testClone()
           
 void testContains()
           
 void testElementAt()
           
 void testRemoveAll()
           
 void testRemoveElement()
           
 
クラス junit.framework.TestCase から継承したメソッド
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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
 

フィールドの詳細

fEmpty

protected java.util.Vector fEmpty

fFull

protected java.util.Vector fFull
コンストラクタの詳細

VectorTest

public VectorTest()
メソッドの詳細

main

public static void main(java.lang.String[] args)

setUp

protected void setUp()
クラス TestCase の記述:
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

オーバーライド:
クラス TestCase 内の setUp

suite

public static Test suite()

testCapacity

public void testCapacity()

testClone

public void testClone()

testContains

public void testContains()

testElementAt

public void testElementAt()

testRemoveAll

public void testRemoveAll()

testRemoveElement

public void testRemoveElement()


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