User: juhalindfors Date: 02/01/23 13:19:11 Modified: . build.xml Log: Integrated performance tests to JUnit test suites. New build targets: * build test-performance-RI * build test-performance-JBossMX * build test-performance Added new suite 'implementation' that tests JBossMX specific implementation features not covered by the compliance suite. New build target: * build test-implementation Revision Changes Path 1.8 +102 -4 jmx/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jmx/build.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- build.xml 2001/12/20 03:51:10 1.7 +++ build.xml 2002/01/23 21:19:11 1.8 @@ -12,7 +12,7 @@ <!-- --> <!-- ====================================================================== --> -<!-- $Id: build.xml,v 1.7 2001/12/20 03:51:10 ejort Exp $ --> +<!-- $Id: build.xml,v 1.8 2002/01/23 21:19:11 juhalindfors Exp $ --> <project default="main" name="JBoss/JMX"> @@ -76,14 +76,14 @@ <pathelement path="${oswego.concurrent.lib}/concurrent.jar"/> </path> - <!-- JDOM --> + <!-- org.jdom --> <property name="jdom.root" value="${project.thirdparty}/jdom"/> <property name="jdom.lib" value="${jdom.root}/beta-7/lib"/> <path id="jdom.classpath"> <pathelement path="${jdom.lib}/jdom.jar"/> </path> - <!-- SAX --> + <!-- org.xml.sax (SAX2) --> <property name="sax.root" value="${project.thirdparty}/xml/sax"/> <property name="sax.lib" value="${sax.root}/lib"/> <path id="sax.classpath"> @@ -365,6 +365,25 @@ --> + <!-- IBM Tivoli Implementation compliance --> + <!-- + <target name="test-compliance-Tivoli" depends="compile" + description="Run compliance test against IBM Tivoli"> + + <path id="compliance.Tivoli.classpath"> + <pathelement path="${project.thirdparty}/ibm/tivoli/jmx/lib/jmxx.jar"/> + <pathelement path="${project.thirdparty}/ibm/tivoli/jmx/lib/jmxc.jar"/> + <pathelement path="${project.thirdparty}/ibm/tivoli/jmx/lib/log.jar"/> + <pathelement path="${build.classes}"/> + <path refid="thirdparty.classpath"/> + </path> + + <java classname="test.compliance.ComplianceSUITE"> + <classpath refid="compliance.Tivoli.classpath"/> + </java> + </target> + --> + <!-- Reference Implementation compliance --> <target name="test-compliance-RI" depends="compile" description="Run compliance test against RI"> @@ -402,6 +421,85 @@ </target> <!-- ================================================================== --> + <!-- Performance - Runs the performance test suite --> + <!-- ================================================================== --> + + <!-- + | There are three targets, one for the RI, one for JBossMX and one for both. + | WARNING, everthing is compiled over JBossMX, but the RI test + | has jmxri.jar at the front of the classpath. + --> + + <!-- IBM Tivoli Implementation performance --> + <!-- + <target name="test-performance-Tivoli" depends="compile" + description="Run performance test against IBM Tivoli"> + + <path id="performance.Tivoli.classpath"> + <pathelement path="${project.thirdparty}/ibm/tivoli/jmx/lib/jmxx.jar"/> + <pathelement path="${project.thirdparty}/ibm/tivoli/jmx/lib/jmxc.jar"/> + <pathelement path="${project.thirdparty}/ibm/tivoli/jmx/lib/log.jar"/> + <pathelement path="${build.classes}"/> + <path refid="thirdparty.classpath"/> + </path> + + <java classname="test.performance.PerformanceSUITE"> + <classpath refid="performance.Tivoli.classpath"/> + </java> + </target> + --> + + <!-- Reference Implementation performance --> + <target name="test-performance-RI" depends="compile" + description="Run performance test against RI"> + + <path id="performance.RI.classpath"> + <pathelement path="${project.thirdparty}/sun/jmx/lib/jmxri.jar"/> + <pathelement path="${build.classes}"/> + <path refid="thirdparty.classpath"/> + </path> + + <java classname="test.performance.PerformanceSUITE"> + <classpath refid="performance.RI.classpath"/> + </java> + </target> + + <!-- JBossMX Implementation performance --> + <target name="test-performance-JBossMX" depends="compile" + description="Run performance test against JBossMX"> + + <path id="performance.JBossMX.classpath"> + <pathelement path="${build.classes}"/> + <path refid="thirdparty.classpath"/> + </path> + + <java classname="test.performance.PerformanceSUITE"> + <classpath refid="performance.JBossMX.classpath"/> + </java> + </target> + + <!-- Run both performance tests --> + <target name="test-performance" depends="test-performance-RI, test-performance-JBossMX" + description="Run performance test against RI and JBossMX"> + </target> + + <!-- ================================================================== --> + <!-- Implementation - tests the JBossMX implementation classes. --> + <!-- ================================================================== --> + <target name="test-implementation" depends="compile" + description="Tests JBossMX implementation classes"> + + <path id="implementation.JBossMX.classpath"> + <pathelement path="${build.classes}"/> + <path refid="thirdparty.classpath"/> + </path> + + <java classname="test.implementation.ImplementationSUITE"> + <classpath refid="implementation.JBossMX.classpath"/> + </java> + </target> + + <!-- ================================================================== --> <!-- Test - TEMPORARY - replace with proper test suite --> <!-- ================================================================== --> @@ -416,7 +514,7 @@ <pathelement path="${build.classes}"/> <path refid="thirdparty.classpath"/> </path> - + <java classname="test.TestMX"> <classpath refid="test.classpath"/> </java>
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development