< prev index next >

test/jdk/com/sun/tools/jextract/systemHeaders/SystemHeadersTest.java

Print this page

        

@@ -41,11 +41,11 @@
 public class SystemHeadersTest extends JextractToolRunner {
 
     @Test
     public void testNoFollowSystemHeaders() throws IOException {
         Path clzPath = getOutputFilePath("out");
-        checkSuccess(null, "-d", clzPath.toString(),
-                getInputFilePath("foo.h").toString());
+        run("-d", clzPath.toString(),
+                getInputFilePath("foo.h").toString()).checkSuccess();
         assertEquals(Files.list(clzPath).
                 filter(p -> p.toString().endsWith("class")).count(), 1);
     }
 }
< prev index next >