beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Osborne <patrick.osbo...@bea.com>
Subject test recorder patch
Date Wed, 28 Jul 2004 00:09:24 GMT

Hi,

Below are a couple of diffs to the Test Recorder that remove unused jars 
and add support for jdk1.4.

Thanks,
Patrick.


D:\dev\beehive\trunk\netui\test\ant>svn diff test.properties
Index: test.properties
===================================================================
--- test.properties     (revision 30790)
+++ test.properties     (working copy)
@@ -78,8 +78,6 @@
${deployed.httpClient.jar};\
${deployed.test-recorder.jar};\
${deployed.commons-logging.jar};\
-${deployed.util.jar};\
-${deployed.scoping.jar};\
${servlet24.jar};\
${log4j.jar};\
${xbean.jar};\



D:\dev\beehive\trunk\netui\test\src\testRecorder>svn diff build.xml
Index: build.xml
===================================================================
--- build.xml   (revision 30790)
+++ build.xml   (working copy)
@@ -2,7 +2,7 @@

<project name="Beehive/NetUI/testRecorder" default="compile" basedir=".">

-    <property name="module.classpath" 
location="${deployed.junit.jar};${deployed.httpClient.jar};${deployed.commons-log 

ging.jar};${deployed.util.jar};${deployed.scoping.jar};${log4j.jar};${servlet24.jar};${jsp20.jar};${xbean.jar};${junit.j


ar}"/>
+    <property name="module.classpath" 
location=";${deployed.httpClient.jar};${deployed.commons-logging.jar};${log4j.jar 

};${servlet24.jar};${jsp20.jar};${xbean.jar};${junit.jar}"/>
    <property name="module.classes.dir" 
location="${qa.classes.dir}/${module.name}"/>
    <property name="module.jar.name" value="${test-recorder.jar.name}"/>
    <property name="module.jar" 
location="${qa.lib.dir}/${module.jar.name}"/>
@@ -26,6 +26,7 @@
               classpath="${module.classpath}"
               debug="${compile.debug}"
               deprecation="${compile.deprecation}"
+               source="${compile.source}"
               optimize="${compile.optimize}">
               <include name="**/*.java"/>
        </javac>



D:\dev\beehive\trunk\netui\test\src\testRecorder\org\apache\beehive\netui\tools\testrecorder\client>svn

diff Master*
Index: MasterTestRecorderJUnitTest.java
===================================================================
--- MasterTestRecorderJUnitTest.java    (revision 30790)
+++ MasterTestRecorderJUnitTest.java    (working copy)
@@ -206,7 +206,7 @@
    }

    private static boolean getDeleteResultsProperty() {
-        return Boolean.parseBoolean( getProperty( 
DELETE_RESULTS_PROPERTY ) );
+        return Boolean.valueOf( getProperty( DELETE_RESULTS_PROPERTY ) 
).booleanValue();
    }

    private static String getTestsProperty() {
@@ -222,7 +222,7 @@
    }

    private static boolean getAllProperty() {
-        return Boolean.parseBoolean( getProperty( ALL_PROPERTY ) );
+        return Boolean.valueOf( getProperty( ALL_PROPERTY ) 
).booleanValue();
    }

    private static String getProperty( String prop ) {




Mime
View raw message