< prev index next >

test/tools/jar/multiRelease/ApiValidatorTest.java

Print this page
rev 17324 : 8181761: add explicit @build actions for jdk.test.lib classes in all :tier2 tests
Reviewed-by: duke


  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @summary Tests for API validator.
  27  * @library /test/lib
  28  * @modules java.base/jdk.internal.misc
  29  *          jdk.compiler
  30  *          jdk.jartool
  31  * @build MRTestBase







  32  * @run testng/timeout=1200 ApiValidatorTest
  33  */
  34 
  35 import jdk.test.lib.process.OutputAnalyzer;
  36 import jdk.test.lib.util.FileUtils;
  37 import org.testng.annotations.AfterMethod;
  38 import org.testng.annotations.BeforeMethod;
  39 import org.testng.annotations.DataProvider;
  40 import org.testng.annotations.Test;
  41 
  42 import java.io.IOException;
  43 import java.lang.reflect.Method;
  44 import java.nio.file.Files;
  45 import java.nio.file.Path;
  46 import java.nio.file.Paths;
  47 import java.util.regex.Matcher;
  48 import java.util.regex.Pattern;
  49 
  50 public class ApiValidatorTest extends MRTestBase {
  51 




  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @summary Tests for API validator.
  27  * @library /test/lib
  28  * @modules java.base/jdk.internal.misc
  29  *          jdk.compiler
  30  *          jdk.jartool
  31  * @build jdk.test.lib.util.FileUtils
  32  *        jdk.test.lib.Utils
  33  *        jdk.test.lib.Asserts
  34  *        jdk.test.lib.JDKToolFinder
  35  *        jdk.test.lib.JDKToolLauncher
  36  *        jdk.test.lib.Platform
  37  *        jdk.test.lib.process.*
  38  *        MRTestBase
  39  * @run testng/timeout=1200 ApiValidatorTest
  40  */
  41 
  42 import jdk.test.lib.process.OutputAnalyzer;
  43 import jdk.test.lib.util.FileUtils;
  44 import org.testng.annotations.AfterMethod;
  45 import org.testng.annotations.BeforeMethod;
  46 import org.testng.annotations.DataProvider;
  47 import org.testng.annotations.Test;
  48 
  49 import java.io.IOException;
  50 import java.lang.reflect.Method;
  51 import java.nio.file.Files;
  52 import java.nio.file.Path;
  53 import java.nio.file.Paths;
  54 import java.util.regex.Matcher;
  55 import java.util.regex.Pattern;
  56 
  57 public class ApiValidatorTest extends MRTestBase {
  58 


< prev index next >