Java Doc for RiceTestCase.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » rice » 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 » ERP CRM Financial » Kuali Financial System » org.kuali.rice.test 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.kuali.rice.test.LoggableTestCase
   org.kuali.rice.test.RiceTestCase

All known Subclasses:   org.kuali.rice.testharness.KNSTestCase,  org.kuali.bus.test.KSBTestCase,  org.kuali.rice.test.RiceTestCaseTest,
RiceTestCase
abstract public class RiceTestCase extends LoggableTestCase (Code)
Useful superclass for all Workflow test cases. Handles setup of test utilities and a test environment. Configures the Spring test environment providing a template method for custom context files in test mode. Also provides a template method for running custom transactional setUp. Tear down handles automatic tear down of objects created inside the test environment.
author:
   Kuali Rice Team (kuali-rice@googlegroups.com)
since:
   0.9


Field Summary
protected static  booleanSUITE_LIFE_CYCLES_RAN
    


Method Summary
protected  voidafterRun()
    
protected  voidbeforeRun()
    
protected  StringdumpMemory()
    
abstract protected  List<String>getConfigLocations()
    
abstract protected  StringgetDerbySQLFileLocation()
    
abstract protected  StringgetModuleName()
     same as the module directory in the project.
protected  List<Lifecycle>getPerTestLifecycles()
    
protected  List<Lifecycle>getSuiteLifecycles()
    
protected  List<String>getTablesNotToClear()
    
protected  List<String>getTablesToClear()
    
protected  ConfiggetTestHarnessConfig()
    
public  SpringResourceLoadergetTestHarnessSpringResourceLoader()
    
protected  voidreport(String report)
    
protected  voidsetBaseDirSystemProperty(String moduleBaseDir)
     maven will set this property and find resources from the config based on it.
protected  voidsetModuleName(String moduleName)
    
public  voidsetUp()
    
protected  voidstartLifecycles(List<Lifecycle> lifecycles)
    
protected  voidstopLifecycles(List<Lifecycle> lifecycles)
    
public  voidtearDown()
    

Field Detail
SUITE_LIFE_CYCLES_RAN
protected static boolean SUITE_LIFE_CYCLES_RAN(Code)





Method Detail
afterRun
protected void afterRun()(Code)



beforeRun
protected void beforeRun()(Code)



dumpMemory
protected String dumpMemory()(Code)



getConfigLocations
abstract protected List<String> getConfigLocations()(Code)
List of config locations to add to this tests config location.



getDerbySQLFileLocation
abstract protected String getDerbySQLFileLocation()(Code)
Note: We may want to make this more automagical and base this off of convention from the module name Typical return value "classpath:db/derby/testharness.sql" location of sql file containing ddl for a derby db to be ranbefore start up.



getModuleName
abstract protected String getModuleName()(Code)
same as the module directory in the project. name of module that the tests located



getPerTestLifecycles
protected List<Lifecycle> getPerTestLifecycles()(Code)
Lifecycles ran every test run



getSuiteLifecycles
protected List<Lifecycle> getSuiteLifecycles()(Code)
Lifecycles run once during the suite



getTablesNotToClear
protected List<String> getTablesNotToClear()(Code)



getTablesToClear
protected List<String> getTablesToClear()(Code)



getTestHarnessConfig
protected Config getTestHarnessConfig() throws Exception(Code)



getTestHarnessSpringResourceLoader
public SpringResourceLoader getTestHarnessSpringResourceLoader()(Code)



report
protected void report(String report)(Code)



setBaseDirSystemProperty
protected void setBaseDirSystemProperty(String moduleBaseDir)(Code)
maven will set this property and find resources from the config based on it. This makes eclipse testing work because we have to put the basedir in our config files in order to find things when testing from maven



setModuleName
protected void setModuleName(String moduleName)(Code)



setUp
public void setUp() throws Exception(Code)



startLifecycles
protected void startLifecycles(List<Lifecycle> lifecycles) throws Exception(Code)



stopLifecycles
protected void stopLifecycles(List<Lifecycle> lifecycles) throws Exception(Code)



tearDown
public void tearDown() throws Exception(Code)



Fields inherited from org.kuali.rice.test.LoggableTestCase
final protected Logger log(Code)(Java Doc)

Methods inherited from org.kuali.rice.test.LoggableTestCase
public String getName()(Code)(Java Doc)
public void setName(String name)(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.