org.codehaus.mojo.sql
Class SqlSplitterTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.mojo.sql.SqlSplitterTest
All Implemented Interfaces:
junit.framework.Test

public class SqlSplitterTest
extends junit.framework.TestCase


Constructor Summary
SqlSplitterTest()
           
 
Method Summary
private  void contains(String sql, int expectedIndex)
           
private  void contains(String sql, String delimiter, int expectedIndex)
           
private  void containsNot(String sql)
           
private  void containsNot(String sql, String delimiter)
           
 void testContainsSqlString()
           
 void testMsSQLStrings()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SqlSplitterTest

public SqlSplitterTest()
Method Detail

testContainsSqlString

public void testContainsSqlString()
                           throws Exception
Throws:
Exception

testMsSQLStrings

public void testMsSQLStrings()
                      throws Exception
Throws:
Exception

contains

private void contains(String sql,
                      int expectedIndex)
               throws Exception
Throws:
Exception

containsNot

private void containsNot(String sql)
                  throws Exception
Throws:
Exception

contains

private void contains(String sql,
                      String delimiter,
                      int expectedIndex)
               throws Exception
Throws:
Exception

containsNot

private void containsNot(String sql,
                         String delimiter)
                  throws Exception
Throws:
Exception


Copyright © 2006-2011 The Kuali Foundation. All Rights Reserved.