Java Doc for TestLevel.java in  » Development » Monolog » org » objectweb » util » monolog » 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 » Development » Monolog » org.objectweb.util.monolog 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.util.monolog.TestLevel

TestLevel
public class TestLevel extends TestCase (Code)
It verifies a Level implementation and a LevelFactory implementation.
author:
   Sebastien Chassande-Barrioz


Field Summary
final public static  String[]SETTER_METHODS
     This constant field contains the list of the setter name needed to initialize this class.
protected  LevelFactorylf
    

Constructor Summary
public  TestLevel()
    

Method Summary
public static  TestSuitegetTestSuite(String lfcn)
    
public static  voidmain(String args)
     For running the TestLevel suite standalone.
public  voidsetLevelFactoryClassName(String lfcn)
     It assigns the LevelFactory class name.
public  voidtestInterLevelDef()
    
public  voidtestInterLevelDefByMinus()
    
public  voidtestInterLevelDefWithFigures()
    
public  voidtestInterLevelDefWithOther()
    
public  voidtestInterLevelJustNb()
     This method tests if it is possible to define a LevelConf with just a number.
public  voidtestInterLevelJustOther()
     This method tests if it is possible to define a LevelConf with just an other level.
public  voidtestInterLevelWithLowerCase()
    

Field Detail
SETTER_METHODS
final public static String[] SETTER_METHODS(Code)
This constant field contains the list of the setter name needed to initialize this class.



lf
protected LevelFactory lf(Code)




Constructor Detail
TestLevel
public TestLevel()(Code)




Method Detail
getTestSuite
public static TestSuite getTestSuite(String lfcn)(Code)



main
public static void main(String args)(Code)
For running the TestLevel suite standalone. A particular TestSuite is used to initialized the class instance by setter methods. One parameter is required:
  • a LevelFactory class name



setLevelFactoryClassName
public void setLevelFactoryClassName(String lfcn)(Code)
It assigns the LevelFactory class name. This method tries to get an instance with this class name.



testInterLevelDef
public void testInterLevelDef()(Code)
This method tests if it is possible to define a LevelConf with a predefined level and the + operator: DEBUG + 1



testInterLevelDefByMinus
public void testInterLevelDefByMinus()(Code)
This method tests if it is possible to define a LevelConf with a predefined level and the minus operator: DEBUG + 1



testInterLevelDefWithFigures
public void testInterLevelDefWithFigures()(Code)
This method tests if it is possible to define a LevelConf with a predefined level, the + operator and a number with several figures: DEBUG + 156



testInterLevelDefWithOther
public void testInterLevelDefWithOther()(Code)
This method tests if it is possible to define a LevelConf with an other level and the + operator:
  • MY_LEVEL = DEBUG + 1
  • MY_LEVEL2 = MY_LEVEL + 1



testInterLevelJustNb
public void testInterLevelJustNb()(Code)
This method tests if it is possible to define a LevelConf with just a number.



testInterLevelJustOther
public void testInterLevelJustOther()(Code)
This method tests if it is possible to define a LevelConf with just an other level.



testInterLevelWithLowerCase
public void testInterLevelWithLowerCase()(Code)
This method tests if it is possible to define a LevelConf with a predefined level witten with a combinaison of lower case and upper case and the + operator: InFO + 1



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