User: d_jencks
Date: 01/11/18 22:59:13
Modified: src/main/org/jboss/test/jmx/mbean TestDeployer.java
TestDeployerMBean.java
Log:
Fixed broken jmx deployment tests and added some new ones
Revision Changes Path
1.3 +6 -1 jbosstest/src/main/org/jboss/test/jmx/mbean/TestDeployer.java
Index: TestDeployer.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/jmx/mbean/TestDeployer.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TestDeployer.java 2001/09/20 18:23:41 1.2
+++ TestDeployer.java 2001/11/19 06:59:13 1.3
@@ -24,7 +24,7 @@
* This is a do-nothing mbean to test service archive deployment.
*
* @author <a href="mailto:[EMAIL PROTECTED]">David Jencks</a>
- * @version $Revision: 1.2 $ <p>
+ * @version $Revision: 1.3 $ <p>
*
* <b>20010901 david jencks</b>
* <ul>initial import
@@ -39,6 +39,11 @@
public String getName()
{
return "TestDeployer";
+ }
+
+ public String getBaseDir()
+ {
+ return System.getProperty("jboss.system.home");
}
}
1.2 +3 -1
jbosstest/src/main/org/jboss/test/jmx/mbean/TestDeployerMBean.java
Index: TestDeployerMBean.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/jmx/mbean/TestDeployerMBean.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TestDeployerMBean.java 2001/09/08 16:57:04 1.1
+++ TestDeployerMBean.java 2001/11/19 06:59:13 1.2
@@ -18,7 +18,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">David Jencks</a>
*
-* @version $Revision: 1.1 $
+* @version $Revision: 1.2 $
*
* <p><b>david jencks:</b>
* <ul>
@@ -33,5 +33,7 @@
/** The default object name. */
public static final String OBJECT_NAME = "test:service=TestDeployer";
-
+ //returns where local-directory goes.
+ String getBaseDir();
+
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development