]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc/src/main/java/org/argeo/slc/core/test/TestStatus.java
Revert changes in result parts
[gpl/argeo-slc.git] / org.argeo.slc / src / main / java / org / argeo / slc / core / test / TestStatus.java
index bda5a74ab2bc6da363e427742c2da89cd73745e2..9f7f6e82178f6249402111380934c9f41b619f3a 100644 (file)
@@ -1,14 +1,25 @@
 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