File tree Expand file tree Collapse file tree 31 files changed +3
-224
lines changed Expand file tree Collapse file tree 31 files changed +3
-224
lines changed Original file line number Diff line number Diff line change 1
- # Test libraries
2
- lib.dirs = ./lib
3
-
4
1
# This file identifies root(s) of the test-ng hierarchy.
5
2
TestNG.dirs = ./java
6
3
7
- # To help out with foreign memory access Spliterator tests
8
- modules = jdk.incubator.foreign
9
-
10
4
groups=TEST.groups
11
5
Original file line number Diff line number Diff line change 27
27
import org .testng .annotations .Test ;
28
28
import static org .testng .Assert .assertTrue ;
29
29
30
- /*
31
- * @test
32
- * @bug 8241650
33
- * @summary jextract module should be mapped to application class loader
34
- * @run testng Test8241650
35
- */
36
30
public class Test8241650 {
37
31
@ Test
38
32
public void testClassLoader () {
Original file line number Diff line number Diff line change 35
35
import static org .testng .Assert .assertNotNull ;
36
36
import static org .testng .Assert .assertTrue ;
37
37
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
- */
46
38
public class RepeatedDeclsTest extends JextractToolRunner {
47
39
@ Test
48
40
public void repeatedDecls () throws Throwable {
Original file line number Diff line number Diff line change 28
28
import org .openjdk .jextract .test .TestUtils ;
29
29
import org .testng .annotations .Test ;
30
30
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
- */
38
31
public class Test8240181 extends JextractToolRunner {
39
32
@ Test
40
33
public void testAnonymousEnum () {
Original file line number Diff line number Diff line change 29
29
import org .testng .annotations .Test ;
30
30
import static org .testng .Assert .assertNotNull ;
31
31
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
- */
40
32
public class Test8240657 extends JextractToolRunner {
41
33
@ Test
42
34
public void testKeywordIdentifiers () {
Original file line number Diff line number Diff line change 33
33
import static org .testng .Assert .assertNotNull ;
34
34
import static org .testng .Assert .assertTrue ;
35
35
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
- */
44
36
public class Test8240752 extends JextractToolRunner {
45
37
private float getFloatConstant (Class <?> cls , String name ) {
46
38
Method method = findMethod (cls , name );
Original file line number Diff line number Diff line change 33
33
import static org .testng .Assert .assertNotNull ;
34
34
import static org .testng .Assert .assertTrue ;
35
35
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
- */
44
36
public class Test8240811 extends JextractToolRunner {
45
37
@ Test
46
38
public void testNameCollision () {
Original file line number Diff line number Diff line change 29
29
import org .testng .annotations .Test ;
30
30
import static org .testng .Assert .assertNotNull ;
31
31
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
- */
40
32
public class Test8244412 extends JextractToolRunner {
41
33
@ Test
42
34
public void testPrimitiveTypedefs () {
Original file line number Diff line number Diff line change 32
32
import static org .testng .Assert .assertNotNull ;
33
33
import static org .testng .Assert .assertTrue ;
34
34
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
- */
43
35
public class Test8245767 extends JextractToolRunner {
44
36
@ Test
45
37
public void testTypedefs () {
Original file line number Diff line number Diff line change 29
29
import org .openjdk .jextract .test .TestUtils ;
30
30
import org .testng .annotations .Test ;
31
31
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
- */
40
32
public class Test8248415 extends JextractToolRunner {
41
33
42
34
@ Test
You can’t perform that action at this time.
0 commit comments