< prev index next >

test/compiler/compilercontrol/share/scenario/Scenario.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke


   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  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 package compiler.compilercontrol.share.scenario;
  25 
  26 import compiler.compilercontrol.share.method.MethodDescriptor;

  27 import compiler.compilercontrol.share.processors.CommandProcessor;
  28 import compiler.compilercontrol.share.processors.LogProcessor;
  29 import compiler.compilercontrol.share.processors.PrintDirectivesProcessor;
  30 import compiler.compilercontrol.share.processors.PrintProcessor;
  31 import jdk.test.lib.Asserts;
  32 import jdk.test.lib.OutputAnalyzer;
  33 import jdk.test.lib.Pair;
  34 import pool.PoolHelper;
  35 
  36 import java.lang.reflect.Executable;
  37 import java.util.ArrayList;
  38 import java.util.Collections;
  39 import java.util.HashMap;
  40 import java.util.LinkedHashSet;
  41 import java.util.List;
  42 import java.util.Map;
  43 import java.util.Set;
  44 import java.util.concurrent.Callable;
  45 import java.util.function.Consumer;
  46 
  47 /**
  48  * Test scenario
  49  */
  50 public final class Scenario {
  51     private final boolean isValid;
  52     private final Map<Executable, State> states;
  53     private final List<Consumer<OutputAnalyzer>> processors;
  54     private final Executor executor;




   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  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 package compiler.compilercontrol.share.scenario;
  25 
  26 import compiler.compilercontrol.share.method.MethodDescriptor;
  27 import compiler.compilercontrol.share.pool.PoolHelper;
  28 import compiler.compilercontrol.share.processors.CommandProcessor;
  29 import compiler.compilercontrol.share.processors.LogProcessor;
  30 import compiler.compilercontrol.share.processors.PrintDirectivesProcessor;
  31 import compiler.compilercontrol.share.processors.PrintProcessor;
  32 import jdk.test.lib.Asserts;
  33 import jdk.test.lib.OutputAnalyzer;
  34 import jdk.test.lib.Pair;

  35 
  36 import java.lang.reflect.Executable;
  37 import java.util.ArrayList;
  38 import java.util.Collections;
  39 import java.util.HashMap;
  40 import java.util.LinkedHashSet;
  41 import java.util.List;
  42 import java.util.Map;
  43 import java.util.Set;
  44 import java.util.concurrent.Callable;
  45 import java.util.function.Consumer;
  46 
  47 /**
  48  * Test scenario
  49  */
  50 public final class Scenario {
  51     private final boolean isValid;
  52     private final Map<Executable, State> states;
  53     private final List<Consumer<OutputAnalyzer>> processors;
  54     private final Executor executor;


< prev index next >