Package edu.jas.util
Class DistributedListTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- edu.jas.util.DistributedListTest
-
- All Implemented Interfaces:
junit.framework.Test
public class DistributedListTest extends junit.framework.TestCase
DistributedList tests with JUnit.- Author:
- Heinz Kredel
-
-
Constructor Summary
Constructors Constructor Description DistributedListTest(java.lang.String name)
Constructs aDistributedListTest
object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
mainprotected void
setUp()
static junit.framework.Test
suite()
protected void
tearDown()
void
testDistributedList1()
Tests if the created DistributedList has #n objects as content.void
testDistributedList2()
Tests if the two created DistributedLists have #n objects as content.void
testDistributedList3()
Tests if the three created DistributedLists have #n objects as content.void
testDistributedList6()
Tests if the two created DistributedLists have #n objects as content when one is created later.-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Constructor Detail
-
DistributedListTest
public DistributedListTest(java.lang.String name)
Constructs aDistributedListTest
object.- Parameters:
name
- String.
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
main
-
suite
public static junit.framework.Test suite()
-
setUp
protected void setUp()
- Overrides:
setUp
in classjunit.framework.TestCase
-
tearDown
protected void tearDown()
- Overrides:
tearDown
in classjunit.framework.TestCase
-
testDistributedList1
public void testDistributedList1()
Tests if the created DistributedList has #n objects as content.
-
testDistributedList2
public void testDistributedList2()
Tests if the two created DistributedLists have #n objects as content.
-
testDistributedList3
public void testDistributedList3()
Tests if the three created DistributedLists have #n objects as content.
-
testDistributedList6
public void testDistributedList6()
Tests if the two created DistributedLists have #n objects as content when one is created later.
-
-