org.pandora.test
Class TextTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.pandora.test.TextTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
TestBootstrap, TestLanguage, TestMath

public abstract class TextTest
extends junit.framework.TestCase

Test text processing.


Constructor Summary
TextTest()
           
 
Method Summary
 void bootstrap()
          Bootstrap.
static Pandora getPandora()
           
 void import1000Words()
          Load Wiktionary database.
 java.util.List<java.lang.String> registerForOutput(TextEntry text)
          Allow text output to be recorded.
 void shutdown()
          Shutdown the instance.
 java.lang.String waitForOutput(java.util.List<java.lang.String> output)
          Wait for the next text output.
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextTest

public TextTest()
Method Detail

registerForOutput

public java.util.List<java.lang.String> registerForOutput(TextEntry text)
Allow text output to be recorded.


waitForOutput

public java.lang.String waitForOutput(java.util.List<java.lang.String> output)
Wait for the next text output.


bootstrap

public void bootstrap()
Bootstrap.


import1000Words

public void import1000Words()
Load Wiktionary database.


shutdown

public void shutdown()
Shutdown the instance.


getPandora

public static Pandora getPandora()