public class MySqlDdlParserTest extends Object
| Modifier and Type | Field and Description |
|---|---|
private SimpleDdlParserListener |
listener |
private DdlParser |
parser |
private Tables |
tables |
| Constructor and Description |
|---|
MySqlDdlParserTest() |
private DdlParser parser
private Tables tables
private SimpleDdlParserListener listener
public void beforeEach()
public void shouldParseMultipleStatements()
public void shouldParseAlterStatementsAfterCreate()
public void shouldParseAlterStatementsWithoutCreate()
public void shouldParseCreateTableStatementWithSingleGeneratedAndPrimaryKeyColumn()
public void shouldParseCreateTableStatementWithSingleGeneratedColumnAsPrimaryKey()
public void shouldParseCreateTableStatementWithMultipleColumnsForPrimaryKey()
public void shouldParseCreateUserTable()
public void shouldParseCreateTableStatementWithSignedTypes()
public void shouldParseCreateTableStatementWithCharacterSetForTable()
public void shouldParseCreateTableStatementWithCharacterSetForColumns()
public void shouldParseAlterTableStatementThatAddsCharacterSetForColumns()
public void shouldParseAlterTableStatementAddColumns()
public void shouldParseGrantStatement()
public void shouldParseStatementsWithQuotedIdentifiers()
public void shouldParseCreateStatements()
public void shouldParseTestStatements()
public void shouldParseSomeLinesFromCreateStatements()
public void shouldParseMySql56InitializationStatements()
public void shouldParseMySql57InitializationStatements()
protected void printEvent(DdlParserListener.Event event)
protected String readLines(int startingLineNumber, String classpathResource)
startingLineNumber - the 1-based number designating the first line to be includedclasspathResource - the path to the file on the classpathCopyright © 2016 JBoss by Red Hat. All rights reserved.