Commit d62b837d authored by haocao's avatar haocao
Browse files

Refactor AllParsingTests.

parent ceeccb64
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -20,9 +20,7 @@ package com.dangdang.ddframe.rdb.sharding.parsing;
import com.dangdang.ddframe.rdb.sharding.parsing.lexer.AllLexerTests;
import com.dangdang.ddframe.rdb.sharding.parsing.lexer.analyzer.TokenizerTest;
import com.dangdang.ddframe.rdb.sharding.parsing.parser.dialect.mysql.AllMySQLStatementTests;
import com.dangdang.ddframe.rdb.sharding.parsing.parser.statement.DeleteStatementParserTest;
import com.dangdang.ddframe.rdb.sharding.parsing.parser.statement.InsertStatementParserTest;
import com.dangdang.ddframe.rdb.sharding.parsing.parser.statement.UpdateStatementParserTest;
import com.dangdang.ddframe.rdb.sharding.parsing.parser.statement.AllStatementParserTests;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;

@@ -30,11 +28,9 @@ import org.junit.runners.Suite;
@Suite.SuiteClasses({
        TokenizerTest.class,
        AllLexerTests.class,
        InsertStatementParserTest.class,
        UpdateStatementParserTest.class,
        DeleteStatementParserTest.class,
        SQLParsingEngineTest.class,
        AllStatementParserTests.class,
        AllMySQLStatementTests.class,
        SQLParsingEngineTest.class,
        UnsupportedParseTest.class
    })
public class AllParsingTests {
+30 −0
Original line number Diff line number Diff line
/*
 * Copyright 1999-2015 dangdang.com.
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * </p>
 */

package com.dangdang.ddframe.rdb.sharding.parsing.parser.statement;

import org.junit.runner.RunWith;
import org.junit.runners.Suite;

@RunWith(Suite.class)
@Suite.SuiteClasses({
        InsertStatementParserTest.class,
        UpdateStatementParserTest.class,
        DeleteStatementParserTest.class,
    })
public class AllStatementParserTests {
}