Java Doc for OjbTestBase.java in  » Database-ORM » db-ojb » xdoclet » modules » ojb » tests » 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 » Database ORM » db ojb » xdoclet.modules.ojb.tests 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


xdoclet.junit.XDocletTestBase
   xdoclet.modules.ojb.tests.OjbTestBase

All known Subclasses:   xdoclet.modules.ojb.tests.FieldTagDefaultFetchAttributeTests,  xdoclet.modules.ojb.tests.CollectionTagCollectionClassAttributeTests,  xdoclet.modules.ojb.tests.ReferenceTagDocumentationAttributeTests,  xdoclet.modules.ojb.tests.ReferenceTagRefreshAttributeTests,  xdoclet.modules.ojb.tests.CollectionTagProxyAttributeTests,  xdoclet.modules.ojb.tests.ClassTagInitializationMethodAttributeTests,  xdoclet.modules.ojb.tests.ReferenceTagAutoRetrieveAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagPrecisionAndScaleAttributesTests,  xdoclet.modules.ojb.tests.CollectionTagIndirectionTableDocumentationAttributesTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagPrimarykeyAttributeTests,  xdoclet.modules.ojb.tests.ReferenceTagForeignkeyAttributeTests,  xdoclet.modules.ojb.tests.AnonymousReferenceTagTests,  xdoclet.modules.ojb.tests.FieldTagAccessAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagForeignkeyAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagDefaultFetchAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagLengthAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagUpdateLockAttributeTests,  xdoclet.modules.ojb.tests.FieldTagLengthAttributeTests,  xdoclet.modules.ojb.tests.FieldTagJdbcTypeAttributeTests,  xdoclet.modules.ojb.tests.CollectionTagElementClassRefAttributeTests,  xdoclet.modules.ojb.tests.IndexTagTests,  xdoclet.modules.ojb.tests.ReferenceTagDatabaseForeignkeyAttributeTests,  xdoclet.modules.ojb.tests.FieldTagPrimarykeyAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagAutoUpdateAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagIgnoreAttributeTests,  xdoclet.modules.ojb.tests.AnonymousFieldTagTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagRefreshAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagOrderbyAttributeTests,  xdoclet.modules.ojb.tests.ReferenceTagAutoUpdateAttributeTests,  xdoclet.modules.ojb.tests.ClassTagAttributesAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagAutoDeleteAttributeTests,  xdoclet.modules.ojb.tests.FieldTagUpdateLockAttributeTests,  xdoclet.modules.ojb.tests.ClassTagIsolationLevelAttributeTests,  xdoclet.modules.ojb.tests.ClassTagAcceptLocksAttributeTests,  xdoclet.modules.ojb.tests.ReferenceTagAttributesAttributeTests,  xdoclet.modules.ojb.tests.ClassTagSimpleTests,  xdoclet.modules.ojb.tests.ClassTagDocumentationAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagClassRefAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagColumnDocumentationAttributeTests,  xdoclet.modules.ojb.tests.FieldTagIdAttributeTests,  xdoclet.modules.ojb.tests.ClassTagIncludeInheritedAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagDatabaseForeignkeyAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagAccessAttributeTests,  xdoclet.modules.ojb.tests.CollectionTagOtmDependentAttributeTests,  xdoclet.modules.ojb.tests.CollectionTagOrderbyAttributeTests,  xdoclet.modules.ojb.tests.CollectionTagAutoUpdateAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagAttributesAttributeTests,  xdoclet.modules.ojb.tests.CollectionTagIndirectionTableAttributeTests,  xdoclet.modules.ojb.tests.ReferenceTagClassRefAttributeTests,  xdoclet.modules.ojb.tests.ClassTagGenerateTableInfoAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagQueryCustomizerAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagNullableAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagAutoIncrementAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagOtmDependentAttributeTests,  xdoclet.modules.ojb.tests.ClassTagProxyAttributeTests,  xdoclet.modules.ojb.tests.FieldTagAttributesAttributeTests,  xdoclet.modules.ojb.tests.CollectionTagAttributesAttributeTests,  xdoclet.modules.ojb.tests.ClassTagRowReaderAttributeTests,  xdoclet.modules.ojb.tests.CollectionTagDocumentationAttributeTests,  xdoclet.modules.ojb.tests.ReferenceTagProxyAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagColumnAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagSequenceNameAttributeTests,  xdoclet.modules.ojb.tests.NestedTagSimpleTests,  xdoclet.modules.ojb.tests.FieldTagConversionAttributeTests,  xdoclet.modules.ojb.tests.ModifyNestedTagSimpleTests,  xdoclet.modules.ojb.tests.ProcedureArgumentTagTests,  xdoclet.modules.ojb.tests.FieldTagPrecisionAndScaleAttributesTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagJdbcTypeAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagLockingAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagDocumentationAttributeTests,  xdoclet.modules.ojb.tests.FieldTagLockingAttributeTests,  xdoclet.modules.ojb.tests.ClassTagGenerateRepositoryInfoAttributeTests,  xdoclet.modules.ojb.tests.FieldTagAutoincrementAttributeTests,  xdoclet.modules.ojb.tests.FieldTagColumnAttributeTests,  xdoclet.modules.ojb.tests.InsertProcedureTagTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagProxyAttributeTests,  xdoclet.modules.ojb.tests.FieldTagDocumentationAttributeTests,  xdoclet.modules.ojb.tests.FieldTagColumnDocumentationAttributeTests,  xdoclet.modules.ojb.tests.ObjectCacheTagTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagSimpleTests,  xdoclet.modules.ojb.tests.FieldTagSequenceNameAttributeTests,  xdoclet.modules.ojb.tests.UpdateProcedureTagTests,  xdoclet.modules.ojb.tests.CollectionTagQueryCustomizerAttributeTests,  xdoclet.modules.ojb.tests.CollectionTagSimpleTests,  xdoclet.modules.ojb.tests.ReferenceTagOtmDependentAttributeTests,  xdoclet.modules.ojb.tests.ExtentClassTagTests,  xdoclet.modules.ojb.tests.CollectionTagAutoRetrieveAttributeTests,  xdoclet.modules.ojb.tests.CollectionTagRefreshAttributeTests,  xdoclet.modules.ojb.tests.ClassTagRefreshAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagConversionAttributeTests,  xdoclet.modules.ojb.tests.FieldTagNullableAttributeTests,  xdoclet.modules.ojb.tests.CollectionTagAutoDeleteAttributeTests,  xdoclet.modules.ojb.tests.ReferenceTagAutoDeleteAttributeTests,  xdoclet.modules.ojb.tests.CollectionTagForeignkeyAttributeTests,  xdoclet.modules.ojb.tests.ClassTagFactoryClassAndMethodAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagIdAttributeTests,  xdoclet.modules.ojb.tests.FieldTagNameAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagAutoRetrieveAttributeTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagElementClassRefAttributeTests,  xdoclet.modules.ojb.tests.CollectionTagIndirectionTablePrimarykeysAttributeTests,  xdoclet.modules.ojb.tests.FieldTagIndexedAttributeTests,  xdoclet.modules.ojb.tests.DeleteProcedureTagTests,  xdoclet.modules.ojb.tests.ClassTagTableDocumentationAttributeTests,  xdoclet.modules.ojb.tests.ClassTagTableAttributeTests,  xdoclet.modules.ojb.tests.FieldTagSimpleTests,  xdoclet.modules.ojb.tests.ModifyInheritedTagCollectionClassAttributeTests,  xdoclet.modules.ojb.tests.ClassTagDetermineExtendsAttributeTests,
OjbTestBase
public class OjbTestBase extends XDocletTestBase (Code)
Base class for tests for the Xdoclet OJB module.
author:
   Thomas Dudziak (tomdz@users.sourceforge.net)


Field Summary
final protected static  StringOJB_DEST_FILE
    
final protected static  StringPROPERTY_CHECKS
    
final protected static  StringPROPERTY_DATABASENAME
    
final protected static  StringPROPERTY_GENERATE_FOREIGNKEYS
    
final protected static  StringTORQUE_DEST_FILE
    

Constructor Summary
public  OjbTestBase(String name)
    

Method Summary
protected  voidassertEqualsOjbDescriptorFile(String expected, String value)
    
protected  voidassertEqualsTorqueSchemaFile(String expected, String value)
    
protected  StringcompressWhitespaces(String text)
     Helper method that compresses whitespaces, i.e.
protected  StringrunOjbXDoclet(String destFile)
    
protected  StringrunOjbXDoclet(String destFile, HashMap taskProps, HashMap subTaskProps)
    
protected  StringrunTorqueXDoclet(String destFile, String dbName)
    
protected  StringrunTorqueXDoclet(String destFile, HashMap taskProps, HashMap subTaskProps)
    

Field Detail
OJB_DEST_FILE
final protected static String OJB_DEST_FILE(Code)



PROPERTY_CHECKS
final protected static String PROPERTY_CHECKS(Code)



PROPERTY_DATABASENAME
final protected static String PROPERTY_DATABASENAME(Code)



PROPERTY_GENERATE_FOREIGNKEYS
final protected static String PROPERTY_GENERATE_FOREIGNKEYS(Code)



TORQUE_DEST_FILE
final protected static String TORQUE_DEST_FILE(Code)




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




Method Detail
assertEqualsOjbDescriptorFile
protected void assertEqualsOjbDescriptorFile(String expected, String value)(Code)



assertEqualsTorqueSchemaFile
protected void assertEqualsTorqueSchemaFile(String expected, String value)(Code)



compressWhitespaces
protected String compressWhitespaces(String text)(Code)
Helper method that compresses whitespaces, i.e. replaces all whitespaces with spaces and reduces space blocks to single spaces.
Parameters:
  text - The input text The text with whitespace compressed



runOjbXDoclet
protected String runOjbXDoclet(String destFile)(Code)



runOjbXDoclet
protected String runOjbXDoclet(String destFile, HashMap taskProps, HashMap subTaskProps)(Code)



runTorqueXDoclet
protected String runTorqueXDoclet(String destFile, String dbName)(Code)



runTorqueXDoclet
protected String runTorqueXDoclet(String destFile, HashMap taskProps, HashMap subTaskProps)(Code)



Methods inherited from xdoclet.junit.XDocletTestBase
protected void addClass(String name, String content)(Code)(Java Doc)
protected void clearSubTaskProperties()(Code)(Java Doc)
protected void clearTaskProperties()(Code)(Java Doc)
protected Object getTaskProperty(String propertyName)(Code)(Java Doc)
protected String runXDoclet()(Code)(Java Doc)
protected void setDestFile(String path)(Code)(Java Doc)
protected void setSubTaskName(String className)(Code)(Java Doc)
protected void setSubTaskProperty(String name, Object value)(Code)(Java Doc)
protected void setTaskName(String className)(Code)(Java Doc)
protected void setTaskProperty(String name, Object value)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.