X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fcore%2Ftest%2FTestStatus.java;h=9f7f6e82178f6249402111380934c9f41b619f3a;hb=c228c125b7f40d1716911dd66971c720dc9478b5;hp=bda5a74ab2bc6da363e427742c2da89cd73745e2;hpb=c6ce3b0f4d81b0fb92a3b3b724dff4e496283edb;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc/src/main/java/org/argeo/slc/core/test/TestStatus.java b/org.argeo.slc/src/main/java/org/argeo/slc/core/test/TestStatus.java index bda5a74ab..9f7f6e821 100644 --- a/org.argeo.slc/src/main/java/org/argeo/slc/core/test/TestStatus.java +++ b/org.argeo.slc/src/main/java/org/argeo/slc/core/test/TestStatus.java @@ -1,14 +1,25 @@ package org.argeo.slc.core.test; -/** Simple statuses. */ -public enum TestStatus { - /** Test passed */ - PASSED, - /** Test failed: the behavior was not the expected one */ - FAILED, +/** + * Simple statuses. + *

+ *

+ *

+ */ +public interface TestStatus { + /** The flag for a passed test: 0 */ + public final static int PASSED = 0; + /** The flag for a failed test: 1 */ + public final static int FAILED = 1; /** - * Test could not run properly because of an unexpected issue: their can be - * no feedback on the behavior of the tested component + * The flag for a test which could not properly run because of an error + * (there is no feedback on the behavior of the tested component): 2 */ - ERROR + public final static int ERROR = 2; }