|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.hp.hpl.mesa.rdf.jena.common.regression.Regression
A common set of regression tests.
Inner Class Summary | |
class |
Regression.LitTestObj
|
class |
Regression.LitTestObjF
|
class |
Regression.ResTestObjF
|
Constructor Summary | |
Regression()
|
Method Summary | |
static void |
doTest(Model m1,
Model m2,
Model m3,
Model m4)
|
void |
error(java.lang.String testName,
int testNum)
|
void |
error(java.lang.String testName,
int testNum,
java.lang.Exception e)
|
void |
error(java.lang.String testName,
int testNum,
long v)
|
boolean |
getErrors()
|
boolean |
setErrors(boolean b)
|
void |
test(Model m1,
Model m2,
Model m3,
Model m4)
Run the whole batch of common tests on a model implementation |
void |
test1(Model m)
Test Literal creation methods |
void |
test10(Model m)
test the query statements methods of model |
void |
test11(Model m1,
Model m2)
test model set operations |
void |
test12(Model m)
test Resource methods |
void |
test13(Model m)
Test Statement methods |
void |
test14(Model m)
test bag |
void |
test15(Model m)
test Alt |
void |
test16(Model m)
test Seq |
void |
test17(Model m)
test enhanced resources |
void |
test18(Model m)
test load from xml file |
void |
test19(Model m1,
Model m2)
test moving things between models |
void |
test2(Model m)
Test Resource creation methods |
void |
test20(Model m)
Empty the passed in model |
void |
test3(Model m)
Test model add and contains methods |
void |
test4(Model m)
Test model get methods |
void |
test5(Model m)
Empty the passed in model |
void |
test6(Model m)
test model list methods |
void |
test7(Model m1,
Model m2)
test add and remove sets and models |
void |
test8(Model m)
test list subjects with methods |
void |
test9(Model m)
test the list statements methods of model |
void |
test97(Model m)
Testing for miscellaneous bugs |
void |
test99(Model m)
Empty the passed in model |
void |
testAlt(Model m,
Alt alt1,
Alt alt2,
Alt alt3,
Alt alt4,
java.lang.String test,
int n)
|
void |
testBag(Model m,
Bag bag1,
Bag bag2,
Bag bag3,
java.lang.String test,
int n)
|
void |
testContainer(Model m,
Container cont1,
Container cont2,
java.lang.String test,
int n)
|
void |
testResource(Model m,
Resource r,
java.lang.String test,
int n,
int numProps)
|
void |
testSeq(Model m,
Seq seq1,
Seq seq2,
Seq seq3,
Seq seq4,
Seq seq5,
Seq seq6,
Seq seq7,
java.lang.String test,
int n)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Regression()
Method Detail |
public static void doTest(Model m1, Model m2, Model m3, Model m4)
public void test(Model m1, Model m2, Model m3, Model m4)
m
- an instance of the model to be testedpublic void test1(Model m)
m
- the model implementation under testpublic void test2(Model m)
m
- the model implementation under testpublic void test3(Model m)
m
- the model implementation under testpublic void test4(Model m)
m
- the model implementation under testpublic void test5(Model m)
m
- the model implementation under testpublic void test6(Model m)
m
- the model implementation under testpublic void test7(Model m1, Model m2)
m
- the model implementation under testpublic void test8(Model m)
m
- the model implementation under testpublic void test9(Model m)
m
- the model implementation under testpublic void test10(Model m)
m
- the model implementation under testpublic void test11(Model m1, Model m2)
m
- the model implementation under testpublic void test12(Model m)
m
- the model implementation under testpublic void test13(Model m)
m
- the model implementation under testpublic void test14(Model m)
m
- the model implementation under testpublic void test15(Model m)
m
- the model implementation under testpublic void test16(Model m)
m
- the model implementation under testpublic void test17(Model m)
m
- the model implementation under testpublic void test18(Model m)
m
- the model implementation under testpublic void test19(Model m1, Model m2)
m
- the model implementation under testpublic void test20(Model m)
m
- the model implementation under testpublic void test97(Model m)
m
- the model implementation under testpublic void test99(Model m)
m
- the model implementation under testpublic void testResource(Model m, Resource r, java.lang.String test, int n, int numProps)
public void testContainer(Model m, Container cont1, Container cont2, java.lang.String test, int n)
public void testBag(Model m, Bag bag1, Bag bag2, Bag bag3, java.lang.String test, int n)
public void testAlt(Model m, Alt alt1, Alt alt2, Alt alt3, Alt alt4, java.lang.String test, int n)
public void testSeq(Model m, Seq seq1, Seq seq2, Seq seq3, Seq seq4, Seq seq5, Seq seq6, Seq seq7, java.lang.String test, int n)
public void error(java.lang.String testName, int testNum)
public void error(java.lang.String testName, int testNum, long v)
public void error(java.lang.String testName, int testNum, java.lang.Exception e)
public boolean getErrors()
public boolean setErrors(boolean b)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |