VectorTest
Keywords: junit.samples.VectorTest class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## junit.samples
Class VectorTest

    java.lang.Object
      junit.framework.Assert
          junit.framework.TestCase
              junit.samples.VectorTest

All Implemented Interfaces:
  Test

    public class VectorTest

extends TestCase

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

Field Summary
`protected java.util.Vector` | `fEmpty`
`protected java.util.Vector` | `fFull`

Constructor Summary
`VectorTest()`

Method Summary
`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()`

Methods inherited from class junit.framework.TestCase
`countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString`

Methods inherited from class 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, failNotEquals, failNotSame, failSame`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### fEmpty

    protected java.util.Vector fEmpty

### fFull

    protected java.util.Vector fFull

Constructor Detail

### VectorTest

    public VectorTest()

Method Detail

### main

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

### setUp

    protected void setUp()

  Description copied from class: `TestCase`
  Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

  Overrides:
    `setUp` in class `TestCase`

### 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()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD