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


org.kuali.rice.testharness.KNSTestCase
   org.kuali.test.KNSTestBase

All known Subclasses:   org.kuali.core.lookup.KualiLookupableTest,  org.kuali.core.datadictionary.validation.fieldlevel.FixedPointValidationPatternTest,  org.kuali.core.datadictionary.DataDictionaryBuilderTest,  org.kuali.core.datadictionary.DataDictionaryBuilder_TransactionalDocumentTest,  org.kuali.core.datadictionary.validation.charlevel.NumericValidationPatternTest,  org.kuali.core.inquiry.KualiInquirableTest,  org.kuali.core.datadictionary.exporter.BusinessObjectEntryMapperTest,  org.kuali.core.datadictionary.validation.fieldlevel.ZipcodeValidationPatternTest,  org.kuali.core.datadictionary.validation.fieldlevel.JavaClassValidationPatternTest,  org.kuali.core.datadictionary.ValidationCompletionUtilsTest,  org.kuali.core.datadictionary.validation.fieldlevel.FloatingPointValidationPatternTest,  org.kuali.core.datadictionary.validation.fieldlevel.DateValidationPatternTest,  org.kuali.core.datadictionary.DataDictionaryBuilder_BusinessObjectTest,  org.kuali.core.datadictionary.validation.charlevel.AlphaNumericValidationPatternTest,  org.kuali.core.datadictionary.validation.charlevel.CharsetValidationPatternTest,  org.kuali.core.authorization.AuthorizationStoreTest,  org.kuali.core.document.MaintenanceDocumentTest,  org.kuali.core.datadictionary.validation.fieldlevel.YearValidationPatternTest,  org.kuali.core.datadictionary.exporter.TransactionalDocumentEntryMapperTest,  org.kuali.core.datadictionary.validation.fieldlevel.MonthValidationPatternTest,  org.kuali.core.datadictionary.ExtensionAttributeTest,  org.kuali.core.document.DocumentAuthorizerBaseTest,  org.kuali.core.datadictionary.validation.charlevel.AnyCharacterValidationPatternTest,  org.kuali.core.datadictionary.DataDictionaryBuilder_MaintenanceDocumentTest,  org.kuali.core.datadictionary.validation.fieldlevel.EmailAddressValidationPatternTest,  org.kuali.core.datadictionary.DataDictionaryLazyLoadingTest,  org.kuali.core.datadictionary.validation.charlevel.AlphaValidationPatternTest,  org.kuali.core.datadictionary.exporter.MaintenanceDocumentEntryMapperTest,
KNSTestBase
abstract public class KNSTestBase extends KNSTestCase implements KNSTestConstants(Code)
This class is the superclass for all test cases which may require the use of services, or datasources, or any of the other expensive/time-consuming infrastructure.

For test methods or classes with the RelatesTo annotation, this class also wraps any test errors or failures with a notice that the listed JIRA issues are related. This is to help developers see on test reports what work may be in progress or recently done for this problem. It will help distinguish tests which have already been investigated from ones which still need to be. Test errors before the setUp method, e.g., in connecting to the database to start a test transaction or to Workflow for a user session, are not wrapped with these notices. Tests not extending KualiTestBase also do not get these notices. For the sake of speed, the current JIRA status of the related issues are not checked. The original Throwable is the cause of the wrapper, so it appears next in the stacktrace on the test report.

If the system property is set, then this class passes (without running its contents) any test that RelatesTo a JIRA issue that is currently open or in-progress or reopened. This is an alternative to org.kuali.test.suite.OpenOrInProgressOrReopenedSuite for Anthill to retain the same format of its test report while not revealing any failures of such tests. When using this system property, keep in mind that it takes well over a minute to get the list of open issues from JIRA. The list is cached statically, so it's insignificant to add a minute or two to the time it takes for the whole Anthill build. But, developers will probably not want to add this system property to their own environments, because of this delay and so that they can still work on those tests.
See Also:   KNSWithTestSpringContext



Field Summary
final public static  StringSKIP_OPEN_OR_IN_PROGRESS_OR_REOPENED_JIRA_ISSUES
    


Method Summary
protected  voidresetLogLevels()
     Restores the logging-levels changed through calls to setLogLevel to their original values.
protected  voidsetLogLevel(String loggerName, Level newLevel)
     Changes the logging-level associated with the given loggerName to the given level.
public  voidsetUp()
    
public  voidtearDown()
    

Field Detail
SKIP_OPEN_OR_IN_PROGRESS_OR_REOPENED_JIRA_ISSUES
final public static String SKIP_OPEN_OR_IN_PROGRESS_OR_REOPENED_JIRA_ISSUES(Code)





Method Detail
resetLogLevels
protected void resetLogLevels()(Code)
Restores the logging-levels changed through calls to setLogLevel to their original values.



setLogLevel
protected void setLogLevel(String loggerName, Level newLevel)(Code)
Changes the logging-level associated with the given loggerName to the given level. The original logging-level is saved, and will be automatically restored at the end of each test.
Parameters:
  loggerName - name of the logger whose level to change
Parameters:
  newLevel - the level to change to



setUp
public void setUp() throws Exception(Code)



tearDown
public void tearDown() throws Exception(Code)



Methods inherited from org.kuali.rice.testharness.KNSTestCase
protected List<String> getConfigLocations()(Code)(Java Doc)
protected String getContextName()(Code)(Java Doc)
protected String getDerbySQLFileLocation()(Code)(Java Doc)
protected String getModuleName()(Code)(Java Doc)
public List<Lifecycle> getPerTestLifecycles()(Code)(Java Doc)
protected int getPort()(Code)(Java Doc)
protected String getRelativeWebappRoot()(Code)(Java Doc)
protected String getSqlDelimiter()(Code)(Java Doc)
protected String getSqlFilename()(Code)(Java Doc)
protected List<Lifecycle> getSuiteLifecycles()(Code)(Java Doc)
protected String getTestConfigFilename()(Code)(Java Doc)
protected String getXmlFilename()(Code)(Java Doc)
protected void setContextName(String contextName)(Code)(Java Doc)
protected void setRelativeWebappRoot(String relativeWebappRoot)(Code)(Java Doc)
protected void setSqlDelimiter(String sqlDelimiter)(Code)(Java Doc)
protected void setSqlFilename(String sqlFilename)(Code)(Java Doc)
protected void setTestConfigFilename(String testConfigFilename)(Code)(Java Doc)
protected void setXmlFilename(String xmlFilename)(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.