Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
8e3b97cb
提交
8e3b97cb
authored
14 年前
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Enable tests.
上级
dc6fc84d
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
141 行增加
和
136 行删除
+141
-136
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+141
-136
没有找到文件。
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
8e3b97cb
...
@@ -297,8 +297,16 @@ java org.h2.test.TestAll timer
...
@@ -297,8 +297,16 @@ java org.h2.test.TestAll timer
/*
/*
// System.setProperty("h2.pageSize", "64");
test with small freeList pages, page size 64
test services on Windows
test services on Windows
exclusive + auto_restart = retry
data store: automatically fast when moving data from two repositories that
share the same data store, using special input stream classes
h2-schema function
h2-schema function
power failure test
power failure test
...
@@ -311,9 +319,6 @@ create table test(id identity, name varchar(100) default space(100));
...
@@ -311,9 +319,6 @@ create table test(id identity, name varchar(100) default space(100));
@LOOP 10 insert into test select null, null from system_range(1, 100000);
@LOOP 10 insert into test select null, null from system_range(1, 100000);
delete from test;
delete from test;
// System.setProperty("h2.pageSize", "64");
test with small freeList pages, page size 64
documentation: review package and class level javadocs
documentation: review package and class level javadocs
documentation: rolling review at jaqu.html
documentation: rolling review at jaqu.html
...
@@ -466,146 +471,146 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1`
...
@@ -466,146 +471,146 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1`
beforeTest
();
beforeTest
();
// db
// db
//
new TestScriptSimple().runTest(this);
new
TestScriptSimple
().
runTest
(
this
);
//
new TestScript().runTest(this);
new
TestScript
().
runTest
(
this
);
//
new TestAlter().runTest(this);
new
TestAlter
().
runTest
(
this
);
//
new TestAutoRecompile().runTest(this);
new
TestAutoRecompile
().
runTest
(
this
);
//
new TestBackup().runTest(this);
new
TestBackup
().
runTest
(
this
);
//
new TestBigDb().runTest(this);
new
TestBigDb
().
runTest
(
this
);
//
new TestBigResult().runTest(this);
new
TestBigResult
().
runTest
(
this
);
//
new TestCases().runTest(this);
new
TestCases
().
runTest
(
this
);
//
new TestCheckpoint().runTest(this);
new
TestCheckpoint
().
runTest
(
this
);
new
TestCluster
().
runTest
(
this
);
new
TestCluster
().
runTest
(
this
);
//
new TestConnectionInfo().runTest(this);
new
TestConnectionInfo
().
runTest
(
this
);
//
new TestCompatibility().runTest(this);
new
TestCompatibility
().
runTest
(
this
);
//
new TestCsv().runTest(this);
new
TestCsv
().
runTest
(
this
);
//
new TestDeadlock().runTest(this);
new
TestDeadlock
().
runTest
(
this
);
//
new TestEncryptedDb().runTest(this);
new
TestEncryptedDb
().
runTest
(
this
);
//
new TestExclusive().runTest(this);
new
TestExclusive
().
runTest
(
this
);
//
new TestFullText().runTest(this);
new
TestFullText
().
runTest
(
this
);
//
new TestFunctionOverload().runTest(this);
new
TestFunctionOverload
().
runTest
(
this
);
//
new TestFunctions().runTest(this);
new
TestFunctions
().
runTest
(
this
);
//
new TestInit().runTest(this);
new
TestInit
().
runTest
(
this
);
//
new TestIndex().runTest(this);
new
TestIndex
().
runTest
(
this
);
//
new TestLargeBlob().runTest(this);
new
TestLargeBlob
().
runTest
(
this
);
//
new TestLinkedTable().runTest(this);
new
TestLinkedTable
().
runTest
(
this
);
//
new TestListener().runTest(this);
new
TestListener
().
runTest
(
this
);
//
new TestLob().runTest(this);
new
TestLob
().
runTest
(
this
);
//
new TestMemoryUsage().runTest(this);
new
TestMemoryUsage
().
runTest
(
this
);
//
new TestMultiConn().runTest(this);
new
TestMultiConn
().
runTest
(
this
);
//
new TestMultiDimension().runTest(this);
new
TestMultiDimension
().
runTest
(
this
);
//
new TestMultiThread().runTest(this);
new
TestMultiThread
().
runTest
(
this
);
//
new TestMultiThreadedKernel().runTest(this);
new
TestMultiThreadedKernel
().
runTest
(
this
);
//
new TestOpenClose().runTest(this);
new
TestOpenClose
().
runTest
(
this
);
//
new TestOptimizations().runTest(this);
new
TestOptimizations
().
runTest
(
this
);
//
new TestOutOfMemory().runTest(this);
new
TestOutOfMemory
().
runTest
(
this
);
//
new TestPowerOff().runTest(this);
new
TestPowerOff
().
runTest
(
this
);
//
new TestReadOnly().runTest(this);
new
TestReadOnly
().
runTest
(
this
);
//
new TestRights().runTest(this);
new
TestRights
().
runTest
(
this
);
//
new TestRunscript().runTest(this);
new
TestRunscript
().
runTest
(
this
);
//
new TestSQLInjection().runTest(this);
new
TestSQLInjection
().
runTest
(
this
);
//
new TestSessionsLocks().runTest(this);
new
TestSessionsLocks
().
runTest
(
this
);
//
new TestSequence().runTest(this);
new
TestSequence
().
runTest
(
this
);
//
new TestSpaceReuse().runTest(this);
new
TestSpaceReuse
().
runTest
(
this
);
//
new TestSpeed().runTest(this);
new
TestSpeed
().
runTest
(
this
);
//
new TestTableEngines().runTest(this);
new
TestTableEngines
().
runTest
(
this
);
//
new TestTempTables().runTest(this);
new
TestTempTables
().
runTest
(
this
);
//
new TestTransaction().runTest(this);
new
TestTransaction
().
runTest
(
this
);
//
new TestTriggersConstraints().runTest(this);
new
TestTriggersConstraints
().
runTest
(
this
);
//
new TestTwoPhaseCommit().runTest(this);
new
TestTwoPhaseCommit
().
runTest
(
this
);
//
new TestView().runTest(this);
new
TestView
().
runTest
(
this
);
//
new TestViewAlterTable().runTest(this);
new
TestViewAlterTable
().
runTest
(
this
);
//
//
// jaqu
// jaqu
//
new AliasMapTest().runTest(this);
new
AliasMapTest
().
runTest
(
this
);
//
new SamplesTest().runTest(this);
new
SamplesTest
().
runTest
(
this
);
//
new UpdateTest().runTest(this);
new
UpdateTest
().
runTest
(
this
);
//
//
// jdbc
// jdbc
//
new TestBatchUpdates().runTest(this);
new
TestBatchUpdates
().
runTest
(
this
);
//
new TestCallableStatement().runTest(this);
new
TestCallableStatement
().
runTest
(
this
);
//
new TestCancel().runTest(this);
new
TestCancel
().
runTest
(
this
);
//
new TestDatabaseEventListener().runTest(this);
new
TestDatabaseEventListener
().
runTest
(
this
);
//
new TestDriver().runTest(this);
new
TestDriver
().
runTest
(
this
);
//
new TestManyJdbcObjects().runTest(this);
new
TestManyJdbcObjects
().
runTest
(
this
);
//
new TestMetaData().runTest(this);
new
TestMetaData
().
runTest
(
this
);
//
new TestNativeSQL().runTest(this);
new
TestNativeSQL
().
runTest
(
this
);
//
new TestPreparedStatement().runTest(this);
new
TestPreparedStatement
().
runTest
(
this
);
//
new TestResultSet().runTest(this);
new
TestResultSet
().
runTest
(
this
);
//
new TestStatement().runTest(this);
new
TestStatement
().
runTest
(
this
);
//
new TestTransactionIsolation().runTest(this);
new
TestTransactionIsolation
().
runTest
(
this
);
//
new TestUpdatableResultSet().runTest(this);
new
TestUpdatableResultSet
().
runTest
(
this
);
//
new TestZloty().runTest(this);
new
TestZloty
().
runTest
(
this
);
//
//
// jdbcx
// jdbcx
//
new TestConnectionPool().runTest(this);
new
TestConnectionPool
().
runTest
(
this
);
//
new TestDataSource().runTest(this);
new
TestDataSource
().
runTest
(
this
);
//
new TestXA().runTest(this);
new
TestXA
().
runTest
(
this
);
//
new TestXASimple().runTest(this);
new
TestXASimple
().
runTest
(
this
);
//
//
// server
// server
//
new TestAutoServer().runTest(this);
new
TestAutoServer
().
runTest
(
this
);
//
new TestNestedLoop().runTest(this);
new
TestNestedLoop
().
runTest
(
this
);
//
new TestWeb().runTest(this);
new
TestWeb
().
runTest
(
this
);
//
//
// mvcc & row level locking
// mvcc & row level locking
//
new TestMvcc1().runTest(this);
new
TestMvcc1
().
runTest
(
this
);
//
new TestMvcc2().runTest(this);
new
TestMvcc2
().
runTest
(
this
);
//
new TestMvcc3().runTest(this);
new
TestMvcc3
().
runTest
(
this
);
//
new TestMvccMultiThreaded().runTest(this);
new
TestMvccMultiThreaded
().
runTest
(
this
);
//
new TestRowLocks().runTest(this);
new
TestRowLocks
().
runTest
(
this
);
//
//
// synth
// synth
//
new TestBtreeIndex().runTest(this);
new
TestBtreeIndex
().
runTest
(
this
);
//
new TestCrashAPI().runTest(this);
new
TestCrashAPI
().
runTest
(
this
);
//
new TestFuzzOptimizations().runTest(this);
new
TestFuzzOptimizations
().
runTest
(
this
);
//
new TestRandomSQL().runTest(this);
new
TestRandomSQL
().
runTest
(
this
);
//
//
new TestKillRestart().runTest(this);
new
TestKillRestart
().
runTest
(
this
);
//
new TestKillRestartMulti().runTest(this);
new
TestKillRestartMulti
().
runTest
(
this
);
//
new TestMultiThreaded().runTest(this);
new
TestMultiThreaded
().
runTest
(
this
);
afterTest
();
afterTest
();
}
}
private
void
testUnit
()
{
private
void
testUnit
()
{
//
new TestAutoReconnect().runTest(this);
new
TestAutoReconnect
().
runTest
(
this
);
//
new TestCache().runTest(this);
new
TestCache
().
runTest
(
this
);
//
new TestClearReferences().runTest(this);
new
TestClearReferences
().
runTest
(
this
);
//
new TestCompress().runTest(this);
new
TestCompress
().
runTest
(
this
);
//
new TestDataPage().runTest(this);
new
TestDataPage
().
runTest
(
this
);
//
new TestDate().runTest(this);
new
TestDate
().
runTest
(
this
);
//
new TestDateIso8601().runTest(this);
new
TestDateIso8601
().
runTest
(
this
);
//
new TestExit().runTest(this);
new
TestExit
().
runTest
(
this
);
//
new TestFile().runTest(this);
new
TestFile
().
runTest
(
this
);
//
new TestFileLock().runTest(this);
new
TestFileLock
().
runTest
(
this
);
//
new TestFileLockSerialized().runTest(this);
new
TestFileLockSerialized
().
runTest
(
this
);
//
new TestFtp().runTest(this);
new
TestFtp
().
runTest
(
this
);
//
new TestFileSystem().runTest(this);
new
TestFileSystem
().
runTest
(
this
);
//
new TestIntArray().runTest(this);
new
TestIntArray
().
runTest
(
this
);
//
new TestIntIntHashMap().runTest(this);
new
TestIntIntHashMap
().
runTest
(
this
);
//
new TestMathUtils().runTest(this);
new
TestMathUtils
().
runTest
(
this
);
//
new TestOldVersion().runTest(this);
new
TestOldVersion
().
runTest
(
this
);
//
new TestNetUtils().runTest(this);
new
TestNetUtils
().
runTest
(
this
);
//
new TestMultiThreadedKernel().runTest(this);
new
TestMultiThreadedKernel
().
runTest
(
this
);
//
new TestOverflow().runTest(this);
new
TestOverflow
().
runTest
(
this
);
//
new TestPageStore().runTest(this);
new
TestPageStore
().
runTest
(
this
);
//
new TestPattern().runTest(this);
new
TestPattern
().
runTest
(
this
);
//
new TestPgServer().runTest(this);
new
TestPgServer
().
runTest
(
this
);
//
new TestReader().runTest(this);
new
TestReader
().
runTest
(
this
);
//
new TestRecovery().runTest(this);
new
TestRecovery
().
runTest
(
this
);
//
new TestSampleApps().runTest(this);
new
TestSampleApps
().
runTest
(
this
);
//
new TestScriptReader().runTest(this);
new
TestScriptReader
().
runTest
(
this
);
//
runTest("org.h2.test.unit.TestServlet");
runTest
(
"org.h2.test.unit.TestServlet"
);
//
new TestSecurity().runTest(this);
new
TestSecurity
().
runTest
(
this
);
//
new TestShell().runTest(this);
new
TestShell
().
runTest
(
this
);
//
new TestStreams().runTest(this);
new
TestStreams
().
runTest
(
this
);
//
new TestStringCache().runTest(this);
new
TestStringCache
().
runTest
(
this
);
//
new TestStringUtils().runTest(this);
new
TestStringUtils
().
runTest
(
this
);
new
TestTools
().
runTest
(
this
);
new
TestTools
().
runTest
(
this
);
//
new TestValue().runTest(this);
new
TestValue
().
runTest
(
this
);
//
new TestValueHashMap().runTest(this);
new
TestValueHashMap
().
runTest
(
this
);
//
new TestValueMemory().runTest(this);
new
TestValueMemory
().
runTest
(
this
);
}
}
private
void
runTest
(
String
className
)
{
private
void
runTest
(
String
className
)
{
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论