View Javadoc
1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *   http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.apache.maven.surefire.booter;
20  
21  /**
22   * Constants used by the serializer/deserializer
23   *
24   * @author Kristian Rosenvold
25   */
26  public final class BooterConstants {
27      private BooterConstants() {}
28  
29      public static final String SPECIFIC_TEST_PROPERTY_PREFIX = "specificTest";
30      public static final String INCLUDES_PROPERTY_PREFIX = "includes";
31      public static final String EXCLUDES_PROPERTY_PREFIX = "excludes";
32      public static final String USESYSTEMCLASSLOADER = "useSystemClassLoader";
33      public static final String USEMANIFESTONLYJAR = "useManifestOnlyJar";
34      public static final String FAILIFNOTESTS = "failIfNoTests";
35      public static final String ISTRIMSTACKTRACE = "isTrimStackTrace";
36      public static final String REPORTSDIRECTORY = "reportsDirectory";
37      public static final String TESTARTIFACT_VERSION = "testFwJarVersion";
38      public static final String TESTARTIFACT_CLASSIFIER = "testFwJarClassifier";
39      public static final String REQUESTEDTEST = "requestedTest";
40      public static final String SOURCE_DIRECTORY = "testSuiteDefinitionTestSourceDirectory";
41      public static final String TEST_CLASSES_DIRECTORY = "testClassesDirectory";
42      public static final String RUN_ORDER = "runOrder";
43      public static final String RUN_ORDER_RANDOM_SEED = "runOrderRandomSeed";
44      public static final String RUN_STATISTICS_FILE = "runStatisticsFile";
45      public static final String TEST_SUITE_XML_FILES = "testSuiteXmlFiles";
46      public static final String PROVIDER_CONFIGURATION = "providerConfiguration";
47      public static final String FORKTESTSET = "forkTestSet";
48      public static final String FORKTESTSET_PREFER_TESTS_FROM_IN_STREAM = "preferTestsFromInStream";
49      public static final String RERUN_FAILING_TESTS_COUNT = "rerunFailingTestsCount";
50      public static final String MAIN_CLI_OPTIONS = "mainCliOptions";
51      public static final String FAIL_FAST_COUNT = "failFastCount";
52      public static final String SHUTDOWN = "shutdown";
53      public static final String SYSTEM_EXIT_TIMEOUT = "systemExitTimeout";
54      public static final String PLUGIN_PID = "pluginPid";
55      public static final String PROCESS_CHECKER = "processChecker";
56      public static final String FORK_NODE_CONNECTION_STRING = "forkNodeConnectionString";
57      public static final String FORK_NUMBER = "forkNumber";
58  }