edu.mas.kern
Class LISTTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.mas.kern.LISTTest
All Implemented Interfaces:
junit.framework.Test

public class LISTTest
extends junit.framework.TestCase

Basic list processing tests with JUnit.

Author:
Heinz Kredel.

Constructor Summary
LISTTest(java.lang.String name)
          Constructs a LISTTest object.
 
Method Summary
static void main(java.lang.String[] args)
          main.
protected  void setUp()
           
static junit.framework.Test suite()
          suite.
protected  void tearDown()
           
 void testLISTcontent()
          Test static LIST rational content.
 void testLISTcreate()
          Test static LIST creation.
 void testLISTdestruct()
          Test static LIST destructive operations.
 void testLISTelems()
          Test static LIST many elements.
 void testLISTinit()
          Test static initialization LIST.
 void testLISToper()
          Test static LIST operations.
 void testLISTrecursive()
          Test static LIST recursive structures.
 
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

LISTTest

public LISTTest(java.lang.String name)
Constructs a LISTTest object.

Parameters:
name - String.
Method Detail

main

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


suite

public static junit.framework.Test suite()
suite.


setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

testLISTinit

public void testLISTinit()
Test static initialization LIST.


testLISTcreate

public void testLISTcreate()
Test static LIST creation.


testLISToper

public void testLISToper()
Test static LIST operations.


testLISTelems

public void testLISTelems()
Test static LIST many elements.


testLISTdestruct

public void testLISTdestruct()
Test static LIST destructive operations.


testLISTrecursive

public void testLISTrecursive()
Test static LIST recursive structures.


testLISTcontent

public void testLISTcontent()
Test static LIST rational content.