edu.jas.util
Class DistributedListTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by 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
DistributedListTest(java.lang.String name)
          Constructs a DistributedListTest object.
 
Method Summary
static void main(java.lang.String[] args)
          main
protected  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
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DistributedListTest

public DistributedListTest(java.lang.String name)
Constructs a DistributedListTest 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 class junit.framework.TestCase

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.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.