Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
Shardingsphere
提交
f12c88a8
Shardingsphere
项目概览
apache
/
Shardingsphere
通知
56
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Shardingsphere
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f12c88a8
编写于
6月 04, 2019
作者:
C
cherrylzhao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
for #2494 rename IntegrateTest => IT for convention within sharding-integration-test.
上级
b8acfb9c
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
46 addition
and
46 deletion
+46
-46
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/BaseIT.java
.../java/org/apache/shardingsphere/dbtest/engine/BaseIT.java
+2
-2
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/BatchIT.java
...java/org/apache/shardingsphere/dbtest/engine/BatchIT.java
+3
-3
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/SingleIT.java
...ava/org/apache/shardingsphere/dbtest/engine/SingleIT.java
+3
-3
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dcl/BaseDCLIT.java
...rg/apache/shardingsphere/dbtest/engine/dcl/BaseDCLIT.java
+4
-4
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dcl/GeneralDCLIT.java
...apache/shardingsphere/dbtest/engine/dcl/GeneralDCLIT.java
+3
-3
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/ddl/BaseDDLIT.java
...rg/apache/shardingsphere/dbtest/engine/ddl/BaseDDLIT.java
+4
-4
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/ddl/GeneralDDLIT.java
...apache/shardingsphere/dbtest/engine/ddl/GeneralDDLIT.java
+3
-3
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dml/AdditionalDMLIT.java
...che/shardingsphere/dbtest/engine/dml/AdditionalDMLIT.java
+3
-3
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dml/BaseDMLIT.java
...rg/apache/shardingsphere/dbtest/engine/dml/BaseDMLIT.java
+4
-4
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dml/BatchDMLIT.java
...g/apache/shardingsphere/dbtest/engine/dml/BatchDMLIT.java
+4
-4
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dml/GeneralDMLIT.java
...apache/shardingsphere/dbtest/engine/dml/GeneralDMLIT.java
+3
-3
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dql/AdditionalDQLIT.java
...che/shardingsphere/dbtest/engine/dql/AdditionalDQLIT.java
+3
-3
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dql/BaseDQLIT.java
...rg/apache/shardingsphere/dbtest/engine/dql/BaseDQLIT.java
+4
-4
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dql/GeneralDQLIT.java
...apache/shardingsphere/dbtest/engine/dql/GeneralDQLIT.java
+3
-3
未找到文件。
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/BaseI
ntegrateTest
.java
→
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/BaseI
T
.java
浏览文件 @
f12c88a8
...
...
@@ -51,7 +51,7 @@ import java.util.TimeZone;
@RunWith
(
Parameterized
.
class
)
@Getter
(
AccessLevel
.
PROTECTED
)
public
abstract
class
BaseI
ntegrateTest
{
public
abstract
class
BaseI
T
{
private
static
IntegrateTestEnvironment
integrateTestEnvironment
=
IntegrateTestEnvironment
.
getInstance
();
...
...
@@ -71,7 +71,7 @@ public abstract class BaseIntegrateTest {
TimeZone
.
setDefault
(
TimeZone
.
getTimeZone
(
"UTC"
));
}
public
BaseI
ntegrateTest
(
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
)
throws
IOException
,
JAXBException
,
SQLException
{
public
BaseI
T
(
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
)
throws
IOException
,
JAXBException
,
SQLException
{
this
.
shardingRuleType
=
shardingRuleType
;
this
.
databaseTypeEnvironment
=
databaseTypeEnvironment
;
if
(
databaseTypeEnvironment
.
isEnabled
())
{
...
...
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/BatchI
ntegrateTest
.java
→
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/BatchI
T
.java
浏览文件 @
f12c88a8
...
...
@@ -64,7 +64,7 @@ import static org.hamcrest.CoreMatchers.is;
import
static
org
.
junit
.
Assert
.
assertThat
;
@Getter
(
value
=
AccessLevel
.
PROTECTED
)
public
abstract
class
BatchI
ntegrateTest
extends
BaseIntegrateTest
{
public
abstract
class
BatchI
T
extends
BaseIT
{
private
static
DataSetEnvironmentManager
dataSetEnvironmentManager
;
...
...
@@ -74,8 +74,8 @@ public abstract class BatchIntegrateTest extends BaseIntegrateTest {
private
final
Collection
<
String
>
expectedDataFiles
;
public
BatchI
ntegrateTest
(
final
String
sqlCaseId
,
final
IntegrateTestCase
integrateTestCase
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
)
throws
IOException
,
JAXBException
,
SQLException
{
public
BatchI
T
(
final
String
sqlCaseId
,
final
IntegrateTestCase
integrateTestCase
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
)
throws
IOException
,
JAXBException
,
SQLException
{
super
(
shardingRuleType
,
databaseTypeEnvironment
);
this
.
integrateTestCase
=
integrateTestCase
;
sql
=
SQLCasesLoader
.
getInstance
().
getSupportedSQL
(
sqlCaseId
,
SQLCaseType
.
Placeholder
,
Collections
.
emptyList
());
...
...
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/SingleI
ntegrateTest
.java
→
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/SingleI
T
.java
浏览文件 @
f12c88a8
...
...
@@ -35,7 +35,7 @@ import java.util.LinkedList;
import
java.util.List
;
@Getter
(
AccessLevel
.
PROTECTED
)
public
abstract
class
SingleI
ntegrateTest
extends
BaseIntegrateTest
{
public
abstract
class
SingleI
T
extends
BaseIT
{
private
static
IntegrateTestEnvironment
integrateTestEnvironment
=
IntegrateTestEnvironment
.
getInstance
();
...
...
@@ -49,8 +49,8 @@ public abstract class SingleIntegrateTest extends BaseIntegrateTest {
private
final
String
expectedDataFile
;
public
SingleI
ntegrateTest
(
final
String
sqlCaseId
,
final
String
path
,
final
IntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
public
SingleI
T
(
final
String
sqlCaseId
,
final
String
path
,
final
IntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
super
(
shardingRuleType
,
databaseTypeEnvironment
);
this
.
assertion
=
assertion
;
...
...
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dcl/BaseDCLI
ntegrateTest
.java
→
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dcl/BaseDCLI
T
.java
浏览文件 @
f12c88a8
...
...
@@ -18,7 +18,7 @@
package
org.apache.shardingsphere.dbtest.engine.dcl
;
import
org.apache.shardingsphere.dbtest.cases.assertion.dcl.DCLIntegrateTestCaseAssertion
;
import
org.apache.shardingsphere.dbtest.engine.SingleI
ntegrateTest
;
import
org.apache.shardingsphere.dbtest.engine.SingleI
T
;
import
org.apache.shardingsphere.dbtest.env.DatabaseTypeEnvironment
;
import
org.apache.shardingsphere.dbtest.env.EnvironmentPath
;
import
org.apache.shardingsphere.dbtest.env.authority.AuthorityEnvironmentManager
;
...
...
@@ -34,12 +34,12 @@ import java.io.IOException;
import
java.sql.SQLException
;
import
java.text.ParseException
;
public
abstract
class
BaseDCLI
ntegrateTest
extends
SingleIntegrateTest
{
public
abstract
class
BaseDCLI
T
extends
SingleIT
{
private
final
AuthorityEnvironmentManager
authorityEnvironmentManager
;
public
BaseDCLI
ntegrateTest
(
final
String
sqlCaseId
,
final
String
path
,
final
DCLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
public
BaseDCLI
T
(
final
String
sqlCaseId
,
final
String
path
,
final
DCLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
super
(
sqlCaseId
,
path
,
assertion
,
shardingRuleType
,
databaseTypeEnvironment
,
caseType
);
authorityEnvironmentManager
=
new
AuthorityEnvironmentManager
(
EnvironmentPath
.
getAuthorityResourcesPath
(
shardingRuleType
),
getInstanceDataSourceMap
(),
getDatabaseTypeEnvironment
().
getDatabaseType
());
...
...
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dcl/GeneralDCLI
ntegrateTest
.java
→
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dcl/GeneralDCLI
T
.java
浏览文件 @
f12c88a8
...
...
@@ -32,10 +32,10 @@ import java.sql.SQLException;
import
java.text.ParseException
;
import
java.util.Collection
;
public
final
class
GeneralDCLI
ntegrateTest
extends
BaseDCLIntegrateTest
{
public
final
class
GeneralDCLI
T
extends
BaseDCLIT
{
public
GeneralDCLI
ntegrateTest
(
final
String
sqlCaseId
,
final
String
path
,
final
DCLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
public
GeneralDCLI
T
(
final
String
sqlCaseId
,
final
String
path
,
final
DCLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
super
(
sqlCaseId
,
path
,
assertion
,
shardingRuleType
,
databaseTypeEnvironment
,
caseType
);
}
...
...
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/ddl/BaseDDLI
ntegrateTest
.java
→
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/ddl/BaseDDLI
T
.java
浏览文件 @
f12c88a8
...
...
@@ -23,7 +23,7 @@ import org.apache.shardingsphere.dbtest.cases.dataset.DataSet;
import
org.apache.shardingsphere.dbtest.cases.dataset.metadata.DataSetColumn
;
import
org.apache.shardingsphere.dbtest.cases.dataset.metadata.DataSetIndex
;
import
org.apache.shardingsphere.dbtest.cases.dataset.metadata.DataSetMetadata
;
import
org.apache.shardingsphere.dbtest.engine.SingleI
ntegrateTest
;
import
org.apache.shardingsphere.dbtest.engine.SingleI
T
;
import
org.apache.shardingsphere.dbtest.env.DatabaseTypeEnvironment
;
import
org.apache.shardingsphere.dbtest.env.EnvironmentPath
;
import
org.apache.shardingsphere.dbtest.env.dataset.DataSetEnvironmentManager
;
...
...
@@ -52,14 +52,14 @@ import static org.junit.Assert.assertThat;
import
static
org
.
junit
.
Assert
.
assertTrue
;
@Slf4j
public
abstract
class
BaseDDLI
ntegrateTest
extends
SingleIntegrateTest
{
public
abstract
class
BaseDDLI
T
extends
SingleIT
{
private
final
DDLIntegrateTestCaseAssertion
assertion
;
private
final
String
databaseType
;
public
BaseDDLI
ntegrateTest
(
final
String
sqlCaseId
,
final
String
path
,
final
DDLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
public
BaseDDLI
T
(
final
String
sqlCaseId
,
final
String
path
,
final
DDLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
super
(
sqlCaseId
,
path
,
assertion
,
shardingRuleType
,
databaseTypeEnvironment
,
caseType
);
this
.
assertion
=
assertion
;
databaseType
=
databaseTypeEnvironment
.
getDatabaseType
();
...
...
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/ddl/GeneralDDLI
ntegrateTest
.java
→
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/ddl/GeneralDDLI
T
.java
浏览文件 @
f12c88a8
...
...
@@ -34,12 +34,12 @@ import java.sql.SQLException;
import
java.text.ParseException
;
import
java.util.Collection
;
public
final
class
GeneralDDLI
ntegrateTest
extends
BaseDDLIntegrateTest
{
public
final
class
GeneralDDLI
T
extends
BaseDDLIT
{
private
final
DDLIntegrateTestCaseAssertion
assertion
;
public
GeneralDDLI
ntegrateTest
(
final
String
sqlCaseId
,
final
String
path
,
final
DDLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
public
GeneralDDLI
T
(
final
String
sqlCaseId
,
final
String
path
,
final
DDLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
super
(
sqlCaseId
,
path
,
assertion
,
shardingRuleType
,
databaseTypeEnvironment
,
caseType
);
this
.
assertion
=
assertion
;
}
...
...
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dml/AdditionalDMLI
ntegrateTest
.java
→
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dml/AdditionalDMLI
T
.java
浏览文件 @
f12c88a8
...
...
@@ -39,14 +39,14 @@ import java.util.Collections;
import
static
org
.
junit
.
Assert
.
assertFalse
;
public
final
class
AdditionalDMLI
ntegrateTest
extends
BaseDMLIntegrateTest
{
public
final
class
AdditionalDMLI
T
extends
BaseDMLIT
{
private
static
IntegrateTestEnvironment
integrateTestEnvironment
=
IntegrateTestEnvironment
.
getInstance
();
private
final
DMLIntegrateTestCaseAssertion
assertion
;
public
AdditionalDMLI
ntegrateTest
(
final
String
sqlCaseId
,
final
String
path
,
final
DMLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
public
AdditionalDMLI
T
(
final
String
sqlCaseId
,
final
String
path
,
final
DMLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
super
(
sqlCaseId
,
path
,
assertion
,
shardingRuleType
,
databaseTypeEnvironment
,
caseType
);
this
.
assertion
=
assertion
;
}
...
...
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dml/BaseDMLI
ntegrateTest
.java
→
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dml/BaseDMLI
T
.java
浏览文件 @
f12c88a8
...
...
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.dbtest.cases.dataset.DataSet;
import
org.apache.shardingsphere.dbtest.cases.dataset.metadata.DataSetColumn
;
import
org.apache.shardingsphere.dbtest.cases.dataset.metadata.DataSetMetadata
;
import
org.apache.shardingsphere.dbtest.cases.dataset.row.DataSetRow
;
import
org.apache.shardingsphere.dbtest.engine.SingleI
ntegrateTest
;
import
org.apache.shardingsphere.dbtest.engine.SingleI
T
;
import
org.apache.shardingsphere.dbtest.env.DatabaseTypeEnvironment
;
import
org.apache.shardingsphere.dbtest.env.EnvironmentPath
;
import
org.apache.shardingsphere.dbtest.env.dataset.DataSetEnvironmentManager
;
...
...
@@ -51,12 +51,12 @@ import java.util.List;
import
static
org
.
hamcrest
.
CoreMatchers
.
is
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
abstract
class
BaseDMLI
ntegrateTest
extends
SingleIntegrateTest
{
public
abstract
class
BaseDMLI
T
extends
SingleIT
{
private
final
DataSetEnvironmentManager
dataSetEnvironmentManager
;
public
BaseDMLI
ntegrateTest
(
final
String
sqlCaseId
,
final
String
path
,
final
DMLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
public
BaseDMLI
T
(
final
String
sqlCaseId
,
final
String
path
,
final
DMLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
super
(
sqlCaseId
,
path
,
assertion
,
shardingRuleType
,
databaseTypeEnvironment
,
caseType
);
dataSetEnvironmentManager
=
new
DataSetEnvironmentManager
(
EnvironmentPath
.
getDataInitializeResourceFile
(
getShardingRuleType
()),
getDataSourceMap
());
}
...
...
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dml/BatchDMLI
ntegrateTest
.java
→
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dml/BatchDMLI
T
.java
浏览文件 @
f12c88a8
...
...
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.dbtest.engine.dml;
import
org.apache.shardingsphere.dbtest.cases.assertion.root.IntegrateTestCase
;
import
org.apache.shardingsphere.dbtest.cases.assertion.root.IntegrateTestCaseAssertion
;
import
org.apache.shardingsphere.dbtest.cases.assertion.root.SQLValue
;
import
org.apache.shardingsphere.dbtest.engine.BatchI
ntegrateTest
;
import
org.apache.shardingsphere.dbtest.engine.BatchI
T
;
import
org.apache.shardingsphere.dbtest.env.DatabaseTypeEnvironment
;
import
org.junit.Test
;
...
...
@@ -34,12 +34,12 @@ import java.text.ParseException;
import
static
org
.
hamcrest
.
CoreMatchers
.
is
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
final
class
BatchDMLI
ntegrateTest
extends
BatchIntegrateTest
{
public
final
class
BatchDMLI
T
extends
BatchIT
{
private
final
IntegrateTestCase
integrateTestCase
;
public
BatchDMLI
ntegrateTest
(
final
String
sqlCaseId
,
final
IntegrateTestCase
integrateTestCase
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
)
throws
IOException
,
JAXBException
,
SQLException
{
public
BatchDMLI
T
(
final
String
sqlCaseId
,
final
IntegrateTestCase
integrateTestCase
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
)
throws
IOException
,
JAXBException
,
SQLException
{
super
(
sqlCaseId
,
integrateTestCase
,
shardingRuleType
,
databaseTypeEnvironment
);
this
.
integrateTestCase
=
integrateTestCase
;
}
...
...
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dml/GeneralDMLI
ntegrateTest
.java
→
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dml/GeneralDMLI
T
.java
浏览文件 @
f12c88a8
...
...
@@ -37,12 +37,12 @@ import java.util.Collection;
import
static
org
.
junit
.
Assert
.
assertFalse
;
public
final
class
GeneralDMLI
ntegrateTest
extends
BaseDMLIntegrateTest
{
public
final
class
GeneralDMLI
T
extends
BaseDMLIT
{
private
final
DMLIntegrateTestCaseAssertion
assertion
;
public
GeneralDMLI
ntegrateTest
(
final
String
sqlCaseId
,
final
String
path
,
final
DMLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
public
GeneralDMLI
T
(
final
String
sqlCaseId
,
final
String
path
,
final
DMLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
super
(
sqlCaseId
,
path
,
assertion
,
shardingRuleType
,
databaseTypeEnvironment
,
caseType
);
this
.
assertion
=
assertion
;
}
...
...
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dql/AdditionalDQLI
ntegrateTest
.java
→
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dql/AdditionalDQLI
T
.java
浏览文件 @
f12c88a8
...
...
@@ -40,14 +40,14 @@ import java.util.Collections;
import
static
org
.
junit
.
Assert
.
assertTrue
;
public
final
class
AdditionalDQLI
ntegrateTest
extends
BaseDQLIntegrateTest
{
public
final
class
AdditionalDQLI
T
extends
BaseDQLIT
{
private
static
IntegrateTestEnvironment
integrateTestEnvironment
=
IntegrateTestEnvironment
.
getInstance
();
private
final
DQLIntegrateTestCaseAssertion
assertion
;
public
AdditionalDQLI
ntegrateTest
(
final
String
sqlCaseId
,
final
String
path
,
final
DQLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
public
AdditionalDQLI
T
(
final
String
sqlCaseId
,
final
String
path
,
final
DQLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
super
(
sqlCaseId
,
path
,
assertion
,
shardingRuleType
,
databaseTypeEnvironment
,
caseType
);
this
.
assertion
=
assertion
;
}
...
...
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dql/BaseDQLI
ntegrateTest
.java
→
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dql/BaseDQLI
T
.java
浏览文件 @
f12c88a8
...
...
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.dbtest.cases.dataset.DataSet;
import
org.apache.shardingsphere.dbtest.cases.dataset.metadata.DataSetColumn
;
import
org.apache.shardingsphere.dbtest.cases.dataset.metadata.DataSetMetadata
;
import
org.apache.shardingsphere.dbtest.cases.dataset.row.DataSetRow
;
import
org.apache.shardingsphere.dbtest.engine.SingleI
ntegrateTest
;
import
org.apache.shardingsphere.dbtest.engine.SingleI
T
;
import
org.apache.shardingsphere.dbtest.env.DatabaseTypeEnvironment
;
import
org.apache.shardingsphere.dbtest.env.EnvironmentPath
;
import
org.apache.shardingsphere.dbtest.env.IntegrateTestEnvironment
;
...
...
@@ -55,12 +55,12 @@ import static org.hamcrest.CoreMatchers.is;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
public
abstract
class
BaseDQLI
ntegrateTest
extends
SingleIntegrateTest
{
public
abstract
class
BaseDQLI
T
extends
SingleIT
{
private
static
IntegrateTestEnvironment
integrateTestEnvironment
=
IntegrateTestEnvironment
.
getInstance
();
public
BaseDQLI
ntegrateTest
(
final
String
sqlCaseId
,
final
String
path
,
final
DQLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
public
BaseDQLI
T
(
final
String
sqlCaseId
,
final
String
path
,
final
DQLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
super
(
sqlCaseId
,
path
,
assertion
,
shardingRuleType
,
databaseTypeEnvironment
,
caseType
);
}
...
...
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dql/GeneralDQLI
ntegrateTest
.java
→
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/engine/dql/GeneralDQLI
T
.java
浏览文件 @
f12c88a8
...
...
@@ -38,12 +38,12 @@ import java.util.Collection;
import
static
org
.
junit
.
Assert
.
assertTrue
;
public
final
class
GeneralDQLI
ntegrateTest
extends
BaseDQLIntegrateTest
{
public
final
class
GeneralDQLI
T
extends
BaseDQLIT
{
private
final
DQLIntegrateTestCaseAssertion
assertion
;
public
GeneralDQLI
ntegrateTest
(
final
String
sqlCaseId
,
final
String
path
,
final
DQLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
public
GeneralDQLI
T
(
final
String
sqlCaseId
,
final
String
path
,
final
DQLIntegrateTestCaseAssertion
assertion
,
final
String
shardingRuleType
,
final
DatabaseTypeEnvironment
databaseTypeEnvironment
,
final
SQLCaseType
caseType
)
throws
IOException
,
JAXBException
,
SQLException
,
ParseException
{
super
(
sqlCaseId
,
path
,
assertion
,
shardingRuleType
,
databaseTypeEnvironment
,
caseType
);
this
.
assertion
=
assertion
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录