|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
nesstar.test.NesstarTestCase
nesstar.api.faster.CatalogTestBase
nesstar.api.faster.CatalogTest
public class CatalogTest
A Test class for Catalog.java Automatically generated from ARGO/UML
| Field Summary |
|---|
| Fields inherited from class nesstar.api.faster.CatalogTestBase |
|---|
__home |
| Constructor Summary | |
|---|---|
CatalogTest(String testName)
Constructor for the CatalogTest object |
|
| Method Summary | |||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
void |
allRangeQueries(int startFrom,
boolean wantPaths)
A basic test of the operation RangeQuery() |
||||||||||||||||||||||||||||||||||||||||||||||
void |
checkPathsTo(String path,
Catalog from,
RDFObject to)
|
||||||||||||||||||||||||||||||||||||||||||||||
void |
doAddRemoveChild(boolean doRead)
|
||||||||||||||||||||||||||||||||||||||||||||||
void |
doAddRemoveChildChecked()
A Test of the operation AddChildAt() |
||||||||||||||||||||||||||||||||||||||||||||||
void |
doParallelAddRemoveChild(boolean doRead)
|
||||||||||||||||||||||||||||||||||||||||||||||
List |
executeExQuery(Catalog catalog,
String query,
int size)
Description of the Method |
||||||||||||||||||||||||||||||||||||||||||||||
static void |
main(String[] args)
The main program for the CatalogTest class |
||||||||||||||||||||||||||||||||||||||||||||||
static junit.framework.Test |
suite()
Return the suite of all tests of this class |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testAttributeChildren()
A Test of the attribute noted as: |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testAttributeComment()
A test on Comment |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testAttributeCreationDate()
A test on CreationDate |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testAttributeLabel()
A test on Label |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testChildrenOfDifferentType()
Test support for children of different types |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testComplexRangeQuery()
|
||||||||||||||||||||||||||||||||||||||||||||||
void |
testExQuerySyntaxError()
A unit test for JUnit |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testHomeOperationCreate()
A Test of the Home operation create(String id) |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testHomeOperationEJBQL()
|
||||||||||||||||||||||||||||||||||||||||||||||
void |
testHomeOperationEJBQLINClause()
|
||||||||||||||||||||||||||||||||||||||||||||||
void |
testImportUTF8()
|
||||||||||||||||||||||||||||||||||||||||||||||
void |
testLightSimpleQuery()
test query using a light simple search string |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testLongRangeQuery()
A unit test for JUnit |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testNewProtocolQuery()
test query using a light simple search string twice with a new protocol |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationAddChild()
A test of the operation AddChild() The theory behind this test is this: Find out how many children the catalog has. |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationAddChildAt()
A Test of the operation AddChildAt() |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationEditChildConcurrent()
A Test of the operations AddChildAt() and RemoveChildAt() concurrently |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationExQuery()
A Test of the operation ExQuery() |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationKeywordRangeQuery()
Keyword search doesn't return hits (seems to fail if more than 2 fields of 'Organisation' are searched). |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationPathsTo()
A Test of the operation PathsTo(RDFObject to) |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationRangeQuery()
A basic test of the operation RangeQuery() |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationRangeQueryAND()
|
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationRangeQueryByPhrase()
|
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationRangeQueryFaultyResult()
|
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationRangeQueryFromMiddle()
A Test of the operation RangeQuery() starting from an element in the middle |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationRangeQueryOnSections()
A unit test for JUnit |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationRangeQueryOthers()
Other tests on the operation RangeQuery() |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationRangeQueryOthers2()
Other tests on the operation RangeQuery() |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationRangeQueryPaths()
A Test of the operation RangeQuery() starting from an element in the middle |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationRangeQueryStopword()
|
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationRemove()
A Test of the operation Remove() |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationRemoveChild()
A Test of the operation RemoveChild() |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOperationRemoveChildAt()
A unit test for JUnit |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testOrderClause()
A unit test for JUnit |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testParallelAddEditRemoveChild()
This occassionally fails, it seems the server cannot handle too many simultaneous changes in such rapid succession. |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testParallelAddRemoveChild()
|
||||||||||||||||||||||||||||||||||||||||||||||
void |
testPhraseSearch()
A unit test for JUnit |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testRangeQueryCubes()
Test that RangeQuery gets Cubes even though only their study is explicitly entered as a child of the catalog |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testRangeQueryNotStopword()
Test that 'British' is not a stop word in a fulltext query |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testRangeQueryOrderBy()
A unit test for JUnit |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testRangeQueryPartialDate()
test queries using partial date formats |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testRangeQuerySyntaxError()
A unit test for JUnit |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testRangeQueryUTF8()
test query using a utf search string |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testRangeQueryWithWildcard()
test query using a wildcard phrase |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testRangeQueryWithWildcard1()
test query using a wildcard field list |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testRangeQueryWithWildcard2()
test query using a wildcard field list |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testRangeQueryWithWildcard3()
test query using a wildcard field list |
||||||||||||||||||||||||||||||||||||||||||||||
void |
testSequentialAddRemoveChild()
|
||||||||||||||||||||||||||||||||||||||||||||||
void |
testSlowRangeQuery()
WithPaths will be optimised using bag subsetting (@bag[from..to] ops) from=1 items =500 paths=false - all objects returned with the bag
CatalogTestpublic CatalogTest(String testName) throws Exception
mainpublic static void main(String[] args)
suitepublic static junit.framework.Test suite()
testAttributeChildren
public void testAttributeChildren()
throws Exception
testAttributeComment
public void testAttributeComment()
throws Exception
testAttributeLabel
public void testAttributeLabel()
throws Exception
testOperationExQuery
public void testOperationExQuery()
throws Exception
executeExQuerypublic List executeExQuery(Catalog catalog, String query, int size) throws Exception
testOperationAddChild
public void testOperationAddChild()
throws Exception
testOperationAddChildAt
public void testOperationAddChildAt()
throws Exception
doAddRemoveChildChecked
public void doAddRemoveChildChecked()
throws Exception
doAddRemoveChild
public void doAddRemoveChild(boolean doRead)
throws Exception
testSequentialAddRemoveChild
public void testSequentialAddRemoveChild()
throws Exception
doParallelAddRemoveChild
public void doParallelAddRemoveChild(boolean doRead)
throws Exception
testParallelAddRemoveChild
public void testParallelAddRemoveChild()
throws Exception
testParallelAddEditRemoveChild
public void testParallelAddEditRemoveChild()
throws Exception
allRangeQueries
public void allRangeQueries(int startFrom,
boolean wantPaths)
throws Exception
testOperationKeywordRangeQuery
public void testOperationKeywordRangeQuery()
throws Exception
testOperationRangeQuery
public void testOperationRangeQuery()
throws Exception
testOperationRangeQueryByPhrase
public void testOperationRangeQueryByPhrase()
throws Exception
testOperationRangeQueryFaultyResult
public void testOperationRangeQueryFaultyResult()
throws Exception
testOperationRangeQueryFromMiddle
public void testOperationRangeQueryFromMiddle()
throws Exception
testOperationRangeQueryPaths
public void testOperationRangeQueryPaths()
throws Exception
testOperationRangeQueryOthers
public void testOperationRangeQueryOthers()
throws Exception
testOperationRangeQueryOnSections
public void testOperationRangeQueryOnSections()
throws Exception
testOperationRangeQueryOthers2
public void testOperationRangeQueryOthers2()
throws Exception
testSlowRangeQuery
public void testSlowRangeQuery()
throws Exception
testOperationRangeQueryStopword
public void testOperationRangeQueryStopword()
throws Exception
testOperationRangeQueryAND
public void testOperationRangeQueryAND()
throws Exception
testSlowRangeQuery1
public void testSlowRangeQuery1()
throws Exception
testRangeQueryOrderBy
public void testRangeQueryOrderBy()
throws Exception
testRangeQuerySyntaxError
public void testRangeQuerySyntaxError()
throws Exception
testExQuerySyntaxError
public void testExQuerySyntaxError()
throws Exception
testLongRangeQuery
public void testLongRangeQuery()
throws Exception
testLightSimpleQuery
public void testLightSimpleQuery()
throws Exception
testNewProtocolQuery
public void testNewProtocolQuery()
throws Exception
testOrderClause
public void testOrderClause()
throws Exception
testPhraseSearch
public void testPhraseSearch()
throws Exception
testOperationRemoveChild
public void testOperationRemoveChild()
throws Exception
testOperationEditChildConcurrent
public void testOperationEditChildConcurrent()
throws Exception
testTimeout
public void testTimeout()
throws Exception
testOperationRemoveChildAt
public void testOperationRemoveChildAt()
throws Exception
testChildrenOfDifferentType
public void testChildrenOfDifferentType()
throws Exception
testRangeQueryNotStopword
public void testRangeQueryNotStopword()
throws Exception
testRangeQueryCubes
public void testRangeQueryCubes()
throws Exception
testSQLCrash
public void testSQLCrash()
throws Exception
testRangeQueryPartialDate
public void testRangeQueryPartialDate()
throws Exception
testRangeQueryWithWildcard1
public void testRangeQueryWithWildcard1()
throws Exception
testRangeQueryWithWildcard2
public void testRangeQueryWithWildcard2()
throws Exception
testRangeQueryWithWildcard3
public void testRangeQueryWithWildcard3()
throws Exception
testRangeQueryWithWildcard
public void testRangeQueryWithWildcard()
throws Exception
testRangeQueryUTF8
public void testRangeQueryUTF8()
throws Exception
testComplexRangeQuery
public void testComplexRangeQuery()
throws Exception
testHomeOperationEJBQL
public void testHomeOperationEJBQL()
throws Exception
testHomeOperationEJBQLINClause
public void testHomeOperationEJBQLINClause()
throws Exception
testHomeOperationCreate
public void testHomeOperationCreate()
throws Exception
testOperationRemove
public void testOperationRemove()
throws Exception
testImportUTF8
public void testImportUTF8()
throws Exception
checkPathsTopublic void checkPathsTo(String path, Catalog from, RDFObject to) throws Exception
testOperationPathsTo
public void testOperationPathsTo()
throws Exception
testAttributeCreationDate
public void testAttributeCreationDate()
throws Exception
Copyright©2003 NSD - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||