View Javadoc
1   /**
2    * Logback: the reliable, generic, fast and flexible logging framework.
3    * Copyright (C) 1999-2015, 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.classic;
15  
16  import ch.qos.logback.core.testUtil.CoreTestConstants;
17  
18  public class ClassicTestConstants {
19      final static public String ISO_REGEX = "\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2},\\d{3}";
20      // pool-1-thread-47
21      final static public String NAKED_MAIN_REGEX = "([mM]ain|pool-\\d-)([Tt]hread)?(-\\d{1,3})?";
22  
23      final static public String MAIN_REGEX = "\\[" + NAKED_MAIN_REGEX + "\\]";
24      final static public String INPUT_PREFIX = "src/test/input/";
25      final static public String JORAN_INPUT_PREFIX = INPUT_PREFIX + "joran/";
26      final static public String ISSUES_PREFIX = ClassicTestConstants.JORAN_INPUT_PREFIX + "issues/";
27      final static public String GAFFER_INPUT_PREFIX = INPUT_PREFIX + "gaffer/";
28      final static public String OUTPUT_DIR_PREFIX = CoreTestConstants.OUTPUT_DIR_PREFIX;
29  }