de.kosi.model.tournamenttest
Class MovementTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--de.kosi.servertest.ServerTestCase
                    |
                    +--de.kosi.model.tournamenttest.MovementTest
All Implemented Interfaces:
junit.framework.Test

public class MovementTest
extends ServerTestCase

This class is implemented for testing purposes only.

ChangeLog:

 $Log: MovementTest.java,v $
 Revision 1.2  2001/06/12 17:14:33  jiriki
 - Reimplemented DistributedList to make filters working
 - Made ServertestCase working.

 Revision 1.1.1.1  2001/04/29 18:05:18  jiriki
 Imported sources from zola.

 Revision 1.2  2001/04/18 10:37:33  login
 Updated Documentation

 Revision 1.8  2001/04/09 17:01:43  hybrid
 Password field should not be empty. Fixed.

 Revision 1.7  2001/03/15 20:14:32  login
 Renamed the class Round to Match

 Revision 1.6  2001/03/12 18:16:27  login
 noch nen bug gefunden

 Revision 1.5  2001/03/08 17:12:27  wombat
 Implemented User database

 Revision 1.4  2001/03/07 14:21:03  wombat
 removed compiler errors

 Revision 1.3  2001/03/06 16:08:01  login
 documentation


 

Version:
$Revision: 1.2 $ ($Date: 2001/06/12 17:14:33 $)
Author:
Timo, Niklas, Ole

Field Summary
static int WIDTH
          Column width.
 
Constructor Summary
MovementTest(java.lang.String name)
          Create a MovementTest.
 
Method Summary
static void main(java.lang.String[] args)
          This is executed by the Java-interpreter.
static junit.framework.Test suite()
          Create the TestSuite for this class.
 void testKosiMovement()
          Test the kosi movement.
 
Methods inherited from class de.kosi.servertest.ServerTestCase
doAsUser, getAdminUsers, getUsers, init, loginUser, loginUser, logoutUser, shutdown, suite
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, name, run, run, runBare, runTest, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WIDTH

public static final int WIDTH
Column width.
Constructor Detail

MovementTest

public MovementTest(java.lang.String name)
Create a MovementTest.
Parameters:
name - Name of the test.
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
This is executed by the Java-interpreter.
Parameters:
args - The arguments from the commandline. args.length should be 1 and args[0] should be a string representation of a positive integer number that specifies the number of pairs participating in a tournament.
Throws:
java.lang.Exception - If the movement test fails.

testKosiMovement

public void testKosiMovement()
Test the kosi movement.

suite

public static junit.framework.Test suite()
                                  throws java.lang.Exception
Create the TestSuite for this class.
Returns:
TestSuite for this class.
Throws:
java.lang.Exception - If creating the TestSuite fails.