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