| |
|
| java.lang.Object org.unitils.UnitilsJUnit4 org.unitils.dbmaintainer.script.SQLScriptRunnerTest
SQLScriptRunnerTest | public class SQLScriptRunnerTest extends UnitilsJUnit4 (Code) | | Tests the SQL script runner
author: Filip Neven author: Tim Ducheyne |
testParseStatements | public void testParseStatements() throws Exception(Code) | | Test a normal script, containing 2 statements and a blank line
|
testParseStatements_blockCommentsMultipleLines | public void testParseStatements_blockCommentsMultipleLines() throws Exception(Code) | | Test with a block comment that spans multiple lines
|
testParseStatements_blockCommentsSameLine | public void testParseStatements_blockCommentsSameLine() throws Exception(Code) | | Test with block comment on a single line
|
testParseStatements_commentsInQuotes | public void testParseStatements_commentsInQuotes() throws Exception(Code) | | Test with a statement that contains single and double quotes
|
testParseStatements_lineComments | public void testParseStatements_lineComments() throws Exception(Code) | | Test a script that contains line comments (these should have been ignored)
|
testParseStatements_multiline | public void testParseStatements_multiline() throws Exception(Code) | | Test a script that contains new lines and cariage returns, these should have been converted to spaces
|
testParseStatements_quotesInQuotes | public void testParseStatements_quotesInQuotes() throws Exception(Code) | | Test with a statement that contains escaped single and double quotes in quotes
|
testParseStatements_semiColonInQuotes | public void testParseStatements_semiColonInQuotes() throws Exception(Code) | | Test with a statement that contains a ; within a ''
|
|
|
|