< prev index next >

test/jdk/com/sun/tools/jextract/ArrayTest.java

Print this page

        

@@ -37,12 +37,12 @@
  */
 public class ArrayTest extends JextractToolRunner {
     @Test
     public void arrayInStruct() {
         Path clzPath = getOutputFilePath("tmp.jar");
-        checkSuccess(null,"-o", clzPath.toString(),
-                getInputFilePath("arrayTest.h").toString());
+        run("-o", clzPath.toString(),
+                getInputFilePath("arrayTest.h").toString()).checkSuccess();
         Class<?> cls = loadClass("arrayTest", clzPath);
 
         Class<?>[] inners = cls.getDeclaredClasses();
         // FIXME: should really be two without duplicate callback
         assertEquals(inners.length, 3);
< prev index next >