mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-14 12:25:21 +00:00
8377656: JUnit test java/util/zip/ZipFile/ZipFileInputStreamSkipTest.java uses private methods for BeforeAll/AfterAll
Reviewed-by: cstein, alanb
This commit is contained in:
parent
1bce8e4738
commit
6a5eb26dcf
@ -69,7 +69,7 @@ public class ZipFileInputStreamSkipTest {
|
||||
* @throws IOException If an error occurs creating the Zip Files
|
||||
*/
|
||||
@BeforeAll
|
||||
private static void createZip() throws IOException {
|
||||
static void createZip() throws IOException {
|
||||
Entry e0 = Entry.of("Entry-0", ZipEntry.STORED, "Tennis Pro");
|
||||
Entry e1 = Entry.of("Entry-1", ZipEntry.STORED,
|
||||
"United States Tennis Association");
|
||||
@ -98,7 +98,7 @@ public class ZipFileInputStreamSkipTest {
|
||||
* @throws IOException If an error occurs during cleanup
|
||||
*/
|
||||
@AfterAll
|
||||
private static void cleanUp() throws IOException {
|
||||
static void cleanUp() throws IOException {
|
||||
Files.deleteIfExists(STORED_ZIPFILE);
|
||||
Files.deleteIfExists(DEFLATED_ZIPFILE);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user