Java Doc for MonitorTestCase.java in  » EJB-Server-JBoss-4.2.1 » jmx » test » compliance » monitor » 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 » EJB Server JBoss 4.2.1 » jmx » test.compliance.monitor 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


test.compliance.monitor.MonitorTestCase

MonitorTestCase
public class MonitorTestCase extends TestCase implements NotificationListener(Code)
Monitor Notification Tests
author:
   Adrian Brock.


Field Summary
 Monitormonitor
    
 ObjectNamemonitorName
    
 MonitorSupportmonitored
    
 ObjectNamemonitoredName
    
 ArrayListnotifications
    
 MBeanServerserver
    

Constructor Summary
public  MonitorTestCase(String s)
    

Method Summary
public  voidhandleNotification(Notification n, Object ignored)
    
public  voidtestCounterInvalidAttribute()
    
public  voidtestCounterInvalidAttributeNull()
    
public  voidtestCounterInvalidAttributeType()
    
public  voidtestCounterInvalidModulus()
    
public  voidtestCounterInvalidObjectName()
    
public  voidtestCounterInvalidOffset()
    
public  voidtestCounterInvalidThreshold()
    
public  voidtestCounterNotificationInfo()
    
public  voidtestCounterRuntimeError()
    
public  voidtestCounterWriteOnly()
    
public  voidtestDiffCounterThresholdExceededManyNoOffsetModulus()
    
public  voidtestDiffCounterThresholdExceededManyNoOffsetNoModulus()
    
public  voidtestDiffCounterThresholdExceededManyOffsetModulus()
    
public  voidtestDiffCounterThresholdExceededManyOffsetNoModulus()
    
public  voidtestDiffCounterThresholdExceededNoOffsetModulus()
    
public  voidtestDiffCounterThresholdExceededNoOffsetNoModulus()
    
public  voidtestDiffCounterThresholdExceededNoneNoOffsetModulus()
    
public  voidtestDiffCounterThresholdExceededNoneNoOffsetNoModulus()
    
public  voidtestDiffCounterThresholdExceededNoneOffsetModulus()
    
public  voidtestDiffCounterThresholdExceededNoneOffsetNoModulus()
    
public  voidtestDiffCounterThresholdExceededOffsetModulus()
    
public  voidtestDiffCounterThresholdExceededOffsetNoModulus()
    
public  voidtestDiffCounterThresholdNotExceededNoOffsetModulus()
    
public  voidtestDiffCounterThresholdNotExceededNoOffsetNoModulus()
    
public  voidtestDiffCounterThresholdNotExceededOffsetModulus()
    
public  voidtestDiffCounterThresholdNotExceededOffsetNoModulus()
    
public  voidtestGaugeInvalidAttribute()
    
public  voidtestGaugeInvalidAttributeNull()
    
public  voidtestGaugeInvalidAttributeType()
    
public  voidtestGaugeInvalidObjectName()
    
public  voidtestGaugeInvalidThreshold()
    
public  voidtestGaugeNotificationInfo()
    
public  voidtestGaugeRuntimeError()
    
public  voidtestGaugeWriteOnly()
    
public  voidtestNormalCounterThresholdExceededEarlyNoOffsetModulus()
    
public  voidtestNormalCounterThresholdExceededEarlyNoOffsetNoModulus()
    
public  voidtestNormalCounterThresholdExceededEarlyOffsetModulus()
    
public  voidtestNormalCounterThresholdExceededEarlyOffsetNoModulus()
    
public  voidtestNormalCounterThresholdExceededLateNoOffsetModulus()
    
public  voidtestNormalCounterThresholdExceededLateNoOffsetNoModulus()
    
public  voidtestNormalCounterThresholdExceededLateOffsetModulus()
    
public  voidtestNormalCounterThresholdExceededLateOffsetNoModulus()
    
public  voidtestNormalCounterThresholdExceededManyNoOffsetModulus()
    
public  voidtestNormalCounterThresholdExceededManyNoOffsetNoModulus()
    
public  voidtestNormalCounterThresholdExceededManyOffsetModulus()
    
public  voidtestNormalCounterThresholdExceededManyOffsetNoModulus()
    
public  voidtestNormalCounterThresholdExceededNoneNoOffsetModulus()
    
public  voidtestNormalCounterThresholdExceededNoneNoOffsetNoModulus()
    
public  voidtestNormalCounterThresholdExceededNoneOffsetModulus()
    
public  voidtestNormalCounterThresholdExceededNoneOffsetNoModulus()
    
public  voidtestNormalCounterThresholdNotExceededNoOffsetModulus()
    
public  voidtestNormalCounterThresholdNotExceededNoOffsetNoModulus()
    
public  voidtestNormalCounterThresholdNotExceededOffsetModulus()
    
public  voidtestNormalCounterThresholdNotExceededOffsetNoModulus()
    
public  voidtestNotificationTypes()
    
public  voidtestStringBoth()
    
public  voidtestStringBothMany()
    
public  voidtestStringDifferEarly()
    
public  voidtestStringDifferLate()
    
public  voidtestStringDifferManyEarly()
    
public  voidtestStringDifferManyLate()
    
public  voidtestStringInvalidAttribute()
    
public  voidtestStringInvalidAttributeNull()
    
public  voidtestStringInvalidAttributeType()
    
public  voidtestStringInvalidObjectName()
    
public  voidtestStringMatchEarly()
    
public  voidtestStringMatchLate()
    
public  voidtestStringMatchManyEarly()
    
public  voidtestStringMatchManyLate()
    
public  voidtestStringNever()
    
public  voidtestStringNotificationInfo()
    
public  voidtestStringRuntimeError()
    
public  voidtestStringWriteOnly()
    

Field Detail
monitor
Monitor monitor(Code)
The monitor



monitorName
ObjectName monitorName(Code)
The object name of the monitor service



monitored
MonitorSupport monitored(Code)
The monitored mbean



monitoredName
ObjectName monitoredName(Code)
The object name of the mbean monitored



notifications
ArrayList notifications(Code)
The notifications



server
MBeanServer server(Code)
The MBeanServer




Constructor Detail
MonitorTestCase
public MonitorTestCase(String s)(Code)
Construct the test




Method Detail
handleNotification
public void handleNotification(Notification n, Object ignored)(Code)
Handle the notification, just add it to the list



testCounterInvalidAttribute
public void testCounterInvalidAttribute() throws Exception(Code)
Test invalid attribute



testCounterInvalidAttributeNull
public void testCounterInvalidAttributeNull() throws Exception(Code)
Test invalid attribute



testCounterInvalidAttributeType
public void testCounterInvalidAttributeType() throws Exception(Code)
Test invalid attribute type



testCounterInvalidModulus
public void testCounterInvalidModulus() throws Exception(Code)
Test invalid threshold



testCounterInvalidObjectName
public void testCounterInvalidObjectName() throws Exception(Code)
Test invalid attribute type



testCounterInvalidOffset
public void testCounterInvalidOffset() throws Exception(Code)
Test invalid threshold



testCounterInvalidThreshold
public void testCounterInvalidThreshold() throws Exception(Code)
Test invalid threshold



testCounterNotificationInfo
public void testCounterNotificationInfo() throws Exception(Code)
Test the notification info of the counter



testCounterRuntimeError
public void testCounterRuntimeError() throws Exception(Code)
Test runtime error



testCounterWriteOnly
public void testCounterWriteOnly() throws Exception(Code)
Test write only attribute



testDiffCounterThresholdExceededManyNoOffsetModulus
public void testDiffCounterThresholdExceededManyNoOffsetModulus() throws Exception(Code)
Test difference counter threshold no offset modulus



testDiffCounterThresholdExceededManyNoOffsetNoModulus
public void testDiffCounterThresholdExceededManyNoOffsetNoModulus() throws Exception(Code)
Test difference counter threshold no offset no modulus



testDiffCounterThresholdExceededManyOffsetModulus
public void testDiffCounterThresholdExceededManyOffsetModulus() throws Exception(Code)
Test difference counter threshold offset modulus



testDiffCounterThresholdExceededManyOffsetNoModulus
public void testDiffCounterThresholdExceededManyOffsetNoModulus() throws Exception(Code)
Test difference counter threshold offset no modulus



testDiffCounterThresholdExceededNoOffsetModulus
public void testDiffCounterThresholdExceededNoOffsetModulus() throws Exception(Code)
Test difference counter threshold no offset modulus



testDiffCounterThresholdExceededNoOffsetNoModulus
public void testDiffCounterThresholdExceededNoOffsetNoModulus() throws Exception(Code)
Test difference counter threshold no offset no modulus



testDiffCounterThresholdExceededNoneNoOffsetModulus
public void testDiffCounterThresholdExceededNoneNoOffsetModulus() throws Exception(Code)
Test difference counter threshold no offset modulus



testDiffCounterThresholdExceededNoneNoOffsetNoModulus
public void testDiffCounterThresholdExceededNoneNoOffsetNoModulus() throws Exception(Code)
Test difference counter threshold no offset no modulus



testDiffCounterThresholdExceededNoneOffsetModulus
public void testDiffCounterThresholdExceededNoneOffsetModulus() throws Exception(Code)
Test difference counter threshold offset modulus



testDiffCounterThresholdExceededNoneOffsetNoModulus
public void testDiffCounterThresholdExceededNoneOffsetNoModulus() throws Exception(Code)
Test difference counter threshold offset no modulus



testDiffCounterThresholdExceededOffsetModulus
public void testDiffCounterThresholdExceededOffsetModulus() throws Exception(Code)
Test difference counter threshold offset modulus



testDiffCounterThresholdExceededOffsetNoModulus
public void testDiffCounterThresholdExceededOffsetNoModulus() throws Exception(Code)
Test difference counter threshold offset no modulus



testDiffCounterThresholdNotExceededNoOffsetModulus
public void testDiffCounterThresholdNotExceededNoOffsetModulus() throws Exception(Code)
Test difference counter threshold no offset modulus



testDiffCounterThresholdNotExceededNoOffsetNoModulus
public void testDiffCounterThresholdNotExceededNoOffsetNoModulus() throws Exception(Code)
Test difference counter threshold no offset no modulus



testDiffCounterThresholdNotExceededOffsetModulus
public void testDiffCounterThresholdNotExceededOffsetModulus() throws Exception(Code)
Test difference counter threshold offset modulus



testDiffCounterThresholdNotExceededOffsetNoModulus
public void testDiffCounterThresholdNotExceededOffsetNoModulus() throws Exception(Code)
Test difference counter threshold offset no modulus



testGaugeInvalidAttribute
public void testGaugeInvalidAttribute() throws Exception(Code)
Test invalid attribute



testGaugeInvalidAttributeNull
public void testGaugeInvalidAttributeNull() throws Exception(Code)
Test invalid attribute



testGaugeInvalidAttributeType
public void testGaugeInvalidAttributeType() throws Exception(Code)
Test invalid attribute type



testGaugeInvalidObjectName
public void testGaugeInvalidObjectName() throws Exception(Code)
Test invalid attribute type



testGaugeInvalidThreshold
public void testGaugeInvalidThreshold() throws Exception(Code)
Test invalid threshold



testGaugeNotificationInfo
public void testGaugeNotificationInfo() throws Exception(Code)
Test the notification info of the gauge



testGaugeRuntimeError
public void testGaugeRuntimeError() throws Exception(Code)
Test runtime error



testGaugeWriteOnly
public void testGaugeWriteOnly() throws Exception(Code)
Test write only



testNormalCounterThresholdExceededEarlyNoOffsetModulus
public void testNormalCounterThresholdExceededEarlyNoOffsetModulus() throws Exception(Code)
Test normal counter threshold no offset modulus



testNormalCounterThresholdExceededEarlyNoOffsetNoModulus
public void testNormalCounterThresholdExceededEarlyNoOffsetNoModulus() throws Exception(Code)
Test normal counter threshold no offset no modulus



testNormalCounterThresholdExceededEarlyOffsetModulus
public void testNormalCounterThresholdExceededEarlyOffsetModulus() throws Exception(Code)
Test normal counter threshold offset modulus



testNormalCounterThresholdExceededEarlyOffsetNoModulus
public void testNormalCounterThresholdExceededEarlyOffsetNoModulus() throws Exception(Code)
Test normal counter threshold offset no modulus



testNormalCounterThresholdExceededLateNoOffsetModulus
public void testNormalCounterThresholdExceededLateNoOffsetModulus() throws Exception(Code)
Test normal counter threshold no offset modulus



testNormalCounterThresholdExceededLateNoOffsetNoModulus
public void testNormalCounterThresholdExceededLateNoOffsetNoModulus() throws Exception(Code)
Test normal counter threshold no offset no modulus



testNormalCounterThresholdExceededLateOffsetModulus
public void testNormalCounterThresholdExceededLateOffsetModulus() throws Exception(Code)
Test normal counter threshold offset modulus



testNormalCounterThresholdExceededLateOffsetNoModulus
public void testNormalCounterThresholdExceededLateOffsetNoModulus() throws Exception(Code)
Test normal counter threshold offset no modulus



testNormalCounterThresholdExceededManyNoOffsetModulus
public void testNormalCounterThresholdExceededManyNoOffsetModulus() throws Exception(Code)
Test normal counter threshold no offset modulus



testNormalCounterThresholdExceededManyNoOffsetNoModulus
public void testNormalCounterThresholdExceededManyNoOffsetNoModulus() throws Exception(Code)
Test normal counter threshold no offset no modulus



testNormalCounterThresholdExceededManyOffsetModulus
public void testNormalCounterThresholdExceededManyOffsetModulus() throws Exception(Code)
Test normal counter threshold offset modulus



testNormalCounterThresholdExceededManyOffsetNoModulus
public void testNormalCounterThresholdExceededManyOffsetNoModulus() throws Exception(Code)
Test normal counter threshold offset no modulus



testNormalCounterThresholdExceededNoneNoOffsetModulus
public void testNormalCounterThresholdExceededNoneNoOffsetModulus() throws Exception(Code)
Test normal counter threshold no offset modulus



testNormalCounterThresholdExceededNoneNoOffsetNoModulus
public void testNormalCounterThresholdExceededNoneNoOffsetNoModulus() throws Exception(Code)
Test normal counter threshold no offset no modulus



testNormalCounterThresholdExceededNoneOffsetModulus
public void testNormalCounterThresholdExceededNoneOffsetModulus() throws Exception(Code)
Test normal counter threshold offset modulus



testNormalCounterThresholdExceededNoneOffsetNoModulus
public void testNormalCounterThresholdExceededNoneOffsetNoModulus() throws Exception(Code)
Test normal counter threshold offset no modulus



testNormalCounterThresholdNotExceededNoOffsetModulus
public void testNormalCounterThresholdNotExceededNoOffsetModulus() throws Exception(Code)
Test normal counter threshold no offset modulus



testNormalCounterThresholdNotExceededNoOffsetNoModulus
public void testNormalCounterThresholdNotExceededNoOffsetNoModulus() throws Exception(Code)
Test normal counter threshold no offset no modulus



testNormalCounterThresholdNotExceededOffsetModulus
public void testNormalCounterThresholdNotExceededOffsetModulus() throws Exception(Code)
Test normal counter threshold offset modulus



testNormalCounterThresholdNotExceededOffsetNoModulus
public void testNormalCounterThresholdNotExceededOffsetNoModulus() throws Exception(Code)
Test normal counter threshold offset no modulus



testNotificationTypes
public void testNotificationTypes()(Code)
Test notification types differ



testStringBoth
public void testStringBoth() throws Exception(Code)
Test a string differs and matches



testStringBothMany
public void testStringBothMany() throws Exception(Code)
Test a string differs and matches



testStringDifferEarly
public void testStringDifferEarly() throws Exception(Code)
Test a string differs



testStringDifferLate
public void testStringDifferLate() throws Exception(Code)
Test a string differs



testStringDifferManyEarly
public void testStringDifferManyEarly() throws Exception(Code)
Test a string differs many



testStringDifferManyLate
public void testStringDifferManyLate() throws Exception(Code)
Test a string differs many



testStringInvalidAttribute
public void testStringInvalidAttribute() throws Exception(Code)
Test invalid attribute



testStringInvalidAttributeNull
public void testStringInvalidAttributeNull() throws Exception(Code)
Test invalid attribute



testStringInvalidAttributeType
public void testStringInvalidAttributeType() throws Exception(Code)
Test invalid attribute type



testStringInvalidObjectName
public void testStringInvalidObjectName() throws Exception(Code)
Test invalid attribute type



testStringMatchEarly
public void testStringMatchEarly() throws Exception(Code)
Test a string matches



testStringMatchLate
public void testStringMatchLate() throws Exception(Code)
Test a string matches



testStringMatchManyEarly
public void testStringMatchManyEarly() throws Exception(Code)
Test a string matches



testStringMatchManyLate
public void testStringMatchManyLate() throws Exception(Code)
Test a string matches



testStringNever
public void testStringNever() throws Exception(Code)
Test a string nothing



testStringNotificationInfo
public void testStringNotificationInfo() throws Exception(Code)
Test the notification info of the string



testStringRuntimeError
public void testStringRuntimeError() throws Exception(Code)
Test runtime error



testStringWriteOnly
public void testStringWriteOnly() throws Exception(Code)
Test write only attribute



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