harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r606786 - in /harmony/enhanced/buildtest/branches/2.0/tests/functional: config/func_exclude.file src/test/functional/org/apache/harmony/test/func/api/java/util/jar/Manifest/ManifestTest.java
Date Tue, 25 Dec 2007 11:51:19 GMT
Author: smishura
Date: Tue Dec 25 03:51:17 2007
New Revision: 606786

URL: http://svn.apache.org/viewvc?rev=606786&view=rev
Log:
Apply modified patch from HARMONY-4419:
[buildtest][func] MainfestTest test is invalid

and remove the test from the exclude list (tested on Linux ia32)

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/api/java/util/jar/Manifest/ManifestTest.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=606786&r1=606785&r2=606786&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 Tue
Dec 25 03:51:17 2007
@@ -39,8 +39,6 @@
 functional/org/apache/harmony/test/func/vm/verifier/stack/Test09/Test0901/stackTest0901.xml

 # H-4438
 functional/org/apache/harmony/test/func/api/java/util/regex/Matcher/MatcherTest.xml
-# H-4419
-functional/org/apache/harmony/test/func/api/java/util/jar/Manifest/ManifestTest.xml
 # H-4416
 functional/org/apache/harmony/test/func/api/java/util/GregorianCalendar/GregorianCalendarTest.xml
 # H-4374

Modified: harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/util/jar/Manifest/ManifestTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/util/jar/Manifest/ManifestTest.java?rev=606786&r1=606785&r2=606786&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/util/jar/Manifest/ManifestTest.java
(original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/util/jar/Manifest/ManifestTest.java
Tue Dec 25 03:51:17 2007
@@ -165,10 +165,10 @@
         try {
             Manifest mf = new Manifest(new ByteArrayInputStream(s.getBytes()));
         } catch (IOException e) {
-            return failed("expected IOException in reference JVM though manifest is correct
(bug in the reference VM)");
+            return passed();
         }
 
-        return passed();
+        return failed("IOException is expected");
     }
 
     public Result testConstructorInputStream() throws IOException {



Mime
View raw message