001/** 002 * Logback: the reliable, generic, fast and flexible logging framework. 003 * Copyright (C) 1999-2015, QOS.ch. All rights reserved. 004 * 005 * This program and the accompanying materials are dual-licensed under 006 * either the terms of the Eclipse Public License v1.0 as published by 007 * the Eclipse Foundation 008 * 009 * or (per the licensee's choosing) 010 * 011 * under the terms of the GNU Lesser General Public License version 2.1 012 * as published by the Free Software Foundation. 013 */ 014package ch.qos.logback.classic; 015 016import ch.qos.logback.core.testUtil.CoreTestConstants; 017 018public class ClassicTestConstants { 019 final static public String ISO_REGEX = "\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2},\\d{3}"; 020 // pool-1-thread-47 021 final static public String NAKED_MAIN_REGEX = "([mM]ain|pool-\\d-)([Tt]hread)?(-\\d{1,3})?"; 022 023 final static public String MAIN_REGEX = "\\[" + NAKED_MAIN_REGEX + "\\]"; 024 final static public String INPUT_PREFIX = "src/test/input/"; 025 final static public String JORAN_INPUT_PREFIX = INPUT_PREFIX + "joran/"; 026 final static public String ISSUES_PREFIX = ClassicTestConstants.JORAN_INPUT_PREFIX + "issues/"; 027 final static public String GAFFER_INPUT_PREFIX = INPUT_PREFIX + "gaffer/"; 028 final static public String OUTPUT_DIR_PREFIX = CoreTestConstants.OUTPUT_DIR_PREFIX; 029}