Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
4d8ed080
提交
4d8ed080
authored
7月 27, 2008
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
272daa39
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
42 行增加
和
76 行删除
+42
-76
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+42
-76
没有找到文件。
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
4d8ed080
...
...
@@ -271,12 +271,6 @@ java org.h2.test.TestAll timer
/*
Improved compatibility with DB2: support for FETCH .. ROWS
drop all objects;
create domain email as varchar comment 'email';
create table test(e email);
select * from INFORMATION_SCHEMA.COLUMNS where table_name='TEST';
script nosettings;
Check Eclipse DTP, see also
https://bugs.eclipse.org/bugs/show_bug.cgi?id=137701
...
...
@@ -427,126 +421,65 @@ http://www.w3schools.com/sql/
* Run the tests with a number of different settings.
*/
private
void
runTests
()
throws
Exception
{
smallLog
=
big
=
networked
=
memory
=
ssl
=
textStorage
=
diskResult
=
deleteIndex
=
traceSystemOut
=
diskUndo
=
false
;
traceLevelFile
=
throttle
=
0
;
logMode
=
1
;
cipher
=
null
;
test
();
smallLog
=
big
=
networked
=
memory
=
ssl
=
textStorage
=
diskResult
=
deleteIndex
=
traceSystemOut
=
false
;
jdk14
=
true
;
smallLog
=
big
=
networked
=
memory
=
ssl
=
textStorage
=
false
;
diskResult
=
deleteIndex
=
traceSystemOut
=
diskUndo
=
false
;
mvcc
=
traceTest
=
stopOnError
=
cache2Q
=
false
;
traceLevelFile
=
throttle
=
0
;
logMode
=
1
;
cipher
=
null
;
mvcc
=
false
;
cache2Q
=
false
;
test
();
diskUndo
=
false
;
smallLog
=
false
;
big
=
false
;
networked
=
true
;
memory
=
true
;
ssl
=
false
;
textStorage
=
true
;
diskResult
=
deleteIndex
=
traceSystemOut
=
false
;
traceLevelFile
=
throttle
=
0
;
logMode
=
1
;
cipher
=
null
;
mvcc
=
false
;
cache2Q
=
false
;
test
();
big
=
false
;
smallLog
=
false
;
networked
=
false
;
memory
=
false
;
ssl
=
false
;
textStorage
=
false
;
diskResult
=
false
;
deleteIndex
=
false
;
traceSystemOut
=
false
;
logMode
=
2
;
traceLevelFile
=
0
;
throttle
=
0
;
cipher
=
null
;
mvcc
=
false
;
cache2Q
=
false
;
test
();
logMode
=
1
;
diskUndo
=
true
;
smallLog
=
false
;
big
=
networked
=
memory
=
ssl
=
false
;
textStorage
=
true
;
diskResult
=
true
;
deleteIndex
=
true
;
traceSystemOut
=
false
;
logMode
=
1
;
traceLevelFile
=
3
;
throttle
=
1
;
cipher
=
"XTEA"
;
mvcc
=
false
;
cache2Q
=
false
;
test
();
diskUndo
=
false
;
big
=
true
;
smallLog
=
false
;
networked
=
false
;
memory
=
false
;
ssl
=
false
;
textStorage
=
false
;
diskResult
=
false
;
deleteIndex
=
false
;
traceSystemOut
=
false
;
logMode
=
1
;
traceLevelFile
=
1
;
throttle
=
0
;
cipher
=
null
;
mvcc
=
false
;
cache2Q
=
false
;
test
();
traceLevelFile
=
2
;
big
=
true
;
smallLog
=
true
;
networked
=
true
;
memory
=
false
;
ssl
=
true
;
textStorage
=
false
;
diskResult
=
false
;
deleteIndex
=
false
;
traceSystemOut
=
false
;
logMode
=
2
;
traceLevelFile
=
2
;
throttle
=
0
;
cipher
=
null
;
mvcc
=
false
;
cache2Q
=
true
;
test
();
big
=
true
;
smallLog
=
false
;
networked
=
true
;
memory
=
false
;
ssl
=
false
;
textStorage
=
false
;
diskResult
=
false
;
deleteIndex
=
false
;
traceSystemOut
=
false
;
logMode
=
0
;
traceLevelFile
=
0
;
throttle
=
0
;
cipher
=
"AES"
;
mvcc
=
false
;
cache2Q
=
false
;
test
();
smallLog
=
big
=
networked
=
memory
=
ssl
=
textStorage
=
diskResult
=
deleteIndex
=
traceSystemOut
=
false
;
traceLevelFile
=
throttle
=
0
;
big
=
false
;
networked
=
false
;
logMode
=
1
;
cipher
=
null
;
mvcc
=
true
;
cache2Q
=
false
;
test
();
memory
=
true
;
...
...
@@ -558,7 +491,7 @@ http://www.w3schools.com/sql/
*/
private
void
test
()
throws
Exception
{
System
.
out
.
println
();
System
.
out
.
println
(
"Test
big:"
+
big
+
" net:"
+
networked
+
" cipher:"
+
cipher
+
" memory:"
+
memory
+
" log:"
+
logMode
+
" diskResult:"
+
diskResult
+
" mvcc:"
+
mvcc
+
" deleteIndex:"
+
deleteIndex
);
System
.
out
.
println
(
"Test
"
+
toString
()
);
beforeTest
();
// db
...
...
@@ -743,4 +676,37 @@ http://www.w3schools.com/sql/
prop
.
getProperty
(
"user.variant"
)+
" "
+
prop
.
getProperty
(
"file.encoding"
));
}
public
String
toString
()
{
StringBuffer
buff
=
new
StringBuffer
();
appendIf
(
buff
,
big
,
"big"
);
appendIf
(
buff
,
networked
,
"net"
);
appendIf
(
buff
,
memory
,
"memory"
);
appendIf
(
buff
,
codeCoverage
,
"codeCoverage"
);
appendIf
(
buff
,
mvcc
,
"mvcc"
);
appendIf
(
buff
,
logMode
!=
1
,
"logMode:"
+
logMode
);
appendIf
(
buff
,
cipher
!=
null
,
cipher
);
appendIf
(
buff
,
jdk14
,
"jdk14"
);
appendIf
(
buff
,
smallLog
,
"smallLog"
);
appendIf
(
buff
,
ssl
,
"ssl"
);
appendIf
(
buff
,
diskUndo
,
"diskUndo"
);
appendIf
(
buff
,
textStorage
,
"textStorage"
);
appendIf
(
buff
,
diskResult
,
"diskResult"
);
appendIf
(
buff
,
traceSystemOut
,
"traceSystemOut"
);
appendIf
(
buff
,
endless
,
"endless"
);
appendIf
(
buff
,
traceLevelFile
>
0
,
"traceLevelFile"
);
appendIf
(
buff
,
throttle
>
0
,
"throttle:"
+
throttle
);
appendIf
(
buff
,
traceTest
,
"traceTest"
);
appendIf
(
buff
,
stopOnError
,
"stopOnError"
);
appendIf
(
buff
,
cache2Q
,
"cache2Q"
);
appendIf
(
buff
,
deleteIndex
,
"deleteIndex"
);
return
buff
.
toString
();
}
private
void
appendIf
(
StringBuffer
buff
,
boolean
flag
,
String
text
)
{
if
(
flag
)
{
buff
.
append
(
text
);
buff
.
append
(
' '
);
}
}
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论