package org.argeo.slc.core.test;\r
\r
-/** Simple statuses. */\r
-public enum TestStatus {\r
- /** Test passed */\r
- PASSED,\r
- /** Test failed: the behavior was not the expected one */\r
- FAILED,\r
+/**\r
+ * Simple statuses. \r
+ * <p>\r
+ * <ul>\r
+ * <li>{@link #PASSED}: the test succeeded</li>\r
+ * <li>{@link #FAILED}: the test could run, but did not reach the expected\r
+ * result</li>\r
+ * <li>{@link #ERROR}: an error during the test run prevented to get a\r
+ * significant information on the tested system.</li>\r
+ * </ul>\r
+ * </p>\r
+ */\r
+public interface TestStatus {\r
+ /** The flag for a passed test: 0 */\r
+ public final static int PASSED = 0;\r
+ /** The flag for a failed test: 1 */\r
+ public final static int FAILED = 1;\r
/**\r
- * Test could not run properly because of an unexpected issue: their can be\r
- * no feedback on the behavior of the tested component\r
+ * The flag for a test which could not properly run because of an error\r
+ * (there is no feedback on the behavior of the tested component): 2\r
*/\r
- ERROR\r
+ public final static int ERROR = 2;\r
}\r