|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.shapelogic.streamlogic.LoadLetterStreamsTest
public class LoadLetterStreamsTest
Test LoadLetterStreams.
Based on LetterTaskTest that is task based.
How should the rules be translated?
I could generate the Letter XOr stream or maybe the individual Boolean streams.
Field Summary | |
---|---|
static java.lang.String |
FILE_NAME_KEY
|
static java.lang.String[] |
LETTERS_TO_TEST
|
static java.lang.String |
QUOTE
|
Constructor Summary | |
---|---|
LoadLetterStreamsTest()
|
Method Summary | |
---|---|
org.shapelogic.streams.ListStream<org.shapelogic.polygon.Polygon> |
makeRawPolygonsStream(java.lang.String fileName)
Based on a fileName it creates the lazy streams for polygons and rawPolygons. |
void |
oneLetterMatch(java.lang.String letter,
boolean onlyMatchAgainstSelf)
|
void |
printAnnotaions(org.shapelogic.polygon.Polygon polygon)
|
void |
setUp()
|
void |
te_stAllLettersMatchFromRules()
These rules do not work since SVG does not create annotations yet. |
void |
testAllStraightLettersMatchFromRules()
|
void |
testLetterAMatch()
|
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 |
---|
public static final java.lang.String FILE_NAME_KEY
public static final java.lang.String QUOTE
public static final java.lang.String[] LETTERS_TO_TEST
Constructor Detail |
---|
public LoadLetterStreamsTest()
Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testLetterAMatch()
public void printAnnotaions(org.shapelogic.polygon.Polygon polygon)
public void oneLetterMatch(java.lang.String letter, boolean onlyMatchAgainstSelf)
public void te_stAllLettersMatchFromRules()
public void testAllStraightLettersMatchFromRules()
public org.shapelogic.streams.ListStream<org.shapelogic.polygon.Polygon> makeRawPolygonsStream(java.lang.String fileName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |