Skip to content

Commit e184943

Browse files
committed
Drop unused jtreg test headers
Drop unused jtreg test headers Reviewed-by: sundar
1 parent 2f9b9c0 commit e184943

31 files changed

+3
-224
lines changed

test/TEST.ROOT

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
# Test libraries
2-
lib.dirs = ./lib
3-
41
# This file identifies root(s) of the test-ng hierarchy.
52
TestNG.dirs = ./java
63

7-
# To help out with foreign memory access Spliterator tests
8-
modules = jdk.incubator.foreign
9-
104
groups=TEST.groups
115

test/java/org/openjdk/jextract/test/api/Test8241650.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@
2727
import org.testng.annotations.Test;
2828
import static org.testng.Assert.assertTrue;
2929

30-
/*
31-
* @test
32-
* @bug 8241650
33-
* @summary jextract module should be mapped to application class loader
34-
* @run testng Test8241650
35-
*/
3630
public class Test8241650 {
3731
@Test
3832
public void testClassLoader() {

test/java/org/openjdk/jextract/test/toolprovider/RepeatedDeclsTest.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,6 @@
3535
import static org.testng.Assert.assertNotNull;
3636
import static org.testng.Assert.assertTrue;
3737

38-
/*
39-
* @test
40-
* @bug 8240300
41-
* @summary jextract produces non compilable code with repeated declarations
42-
* @library /test/lib
43-
* @build JextractToolRunner
44-
* @run testng/othervm --enable-native-access=ALL-UNNAMED RepeatedDeclsTest
45-
*/
4638
public class RepeatedDeclsTest extends JextractToolRunner {
4739
@Test
4840
public void repeatedDecls() throws Throwable {

test/java/org/openjdk/jextract/test/toolprovider/Test8240181.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@
2828
import org.openjdk.jextract.test.TestUtils;
2929
import org.testng.annotations.Test;
3030

31-
/*
32-
* @test
33-
* @library /test/lib
34-
* @build JextractToolRunner
35-
* @bug 8240181
36-
* @run testng/othervm --enable-native-access=ALL-UNNAMED -Duser.language=en Test8240181
37-
*/
3831
public class Test8240181 extends JextractToolRunner {
3932
@Test
4033
public void testAnonymousEnum() {

test/java/org/openjdk/jextract/test/toolprovider/Test8240657.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@
2929
import org.testng.annotations.Test;
3030
import static org.testng.Assert.assertNotNull;
3131

32-
/*
33-
* @test
34-
* @library /test/lib
35-
* @build JextractToolRunner
36-
* @bug 8240657
37-
* @summary when Java keywords are used as identifiers in C header, jextract generates non-compilable java code
38-
* @run testng/othervm --enable-native-access=ALL-UNNAMED Test8240657
39-
*/
4032
public class Test8240657 extends JextractToolRunner {
4133
@Test
4234
public void testKeywordIdentifiers() {

test/java/org/openjdk/jextract/test/toolprovider/Test8240752.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,6 @@
3333
import static org.testng.Assert.assertNotNull;
3434
import static org.testng.Assert.assertTrue;
3535

36-
/*
37-
* @test
38-
* @library /test/lib
39-
* @build JextractToolRunner
40-
* @bug 8240752
41-
* @summary jextract generates non-compilable code for special floating point values
42-
* @run testng/othervm --enable-native-access=ALL-UNNAMED Test8240752
43-
*/
4436
public class Test8240752 extends JextractToolRunner {
4537
private float getFloatConstant(Class<?> cls, String name) {
4638
Method method = findMethod(cls, name);

test/java/org/openjdk/jextract/test/toolprovider/Test8240811.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,6 @@
3333
import static org.testng.Assert.assertNotNull;
3434
import static org.testng.Assert.assertTrue;
3535

36-
/*
37-
* @test
38-
* @library /test/lib
39-
* @build JextractToolRunner
40-
* @bug 8240811
41-
* @summary jextract generates non-compilable code for name collision between a struct and a global variable
42-
* @run testng/othervm --enable-native-access=ALL-UNNAMED Test8240811
43-
*/
4436
public class Test8240811 extends JextractToolRunner {
4537
@Test
4638
public void testNameCollision() {

test/java/org/openjdk/jextract/test/toolprovider/Test8244412.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@
2929
import org.testng.annotations.Test;
3030
import static org.testng.Assert.assertNotNull;
3131

32-
/*
33-
* @test
34-
* @library /test/lib
35-
* @build JextractToolRunner
36-
* @bug 8244412
37-
* @summary jextract should generate static utils class for primitive typedefs
38-
* @run testng/othervm --enable-native-access=ALL-UNNAMED Test8244412
39-
*/
4032
public class Test8244412 extends JextractToolRunner {
4133
@Test
4234
public void testPrimitiveTypedefs() {

test/java/org/openjdk/jextract/test/toolprovider/Test8245767.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,6 @@
3232
import static org.testng.Assert.assertNotNull;
3333
import static org.testng.Assert.assertTrue;
3434

35-
/*
36-
* @test
37-
* @library /test/lib
38-
* @build JextractToolRunner
39-
* @bug 8245767
40-
* @summary jextract crashes with typedef on a opaque struct or union
41-
* @run testng/othervm --enable-native-access=ALL-UNNAMED Test8245767
42-
*/
4335
public class Test8245767 extends JextractToolRunner {
4436
@Test
4537
public void testTypedefs() {

test/java/org/openjdk/jextract/test/toolprovider/Test8248415.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@
2929
import org.openjdk.jextract.test.TestUtils;
3030
import org.testng.annotations.Test;
3131

32-
/*
33-
* @test
34-
* @library /test/lib
35-
* @build JextractToolRunner
36-
* @bug 8248415
37-
* @summary jextract does not generate getter and setter for pointer typed fields in structs
38-
* @run testng/othervm --enable-native-access=ALL-UNNAMED Test8248415
39-
*/
4032
public class Test8248415 extends JextractToolRunner {
4133

4234
@Test

0 commit comments

Comments
 (0)