Package edu.jas.util

Class 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 a DistributedListTest object.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

        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
      • 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.