001: /*
002: * Copyright (C) The MX4J Contributors.
003: * All rights reserved.
004: *
005: * This software is distributed under the terms of the MX4J License version 1.0.
006: * See the terms of the MX4J License in the documentation provided with this software.
007: */
008:
009: package test.javax.management.compliance;
010:
011: import java.io.File;
012: import java.io.IOException;
013: import java.net.MalformedURLException;
014: import java.util.jar.JarFile;
015:
016: /**
017: * @version $Revision: 1.4 $
018: */
019: public abstract class JMXComplianceTestCase extends ComplianceTestCase {
020: public JMXComplianceTestCase(String s) {
021: super (s);
022: }
023:
024: protected ClassLoader createClassLoader()
025: throws MalformedURLException {
026: return createJMXRIWithTestsClassLoader();
027: }
028:
029: protected JarFile loadJar() throws IOException {
030: File jmxri = new File("dist/test/jmxri.jar");
031: if (!jmxri.exists())
032: fail("JMXRI jar is not available");
033: JarFile jmxriJar = new JarFile(jmxri);
034: return jmxriJar;
035: }
036:
037: public void test_AndQueryExp() throws Exception {
038: check("AndQueryExp");
039: }
040:
041: public void test_Attribute() throws Exception {
042: check("Attribute");
043: }
044:
045: public void test_AttributeChangeNotification() throws Exception {
046: check("AttributeChangeNotification");
047: }
048:
049: public void test_AttributeChangeNotificationFilter()
050: throws Exception {
051: check("AttributeChangeNotificationFilter");
052: }
053:
054: public void test_AttributeList() throws Exception {
055: check("AttributeList");
056: }
057:
058: public void test_AttributeNotFoundException() throws Exception {
059: check("AttributeNotFoundException");
060: }
061:
062: public void test_AttributeValueExp() throws Exception {
063: check("AttributeValueExp");
064: }
065:
066: public void test_BadAttributeValueExpException() throws Exception {
067: check("BadAttributeValueExpException");
068: }
069:
070: public void test_BadBinaryOpValueExpException() throws Exception {
071: check("BadBinaryOpValueExpException");
072: }
073:
074: public void test_BadStringOperationException() throws Exception {
075: check("BadStringOperationException");
076: }
077:
078: public void test_BetweenQueryExp() throws Exception {
079: check("BetweenQueryExp");
080: }
081:
082: public void test_BinaryOpValueExp() throws Exception {
083: check("BinaryOpValueExp");
084: }
085:
086: public void test_BinaryRelQueryExp() throws Exception {
087: check("BinaryRelQueryExp");
088: }
089:
090: public void test_BooleanValueExp() throws Exception {
091: check("BooleanValueExp");
092: }
093:
094: public void test_ClassAttributeValueExp() throws Exception {
095: check("ClassAttributeValueExp");
096: }
097:
098: public void test_DefaultLoaderRepository() throws Exception {
099: check("DefaultLoaderRepository");
100: }
101:
102: public void test_Descriptor() throws Exception {
103: check("Descriptor");
104: }
105:
106: public void test_DescriptorAccess() throws Exception {
107: check("DescriptorAccess");
108: }
109:
110: public void test_DynamicMBean() throws Exception {
111: check("DynamicMBean");
112: }
113:
114: public void test_InQueryExp() throws Exception {
115: check("InQueryExp");
116: }
117:
118: public void test_InstanceAlreadyExistsException() throws Exception {
119: check("InstanceAlreadyExistsException");
120: }
121:
122: public void test_InstanceNotFoundException() throws Exception {
123: check("InstanceNotFoundException");
124: }
125:
126: public void test_IntrospectionException() throws Exception {
127: check("IntrospectionException");
128: }
129:
130: public void test_InvalidApplicationException() throws Exception {
131: check("InvalidApplicationException");
132: }
133:
134: public void test_InvalidAttributeValueException() throws Exception {
135: check("InvalidAttributeValueException");
136: }
137:
138: public void test_JMException() throws Exception {
139: check("JMException");
140: }
141:
142: public void test_JMRuntimeException() throws Exception {
143: check("JMRuntimeException");
144: }
145:
146: public void test_ListenerNotFoundException() throws Exception {
147: check("ListenerNotFoundException");
148: }
149:
150: public void test_MalformedObjectNameException() throws Exception {
151: check("MalformedObjectNameException");
152: }
153:
154: public void test_MatchQueryExp() throws Exception {
155: check("MatchQueryExp");
156: }
157:
158: public void test_MBeanAttributeInfo() throws Exception {
159: check("MBeanAttributeInfo");
160: }
161:
162: public void test_MBeanConstructorInfo() throws Exception {
163: check("MBeanConstructorInfo");
164: }
165:
166: public void test_MBeanException() throws Exception {
167: check("MBeanException");
168: }
169:
170: public void test_MBeanFeatureInfo() throws Exception {
171: check("MBeanFeatureInfo");
172: }
173:
174: public void test_MBeanInfo() throws Exception {
175: check("MBeanInfo");
176: }
177:
178: public void test_MBeanNotificationInfo() throws Exception {
179: check("MBeanNotificationInfo");
180: }
181:
182: public void test_MBeanOperationInfo() throws Exception {
183: check("MBeanOperationInfo");
184: }
185:
186: public void test_MBeanParameterInfo() throws Exception {
187: check("MBeanParameterInfo");
188: }
189:
190: public void test_MBeanPermission() throws Exception {
191: check("MBeanPermission");
192: }
193:
194: public void test_MBeanRegistration() throws Exception {
195: check("MBeanRegistration");
196: }
197:
198: public void test_MBeanRegistrationException() throws Exception {
199: check("MBeanRegistrationException");
200: }
201:
202: public void test_MBeanServer() throws Exception {
203: check("MBeanServer");
204: }
205:
206: public void test_MBeanServerBuilder() throws Exception {
207: check("MBeanServerBuilder");
208: }
209:
210: public void test_MBeanServerConnection() throws Exception {
211: check("MBeanServerConnection");
212: }
213:
214: public void test_MBeanServerDelegate() throws Exception {
215: check("MBeanServerDelegate");
216: }
217:
218: public void test_MBeanServerDelegateMBean() throws Exception {
219: check("MBeanServerDelegateMBean");
220: }
221:
222: public void test_MBeanServerFactory() throws Exception {
223: check("MBeanServerFactory");
224: }
225:
226: public void test_MBeanServerInvocationHandler() throws Exception {
227: check("MBeanServerInvocationHandler");
228: }
229:
230: public void test_MBeanServerNotification() throws Exception {
231: check("MBeanServerNotification");
232: }
233:
234: public void test_MBeanServerPermission() throws Exception {
235: check("MBeanServerPermission");
236: }
237:
238: public void test_MBeanTrustPermission() throws Exception {
239: check("MBeanTrustPermission");
240: }
241:
242: public void test_NotCompliantMBeanException() throws Exception {
243: check("NotCompliantMBeanException");
244: }
245:
246: public void test_Notification() throws Exception {
247: check("Notification");
248: }
249:
250: public void test_NotificationBroadcaster() throws Exception {
251: check("NotificationBroadcaster");
252: }
253:
254: public void test_NotificationBroadcasterSupport() throws Exception {
255: check("NotificationBroadcasterSupport");
256: }
257:
258: public void test_NotificationEmitter() throws Exception {
259: check("NotificationEmitter");
260: }
261:
262: public void test_NotificationFilter() throws Exception {
263: check("NotificationFilter");
264: }
265:
266: public void test_NotificationFilterSupport() throws Exception {
267: check("NotificationFilterSupport");
268: }
269:
270: public void test_NotificationListener() throws Exception {
271: check("NotificationListener");
272: }
273:
274: public void test_NotQueryExp() throws Exception {
275: check("NotQueryExp");
276: }
277:
278: public void test_NumericValueExp() throws Exception {
279: check("NumericValueExp");
280: }
281:
282: public void test_ObjectInstance() throws Exception {
283: check("ObjectInstance");
284: }
285:
286: public void test_ObjectName() throws Exception {
287: check("ObjectName");
288: }
289:
290: public void test_OperationsException() throws Exception {
291: check("OperationsException");
292: }
293:
294: public void test_OrQueryExp() throws Exception {
295: check("OrQueryExp");
296: }
297:
298: public void test_PersistentMBean() throws Exception {
299: check("PersistentMBean");
300: }
301:
302: public void test_QualifiedAttributeValueExp() throws Exception {
303: check("QualifiedAttributeValueExp");
304: }
305:
306: public void test_Query() throws Exception {
307: check("Query");
308: }
309:
310: public void test_QueryEval() throws Exception {
311: check("QueryEval");
312: }
313:
314: public void test_QueryExp() throws Exception {
315: check("QueryExp");
316: }
317:
318: public void test_ReflectionException() throws Exception {
319: check("ReflectionException");
320: }
321:
322: public void test_RuntimeErrorException() throws Exception {
323: check("RuntimeErrorException");
324: }
325:
326: public void test_RuntimeMBeanException() throws Exception {
327: check("RuntimeMBeanException");
328: }
329:
330: public void test_RuntimeOperationsException() throws Exception {
331: check("RuntimeOperationsException");
332: }
333:
334: public void test_ServiceNotFoundException() throws Exception {
335: check("ServiceNotFoundException");
336: }
337:
338: public void test_StandardMBean() throws Exception {
339: check("StandardMBean");
340: }
341:
342: public void test_StringValueExp() throws Exception {
343: check("StringValueExp");
344: }
345:
346: public void test_ValueExp() throws Exception {
347: check("ValueExp");
348: }
349:
350: public void test_loading_ClassLoaderRepository() throws Exception {
351: check("loading.ClassLoaderRepository");
352: }
353:
354: public void test_loading_DefaultLoaderRepository() throws Exception {
355: check("loading.DefaultLoaderRepository");
356: }
357:
358: public void test_loading_MLet() throws Exception {
359: check("loading.MLet");
360: }
361:
362: public void test_loading_MLetMBean() throws Exception {
363: check("loading.MLetMBean");
364: }
365:
366: public void test_loading_PrivateClassLoader() throws Exception {
367: check("loading.PrivateClassLoader");
368: }
369:
370: public void test_loading_PrivateMLet() throws Exception {
371: check("loading.PrivateMLet");
372: }
373:
374: public void test_modelmbean_DescriptorSupport() throws Exception {
375: check("modelmbean.DescriptorSupport");
376: }
377:
378: public void test_modelmbean_InvalidTargetObjectTypeException()
379: throws Exception {
380: check("modelmbean.InvalidTargetObjectTypeException");
381: }
382:
383: public void test_modelmbean_ModelMBean() throws Exception {
384: check("modelmbean.ModelMBean");
385: }
386:
387: public void test_modelmbean_ModelMBeanAttributeInfo()
388: throws Exception {
389: check("modelmbean.ModelMBeanAttributeInfo");
390: }
391:
392: public void test_modelmbean_ModelMBeanConstructorInfo()
393: throws Exception {
394: check("modelmbean.ModelMBeanConstructorInfo");
395: }
396:
397: public void test_modelmbean_ModelMBeanInfo() throws Exception {
398: check("modelmbean.ModelMBeanInfo");
399: }
400:
401: public void test_modelmbean_ModelMBeanInfoSupport()
402: throws Exception {
403: check("modelmbean.ModelMBeanInfoSupport");
404: }
405:
406: public void test_modelmbean_ModelMBeanNotificationBroadcaster()
407: throws Exception {
408: check("modelmbean.ModelMBeanNotificationBroadcaster");
409: }
410:
411: public void test_modelmbean_ModelMBeanNotificationInfo()
412: throws Exception {
413: check("modelmbean.ModelMBeanNotificationInfo");
414: }
415:
416: public void test_modelmbean_ModelMBeanOperationInfo()
417: throws Exception {
418: check("modelmbean.ModelMBeanOperationInfo");
419: }
420:
421: public void test_modelmbean_RequiredModelMBean() throws Exception {
422: check("modelmbean.RequiredModelMBean");
423: }
424:
425: public void test_modelmbean_XMLParseException() throws Exception {
426: check("modelmbean.XMLParseException");
427: }
428:
429: public void test_monitor_CounterMonitor() throws Exception {
430: check("monitor.CounterMonitor");
431: }
432:
433: public void test_monitor_CounterMonitorMBean() throws Exception {
434: check("monitor.CounterMonitorMBean");
435: }
436:
437: public void test_monitor_GaugeMonitor() throws Exception {
438: check("monitor.GaugeMonitor");
439: }
440:
441: public void test_monitor_GaugeMonitorMBean() throws Exception {
442: check("monitor.GaugeMonitorMBean");
443: }
444:
445: public void test_monitor_Monitor() throws Exception {
446: check("monitor.Monitor");
447: }
448:
449: public void test_monitor_MonitorMBean() throws Exception {
450: check("monitor.MonitorMBean");
451: }
452:
453: public void test_monitor_StringMonitor() throws Exception {
454: check("monitor.StringMonitor");
455: }
456:
457: public void test_monitor_StringMonitorMBean() throws Exception {
458: check("monitor.StringMonitorMBean");
459: }
460:
461: public void test_monitor_MonitorNotification() throws Exception {
462: check("monitor.MonitorNotification");
463: }
464:
465: public void test_monitor_MonitorSettingException() throws Exception {
466: check("monitor.MonitorSettingException");
467: }
468:
469: public void test_openmbean_ArrayType() throws Exception {
470: check("openmbean.ArrayType");
471: }
472:
473: public void test_openmbean_CompositeData() throws Exception {
474: check("openmbean.CompositeData");
475: }
476:
477: public void test_openmbean_CompositeDataSupport() throws Exception {
478: check("openmbean.CompositeDataSupport");
479: }
480:
481: public void test_openmbean_CompositeType() throws Exception {
482: check("openmbean.CompositeType");
483: }
484:
485: public void test_openmbean_InvalidKeyException() throws Exception {
486: check("openmbean.InvalidKeyException");
487: }
488:
489: public void test_openmbean_InvalidOpenTypeException()
490: throws Exception {
491: check("openmbean.InvalidOpenTypeException");
492: }
493:
494: public void test_openmbean_KeyAlreadyExistsException()
495: throws Exception {
496: check("openmbean.KeyAlreadyExistsException");
497: }
498:
499: public void test_openmbean_OpenDataException() throws Exception {
500: check("openmbean.OpenDataException");
501: }
502:
503: public void test_openmbean_OpenMBeanAttributeInfo()
504: throws Exception {
505: check("openmbean.OpenMBeanAttributeInfo");
506: }
507:
508: public void test_openmbean_OpenMBeanAttributeInfoSupport()
509: throws Exception {
510: check("openmbean.OpenMBeanAttributeInfoSupport");
511: }
512:
513: public void test_openmbean_OpenMBeanConstructorInfo()
514: throws Exception {
515: check("openmbean.OpenMBeanConstructorInfo");
516: }
517:
518: public void test_openmbean_OpenMBeanConstructorInfoSupport()
519: throws Exception {
520: check("openmbean.OpenMBeanConstructorInfoSupport");
521: }
522:
523: public void test_openmbean_OpenMBeanInfo() throws Exception {
524: check("openmbean.OpenMBeanInfo");
525: }
526:
527: public void test_openmbean_OpenMBeanInfoSupport() throws Exception {
528: check("openmbean.OpenMBeanInfoSupport");
529: }
530:
531: public void test_openmbean_OpenMBeanOperationInfo()
532: throws Exception {
533: check("openmbean.OpenMBeanOperationInfo");
534: }
535:
536: public void test_openmbean_OpenMBeanOperationInfoSupport()
537: throws Exception {
538: check("openmbean.OpenMBeanOperationInfoSupport");
539: }
540:
541: public void test_openmbean_OpenMBeanParameterInfo()
542: throws Exception {
543: check("openmbean.OpenMBeanParameterInfo");
544: }
545:
546: public void test_openmbean_OpenMBeanParameterInfoSupport()
547: throws Exception {
548: check("openmbean.OpenMBeanParameterInfoSupport");
549: }
550:
551: public void test_openmbean_OpenType() throws Exception {
552: check("openmbean.OpenType");
553: }
554:
555: public void test_openmbean_SimpleType() throws Exception {
556: check("openmbean.SimpleType");
557: }
558:
559: public void test_openmbean_TabularData() throws Exception {
560: check("openmbean.TabularData");
561: }
562:
563: public void test_openmbean_TabularDataSupport() throws Exception {
564: check("openmbean.TabularDataSupport");
565: }
566:
567: public void test_openmbean_TabularType() throws Exception {
568: check("openmbean.TabularType");
569: }
570:
571: public void test_relation_InvalidRelationIdException()
572: throws Exception {
573: check("relation.InvalidRelationIdException");
574: }
575:
576: public void test_relation_InvalidRelationServiceException()
577: throws Exception {
578: check("relation.InvalidRelationServiceException");
579: }
580:
581: public void test_relation_InvalidRelationTypeException()
582: throws Exception {
583: check("relation.InvalidRelationTypeException");
584: }
585:
586: public void test_relation_InvalidRoleInfoException()
587: throws Exception {
588: check("relation.InvalidRoleInfoException");
589: }
590:
591: public void test_relation_InvalidRoleValueException()
592: throws Exception {
593: check("relation.InvalidRoleValueException");
594: }
595:
596: public void test_relation_MBeanServerNotificationFilter()
597: throws Exception {
598: check("relation.MBeanServerNotificationFilter");
599: }
600:
601: public void test_relation_Relation() throws Exception {
602: check("relation.Relation");
603: }
604:
605: public void test_relation_RelationException() throws Exception {
606: check("relation.RelationException");
607: }
608:
609: public void test_relation_RelationNotFoundException()
610: throws Exception {
611: check("relation.RelationNotFoundException");
612: }
613:
614: public void test_relation_RelationNotification() throws Exception {
615: check("relation.RelationNotification");
616: }
617:
618: public void test_relation_RelationService() throws Exception {
619: check("relation.RelationService");
620: }
621:
622: public void test_relation_RelationServiceMBean() throws Exception {
623: check("relation.RelationServiceMBean");
624: }
625:
626: public void test_relation_RelationServiceNotRegisteredException()
627: throws Exception {
628: check("relation.RelationServiceNotRegisteredException");
629: }
630:
631: public void test_relation_RelationSupport() throws Exception {
632: check("relation.RelationSupport");
633: }
634:
635: public void test_relation_RelationSupportMBean() throws Exception {
636: check("relation.RelationSupportMBean");
637: }
638:
639: public void test_relation_RelationType() throws Exception {
640: check("relation.RelationType");
641: }
642:
643: public void test_relation_RelationTypeNotFoundException()
644: throws Exception {
645: check("relation.RelationTypeNotFoundException");
646: }
647:
648: public void test_relation_RelationTypeSupport() throws Exception {
649: check("relation.RelationTypeSupport");
650: }
651:
652: public void test_relation_Role() throws Exception {
653: check("relation.Role");
654: }
655:
656: public void test_relation_RoleInfo() throws Exception {
657: check("relation.RoleInfo");
658: }
659:
660: public void test_relation_RoleInfoNotFoundException()
661: throws Exception {
662: check("relation.RoleInfoNotFoundException");
663: }
664:
665: public void test_relation_RoleList() throws Exception {
666: check("relation.RoleList");
667: }
668:
669: public void test_relation_RoleNotFoundException() throws Exception {
670: check("relation.RoleNotFoundException");
671: }
672:
673: public void test_relation_RoleResult() throws Exception {
674: check("relation.RoleResult");
675: }
676:
677: public void test_relation_RoleStatus() throws Exception {
678: check("relation.RoleStatus");
679: }
680:
681: public void test_relation_RoleUnresolved() throws Exception {
682: check("relation.RoleUnresolved");
683: }
684:
685: public void test_relation_RoleUnresolvedList() throws Exception {
686: check("relation.RoleUnresolvedList");
687: }
688:
689: public void test_timer_Timer() throws Exception {
690: check("timer.Timer");
691: }
692:
693: public void test_timer_TimerMBean() throws Exception {
694: check("timer.TimerMBean");
695: }
696:
697: public void test_timer_TimerAlarmClockNotification()
698: throws Exception {
699: check("timer.TimerAlarmClockNotification");
700: }
701:
702: public void test_timer_TimerNotification() throws Exception {
703: check("timer.TimerNotification");
704: }
705: }
|