Browse Source

hit the commit-button too early: have to comment these two tests out

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1587167 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 11 years ago
parent
commit
7eab7687db
1 changed files with 10 additions and 6 deletions
  1. +10
    -6
      src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java

+ 10
- 6
src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java View File

@@ -144,9 +144,11 @@ public class DefaultCompilerAdapterTest extends TestCase {
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 extends TestCase {
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");
}


Loading…
Cancel
Save