|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.test.TestBase
org.h2.test.synth.TestCrashAPI
public class TestCrashAPI
A test that calls random methods with random parameters from JDBC objects. This is sometimes called 'Fuzz Testing'.
Field Summary |
---|
Fields inherited from class org.h2.test.TestBase |
---|
BASE_TEST_DIR, config, start, TEMP_DIR, uniqueId |
Constructor Summary | |
---|---|
TestCrashAPI()
|
Method Summary | |
---|---|
TestBase |
init(TestAll conf)
Initialize the test configuration. |
static void |
main(java.lang.String... a)
Run just this test. |
void |
run()
|
void |
test()
This method will be called by the test framework. |
void |
testCase(int i)
Run a test case using the given seed value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestCrashAPI()
Method Detail |
---|
public static void main(java.lang.String... a) throws java.lang.Exception
a
- ignored
java.lang.Exception
public void run()
run
in interface java.lang.Runnable
public void test() throws java.lang.Exception
TestBase
test
in class TestBase
java.lang.Exception
- if an exception in the test occurspublic TestBase init(TestAll conf) throws java.lang.Exception
TestBase
init
in class TestBase
conf
- the configuration
java.lang.Exception
public void testCase(int i) throws java.sql.SQLException
TestBase
testCase
in class TestBase
i
- the random seed value
java.sql.SQLException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |