Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

antichess
Class TestBetterEngine  view TestBetterEngine download TestBetterEngine.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byantichess.TestBetterEngine
All Implemented Interfaces:
junit.framework.Test

public class TestBetterEngine
extends junit.framework.TestCase

Tests BetterEngine


Field Summary
(package private)  java.lang.String testfilesDir
           
(package private)  java.lang.String testfilesFile
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestBetterEngine(java.lang.String name)
           
 
Method Summary
private  java.lang.String fileRead(java.lang.String filename, boolean readAll)
          This function only returns all text before the first ";" and sets comments to contain all text after the first ";"
private  java.util.List linesToSortedList(java.lang.String s)
          Converts a string of line into a List of sorted strings
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.Test suite()
           
 void testEvaluator()
          Tests evaluator
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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
 

Field Detail

testfilesFile

java.lang.String testfilesFile

testfilesDir

java.lang.String testfilesDir
Constructor Detail

TestBetterEngine

public TestBetterEngine(java.lang.String name)
Method Detail

linesToSortedList

private java.util.List linesToSortedList(java.lang.String s)
Converts a string of line into a List of sorted strings


fileRead

private java.lang.String fileRead(java.lang.String filename,
                                  boolean readAll)
This function only returns all text before the first ";" and sets comments to contain all text after the first ";"


setUp

protected void setUp()
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


testEvaluator

public void testEvaluator()
Tests evaluator


suite

public static junit.framework.Test suite()