< prev index next >
test/jdk/com/sun/tools/jextract/systemHeaders/SystemHeadersTest.java
Print this page
*** 41,51 ****
public class SystemHeadersTest extends JextractToolRunner {
@Test
public void testNoFollowSystemHeaders() throws IOException {
Path clzPath = getOutputFilePath("out");
! checkSuccess(null, "-d", clzPath.toString(),
! getInputFilePath("foo.h").toString());
assertEquals(Files.list(clzPath).
filter(p -> p.toString().endsWith("class")).count(), 1);
}
}
--- 41,51 ----
public class SystemHeadersTest extends JextractToolRunner {
@Test
public void testNoFollowSystemHeaders() throws IOException {
Path clzPath = getOutputFilePath("out");
! run("-d", clzPath.toString(),
! getInputFilePath("foo.h").toString()).checkSuccess();
assertEquals(Files.list(clzPath).
filter(p -> p.toString().endsWith("class")).count(), 1);
}
}
< prev index next >