提交 cf78f8f1 编写于 作者: T terrymanu

For #673: refactor test case name for SQLParsingEngineTest

上级 e76d5ef2
......@@ -105,13 +105,13 @@ public final class SQLParsingEngineTest {
}
@Test
public void assertStatement() throws IOException {
public void assertLiteralSQL() throws IOException {
assertSQLStatement(new SQLParsingEngine(databaseType, SQLPlaceholderUtil.replaceStatement(
SQLCasesLoader.getInstance().getSQL(testCaseName), ParserJAXBHelper.getParameters(assertObj.getParameters())), buildShardingRule()).parse(), false);
}
@Test
public void assertPreparedStatement() throws IOException {
public void assertPlaceholderSQL() throws IOException {
for (DatabaseType each : getDataBaseTypes(SQLCasesLoader.getInstance().getDatabaseTypes(testCaseName))) {
assertSQLStatement(new SQLParsingEngine(each, SQLPlaceholderUtil.replacePreparedStatement(SQLCasesLoader.getInstance().getSQL(testCaseName)), buildShardingRule()).parse(), true);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册