Removed JDK 7 references.
This commit is contained in:
parent
574373b806
commit
d557d3cab0
|
@ -41,7 +41,6 @@ import org.junit.Test;
|
||||||
import static org.hamcrest.Matchers.anyOf;
|
import static org.hamcrest.Matchers.anyOf;
|
||||||
import static org.hamcrest.Matchers.contains;
|
import static org.hamcrest.Matchers.contains;
|
||||||
import static org.hamcrest.Matchers.equalTo;
|
import static org.hamcrest.Matchers.equalTo;
|
||||||
import static org.hamcrest.Matchers.is;
|
|
||||||
import static org.junit.Assert.assertThat;
|
import static org.junit.Assert.assertThat;
|
||||||
|
|
||||||
public class ModulesTest
|
public class ModulesTest
|
||||||
|
@ -201,7 +200,7 @@ public class ModulesTest
|
||||||
// Test Env
|
// Test Env
|
||||||
File homeDir = MavenTestingUtils.getTestResourceDir("dist-home");
|
File homeDir = MavenTestingUtils.getTestResourceDir("dist-home");
|
||||||
File baseDir = testdir.getEmptyDir();
|
File baseDir = testdir.getEmptyDir();
|
||||||
String cmdLine[] = new String[] { "jetty.version=TEST", "java.version=1.7.0_60" };
|
String cmdLine[] = new String[] { "jetty.version=TEST", "java.version=1.8.0_31" };
|
||||||
|
|
||||||
// Configuration
|
// Configuration
|
||||||
CommandLineConfigSource cmdLineSource = new CommandLineConfigSource(cmdLine);
|
CommandLineConfigSource cmdLineSource = new CommandLineConfigSource(cmdLine);
|
||||||
|
|
|
@ -18,8 +18,6 @@
|
||||||
|
|
||||||
package org.eclipse.jetty.start;
|
package org.eclipse.jetty.start;
|
||||||
|
|
||||||
import static org.hamcrest.Matchers.*;
|
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -34,6 +32,8 @@ import org.junit.runners.Parameterized;
|
||||||
import org.junit.runners.Parameterized.Parameter;
|
import org.junit.runners.Parameterized.Parameter;
|
||||||
import org.junit.runners.Parameterized.Parameters;
|
import org.junit.runners.Parameterized.Parameters;
|
||||||
|
|
||||||
|
import static org.hamcrest.Matchers.containsString;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test bad configuration scenarios.
|
* Test bad configuration scenarios.
|
||||||
*/
|
*/
|
||||||
|
@ -46,8 +46,8 @@ public class TestBadUseCases
|
||||||
List<Object[]> ret = new ArrayList<>();
|
List<Object[]> ret = new ArrayList<>();
|
||||||
|
|
||||||
ret.add(new Object[]{ "http2",
|
ret.add(new Object[]{ "http2",
|
||||||
"Missing referenced dependency: alpn-impl/alpn-1.7.0_01",
|
"Missing referenced dependency: alpn-impl/alpn-0.0.0_00",
|
||||||
new String[]{"java.version=1.7.0_01"}});
|
new String[]{"java.version=0.0.0_00"}});
|
||||||
|
|
||||||
ret.add(new Object[]{ "versioned-modules-too-new",
|
ret.add(new Object[]{ "versioned-modules-too-new",
|
||||||
"Module [http3] specifies jetty version [10.0] which is newer than this version of jetty [" + RebuildTestResources.JETTY_VERSION + "]",
|
"Module [http3] specifies jetty version [10.0] which is newer than this version of jetty [" + RebuildTestResources.JETTY_VERSION + "]",
|
||||||
|
|
Loading…
Reference in New Issue