1 8 9 package test.javax.management.compliance; 10 11 import java.io.File ; 12 import java.io.IOException ; 13 import java.net.MalformedURLException ; 14 import java.util.jar.JarFile ; 15 16 19 public abstract class JMXComplianceTestCase extends ComplianceTestCase 20 { 21 public JMXComplianceTestCase(String s) 22 { 23 super(s); 24 } 25 26 protected ClassLoader createClassLoader() throws MalformedURLException  27 { 28 return createJMXRIWithTestsClassLoader(); 29 } 30 31 protected JarFile loadJar() throws IOException  32 { 33 File jmxri = new File ("dist/test/jmxri.jar"); 34 if (!jmxri.exists()) fail("JMXRI jar is not available"); 35 JarFile jmxriJar = new JarFile (jmxri); 36 return jmxriJar; 37 } 38 39 public void test_AndQueryExp() throws Exception  40 { 41 check("AndQueryExp"); 42 } 43 44 public void test_Attribute() throws Exception  45 { 46 check("Attribute"); 47 } 48 49 public void test_AttributeChangeNotification() throws Exception  50 { 51 check("AttributeChangeNotification"); 52 } 53 54 public void test_AttributeChangeNotificationFilter() throws Exception  55 { 56 check("AttributeChangeNotificationFilter"); 57 } 58 59 public void test_AttributeList() throws Exception  60 { 61 check("AttributeList"); 62 } 63 64 public void test_AttributeNotFoundException() throws Exception  65 { 66 check("AttributeNotFoundException"); 67 } 68 69 public void test_AttributeValueExp() throws Exception  70 { 71 check("AttributeValueExp"); 72 } 73 74 public void test_BadAttributeValueExpException() throws Exception  75 { 76 check("BadAttributeValueExpException"); 77 } 78 79 public void test_BadBinaryOpValueExpException() throws Exception  80 { 81 check("BadBinaryOpValueExpException"); 82 } 83 84 public void test_BadStringOperationException() throws Exception  85 { 86 check("BadStringOperationException"); 87 } 88 89 public void test_BetweenQueryExp() throws Exception  90 { 91 check("BetweenQueryExp"); 92 } 93 94 public void test_BinaryOpValueExp() throws Exception  95 { 96 check("BinaryOpValueExp"); 97 } 98 99 public void test_BinaryRelQueryExp() throws Exception  100 { 101 check("BinaryRelQueryExp"); 102 } 103 104 public void test_BooleanValueExp() throws Exception  105 { 106 check("BooleanValueExp"); 107 } 108 109 public void test_ClassAttributeValueExp() throws Exception  110 { 111 check("ClassAttributeValueExp"); 112 } 113 114 public void test_DefaultLoaderRepository() throws Exception  115 { 116 check("DefaultLoaderRepository"); 117 } 118 119 public void test_Descriptor() throws Exception  120 { 121 check("Descriptor"); 122 } 123 124 public void test_DescriptorAccess() throws Exception  125 { 126 check("DescriptorAccess"); 127 } 128 129 public void test_DynamicMBean() throws Exception  130 { 131 check("DynamicMBean"); 132 } 133 134 public void test_InQueryExp() throws Exception  135 { 136 check("InQueryExp"); 137 } 138 139 public void test_InstanceAlreadyExistsException() throws Exception  140 { 141 check("InstanceAlreadyExistsException"); 142 } 143 144 public void test_InstanceNotFoundException() throws Exception  145 { 146 check("InstanceNotFoundException"); 147 } 148 149 public void test_IntrospectionException() throws Exception  150 { 151 check("IntrospectionException"); 152 } 153 154 public void test_InvalidApplicationException() throws Exception  155 { 156 check("InvalidApplicationException"); 157 } 158 159 public void test_InvalidAttributeValueException() throws Exception  160 { 161 check("InvalidAttributeValueException"); 162 } 163 164 public void test_JMException() throws Exception  165 { 166 check("JMException"); 167 } 168 169 public void test_JMRuntimeException() throws Exception  170 { 171 check("JMRuntimeException"); 172 } 173 174 public void test_ListenerNotFoundException() throws Exception  175 { 176 check("ListenerNotFoundException"); 177 } 178 179 public void test_MalformedObjectNameException() throws Exception  180 { 181 check("MalformedObjectNameException"); 182 } 183 184 public void test_MatchQueryExp() throws Exception  185 { 186 check("MatchQueryExp"); 187 } 188 189 public void test_MBeanAttributeInfo() throws Exception  190 { 191 check("MBeanAttributeInfo"); 192 } 193 194 public void test_MBeanConstructorInfo() throws Exception  195 { 196 check("MBeanConstructorInfo"); 197 } 198 199 public void test_MBeanException() throws Exception  200 { 201 check("MBeanException"); 202 } 203 204 public void test_MBeanFeatureInfo() throws Exception  205 { 206 check("MBeanFeatureInfo"); 207 } 208 209 public void test_MBeanInfo() throws Exception  210 { 211 check("MBeanInfo"); 212 } 213 214 public void test_MBeanNotificationInfo() throws Exception  215 { 216 check("MBeanNotificationInfo"); 217 } 218 219 public void test_MBeanOperationInfo() throws Exception  220 { 221 check("MBeanOperationInfo"); 222 } 223 224 public void test_MBeanParameterInfo() throws Exception  225 { 226 check("MBeanParameterInfo"); 227 } 228 229 public void test_MBeanPermission() throws Exception  230 { 231 check("MBeanPermission"); 232 } 233 234 public void test_MBeanRegistration() throws Exception  235 { 236 check("MBeanRegistration"); 237 } 238 239 public void test_MBeanRegistrationException() throws Exception  240 { 241 check("MBeanRegistrationException"); 242 } 243 244 public void test_MBeanServer() throws Exception  245 { 246 check("MBeanServer"); 247 } 248 249 public void test_MBeanServerBuilder() throws Exception  250 { 251 check("MBeanServerBuilder"); 252 } 253 254 public void test_MBeanServerConnection() throws Exception  255 { 256 check("MBeanServerConnection"); 257 } 258 259 public void test_MBeanServerDelegate() throws Exception  260 { 261 check("MBeanServerDelegate"); 262 } 263 264 public void test_MBeanServerDelegateMBean() throws Exception  265 { 266 check("MBeanServerDelegateMBean"); 267 } 268 269 public void test_MBeanServerFactory() throws Exception  270 { 271 check("MBeanServerFactory"); 272 } 273 274 public void test_MBeanServerInvocationHandler() throws Exception  275 { 276 check("MBeanServerInvocationHandler"); 277 } 278 279 public void test_MBeanServerNotification() throws Exception  280 { 281 check("MBeanServerNotification"); 282 } 283 284 public void test_MBeanServerPermission() throws Exception  285 { 286 check("MBeanServerPermission"); 287 } 288 289 public void test_MBeanTrustPermission() throws Exception  290 { 291 check("MBeanTrustPermission"); 292 } 293 294 public void test_NotCompliantMBeanException() throws Exception  295 { 296 check("NotCompliantMBeanException"); 297 } 298 299 public void test_Notification() throws Exception  300 { 301 check("Notification"); 302 } 303 304 public void test_NotificationBroadcaster() throws Exception  305 { 306 check("NotificationBroadcaster"); 307 } 308 309 public void test_NotificationBroadcasterSupport() throws Exception  310 { 311 check("NotificationBroadcasterSupport"); 312 } 313 314 public void test_NotificationEmitter() throws Exception  315 { 316 check("NotificationEmitter"); 317 } 318 319 public void test_NotificationFilter() throws Exception  320 { 321 check("NotificationFilter"); 322 } 323 324 public void test_NotificationFilterSupport() throws Exception  325 { 326 check("NotificationFilterSupport"); 327 } 328 329 public void test_NotificationListener() throws Exception  330 { 331 check("NotificationListener"); 332 } 333 334 public void test_NotQueryExp() throws Exception  335 { 336 check("NotQueryExp"); 337 } 338 339 public void test_NumericValueExp() throws Exception  340 { 341 check("NumericValueExp"); 342 } 343 344 public void test_ObjectInstance() throws Exception  345 { 346 check("ObjectInstance"); 347 } 348 349 public void test_ObjectName() throws Exception  350 { 351 check("ObjectName"); 352 } 353 354 public void test_OperationsException() throws Exception  355 { 356 check("OperationsException"); 357 } 358 359 public void test_OrQueryExp() throws Exception  360 { 361 check("OrQueryExp"); 362 } 363 364 public void test_PersistentMBean() throws Exception  365 { 366 check("PersistentMBean"); 367 } 368 369 public void test_QualifiedAttributeValueExp() throws Exception  370 { 371 check("QualifiedAttributeValueExp"); 372 } 373 374 public void test_Query() throws Exception  375 { 376 check("Query"); 377 } 378 379 public void test_QueryEval() throws Exception  380 { 381 check("QueryEval"); 382 } 383 384 public void test_QueryExp() throws Exception  385 { 386 check("QueryExp"); 387 } 388 389 public void test_ReflectionException() throws Exception  390 { 391 check("ReflectionException"); 392 } 393 394 public void test_RuntimeErrorException() throws Exception  395 { 396 check("RuntimeErrorException"); 397 } 398 399 public void test_RuntimeMBeanException() throws Exception  400 { 401 check("RuntimeMBeanException"); 402 } 403 404 public void test_RuntimeOperationsException() throws Exception  405 { 406 check("RuntimeOperationsException"); 407 } 408 409 public void test_ServiceNotFoundException() throws Exception  410 { 411 check("ServiceNotFoundException"); 412 } 413 414 public void test_StandardMBean() throws Exception  415 { 416 check("StandardMBean"); 417 } 418 419 public void test_StringValueExp() throws Exception  420 { 421 check("StringValueExp"); 422 } 423 424 public void test_ValueExp() throws Exception  425 { 426 check("ValueExp"); 427 } 428 429 public void test_loading_ClassLoaderRepository() throws Exception  430 { 431 check("loading.ClassLoaderRepository"); 432 } 433 434 public void test_loading_DefaultLoaderRepository() throws Exception  435 { 436 check("loading.DefaultLoaderRepository"); 437 } 438 439 public void test_loading_MLet() throws Exception  440 { 441 check("loading.MLet"); 442 } 443 444 public void test_loading_MLetMBean() throws Exception  445 { 446 check("loading.MLetMBean"); 447 } 448 449 public void test_loading_PrivateClassLoader() throws Exception  450 { 451 check("loading.PrivateClassLoader"); 452 } 453 454 public void test_loading_PrivateMLet() throws Exception  455 { 456 check("loading.PrivateMLet"); 457 } 458 459 public void test_modelmbean_DescriptorSupport() throws Exception  460 { 461 check("modelmbean.DescriptorSupport"); 462 } 463 464 public void test_modelmbean_InvalidTargetObjectTypeException() throws Exception  465 { 466 check("modelmbean.InvalidTargetObjectTypeException"); 467 } 468 469 public void test_modelmbean_ModelMBean() throws Exception  470 { 471 check("modelmbean.ModelMBean"); 472 } 473 474 public void test_modelmbean_ModelMBeanAttributeInfo() throws Exception  475 { 476 check("modelmbean.ModelMBeanAttributeInfo"); 477 } 478 479 public void test_modelmbean_ModelMBeanConstructorInfo() throws Exception  480 { 481 check("modelmbean.ModelMBeanConstructorInfo"); 482 } 483 484 public void test_modelmbean_ModelMBeanInfo() throws Exception  485 { 486 check("modelmbean.ModelMBeanInfo"); 487 } 488 489 public void test_modelmbean_ModelMBeanInfoSupport() throws Exception  490 { 491 check("modelmbean.ModelMBeanInfoSupport"); 492 } 493 494 public void test_modelmbean_ModelMBeanNotificationBroadcaster() throws Exception  495 { 496 check("modelmbean.ModelMBeanNotificationBroadcaster"); 497 } 498 499 public void test_modelmbean_ModelMBeanNotificationInfo() throws Exception  500 { 501 check("modelmbean.ModelMBeanNotificationInfo"); 502 } 503 504 public void test_modelmbean_ModelMBeanOperationInfo() throws Exception  505 { 506 check("modelmbean.ModelMBeanOperationInfo"); 507 } 508 509 public void test_modelmbean_RequiredModelMBean() throws Exception  510 { 511 check("modelmbean.RequiredModelMBean"); 512 } 513 514 public void test_modelmbean_XMLParseException() throws Exception  515 { 516 check("modelmbean.XMLParseException"); 517 } 518 519 public void test_monitor_CounterMonitor() throws Exception  520 { 521 check("monitor.CounterMonitor"); 522 } 523 524 public void test_monitor_CounterMonitorMBean() throws Exception  525 { 526 check("monitor.CounterMonitorMBean"); 527 } 528 529 public void test_monitor_GaugeMonitor() throws Exception  530 { 531 check("monitor.GaugeMonitor"); 532 } 533 534 public void test_monitor_GaugeMonitorMBean() throws Exception  535 { 536 check("monitor.GaugeMonitorMBean"); 537 } 538 539 public void test_monitor_Monitor() throws Exception  540 { 541 check("monitor.Monitor"); 542 } 543 544 public void test_monitor_MonitorMBean() throws Exception  545 { 546 check("monitor.MonitorMBean"); 547 } 548 549 public void test_monitor_StringMonitor() throws Exception  550 { 551 check("monitor.StringMonitor"); 552 } 553 554 public void test_monitor_StringMonitorMBean() throws Exception  555 { 556 check("monitor.StringMonitorMBean"); 557 } 558 559 public void test_monitor_MonitorNotification() throws Exception  560 { 561 check("monitor.MonitorNotification"); 562 } 563 564 public void test_monitor_MonitorSettingException() throws Exception  565 { 566 check("monitor.MonitorSettingException"); 567 } 568 569 public void test_openmbean_ArrayType() throws Exception  570 { 571 check("openmbean.ArrayType"); 572 } 573 574 public void test_openmbean_CompositeData() throws Exception  575 { 576 check("openmbean.CompositeData"); 577 } 578 579 public void test_openmbean_CompositeDataSupport() throws Exception  580 { 581 check("openmbean.CompositeDataSupport"); 582 } 583 584 public void test_openmbean_CompositeType() throws Exception  585 { 586 check("openmbean.CompositeType"); 587 } 588 589 public void test_openmbean_InvalidKeyException() throws Exception  590 { 591 check("openmbean.InvalidKeyException"); 592 } 593 594 public void test_openmbean_InvalidOpenTypeException() throws Exception  595 { 596 check("openmbean.InvalidOpenTypeException"); 597 } 598 599 public void test_openmbean_KeyAlreadyExistsException() throws Exception  600 { 601 check("openmbean.KeyAlreadyExistsException"); 602 } 603 604 public void test_openmbean_OpenDataException() throws Exception  605 { 606 check("openmbean.OpenDataException"); 607 } 608 609 public void test_openmbean_OpenMBeanAttributeInfo() throws Exception  610 { 611 check("openmbean.OpenMBeanAttributeInfo"); 612 } 613 614 public void test_openmbean_OpenMBeanAttributeInfoSupport() throws Exception  615 { 616 check("openmbean.OpenMBeanAttributeInfoSupport"); 617 } 618 619 public void test_openmbean_OpenMBeanConstructorInfo() throws Exception  620 { 621 check("openmbean.OpenMBeanConstructorInfo"); 622 } 623 624 public void test_openmbean_OpenMBeanConstructorInfoSupport() throws Exception  625 { 626 check("openmbean.OpenMBeanConstructorInfoSupport"); 627 } 628 629 public void test_openmbean_OpenMBeanInfo() throws Exception  630 { 631 check("openmbean.OpenMBeanInfo"); 632 } 633 634 public void test_openmbean_OpenMBeanInfoSupport() throws Exception  635 { 636 check("openmbean.OpenMBeanInfoSupport"); 637 } 638 639 public void test_openmbean_OpenMBeanOperationInfo() throws Exception  640 { 641 check("openmbean.OpenMBeanOperationInfo"); 642 } 643 644 public void test_openmbean_OpenMBeanOperationInfoSupport() throws Exception  645 { 646 check("openmbean.OpenMBeanOperationInfoSupport"); 647 } 648 649 public void test_openmbean_OpenMBeanParameterInfo() throws Exception  650 { 651 check("openmbean.OpenMBeanParameterInfo"); 652 } 653 654 public void test_openmbean_OpenMBeanParameterInfoSupport() throws Exception  655 { 656 check("openmbean.OpenMBeanParameterInfoSupport"); 657 } 658 659 public void test_openmbean_OpenType() throws Exception  660 { 661 check("openmbean.OpenType"); 662 } 663 664 public void test_openmbean_SimpleType() throws Exception  665 { 666 check("openmbean.SimpleType"); 667 } 668 669 public void test_openmbean_TabularData() throws Exception  670 { 671 check("openmbean.TabularData"); 672 } 673 674 public void test_openmbean_TabularDataSupport() throws Exception  675 { 676 check("openmbean.TabularDataSupport"); 677 } 678 679 public void test_openmbean_TabularType() throws Exception  680 { 681 check("openmbean.TabularType"); 682 } 683 684 public void test_relation_InvalidRelationIdException() throws Exception  685 { 686 check("relation.InvalidRelationIdException"); 687 } 688 689 public void test_relation_InvalidRelationServiceException() throws Exception  690 { 691 check("relation.InvalidRelationServiceException"); 692 } 693 694 public void test_relation_InvalidRelationTypeException() throws Exception  695 { 696 check("relation.InvalidRelationTypeException"); 697 } 698 699 public void test_relation_InvalidRoleInfoException() throws Exception  700 { 701 check("relation.InvalidRoleInfoException"); 702 } 703 704 public void test_relation_InvalidRoleValueException() throws Exception  705 { 706 check("relation.InvalidRoleValueException"); 707 } 708 709 public void test_relation_MBeanServerNotificationFilter() throws Exception  710 { 711 check("relation.MBeanServerNotificationFilter"); 712 } 713 714 public void test_relation_Relation() throws Exception  715 { 716 check("relation.Relation"); 717 } 718 719 public void test_relation_RelationException() throws Exception  720 { 721 check("relation.RelationException"); 722 } 723 724 public void test_relation_RelationNotFoundException() throws Exception  725 { 726 check("relation.RelationNotFoundException"); 727 } 728 729 public void test_relation_RelationNotification() throws Exception  730 { 731 check("relation.RelationNotification"); 732 } 733 734 public void test_relation_RelationService() throws Exception  735 { 736 check("relation.RelationService"); 737 } 738 739 public void test_relation_RelationServiceMBean() throws Exception  740 { 741 check("relation.RelationServiceMBean"); 742 } 743 744 public void test_relation_RelationServiceNotRegisteredException() throws Exception  745 { 746 check("relation.RelationServiceNotRegisteredException"); 747 } 748 749 public void test_relation_RelationSupport() throws Exception  750 { 751 check("relation.RelationSupport"); 752 } 753 754 public void test_relation_RelationSupportMBean() throws Exception  755 { 756 check("relation.RelationSupportMBean"); 757 } 758 759 public void test_relation_RelationType() throws Exception  760 { 761 check("relation.RelationType"); 762 } 763 764 public void test_relation_RelationTypeNotFoundException() throws Exception  765 { 766 check("relation.RelationTypeNotFoundException"); 767 } 768 769 public void test_relation_RelationTypeSupport() throws Exception  770 { 771 check("relation.RelationTypeSupport"); 772 } 773 774 public void test_relation_Role() throws Exception  775 { 776 check("relation.Role"); 777 } 778 779 public void test_relation_RoleInfo() throws Exception  780 { 781 check("relation.RoleInfo"); 782 } 783 784 public void test_relation_RoleInfoNotFoundException() throws Exception  785 { 786 check("relation.RoleInfoNotFoundException"); 787 } 788 789 public void test_relation_RoleList() throws Exception  790 { 791 check("relation.RoleList"); 792 } 793 794 public void test_relation_RoleNotFoundException() throws Exception  795 { 796 check("relation.RoleNotFoundException"); 797 } 798 799 public void test_relation_RoleResult() throws Exception  800 { 801 check("relation.RoleResult"); 802 } 803 804 public void test_relation_RoleStatus() throws Exception  805 { 806 check("relation.RoleStatus"); 807 } 808 809 public void test_relation_RoleUnresolved() throws Exception  810 { 811 check("relation.RoleUnresolved"); 812 } 813 814 public void test_relation_RoleUnresolvedList() throws Exception  815 { 816 check("relation.RoleUnresolvedList"); 817 } 818 819 public void test_timer_Timer() throws Exception  820 { 821 check("timer.Timer"); 822 } 823 824 public void test_timer_TimerMBean() throws Exception  825 { 826 check("timer.TimerMBean"); 827 } 828 829 public void test_timer_TimerAlarmClockNotification() throws Exception  830 { 831 check("timer.TimerAlarmClockNotification"); 832 } 833 834 public void test_timer_TimerNotification() throws Exception  835 { 836 check("timer.TimerNotification"); 837 } 838 } 839 | Popular Tags |