|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--com.hp.hpl.mesa.rdf.jena.rdb.TestRDB
Overall test harness for running all currently using rdb unit tests. Exports a final test suite to be included in the overall mega test. Configured via java properties:
jena.rdb.test.dbbase the jdbc uri of the database stem to use, clean databases
with the names "testrdf", "jr" and "jr1" through "jr4" are needed to run the full test set.
jena.rdb.test.dbfull the full jdbc spec for a test database to use, not just a stem,
useful For jdbc drivers which don't allow easy concatenation of names (e.g. Oracle). Note that this
form won't support the full regression test option for non-multi-model configurations.
jena.rdb.test.user the user name to use when opening the database connection. jena.rdb.test.password the password to use when opening the database connection.
| Constructor Summary | |
TestRDB(java.lang.String name)
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Run the overall rdf test suite in text mode. |
static junit.framework.TestSuite |
suite()
Return the total test suite |
| Methods inherited from class junit.framework.TestCase |
countTestCases, getName, name, run, run, runBare, setName, toString |
| Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TestRDB(java.lang.String name)
| Method Detail |
public static junit.framework.TestSuite suite()
public static void main(java.lang.String[] args)
"full" indicates that the tests include the full jena regression test.
"legacyFull" skips the RDB specific tests and just runs the main jena regression but does so in a configuration that avoids reformatting the database. Thus if a database is formated according to an earlier jena version this not enables you to test that the current code can still drive the old format.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||