Java Doc for AbstractTestModel.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » rdf » model » 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.rdf.model.test 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.hp.hpl.jena.rdf.model.test.ModelTestBase
   com.hp.hpl.jena.rdf.model.test.AbstractTestModel

All known Subclasses:   com.hp.hpl.jena.db.test.TestModelRDB,  com.hp.hpl.jena.rdf.model.test.TestStandardModels,
AbstractTestModel
abstract public class AbstractTestModel extends ModelTestBase (Code)

author:
   kers


Field Summary
protected  String[][]cases
     Test cases for RemoveSPO(); each entry is a triple (add, remove, result).

Constructor Summary
public  AbstractTestModel(String name)
    

Method Summary
protected  Modelcopy(Model m)
    
abstract public  ModelgetModel()
    
public  voidsetUp()
    
public  voidtearDown()
    
public  voidtestAsRDF()
    
public  voidtestContainsResource()
    
public  voidtestCreateBlankFromNode()
    
public  voidtestCreateLiteralFromNode()
    
public  voidtestCreateResourceFromNode()
    
public  voidtestGetProperty()
     Test the new version of getProperty(), which delivers null for not-found properties.
public  voidtestIsClosedDelegatedToGraph()
    
public  voidtestIsEmpty()
    
public  voidtestRemoveAll()
    
protected  voidtestRemoveAll(String statements)
    
public  voidtestRemoveSPO()
     Test that remove(s, p, o) works, in the presence of inferencing graphs that mean emptyness isn't available.
public  voidtestToStatement()
    
public  voidtestTransactions()
    

Field Detail
cases
protected String[][] cases(Code)
Test cases for RemoveSPO(); each entry is a triple (add, remove, result).
  • add - the triples to add to the graph to start with
  • remove - the pattern to use in the removal
  • result - the triples that should remain in the graph




Constructor Detail
AbstractTestModel
public AbstractTestModel(String name)(Code)




Method Detail
copy
protected Model copy(Model m)(Code)



getModel
abstract public Model getModel()(Code)



setUp
public void setUp()(Code)



tearDown
public void tearDown()(Code)



testAsRDF
public void testAsRDF()(Code)



testContainsResource
public void testContainsResource()(Code)



testCreateBlankFromNode
public void testCreateBlankFromNode()(Code)



testCreateLiteralFromNode
public void testCreateLiteralFromNode()(Code)



testCreateResourceFromNode
public void testCreateResourceFromNode()(Code)



testGetProperty
public void testGetProperty()(Code)
Test the new version of getProperty(), which delivers null for not-found properties.



testIsClosedDelegatedToGraph
public void testIsClosedDelegatedToGraph()(Code)



testIsEmpty
public void testIsEmpty()(Code)



testRemoveAll
public void testRemoveAll()(Code)



testRemoveAll
protected void testRemoveAll(String statements)(Code)



testRemoveSPO
public void testRemoveSPO()(Code)
Test that remove(s, p, o) works, in the presence of inferencing graphs that mean emptyness isn't available. This is why we go round the houses and test that expected ~= initialContent + addedStuff - removed - initialContent.



testToStatement
public void testToStatement()(Code)



testTransactions
public void testTransactions()(Code)



Fields inherited from com.hp.hpl.jena.rdf.model.test.ModelTestBase
protected static Model aModel(Code)(Java Doc)
final protected static Model empty(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.rdf.model.test.ModelTestBase
public static void assertIsoModels(String title, Model wanted, Model got)(Code)(Java Doc)
public static void assertIsoModels(Model wanted, Model got)(Code)(Java Doc)
public static Model createMemModel()(Code)(Java Doc)
public static Model createModel(ReificationStyle style)(Code)(Java Doc)
protected static Model extendedModel()(Code)(Java Doc)
public static Literal literal(Model m, String s)(Code)(Java Doc)
public static Model modelAdd(Model m, String facts)(Code)(Java Doc)
public static Model modelWithStatements(String facts)(Code)(Java Doc)
public static Model modelWithStatements(ReificationStyle style, String facts)(Code)(Java Doc)
protected static String nice(RDFNode n)(Code)(Java Doc)
public static Property property(String s)(Code)(Java Doc)
public static Property property(Model m, String s)(Code)(Java Doc)
public static RDFNode rdfNode(Model m, String s)(Code)(Java Doc)
public static RDFNode rdfNode(Model m, String s, Class c)(Code)(Java Doc)
protected static Resource resource()(Code)(Java Doc)
public static Resource resource(String s)(Code)(Java Doc)
public static Resource resource(Model m, String s)(Code)(Java Doc)
public static Set resourceSet(String items)(Code)(Java Doc)
public static Resource[] resources(Model m, String items)(Code)(Java Doc)
public static Statement statement(Model m, String fact)(Code)(Java Doc)
public static Statement statement(String fact)(Code)(Java Doc)
public static Statement[] statements(Model m, String facts)(Code)(Java Doc)

w_w_w_._j_a___va2__s___.co__m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.