public interface UnitTestManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MODULE |
static java.lang.String |
RUN_FOREVER
Debug flag to allow the cloudscape system running the tests
to run forever.
|
static java.lang.String |
SKIP_UNIT_TESTS
Debug flag to skip unit tests.
|
Modifier and Type | Method and Description |
---|---|
void |
registerTest(UnitTest objectToTest,
java.lang.String testName)
register an object that has the UnitTest interface,
marking what type it has and its duration.
|
boolean |
runTests()
run the tests.
|
boolean |
runTests(int testType,
int testDuration)
Convenience function to set the test type and duration
for the UnitTestManager and then run the tests.
|
void |
setPerformanceReportOn(boolean performanceReportOn)
specify whether performance statistics should be
gathered when tests are run.
|
void |
setTestDuration(int testDuration)
the test duration is set.
|
void |
setTestType(int testType)
the test duration is set.
|
static final java.lang.String MODULE
static final java.lang.String RUN_FOREVER
static final java.lang.String SKIP_UNIT_TESTS
void registerTest(UnitTest objectToTest, java.lang.String testName)
boolean runTests()
boolean runTests(int testType, int testDuration)
UnitTestConstants
void setTestDuration(int testDuration)
void setTestType(int testType)
void setPerformanceReportOn(boolean performanceReportOn)
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.