Skip to content
Snippets Groups Projects
Commit 7a2d5300 authored by david_williams's avatar david_williams
Browse files

summarize times

parent cac5f306
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8" ?>
<testsuites>
<testsuite errors="0" failures="0" hostname="build" id="0" name="JSFUIAllTests" package="org.eclipse.jst.jsf.ui.tests" tests="7" time="39.376" timestamp="2008-08-10T03:26:37">
<properties>
<property name="java.vendor" value="IBM Corporation" />
<property name="osgi.bundles.defaultStartLevel" value="4" />
<property name="org.osgi.supports.framework.extension" value="true" />
<property name="PLUGIN_PATH" value="/shared/webtools/tests/wtp-R3.1-I/eclipse/dropins/eclipse//plugins/org.eclipse.jst.jsf.ui.tests" />
<property name="osgi.framework.beginningstartlevel" value="1" />
<property name="eclipse.p2.profile" value="SDKProfile" />
<property name="os.name" value="Linux" />
<property name="sun.boot.class.path" value="/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/vm.jar:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/core.jar:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/charsets.jar:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/graphics.jar:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/security.jar:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/ibmpkcs.jar:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/ibmorb.jar:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/ibmcfw.jar:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/ibmorbapi.jar:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/ibmjcefw.jar:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/ibmjgssprovider.jar:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/ibmjsseprovider2.jar:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/ibmjaaslm.jar:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/ibmcertpathprovider.jar:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/server.jar:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/xml.jar" />
<property name="osgi.ws" value="gtk" />
<property name="sun.java2d.fontpath" value="" />
<property name="java.vm.specification.vendor" value="Sun Microsystems Inc." />
<property name="java.runtime.version" value="pxp32devifx-20071025 (SR6b)" />
<property name="osgi.instance.area" value="file:/opt/public/webtools/tests/wtp-R3.1-I/eclipse/dropins/eclipse/jsf_folder/" />
<property name="user.name" value="wtpBuild" />
<property name="java.compiler" value="j9jit23" />
<property name="projectname" value="wtp-R3.1-I" />
<property name="org.osgi.framework.system.packages" value="javax.accessibility,javax.activity,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,javax.xml.validation,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views ,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers" />
<property name="com.ibm.util.extralibs.properties" value="" />
<property name="buildLabel" value="I-3.1-20080809232222" />
<property name="org.osgi.framework.language" value="en" />
<property name="user.language" value="en" />
<property name="com.ibm.oti.vm.bootstrap.library.path" value="/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/bin" />
<property name="org.osgi.framework.processor" value="PowerPC" />
<property name="osgi.syspath" value="/opt/public/webtools/tests/wtp-R3.1-I/eclipse/plugins" />
<property name="sun.boot.library.path" value="/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/bin" />
<property name="osgi.manifest.cache" value="/opt/public/webtools/tests/wtp-R3.1-I/eclipse/configuration/org.eclipse.osgi/manifests" />
<property name="urlLogLocation" value="/shared/webtools/projects/wtp-R3.1-I/workdir/outgoinghttplogfromtests.log" />
<property name="osgi.compatibility.bootdelegation" value="true" />
<property name="java.version" value="1.5.0" />
<property name="org.osgi.framework.os.name" value="Linux" />
<property name="user.timezone" value="GMT" />
<property name="sun.arch.data.model" value="32" />
<property name="osgi.bundles" value="reference:file:org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar@1:start" />
<property name="com.ibm.oti.vm.library.version" value="23" />
<property name="sun.jnu.encoding" value="UTF-8" />
<property name="eclipse.application" value="org.eclipse.test.uitestapplication" />
<property name="wtp.autotest.noninteractive" value="true" />
<property name="org.osgi.framework.vendor" value="Eclipse" />
<property name="jxe.current.romimage.version" value="9" />
<property name="file.separator" value="/" />
<property name="osgi.debug" value="" />
<property name="java.specification.name" value="Java Platform API Specification" />
<property name="java.class.version" value="49.0" />
<property name="user.country" value="US" />
<property name="java.home" value="/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre" />
<property name="osgi.os" value="linux" />
<property name="eclipse.commands" value="-nosplash -consolelog -debug -data /shared/webtools/tests/wtp-R3.1-I/eclipse/dropins/eclipse//jsf_folder -application org.eclipse.test.uitestapplication formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/shared/webtools/tests/wtp-R3.1-I/results/raw/org.eclipse.jst.jsf.ui.tests.JSFUIAllTests.xml -testPluginName org.eclipse.jst.jsf.ui.tests -className org.eclipse.jst.jsf.ui.tests.JSFUIAllTests " />
<property name="java.vm.info" value="J2RE 1.5.0 IBM J9 2.3 Linux ppc-32 j9vmxp3223-20071007 (JIT enabled) J9VM - 20071004_14218_bHdSMR JIT - 20070820_1846ifx1_r8 GC - 200708_10" />
<property name="os.version" value="2.6.16.54-0.2.8-ppc64" />
<property name="osgi.arch" value="ppc" />
<property name="java.awt.fonts" value="" />
<property name="path.separator" value=":" />
<property name="java.vm.version" value="2.3" />
<property name="java.util.prefs.PreferencesFactory" value="java.util.prefs.FileSystemPreferencesFactory" />
<property name="org.osgi.supports.framework.fragment" value="true" />
<property name="user.variant" value="" />
<property name="java.protocol.handler.pkgs" value="com.ibm.etools.www.protocol" />
<property name="osgi.framework.shape" value="jar" />
<property name="java.awt.printerjob" value="sun.print.PSPrinterJob" />
<property name="osgi.instance.area.default" value="file:/opt/users/wtpBuild/workspace/" />
<property name="sun.io.unicode.encoding" value="UnicodeBig" />
<property name="org.osgi.framework.version" value="1.4.0" />
<property name="ibm.signalhandling.sigint" value="true" />
<property name="java.assistive" value="ON" />
<property name="osgi.install.area" value="file:/opt/public/webtools/tests/wtp-R3.1-I/eclipse/" />
<property name="osgi.framework" value="file:/opt/public/webtools/tests/wtp-R3.1-I/eclipse/plugins/org.eclipse.osgi_3.4.0.v20080605-1900.jar" />
<property name="user.home" value="/opt/users/wtpBuild" />
<property name="org.eclipse.equinox.simpleconfigurator.configUrl" value="file:org.eclipse.equinox.simpleconfigurator/bundles.info" />
<property name="osgi.bundlestore" value="/opt/public/webtools/tests/wtp-R3.1-I/eclipse/configuration/org.eclipse.osgi/bundles" />
<property name="osgi.splashPath" value="platform:/base/plugins/org.eclipse.platform" />
<property name="com.ibm.cpu.endian" value="big" />
<property name="eclipse.consoleLog" value="true" />
<property name="java.specification.vendor" value="Sun Microsystems Inc." />
<property name="osgi.nl" value="en_US" />
<property name="ibm.signalhandling.sigchain" value="true" />
<property name="invokedviajava" value="" />
<property name="java.vendor.url" value="http://www.ibm.com/" />
<property name="java.library.path" value="/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/bin::/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/bin/classic:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/bin:/opt/public/webtools/apps/IBMJava2-SDK-1.4.2-10.0.ppc/jre/bin:/opt/public/webtools/apps/IBMJava2-SDK-1.4.2-10.0.ppc/jre/bin/classic:/opt/public/webtools/apps/IBMJava2-SDK-1.4.2-10.0.ppc/jre/bin:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/bin/classic:/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/bin:/opt/gnome/lib:/opt/gnome/lib64:/usr/lib" />
<property name="eclipse.startTime" value="1218338780643" />
<property name="eclipse.p2.data.area" value="@config.dir/../p2" />
<property name="org.osgi.framework.os.version" value="2.6.16.54-0" />
<property name="java.vm.vendor" value="IBM Corporation" />
<property name="java.fullversion" value="J2RE 1.5.0 IBM J9 2.3 Linux ppc-32 j9vmxp3223-20071007 (JIT enabled) J9VM - 20071004_14218_bHdSMR JIT - 20070820_1846ifx1_r8 GC - 200708_10" />
<property name="java.runtime.name" value="Java(TM) 2 Runtime Environment, Standard Edition" />
<property name="java.class.path" value="/shared/webtools/tests/wtp-R3.1-I/eclipse/plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar" />
<property name="buildDirectory" value="/shared/webtools/projects/wtp-R3.1-I/workdir" />
<property name="org.eclipse.update.reconcile" value="false" />
<property name="java.vm.specification.name" value="Java Virtual Machine Specification" />
<property name="java.vm.specification.version" value="1.0" />
<property name="java.io.tmpdir" value="/shared/webtools/tmp" />
<property name="java.jcl.version" value="20071025" />
<property name="eclipse.product" value="org.eclipse.sdk.ide" />
<property name="ibm.system.encoding" value="UTF-8" />
<property name="eclipse.home.location" value="file:/opt/public/webtools/tests/wtp-R3.1-I/eclipse/" />
<property name="ibm.signalhandling.rs" value="false" />
<property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment" />
<property name="os.arch" value="ppc" />
<property name="java.ext.dirs" value="/opt/public/webtools/apps/ibm-java2-sdk-5.0-6.0-linux-ppc/jre/lib/ext" />
<property name="user.dir" value="/opt/public/webtools/tests/wtp-R3.1-I/eclipse" />
<property name="org.osgi.supports.framework.requirebundle" value="true" />
<property name="line.separator" value=" " />
<property name="java.vm.name" value="IBM J9 VM" />
<property name="com.ibm.vm.bitmode" value="32" />
<property name="eclipse.ee.install.verify" value="false" />
<property name="jxe.lowest.romimage.version" value="9" />
<property name="file.encoding" value="UTF-8" />
<property name="osgi.framework.version" value="3.4.0.v20080605-1900" />
<property name="eclipse.buildId" value="I20080617-2000" />
<property name="com.ibm.oti.configuration" value="scar" />
<property name="java.specification.version" value="1.5" />
<property name="com.ibm.oti.jcl.build" value="20071004_1641" />
<property name="org.osgi.framework.executionenvironment" value="OSGi/Minimum-1.0,OSGi/Minimum-1.1,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5" />
<property name="osgi.configuration.area" value="file:/opt/public/webtools/tests/wtp-R3.1-I/eclipse/configuration/" />
<property name="osgi.logfile" value="/opt/public/webtools/tests/wtp-R3.1-I/eclipse/dropins/eclipse/jsf_folder/.metadata/.log" />
</properties>
<testcase classname="org.eclipse.jst.jsf.ui.tests.classpath.JSFLibrariesPreferencePageTestCases" name="testPreferencePage" time="1.037" />
<testcase classname="org.eclipse.jst.jsf.ui.tests.classpath.JSFLibraryWizardTestCases" name="testAddPages" time="0.0060" />
<testcase classname="org.eclipse.jst.jsf.ui.tests.classpath.JSFLibraryWizardTestCases" name="testWizardDialog" time="0.458" />
<testcase classname="org.eclipse.jst.jsf.ui.tests.jspeditor.TestELHyperlinkDetector" name="testSanity" time="25.153" />
<testcase classname="org.eclipse.jst.jsf.ui.tests.jspeditor.TestELHyperlinkDetector" name="testDetectHyperlinks" time="7.442" />
<testcase classname="org.eclipse.jst.jsf.ui.tests.jspeditor.TestJSFELHover" name="testSanity" time="3.016" />
<testcase classname="org.eclipse.jst.jsf.ui.tests.jspeditor.TestJSFELHover" name="testGetHoverInfo" time="2.198" />
<system-out />
<system-err />
</testsuite>
</testsuites>
...@@ -134,7 +134,9 @@ public class ResultsSummaryGenerator extends Task { ...@@ -134,7 +134,9 @@ public class ResultsSummaryGenerator extends Task {
private int errors = -99; private int errors = -99;
private int failures = -99; private int failures = -99;
private int totalTests = -99; private int totalTests = -99;
private float time = -99;
private float totalTime = -99;
int getErrors() { int getErrors() {
return errors; return errors;
} }
...@@ -158,6 +160,22 @@ public class ResultsSummaryGenerator extends Task { ...@@ -158,6 +160,22 @@ public class ResultsSummaryGenerator extends Task {
void setTotalTests(int totalTests) { void setTotalTests(int totalTests) {
this.totalTests = totalTests; this.totalTests = totalTests;
} }
public float getTime() {
return time;
}
public void setTime(float time) {
this.time = time;
}
public float getTotalTime() {
return totalTime;
}
public void setTotalTime(float totalTime) {
this.totalTime = totalTime;
}
} }
public static void main(String[] args) { public static void main(String[] args) {
...@@ -947,6 +965,8 @@ public class ResultsSummaryGenerator extends Task { ...@@ -947,6 +965,8 @@ public class ResultsSummaryGenerator extends Task {
int errorCount = 0; int errorCount = 0;
int failureCount = 0; int failureCount = 0;
int totalTests = 0; int totalTests = 0;
float time = 0;
float totalTime = 0;
try { try {
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance(); DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
parser = docBuilderFactory.newDocumentBuilder(); parser = docBuilderFactory.newDocumentBuilder();
...@@ -967,13 +987,17 @@ public class ResultsSummaryGenerator extends Task { ...@@ -967,13 +987,17 @@ public class ResultsSummaryGenerator extends Task {
aNode = attributes.getNamedItem("tests"); aNode = attributes.getNamedItem("tests");
totalTests = totalTests + Integer.parseInt(aNode.getNodeValue()); totalTests = totalTests + Integer.parseInt(aNode.getNodeValue());
aNode = attributes.getNamedItem("time");
time = Float.parseFloat(aNode.getNodeValue());
totalTime = totalTime + time;
} }
result.setErrors(errorCount); result.setErrors(errorCount);
result.setFailures(failureCount); result.setFailures(failureCount);
result.setTotalTests(totalTests); result.setTotalTests(totalTests);
result.setTime(time);
result.setTime(totalTime);
} }
catch (IOException e) { catch (IOException e) {
System.out.println("IOException: " + fileName); System.out.println("IOException: " + fileName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment