User: squirest
  Date: 02/01/18 09:28:40

  Modified:    src/main/test/compliance ComplianceSUITE.java
  Log:
  added testcases for mbean inheritance
  added testcases for some types of NotCompliant MBeans
  
  Revision  Changes    Path
  1.4       +53 -52    jmx/src/main/test/compliance/ComplianceSUITE.java
  
  Index: ComplianceSUITE.java
  ===================================================================
  RCS file: /cvsroot/jboss/jmx/src/main/test/compliance/ComplianceSUITE.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ComplianceSUITE.java      2002/01/18 01:12:22     1.3
  +++ ComplianceSUITE.java      2002/01/18 17:28:40     1.4
  @@ -1,52 +1,53 @@
  -/*
  - * JBoss, the OpenSource J2EE webOS
  - *
  - * Distributable under LGPL license.
  - * See terms of license at gnu.org.
  - */
  -
  -package test.compliance;
  -
  -import junit.framework.Test;
  -import junit.framework.TestSuite;
  -
  -/**
  - * Everything under test.compliance is a set of unit tests
  - * which should pass as much as possible against the JMX RI
  - *
  - * Additions to this package are welcome/encouraged - adding a
  - * test that fails is a great way to communicate a bug ;-)
  - *
  - * Anyone contributing to the JBoss JMX impl should seriously
  - * consider providing a testcase prior to making code changes
  - * in the impl itself - ala XP.
  - *
  - * The only restriction is that if the tests don't succeed against
  - * the RI, the test error message should indicate that the test
  - * will fail on the RI (preferred way) or at least comment the testcase
  - * stating expected failures.  Either way, you should comment the code
  - * justifying why the test is valid despite failing against the RI.
  - *
  - * @author  <a href="mailto:[EMAIL PROTECTED]";>Trevor Squires</a>.
  - */
  -
  -public class ComplianceSUITE extends TestSuite
  -{
  -   public static void main(String[] args)
  -   {
  -      junit.textui.TestRunner.run(suite());
  -   }
  -
  -   public static Test suite()
  -   {
  -      TestSuite suite = new TestSuite("All Compliance Tests");
  -
  -      suite.addTest(test.compliance.objectname.ObjectNameSUITE.suite());
  -      suite.addTest(test.compliance.standard.StandardSUITE.suite());
  -      suite.addTest(test.compliance.registration.RegistrationSUITE.suite());
  -      suite.addTest(test.compliance.server.ServerSUITE.suite());
  -      suite.addTest(test.compliance.modelmbean.ModelMBeanSUITE.suite());
  -
  -      return suite;
  -   }
  -}
  +/*
  + * JBoss, the OpenSource J2EE webOS
  + *
  + * Distributable under LGPL license.
  + * See terms of license at gnu.org.
  + */
  +
  +package test.compliance;
  +
  +import junit.framework.Test;
  +import junit.framework.TestSuite;
  +
  +/**
  + * Everything under test.compliance is a set of unit tests
  + * which should pass as much as possible against the JMX RI
  + *
  + * Additions to this package are welcome/encouraged - adding a
  + * test that fails is a great way to communicate a bug ;-)
  + *
  + * Anyone contributing to the JBoss JMX impl should seriously
  + * consider providing a testcase prior to making code changes
  + * in the impl itself - ala XP.
  + *
  + * The only restriction is that if the tests don't succeed against
  + * the RI, the test error message should indicate that the test
  + * will fail on the RI (preferred way) or at least comment the testcase
  + * stating expected failures.  Either way, you should comment the code
  + * justifying why the test is valid despite failing against the RI.
  + *
  + * @author  <a href="mailto:[EMAIL PROTECTED]";>Trevor Squires</a>.
  + */
  +
  +public class ComplianceSUITE extends TestSuite
  +{
  +   public static void main(String[] args)
  +   {
  +      junit.textui.TestRunner.run(suite());
  +   }
  +
  +   public static Test suite()
  +   {
  +      TestSuite suite = new TestSuite("All Compliance Tests");
  +
  +      suite.addTest(test.compliance.objectname.ObjectNameSUITE.suite());
  +      suite.addTest(test.compliance.standard.StandardSUITE.suite());
  +      suite.addTest(test.compliance.registration.RegistrationSUITE.suite());
  +      suite.addTest(test.compliance.server.ServerSUITE.suite());
  +      suite.addTest(test.compliance.modelmbean.ModelMBeanSUITE.suite());
  +      suite.addTest(test.compliance.notcompliant.NCMBeanSUITE.suite());
  +
  +      return suite;
  +   }
  +}
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to