edu.rice.cs.util
Class BalancingStreamTokenizerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.rice.cs.util.BalancingStreamTokenizerTest
All Implemented Interfaces:
Test

public class BalancingStreamTokenizerTest
extends TestCase

Tests for a class to tokenize a stream while balancing quoting characters.

Version:
$Id$
Author:
Mathias Ricken

Constructor Summary
BalancingStreamTokenizerTest()
           
 
Method Summary
 void testDollarEscapedQuoted()
           
 void testDollarEscapedQuoted2()
           
 void testDollarEscapeQuoted()
           
 void testDollarNestedQuoted()
           
 void testDollarNestedQuotedKeywords()
           
 void testDollarNestedQuotedKeywordsWSSignificant()
           
 void testDollarQuoted()
           
 void testEscapeAtFrontBeforeKeyword()
           
 void testEscapeAtFrontBeforeNormal()
           
 void testEscapeAtFrontBeforeQuote()
           
 void testEscapeAtFrontBeforeWS()
           
 void testEscapeDollarNestedQuoted()
           
 void testEscapeDollarNestedQuotedKeywords()
           
 void testEscapeDollarNestedQuotedKeywordsWithEscapeWSSignificant()
           
 void testEscapeDollarNestedQuotedKeywordsWithEscapeWSSignificant2()
           
 void testEscapeDollarNestedQuotedKeywordsWSSignificant()
           
 void testEscapeDollarQuoted()
           
 void testEscapedQuoted()
           
 void testEscapeNestedQuoted()
           
 void testEscapeNestedQuotedNW()
           
 void testEscapePipeDollarNestedQuoted()
           
 void testEscapePipeDollarNestedQuotedKeywords()
           
 void testEscapePipeDollarNestedQuotedKeywordsWithEscape2WSSignificant()
           
 void testEscapePipeDollarNestedQuotedKeywordsWithEscape2WSSignificant2()
           
 void testEscapePipeDollarNestedQuotedKeywordsWithEscapeWSSignificant()
           
 void testEscapePipeDollarNestedQuotedKeywordsWithEscapeWSSignificant2()
           
 void testEscapePipeDollarNestedQuotedKeywordsWSSignificant()
           
 void testEscapePipeDollarQuoted()
           
 void testEscapePipeNestedQuoted()
           
 void testEscapePipeNestedQuotedNW()
           
 void testEscapePipeQuoted()
           
 void testEscapePipeQuotedNW()
           
 void testEscapePipeSimple()
           
 void testEscapePipeSimple2()
           
 void testEscapePipeSimple3()
           
 void testEscapePipeSimple4()
           
 void testEscapeQuoted()
           
 void testEscapeQuotedNW()
           
 void testEscapeSimple()
           
 void testEscapeSimple2()
           
 void testEscapeSimple3()
           
 void testEscapeSimple4()
           
 void testNestedQuoted()
           
 void testNestedQuotedNW()
           
 void testQuoted()
           
 void testQuotedNW()
           
 void testQuoteEscapeQuoted()
           
 void testSimple()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BalancingStreamTokenizerTest

public BalancingStreamTokenizerTest()
Method Detail

testSimple

public void testSimple()
                throws IOException
Throws:
IOException

testQuoted

public void testQuoted()
                throws IOException
Throws:
IOException

testNestedQuoted

public void testNestedQuoted()
                      throws IOException
Throws:
IOException

testQuotedNW

public void testQuotedNW()
                  throws IOException
Throws:
IOException

testNestedQuotedNW

public void testNestedQuotedNW()
                        throws IOException
Throws:
IOException

testDollarQuoted

public void testDollarQuoted()
                      throws IOException
Throws:
IOException

testDollarNestedQuoted

public void testDollarNestedQuoted()
                            throws IOException
Throws:
IOException

testDollarNestedQuotedKeywords

public void testDollarNestedQuotedKeywords()
                                    throws IOException
Throws:
IOException

testDollarNestedQuotedKeywordsWSSignificant

public void testDollarNestedQuotedKeywordsWSSignificant()
                                                 throws IOException
Throws:
IOException

testEscapeSimple

public void testEscapeSimple()
                      throws IOException
Throws:
IOException

testEscapeSimple2

public void testEscapeSimple2()
                       throws IOException
Throws:
IOException

testEscapeSimple3

public void testEscapeSimple3()
                       throws IOException
Throws:
IOException

testEscapeSimple4

public void testEscapeSimple4()
                       throws IOException
Throws:
IOException

testEscapeAtFrontBeforeWS

public void testEscapeAtFrontBeforeWS()
                               throws IOException
Throws:
IOException

testEscapeAtFrontBeforeQuote

public void testEscapeAtFrontBeforeQuote()
                                  throws IOException
Throws:
IOException

testEscapeAtFrontBeforeKeyword

public void testEscapeAtFrontBeforeKeyword()
                                    throws IOException
Throws:
IOException

testEscapeAtFrontBeforeNormal

public void testEscapeAtFrontBeforeNormal()
                                   throws IOException
Throws:
IOException

testEscapeQuoted

public void testEscapeQuoted()
                      throws IOException
Throws:
IOException

testEscapeNestedQuoted

public void testEscapeNestedQuoted()
                            throws IOException
Throws:
IOException

testEscapeQuotedNW

public void testEscapeQuotedNW()
                        throws IOException
Throws:
IOException

testEscapeNestedQuotedNW

public void testEscapeNestedQuotedNW()
                              throws IOException
Throws:
IOException

testEscapeDollarQuoted

public void testEscapeDollarQuoted()
                            throws IOException
Throws:
IOException

testEscapeDollarNestedQuoted

public void testEscapeDollarNestedQuoted()
                                  throws IOException
Throws:
IOException

testEscapeDollarNestedQuotedKeywords

public void testEscapeDollarNestedQuotedKeywords()
                                          throws IOException
Throws:
IOException

testEscapeDollarNestedQuotedKeywordsWithEscapeWSSignificant

public void testEscapeDollarNestedQuotedKeywordsWithEscapeWSSignificant()
                                                                 throws IOException
Throws:
IOException

testEscapeDollarNestedQuotedKeywordsWithEscapeWSSignificant2

public void testEscapeDollarNestedQuotedKeywordsWithEscapeWSSignificant2()
                                                                  throws IOException
Throws:
IOException

testEscapeDollarNestedQuotedKeywordsWSSignificant

public void testEscapeDollarNestedQuotedKeywordsWSSignificant()
                                                       throws IOException
Throws:
IOException

testEscapePipeSimple

public void testEscapePipeSimple()
                          throws IOException
Throws:
IOException

testEscapePipeSimple2

public void testEscapePipeSimple2()
                           throws IOException
Throws:
IOException

testEscapePipeSimple3

public void testEscapePipeSimple3()
                           throws IOException
Throws:
IOException

testEscapePipeSimple4

public void testEscapePipeSimple4()
                           throws IOException
Throws:
IOException

testEscapePipeQuoted

public void testEscapePipeQuoted()
                          throws IOException
Throws:
IOException

testEscapePipeNestedQuoted

public void testEscapePipeNestedQuoted()
                                throws IOException
Throws:
IOException

testEscapePipeQuotedNW

public void testEscapePipeQuotedNW()
                            throws IOException
Throws:
IOException

testEscapePipeNestedQuotedNW

public void testEscapePipeNestedQuotedNW()
                                  throws IOException
Throws:
IOException

testEscapePipeDollarQuoted

public void testEscapePipeDollarQuoted()
                                throws IOException
Throws:
IOException

testEscapePipeDollarNestedQuoted

public void testEscapePipeDollarNestedQuoted()
                                      throws IOException
Throws:
IOException

testEscapePipeDollarNestedQuotedKeywords

public void testEscapePipeDollarNestedQuotedKeywords()
                                              throws IOException
Throws:
IOException

testEscapePipeDollarNestedQuotedKeywordsWithEscapeWSSignificant

public void testEscapePipeDollarNestedQuotedKeywordsWithEscapeWSSignificant()
                                                                     throws IOException
Throws:
IOException

testEscapePipeDollarNestedQuotedKeywordsWithEscapeWSSignificant2

public void testEscapePipeDollarNestedQuotedKeywordsWithEscapeWSSignificant2()
                                                                      throws IOException
Throws:
IOException

testEscapePipeDollarNestedQuotedKeywordsWithEscape2WSSignificant

public void testEscapePipeDollarNestedQuotedKeywordsWithEscape2WSSignificant()
                                                                      throws IOException
Throws:
IOException

testEscapePipeDollarNestedQuotedKeywordsWithEscape2WSSignificant2

public void testEscapePipeDollarNestedQuotedKeywordsWithEscape2WSSignificant2()
                                                                       throws IOException
Throws:
IOException

testEscapePipeDollarNestedQuotedKeywordsWSSignificant

public void testEscapePipeDollarNestedQuotedKeywordsWSSignificant()
                                                           throws IOException
Throws:
IOException

testDollarEscapeQuoted

public void testDollarEscapeQuoted()
                            throws IOException
Throws:
IOException

testQuoteEscapeQuoted

public void testQuoteEscapeQuoted()
                           throws IOException
Throws:
IOException

testDollarEscapedQuoted

public void testDollarEscapedQuoted()
                             throws IOException
Throws:
IOException

testDollarEscapedQuoted2

public void testDollarEscapedQuoted2()
                              throws IOException
Throws:
IOException

testEscapedQuoted

public void testEscapedQuoted()
                       throws IOException
Throws:
IOException