Package com.semedy.reasoner.core
Class DeductiveDatabaseTest
java.lang.Object
com.semedy.reasoner.core.DeductiveDatabaseTest
- Author:
- juba
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlong transactions and querying at the same timevoidsetUp()voidtearDown()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidTests shutdown on threads with open transactions which react to the thread interruption.voidTests shutdown on threads with open transactions which do not react to the thread interruption.voidvoidvoidTests if a reasoning term will be added to main symbol table (it should not).voidvoidTests if two transactions running in separate threads actually see only the content from their own transaction.void
-
Constructor Details
-
DeductiveDatabaseTest
- Throws:
IOException
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testSimpleQuery
- Throws:
Exception
-
testTransactions
Tests if two transactions running in separate threads actually see only the content from their own transaction.- Throws:
Exception
-
testTransactionsDeadlock
- Throws:
Exception
-
testSimpleShutdown
- Throws:
Exception
-
testShutdown
Tests shutdown on threads with open transactions which react to the thread interruption.- Throws:
Exception
-
testShutdownNonCooperative
Tests shutdown on threads with open transactions which do not react to the thread interruption.- Throws:
Exception
-
testDeleteRule
- Throws:
Exception
-
testDeleteRule1
- Throws:
Exception
-
testDeleteRule2
- Throws:
Exception
-
testDeleteRule3
- Throws:
Exception
-
testLoadDatatypesRaw
- Throws:
Exception
-
testSymbolTableReasoningTerms
Tests if a reasoning term will be added to main symbol table (it should not).- Throws:
Exception
-
testFunctionalTerms1
- Throws:
Exception
-
testFunctionalTerms2
- Throws:
Exception
-
testQueryForFunctionalTerm
- Throws:
Exception
-
testTextSearch
- Throws:
Exception
-
testDebugging0
- Throws:
Exception
-
testDebugging1
- Throws:
Exception
-
testLongTransaction
public void testLongTransaction() throws EDBException, IOException, SemReasonerException, InterruptedException -
longTransactionAndQueries
long transactions and querying at the same time- Throws:
Exception
-
testMissingBuiltinError
- Throws:
Exception
-