org.nlogo.agent
Class TestImportLexer

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.nlogo.agent.TestImportLexer
All Implemented Interfaces:
junit.framework.Test

public class TestImportLexer
extends junit.framework.TestCase


Constructor Summary
TestImportLexer(String name)
           
 
Method Summary
 void testBlankLine1()
           
 void testBlankLine2()
           
 void testBlankLine3()
           
 void testCommasInQuotes()
           
 void testConsecutiveCommas1()
           
 void testConsecutiveCommas2()
           
 void testConsecutiveCommas3()
           
 void testConsecutiveCommas4()
           
 void testEscapedQuotes1()
           
 void testEscapedQuotes2()
           
 void testFieldsWithSpaces()
           
 void testInvalidQuotedFields1()
           
 void testInvalidQuotedFields2()
           
 void testOneEmptyQuotedField()
           
 void testQuotedFields()
           
 void testQuotedFieldsWithSpaces()
           
 void testSimpleLine1()
           
 void testSimpleLine2()
           
 void testTrailingSpaces1()
           
 void testTrailingSpaces2()
           
 void testUnclosedQuote1()
           
 void testUnclosedQuote2()
           
 void testUnclosedQuoteWithEscapes()
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestImportLexer

public TestImportLexer(String name)
Method Detail

testSimpleLine1

public void testSimpleLine1()
                     throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testSimpleLine2

public void testSimpleLine2()
                     throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testConsecutiveCommas1

public void testConsecutiveCommas1()
                            throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testConsecutiveCommas2

public void testConsecutiveCommas2()
                            throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testConsecutiveCommas3

public void testConsecutiveCommas3()
                            throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testConsecutiveCommas4

public void testConsecutiveCommas4()
                            throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testBlankLine1

public void testBlankLine1()
                    throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testBlankLine2

public void testBlankLine2()
                    throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testBlankLine3

public void testBlankLine3()
                    throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testFieldsWithSpaces

public void testFieldsWithSpaces()
                          throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testOneEmptyQuotedField

public void testOneEmptyQuotedField()
                             throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testQuotedFields

public void testQuotedFields()
                      throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testTrailingSpaces1

public void testTrailingSpaces1()
                         throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testTrailingSpaces2

public void testTrailingSpaces2()
                         throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testQuotedFieldsWithSpaces

public void testQuotedFieldsWithSpaces()
                                throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testCommasInQuotes

public void testCommasInQuotes()
                        throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testInvalidQuotedFields1

public void testInvalidQuotedFields1()

testInvalidQuotedFields2

public void testInvalidQuotedFields2()

testUnclosedQuote1

public void testUnclosedQuote1()

testUnclosedQuote2

public void testUnclosedQuote2()

testEscapedQuotes1

public void testEscapedQuotes1()
                        throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testEscapedQuotes2

public void testEscapedQuotes2()
                        throws org.nlogo.util.LexerException
Throws:
org.nlogo.util.LexerException

testUnclosedQuoteWithEscapes

public void testUnclosedQuoteWithEscapes()