19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 /*
27 * @test
28 * @modules jdk.jextract
29 * @build BadBitfieldTest
30 * @run testng BadBitfieldTest
31 */
32
33 import org.testng.annotations.*;
34
35 public class BadBitfieldTest extends JextractToolRunner {
36
37 @Test
38 public void testBadBitfield() {
39 checkSuccess("Crossing storage unit boundaries", "-dry-run", getInputFilePath("badBitfields.h").toString());
40 }
41 }
|
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 /*
27 * @test
28 * @modules jdk.jextract
29 * @build BadBitfieldTest
30 * @run testng BadBitfieldTest
31 */
32
33 import org.testng.annotations.*;
34
35 public class BadBitfieldTest extends JextractToolRunner {
36
37 @Test
38 public void testBadBitfield() {
39 run("-dry-run", getInputFilePath("badBitfields.h").toString())
40 .checkSuccess()
41 .checkContainsOutput("Crossing storage unit boundaries");
42 }
43 }
|