mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8374434: Several JShell tests report JUnit discovery warnings
Reviewed-by: jpai
This commit is contained in:
parent
95137580b8
commit
e6abf98e35
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2026, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -149,7 +149,6 @@ public class ErrorTranslationTest extends ReplToolTesting {
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
@Test
|
||||
public String getKind(Diagnostic.Kind kind) {
|
||||
switch (kind) {
|
||||
case WARNING:
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2026, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -44,7 +44,6 @@ import org.junit.jupiter.api.Test;
|
||||
|
||||
public class IdGeneratorTest {
|
||||
|
||||
@Test
|
||||
public JShell.Builder getBuilder() {
|
||||
TestingInputStream inStream = new TestingInputStream();
|
||||
ByteArrayOutputStream outStream = new ByteArrayOutputStream();
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2026, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -32,13 +32,11 @@
|
||||
import java.io.File;
|
||||
|
||||
import org.junit.jupiter.api.Assumptions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.TestInstance;
|
||||
|
||||
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
|
||||
public class KullaCompletenessStressTest extends CompletenessStressTest {
|
||||
@Override
|
||||
@Test
|
||||
public File[] getDirectoriesToTest() {
|
||||
String src = System.getProperty("test.src");
|
||||
File file;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user