ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1587167 - /ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java
Date Mon, 14 Apr 2014 08:56:53 GMT
Author: jhm
Date: Mon Apr 14 08:56:53 2014
New Revision: 1587167

URL: http://svn.apache.org/r1587167
Log:
hit the commit-button too early: have to comment these two tests out

Modified:
    ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java

Modified: ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java?rev=1587167&r1=1587166&r2=1587167&view=diff
==============================================================================
--- ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java
(original)
+++ ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java
Mon Apr 14 08:56:53 2014
@@ -144,9 +144,11 @@ public class DefaultCompilerAdapterTest 
         testSource("1.7", "javac1.9",
                    "If you specify -target 1.7 you now must also specify"
                    + " -source 1.7", "1.7");
-        testSource("1.8", "javac1.9",
-                "If you specify -target 1.8 you now must also specify"
-                + " -source 1.8", "1.8");
+        //TODO: This is the behaviour I would expect from analogy. But at the moment
+        // (jdk-1.9.0_b06) this is not 'implemented'.
+//        testSource("1.8", "javac1.9",
+//                "If you specify -target 1.8 you now must also specify"
+//                + " -source 1.8", "1.8");
         testSource("5", "javac1.9",
                    "If you specify -target 5 you now must also specify"
                    + " -source 5", "5");
@@ -156,9 +158,11 @@ public class DefaultCompilerAdapterTest 
         testSource("7", "javac1.9",
                    "If you specify -target 7 you now must also specify"
                    + " -source 7", "7");
-        testSource("8", "javac1.9",
-                "If you specify -target 8 you now must also specify"
-                + " -source 8", "8");
+        //TODO: This is the behaviour I would expect from analogy. But at the moment
+        // (jdk-1.9.0_b06) this is not 'implemented'.
+//        testSource("8", "javac1.9",
+//                "If you specify -target 8 you now must also specify"
+//                + " -source 8", "8");
         testSource(null, "javac1.9", "", "1.8");
         testSource(null, "javac1.9", "", "8");
     }



Mime
View raw message