User: squirest Date: 02/01/17 17:12:23 Modified: src/main/test/compliance/standard/support Trivial.java TrivialMBean.java Added: src/main/test/compliance/standard/support Torture.java TortureMBean.java Log: testsuite updates, mostly related to standard MBeanInfo Revision Changes Path 1.2 +28 -28 jmx/src/main/test/compliance/standard/support/Trivial.java Index: Trivial.java =================================================================== RCS file: /cvsroot/jboss/jmx/src/main/test/compliance/standard/support/Trivial.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Trivial.java 2001/12/20 01:50:59 1.1 +++ Trivial.java 2002/01/18 01:12:23 1.2 @@ -1,28 +1,28 @@ -/* - * JBoss, the OpenSource J2EE webOS - * - * Distributable under LGPL license. - * See terms of license at gnu.org. - */ - -package test.compliance.standard.support; - -public class Trivial implements TrivialMBean -{ - private String something = null; - private boolean anAttribute = true; - - public void setSomething(String thing) - { - this.something = thing; - } - - public String getSomething() - { - return something; - } - - public void doOperation() - { - } -} +/* + * JBoss, the OpenSource J2EE webOS + * + * Distributable under LGPL license. + * See terms of license at gnu.org. + */ + +package test.compliance.standard.support; + +public class Trivial implements TrivialMBean +{ + private String something = null; + private boolean anAttribute = true; + + public void setSomething(String thing) + { + this.something = thing; + } + + public String getSomething() + { + return something; + } + + public void doOperation(String arg) + { + } +} 1.2 +17 -17 jmx/src/main/test/compliance/standard/support/TrivialMBean.java Index: TrivialMBean.java =================================================================== RCS file: /cvsroot/jboss/jmx/src/main/test/compliance/standard/support/TrivialMBean.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TrivialMBean.java 2001/12/20 01:50:59 1.1 +++ TrivialMBean.java 2002/01/18 01:12:23 1.2 @@ -1,17 +1,17 @@ -/* - * JBoss, the OpenSource J2EE webOS - * - * Distributable under LGPL license. - * See terms of license at gnu.org. - */ - -package test.compliance.standard.support; - -public interface TrivialMBean -{ - void setSomething(String thing); - - String getSomething(); - - void doOperation(); -} +/* + * JBoss, the OpenSource J2EE webOS + * + * Distributable under LGPL license. + * See terms of license at gnu.org. + */ + +package test.compliance.standard.support; + +public interface TrivialMBean +{ + void setSomething(String thing); + + String getSomething(); + + void doOperation(String arg); +} 1.1 jmx/src/main/test/compliance/standard/support/Torture.java Index: Torture.java =================================================================== /* * JBoss, the OpenSource J2EE webOS * * Distributable under LGPL license. * See terms of license at gnu.org. */ package test.compliance.standard.support; /** * @author <a href="mailto:[EMAIL PROTECTED]">Trevor Squires</a>. */ public class Torture implements TortureMBean { public Torture() { } public Torture(String[][] something) { } Torture(int foo) { } protected Torture(String wibble) { } private Torture(double trouble) { } public String getNiceString() { return null; } public void setNiceString(String nice) { } public boolean isNiceBoolean() { return false; } public void setNiceBoolean(boolean nice) { } public void setInt(int foo) { } public void setIntArray(int[] foo) { } public void setNestedIntArray(int[][][] foo) { } public void setInteger(Integer foo) { } public void setIntegerArray(Integer[] foo) { } public void setNestedIntegerArray(Integer[][][] foo) { } public int getMyinteger() { return 0; } public int[] getMyintegerArray() { return new int[0]; } public int[][][] getMyNestedintegerArray() { return new int[0][][]; } public Integer getMyInteger() { return null; } public Integer[] getMyIntegerArray() { return new Integer[0]; } public Integer[][][] getMyNestedIntegerArray() { return new Integer[0][][]; } // these should give an isIs right? public boolean isready() { return false; } public Boolean isReady() { return null; } // these should be operations public boolean ispeachy(int peachy) { return false; } public Boolean isPeachy(int peachy) { return null; } public String issuer() { return null; } public int settlement(String thing) { return 0; } public void setMulti(String foo, Integer bar) { } public String getResult(String source) { return null; } public void setNothing() { } public void getNothing() { } // ok, we have an attribute called Something // and an operation called getSomething... public void setSomething(String something) { } public void getSomething() { } // ooh yesssss public String[][] doSomethingCrazy(Object[] args, String[] foo, int[][][] goMental) { return new String[0][]; } } 1.1 jmx/src/main/test/compliance/standard/support/TortureMBean.java Index: TortureMBean.java =================================================================== /* * JBoss, the OpenSource J2EE webOS * * Distributable under LGPL license. * See terms of license at gnu.org. */ package test.compliance.standard.support; /** * @author <a href="mailto:[EMAIL PROTECTED]">Trevor Squires</a>. */ public interface TortureMBean { String getNiceString(); void setNiceString(String nice); boolean isNiceBoolean(); void setNiceBoolean(boolean nice); void setInt(int foo); void setIntArray(int[] foo); void setNestedIntArray(int[][][] foo); void setInteger(Integer foo); void setIntegerArray(Integer[] foo); void setNestedIntegerArray(Integer[][][] foo); int getMyinteger(); int[] getMyintegerArray(); int[][][] getMyNestedintegerArray(); Integer getMyInteger(); Integer[] getMyIntegerArray(); Integer[][][] getMyNestedIntegerArray(); // these should give an isIs right? boolean isready(); Boolean isReady(); // these should be operations boolean ispeachy(int peachy); Boolean isPeachy(int peachy); String issuer(); int settlement(String thing); void setMulti(String foo, Integer bar); String getResult(String source); void setNothing(); void getNothing(); // ok, we have an attribute called Something // and an operation called getSomething... void setSomething(String something); void getSomething(); // ooh yesssss String[][] doSomethingCrazy(Object[] args, String[] foo, int[][][] goMental); }
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development