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