Java Doc for WebOntTestHarness.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » reasoner » rulesys » test » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » RSS RDF » Jena 2.5.5 » com.hp.hpl.jena.reasoner.rulesys.test 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.hp.hpl.jena.reasoner.rulesys.test.WebOntTestHarness

WebOntTestHarness
public class WebOntTestHarness (Code)
Test harness for running the WebOnt working group tests relevant to the OWL rule reasoner. See also TestOWLRules which runs the core WG tests as part of the routine unit tests.
author:
   Dave Reynolds
version:
   $Revision: 1.27 $ on $Date: 2008/01/02 12:08:20 $


Field Summary
public static  StringBASE_RESULTS_URI
    
final public static  StringBASE_TESTDIR
    
public static  StringBASE_URI
    
final public static  String[]BLOCKED_TESTS
    
final public static  String[]STATUS_FLAGS
     The list of status values to include.
final public static  String[]TEST_DIRS
    
public static  booleanapprovedOnly
    
public static  booleanincludeModified
    
 Resourcejena2
    
 longlastTestDuration
    
 intpassCount
    
public static  booleanprintProfile
    
 Reasonerreasoner
    
 inttestCount
    
 ModeltestDefinitions
    
 ModeltestResults
    

Constructor Summary
public  WebOntTestHarness()
    

Method Summary
public  voidcomprehensionAxioms(Model premises, Model conclusions)
     Example the conclusions graph for introduction of restrictions which require a comprehension rewrite and declare new (anon) classes for those restrictions.
public  booleandoRunTest(Resource test)
     Run a single test of any sort, return true if the test succeeds.
public  ListfindTestsOfType(Resource testType)
    
public  ModelgetDoc(Resource test, Property docType, boolean processImports)
     Load the premises or conclusions for the test, optional performing import processing.
public  ModelgetDoc(Resource test, Property docType)
     Load the premises or conclusions for the test.
public  voidinitResults()
     Initialize the result model.
public static  ModelloadAllTestDefinitions()
    
public static  ModelloadFile(String file, Model model)
     Utility to load a file into a model a Model.
public static  voidmain(String[] args)
    
public  voidrunTest(String test)
     Run a single test of any sort, performing any appropriate logging and error reporting.
public  voidrunTest(Resource test)
     Run a single test of any sort, performing any appropriate logging and error reporting.
public  voidrunTests()
     Run all relevant tests.
public  voidrunTests(List tests)
     Run all tests in the given list.
public  booleantestEntailment(Graph conclusions, Graph result)
     Test a conclusions graph against a result graph.

Field Detail
BASE_RESULTS_URI
public static String BASE_RESULTS_URI(Code)
The base URI for the results file



BASE_TESTDIR
final public static String BASE_TESTDIR(Code)
The base directory for the working group test files to use



BASE_URI
public static String BASE_URI(Code)
The base URI in which the files are purported to reside



BLOCKED_TESTS
final public static String[] BLOCKED_TESTS(Code)
List of tests that are blocked because they test language features beyond Lite



STATUS_FLAGS
final public static String[] STATUS_FLAGS(Code)
The list of status values to include. If approvedOnly then only the first entry is allowed



TEST_DIRS
final public static String[] TEST_DIRS(Code)
The list of subdirectories to process (omits the rdf/rdfs dirs)



approvedOnly
public static boolean approvedOnly(Code)
Set to true to use approved tests only



includeModified
public static boolean includeModified(Code)
Set to true to include modified test versions



jena2
Resource jena2(Code)
The resource which acts as a description for the Jena2 instance being tested



lastTestDuration
long lastTestDuration(Code)
The time cost in ms of the last test to be run



passCount
int passCount(Code)
Number of tests passed



printProfile
public static boolean printProfile(Code)
Set to true to print LP engine profile information



reasoner
Reasoner reasoner(Code)
The reasoner being tested



testCount
int testCount(Code)
The number of tests run



testDefinitions
Model testDefinitions(Code)
The total set of known tests



testResults
Model testResults(Code)
The model describing the results of the run




Constructor Detail
WebOntTestHarness
public WebOntTestHarness()(Code)




Method Detail
comprehensionAxioms
public void comprehensionAxioms(Model premises, Model conclusions)(Code)
Example the conclusions graph for introduction of restrictions which require a comprehension rewrite and declare new (anon) classes for those restrictions.



doRunTest
public boolean doRunTest(Resource test) throws IOException(Code)
Run a single test of any sort, return true if the test succeeds.



findTestsOfType
public List findTestsOfType(Resource testType)(Code)
Return a list of all tests of the given type, according to the current filters



getDoc
public Model getDoc(Resource test, Property docType, boolean processImports) throws IOException(Code)
Load the premises or conclusions for the test, optional performing import processing.



getDoc
public Model getDoc(Resource test, Property docType) throws IOException(Code)
Load the premises or conclusions for the test.



initResults
public void initResults()(Code)
Initialize the result model.



loadAllTestDefinitions
public static Model loadAllTestDefinitions()(Code)
Load all of the known manifest files into a single model



loadFile
public static Model loadFile(String file, Model model) throws IOException(Code)
Utility to load a file into a model a Model. Files are assumed to be relative to the BASE_URI.
Parameters:
  file - the file name, relative to baseDir the loaded Model



main
public static void main(String[] args) throws IOException(Code)



runTest
public void runTest(String test)(Code)
Run a single test of any sort, performing any appropriate logging and error reporting.



runTest
public void runTest(Resource test)(Code)
Run a single test of any sort, performing any appropriate logging and error reporting.



runTests
public void runTests()(Code)
Run all relevant tests.



runTests
public void runTests(List tests)(Code)
Run all tests in the given list.



testEntailment
public boolean testEntailment(Graph conclusions, Graph result)(Code)
Test a conclusions graph against a result graph. This works by translating the conclusions graph into a find query which contains one variable for each distinct bNode in the conclusions graph.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

w_ww_._j__a_v_a_2__s___.c___o___m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.