]>
git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.api/src/org/argeo/slc/test/TestStatus.java
1 package org
.argeo
.slc
.test
;
4 * Simple statuses. Ordering of the flags can be relied upon in aggregation: if
5 * one element is failed, the aggregation is failed. Is one element is in ERROR,
6 * the aggregation is in ERROR.
9 * <li>{@link #PASSED}: the test succeeded</li>
10 * <li>{@link #FAILED}: the test could run, but did not reach the expected
12 * <li>{@link #ERROR}: an error during the test run prevented to get a
13 * significant information on the tested system.</li>
17 public interface TestStatus
{
18 /** The flag for a passed test: 0 */
19 public final static Integer PASSED
= 0;
20 /** The flag for a failed test: 1 */
21 public final static Integer FAILED
= 1;
23 * The flag for a test which could not properly run because of an error
24 * (there is no feedback on the behavior of the tested component): 2
26 public final static Integer ERROR
= 2;
27 public final static String STATUSSTR_PASSED
= "PASSED";
28 public final static String STATUSSTR_FAILED
= "FAILED";
29 public final static String STATUSSTR_ERROR
= "ERROR";