test/langtools/tools/javac/nativeHeaders/NativeHeaderTest.java
changeset 50735 2f2af62dfac7
parent 47216 71c04702a3d5
equal deleted inserted replaced
50734:0828a0f6676b 50735:2f2af62dfac7
     1 /*
     1 /*
     2  * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   120 
   120 
   121         test(rk, gk, files, expect);
   121         test(rk, gk, files, expect);
   122 
   122 
   123         // double check the synthetic class was generated
   123         // double check the synthetic class was generated
   124         checkEqual("generatedClasses",
   124         checkEqual("generatedClasses",
   125                 createSet("C.class", "C$1.class", "C$Inner.class"),
   125                 createSet("C.class", "C$Inner.class"),
   126                 createSet(classesDir.list()));
   126                 createSet(classesDir.list()));
   127     }
   127     }
   128 
   128 
   129     @Test
   129     @Test
   130     void annoTest(RunKind rk, GenKind gk) throws Exception {
   130     void annoTest(RunKind rk, GenKind gk) throws Exception {