提交 66b00c96 authored 作者: Noel Grandin's avatar Noel Grandin

doesn't need to be a base class method

上级 dc51e294
......@@ -119,15 +119,6 @@ public abstract class TestBase {
return this;
}
/**
* Run a test case using the given seed value.
*
* @param seed the random seed value
*/
public void testCase(int seed) throws Exception {
// do nothing
}
/**
* This method is initializes the test, runs the test by calling the test()
* method, and prints status information. It also catches exceptions so that
......
......@@ -71,8 +71,7 @@ public class TestBtreeIndex extends TestBase {
deleteDb(getTestName());
}
@Override
public void testCase(int seed) throws SQLException {
private void testCase(int seed) throws SQLException {
testOne(seed);
}
......
......@@ -277,8 +277,7 @@ public class TestCrashAPI extends TestBase implements Runnable {
return conn;
}
@Override
public void testCase(int seed) throws SQLException {
private void testCase(int seed) throws SQLException {
printTime("seed: " + seed);
callCount = 0;
openCount = 0;
......
......@@ -92,8 +92,7 @@ public class TestRandomSQL extends TestBase {
}
}
@Override
public void testCase(int seed) throws Exception {
private void testCase(int seed) throws Exception {
String old = SysProperties.getScriptDirectory();
try {
System.setProperty(SysProperties.H2_SCRIPT_DIRECTORY,
......
......@@ -6,7 +6,6 @@
package org.h2.test.synth.sql;
import java.util.ArrayList;
import org.h2.test.TestAll;
import org.h2.test.TestBase;
import org.h2.util.MathUtils;
......@@ -325,8 +324,7 @@ public class TestSynth extends TestBase {
return this;
}
@Override
public void testCase(int seed) throws Exception {
private void testCase(int seed) throws Exception {
deleteDb("synth/synth");
try {
printTime("TestSynth " + seed);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论