harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r617077 - in /harmony/enhanced/buildtest/branches/2.0/tests/functional: config/ src/test/functional/org/apache/harmony/test/func/jit/HLO/devirt/Runtime/RuntimeExtend1/ src/test/functional/org/apache/harmony/test/func/jit/HLO/devirt/Runtime/...
Date Thu, 31 Jan 2008 09:34:39 GMT
Author: smishura
Date: Thu Jan 31 01:34:38 2008
New Revision: 617077

URL: http://svn.apache.org/viewvc?rev=617077&view=rev
Log:
Fix RuntimeExtend1 test and add missed jar from HARMONY-4435:
([buildtest][func] Missing resource file for RuntimeExtend1 test)

Remove the tests from the exclude list (tested on Linux ia32)

Added:
    harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/jit/HLO/devirt/Runtime/RuntimeExtend1/auxiliary/child.jar
  (with props)
Modified:
    harmony/enhanced/buildtest/branches/2.0/tests/functional/config/func_exclude.file
    harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/jit/HLO/devirt/Runtime/RuntimeExtend1/RuntimeExtend1.java

Modified: harmony/enhanced/buildtest/branches/2.0/tests/functional/config/func_exclude.file
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/functional/config/func_exclude.file?rev=617077&r1=617076&r2=617077&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/functional/config/func_exclude.file (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/functional/config/func_exclude.file Thu
Jan 31 01:34:38 2008
@@ -79,8 +79,6 @@
 functional/org/apache/harmony/test/func/api/java/io/PipedInputStream/PipedInputStreamTest.xml
 # H-4434
 functional/org/apache/harmony/test/func/api/javax/print/F_PrintTest_01/F_PrintTest_01.xml
-# H-4435
-functional/org/apache/harmony/test/func/jit/HLO/devirt/Runtime/RuntimeExtend1/RuntimeExtend1.xml
 # H-4437
 functional/org/apache/harmony/test/func/networking/java/net/URL/GetContent01/getContent01.xml
 functional/org/apache/harmony/test/func/networking/java/net/URL/GetContent02/getContent02.xml

Modified: harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/jit/HLO/devirt/Runtime/RuntimeExtend1/RuntimeExtend1.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/jit/HLO/devirt/Runtime/RuntimeExtend1/RuntimeExtend1.java?rev=617077&r1=617076&r2=617077&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/jit/HLO/devirt/Runtime/RuntimeExtend1/RuntimeExtend1.java
(original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/jit/HLO/devirt/Runtime/RuntimeExtend1/RuntimeExtend1.java
Thu Jan 31 01:34:38 2008
@@ -16,6 +16,7 @@
  */
 package org.apache.harmony.test.func.jit.HLO.devirt.Runtime.RuntimeExtend1;
 
+import java.io.File;
 import java.net.MalformedURLException;
 import java.net.URL;
 import java.net.URLClassLoader;
@@ -68,11 +69,10 @@
 
 class AuxiliaryClass {
     
-    void changeObj(String path) throws ClassNotFoundException,
-            InstantiationException, IllegalAccessException,
-            MalformedURLException {
-        URL url = new URL("file:///" + path + "/child.jar");
-        if (url == null) {
+    void changeObj(String path) throws Exception {
+        URL url = new URL("file://" + path + "/child.jar");
+        if (!new File(url.toURI()).exists()) {
+            // TODO: remove this check?
             throw new RuntimeException("TEST EXCEPTION: url file:/" + path
                     + "/child.jar is not valid");
         }

Added: harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/jit/HLO/devirt/Runtime/RuntimeExtend1/auxiliary/child.jar
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/jit/HLO/devirt/Runtime/RuntimeExtend1/auxiliary/child.jar?rev=617077&view=auto
==============================================================================
Binary file - no diff available.

Propchange: harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/jit/HLO/devirt/Runtime/RuntimeExtend1/auxiliary/child.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message