1 18 19 package org.apache.beehive.netui.tools.testrecorder.shared; 20 21 26 public class Constants { 27 28 public static String CONFIG_FILE = "testRecorder-config.xml"; 30 public static String TESTS_FILE = "testRecorder-tests.xml"; 31 public static String WEBAPPS_FILE = "testRecorder-webapp.xml"; 32 public static String SERVER_FILE = "testRecorder-server.xml"; 33 34 public static String FILE_TYPE_CONFIG = "config"; 35 public static String FILE_TYPE_WEBAPP = "webapp"; 36 public static String FILE_TYPE_TESTS = "tests"; 37 38 public static final String TEST_NUMBER_HEADER = "testRecorder.playback.testNumber"; 40 public static final String TEST_ID_HEADER = "testRecorder.playback.testID"; 42 public static final String RECORD_FILE_HEADER = "testRecorder.playback.recordFile"; 45 public static final String RESULTS_FILE_HEADER = "testRecorder.playback.resultsFile"; 47 public static final String RESULTS_DIFF_HEADER = "testRecorder.playback.resultsDiffFile"; 50 public static final String FAIL_MODE_HEADER = "testRecorder.playback.failMode"; 53 public static final String OUTCOME_HEADER = "testRecorder.playback.outcome"; 55 public static final String FILTER_SKIP_PARAM = "testRecorder.filter.skip"; 57 public static final String REQUEST_MARKER_ATTRIBUTE = "testRecorder.request.marked"; 60 public static final String REQUEST_EXCEPTION_MARKER_ATTRIBUTE = "testRecorder.request.marked.exception"; 61 public static final String REQUEST_NEW_EXCEPTION_MARKER_ATTRIBUTE = "testRecorder.request.marked.exception.new"; 62 public static final String STATE_STORAGE_KEY = "testRecorder.state."; 63 public static final String BODY_END = "</body>"; 64 public static final String BODY_END_CAPS = "</BODY>"; 65 public static final String NL = "\n"; 66 public static final String EMPTY_STRING = ""; 67 public static final String START = "Start"; 69 public static final String STOP = "Stop"; 70 public static final String RED = "red"; 71 public static final String GREEN = "green"; 72 public static final String RECORD_FILE_PATH = "/testRecorder/tests"; 73 public static final String RESULTS_FILE_PATH = "/testRecorder/testResults"; 74 public static final String ERROR_PAGE = "/testRecorder/error.jsp"; 75 public static final String RECORD_PAGE = "/testRecorder/record.jsp"; 76 public static final String PLAYBACK_PAGE = "/testRecorder/playback.jsp"; 77 public static final String STATUS_PAGE = "/testRecorder/status.jsp"; 78 public static final String TEST_PAGE = "/testRecorder/test.jsp"; 79 public static final String XML = ".xml"; 80 public static final String DIFF = ".diff"; 81 public static final String MSG_ATTRIBUTE = "testRecorder.msg"; 83 public static final String RECORD_SESSION_ATTRIBUTE = "testRecorder.record.session"; 84 public static final String PLAYBACK_SESSION_ATTRIBUTE = "testRecorder.playback.session"; 85 public static final String TEST_USER = "testUser"; 87 public static final String TEST_NAME = "testName"; 88 public static final String DESCRIPTION = "description"; 89 public static final String OVERWRITE = "overwrite"; 90 public static final String MODE = "mode"; 91 public static final String CMD = "cmd"; 92 public static final String FILE = "file"; 93 public static final String RECORD = "record"; 95 public static final String PLAYBACK = "playback"; 96 public static final String XML_MODE = "xml"; 97 public static final String ADMIN = "admin"; 98 public static final String CLEAN = "clean"; 99 public static final String SET_TEST_MODE_FALSE = "setTestModeFalse"; 100 public static final String SET_TEST_MODE_TRUE = "setTestModeTrue"; 101 public static final String DPY_DIFF = "diff"; 102 public static final String DPY_DETAILS = "details"; 103 public static final String DPY_LINK = "displayLink"; 104 public static final String MODE_TEST = "test"; 105 public static final String DISPLAY_REPORT = "displayReport"; 106 public static final String DISPLAY_RECORD = "displayRecordFile"; 107 public static final String DISPLAY_PLAYBACK = "displayPlaybackFile"; 108 109 public static final String PASS = "pass"; 111 public static final String FAIL = "fail"; 112 public static final String ERROR= "ERROR"; 113 114 } 115 | Popular Tags |