User: starksm
Date: 02/02/25 11:49:52
Modified: src/main/org/jboss/test JBossTestServices.java
Log:
Do not print out the beancount, iterationcount and threadcount values
in their accessors as if these are as loop bounds the values are
printed N times.
Revision Changes Path
1.11 +9 -13 jbosstest/src/main/org/jboss/test/JBossTestServices.java
Index: JBossTestServices.java
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/JBossTestServices.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- JBossTestServices.java 29 Jan 2002 21:59:58 -0000 1.10
+++ JBossTestServices.java 25 Feb 2002 19:49:52 -0000 1.11
@@ -46,7 +46,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">David Jencks</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Christoph G. Jung</a>
- * @version $Revision: 1.10 $
+ * @version $Revision: 1.11 $
*/
public class JBossTestServices
{
@@ -93,6 +93,9 @@
public void setUp() throws Exception
{
log.debug("JBossTestServices.setUp()");
+ log.info("jbosstest.beancount: " + System.getProperty("jbosstest.beancount"));
+ log.info("jbosstest.iterationcount: " +
System.getProperty("jbosstest.iterationcount"));
+ log.info("jbosstest.threadcount: " +
System.getProperty("jbosstest.threadcount"));
}
/**
@@ -262,10 +265,8 @@
String deployName = getDeployURL(name);
invoke(getDeployerName(),
"deploy",
- new Object[]
- {deployName},
- new String[]
- {"java.lang.String"});
+ new Object[] {deployName},
+ new String[] {"java.lang.String"});
setDeployed(deployName);
}
/**
@@ -292,28 +293,23 @@
void flushAuthCache() throws Exception
{
ObjectName jaasMgr = new
ObjectName("jboss.security:name=JaasSecurityManager");
- Object[] params =
- {"other"};
- String[] signature =
- {"java.lang.String"};
+ Object[] params = {"other"};
+ String[] signature = {"java.lang.String"};
invoke(jaasMgr, "flushAuthenticationCache", params, signature);
}
int getThreadCount()
{
- log.info("jbosstest.threadcount: " +
System.getProperty("jbosstest.threadcount"));
return Integer.getInteger("jbosstest.threadcount",
DEFAULT_THREADCOUNT).intValue();
}
int getIterationCount()
{
- log.info("jbosstest.iterationcount: " +
System.getProperty("jbosstest.iterationcount"));
return Integer.getInteger("jbosstest.iterationcount",
DEFAULT_ITERATIONCOUNT).intValue();
}
-
+
int getBeanCount()
{
- log.info("jbosstest.beancount: " + System.getProperty("jbosstest.beancount"));
return Integer.getInteger("jbosstest.beancount",
DEFAULT_BEANCOUNT).intValue();
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development