]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.core/src/main/java/org/argeo/slc/core/test/TestStatus.java
d6954be8f24b34d7301f861985f54f1ff2e7989a
[gpl/argeo-slc.git] / org.argeo.slc.core / src / main / java / org / argeo / slc / core / test / TestStatus.java
1 package org.argeo.slc.core.test;
2
3 /**
4 * Simple statuses.
5 * <p>
6 * <ul>
7 * <li>{@link #PASSED}: the test succeeded</li>
8 * <li>{@link #FAILED}: the test could run, but did not reach the expected
9 * result</li>
10 * <li>{@link #ERROR}: an error during the test run prevented to get a
11 * significant information on the tested system.</li>
12 * </ul>
13 * </p>
14 */
15 public interface TestStatus {
16 /** The flag for a passed test: 0 */
17 public final static Integer PASSED = 0;
18 /** The flag for a failed test: 1 */
19 public final static Integer FAILED = 1;
20 /**
21 * The flag for a test which could not properly run because of an error
22 * (there is no feedback on the behavior of the tested component): 2
23 */
24 public final static Integer ERROR = 2;
25 public final static String STATUSSTR_PASSED = "PASSED";
26 public final static String STATUSSTR_FAILED = "FAILED";
27 public final static String STATUSSTR_ERROR = "ERROR";
28
29 }