org.jruby.util
Class StringScannerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jruby.util.StringScannerTest
All Implemented Interfaces:
junit.framework.Test

public class StringScannerTest
extends junit.framework.TestCase

Author:
kscott

Constructor Summary
StringScannerTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAppend()
           
 void testCheck()
           
 void testCheckUntil()
           
 void testCreate()
           
 void testEOS()
           
 void testExists()
           
 void testGetChar()
           
 void testGrouping()
           
 void testIsBeginningOfLine()
           
 void testMatched()
           
 void testPeek()
           
 void testPos()
           
 void testPrePostMatch()
           
 void testReset()
           
 void testRest()
           
 void testScan()
           
 void testScanUntil()
           
 void testSetPos()
           
 void testSetString()
           
 void testSkip()
           
 void testSkipUntil()
           
 void testTerminate()
           
 void testUnscan()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringScannerTest

public StringScannerTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testCreate

public void testCreate()
                throws java.lang.Exception
Throws:
java.lang.Exception

testSetString

public void testSetString()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testEOS

public void testEOS()
             throws java.lang.Exception
Throws:
java.lang.Exception

testGetChar

public void testGetChar()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testScan

public void testScan()
              throws java.lang.Exception
Throws:
java.lang.Exception

testScanUntil

public void testScanUntil()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testCheckUntil

public void testCheckUntil()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testSkipUntil

public void testSkipUntil()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testPos

public void testPos()
             throws java.lang.Exception
Throws:
java.lang.Exception

testIsBeginningOfLine

public void testIsBeginningOfLine()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testMatched

public void testMatched()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testCheck

public void testCheck()
               throws java.lang.Exception
Throws:
java.lang.Exception

testSkip

public void testSkip()
              throws java.lang.Exception
Throws:
java.lang.Exception

testExists

public void testExists()
                throws java.lang.Exception
Throws:
java.lang.Exception

testUnscan

public void testUnscan()
                throws java.lang.Exception
Throws:
java.lang.Exception

testAppend

public void testAppend()
                throws java.lang.Exception
Throws:
java.lang.Exception

testReset

public void testReset()
               throws java.lang.Exception
Throws:
java.lang.Exception

testGrouping

public void testGrouping()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testPrePostMatch

public void testPrePostMatch()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testTerminate

public void testTerminate()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testPeek

public void testPeek()
              throws java.lang.Exception
Throws:
java.lang.Exception

testRest

public void testRest()
              throws java.lang.Exception
Throws:
java.lang.Exception

testSetPos

public void testSetPos()
                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2002-2007 JRuby Team. All Rights Reserved.