View Javadoc
1   /*
2    * Logback: the reliable, generic, fast and flexible logging framework.
3    * Copyright (C) 1999-2022, QOS.ch. All rights reserved.
4    *
5    * This program and the accompanying materials are dual-licensed under
6    * either the terms of the Eclipse Public License v1.0 as published by
7    * the Eclipse Foundation
8    *
9    *   or (per the licensee's choosing)
10   *
11   * under the terms of the GNU Lesser General Public License version 2.1
12   * as published by the Free Software Foundation.
13   */
14  package ch.qos.logback.core.testUtil;
15  
16  public class CoreTestConstants {
17  
18      public static final String TEST_SRC_PREFIX = "src/test/";
19      public static final String TEST_INPUT_PREFIX = TEST_SRC_PREFIX + "input/";
20      public static final String JORAN_INPUT_PREFIX = TEST_INPUT_PREFIX + "joran/";
21  
22      public static final String TARGET_DIR = "target/";
23      public static final String OUTPUT_DIR_PREFIX = TARGET_DIR + "test-output/";
24  
25      public static final int SUCCESSFUL_EXIT_CODE = 8;
26      public static final int FAILURE_EXIT_CODE = 1;
27  
28      public static final String BASH_PATH_ON_CYGWIN = "c:/cygwin/bin/bash";
29      public static final String BASH_PATH_ON_LINUX = "bash";
30  
31      public static final String SLOW_JENKINS = "slowJenkins";
32      public static final String JAVA_NAMING_FACTORY_INITIAL = "java.naming.factory.initial";
33  }