fix formatting in DistributionTests

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2020-11-04 22:24:19 +11:00
parent fc4e263f93
commit 416579a690
1 changed files with 4 additions and 5 deletions

View File

@ -128,7 +128,7 @@ public class DistributionTests extends AbstractJettyHomeTest
Path quickstartWebXml = webInf.resolve("quickstart-web.xml");
assertTrue(Files.exists(quickstartWebXml));
assertNotEquals(0, Files.size(quickstartWebXml));
int port = distribution.freePort();
try (JettyHomeTester.Run run3 = distribution.start("jetty.http.port=" + port, "jetty.quickstart.mode=QUICKSTART"))
@ -144,7 +144,7 @@ public class DistributionTests extends AbstractJettyHomeTest
}
}
}
@Test
public void testSimpleWebAppWithJSP() throws Exception
{
@ -455,7 +455,7 @@ public class DistributionTests extends AbstractJettyHomeTest
"jetty.http.port=" + port,
"jetty.ssl.port=" + port,
// "jetty.server.dumpAfterStart=true",
};
};
try (JettyHomeTester.Run run2 = distribution.start(args2))
{
@ -513,8 +513,8 @@ public class DistributionTests extends AbstractJettyHomeTest
/**
* This reproduces some classloading issue with MethodHandles in JDK14-15, this has been fixed in JDK16.
* @see <a href="https://bugs.openjdk.java.net/browse/JDK-8244090">JDK-8244090</a>
* @throws Exception if there is an error during the test.
* @see <a href="https://bugs.openjdk.java.net/browse/JDK-8244090">JDK-8244090</a>
*/
@ParameterizedTest
@ValueSource(strings = {"", "--jpms"})
@ -639,5 +639,4 @@ public class DistributionTests extends AbstractJettyHomeTest
}
}
}
}