test/jdk/java/lang/module/ConfigurationTest.java
changeset 52427 3c6aa484536c
parent 52102 19f6b12df31a
equal deleted inserted replaced
52426:38bf0c9c4e64 52427:3c6aa484536c
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 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.
    22  */
    22  */
    23 
    23 
    24 /**
    24 /**
    25  * @test
    25  * @test
    26  * @library /test/lib
    26  * @library /test/lib
    27  * @modules java.base/jdk.internal.misc
    27  * @modules java.base/jdk.internal.access
    28  *          java.base/jdk.internal.module
    28  *          java.base/jdk.internal.module
    29  * @build ConfigurationTest
    29  * @build ConfigurationTest
    30  *        jdk.test.lib.util.ModuleUtils
    30  *        jdk.test.lib.util.ModuleUtils
    31  * @run testng ConfigurationTest
    31  * @run testng ConfigurationTest
    32  * @summary Basic tests for java.lang.module.Configuration
    32  * @summary Basic tests for java.lang.module.Configuration
    43 import java.lang.module.ResolvedModule;
    43 import java.lang.module.ResolvedModule;
    44 import java.nio.file.Files;
    44 import java.nio.file.Files;
    45 import java.nio.file.Path;
    45 import java.nio.file.Path;
    46 import java.nio.file.Paths;
    46 import java.nio.file.Paths;
    47 import java.util.List;
    47 import java.util.List;
    48 import java.util.Optional;
       
    49 import java.util.Set;
    48 import java.util.Set;
    50 
    49 
    51 import jdk.test.lib.util.ModuleUtils;
    50 import jdk.test.lib.util.ModuleUtils;
    52 
    51 
    53 import jdk.internal.misc.SharedSecrets;
    52 import jdk.internal.access.SharedSecrets;
    54 import jdk.internal.module.ModuleInfoWriter;
    53 import jdk.internal.module.ModuleInfoWriter;
    55 import jdk.internal.module.ModuleTarget;
    54 import jdk.internal.module.ModuleTarget;
    56 import org.testng.annotations.DataProvider;
    55 import org.testng.annotations.DataProvider;
    57 import org.testng.annotations.Test;
    56 import org.testng.annotations.Test;
    58 import static org.testng.Assert.*;
    57 import static org.testng.Assert.*;