org.eclipse.edt.eunit.runtime package

org.eclipse.edt.eunit.runtime defines an API for developing and automating test cases.

For an overview of this capability, see Developing and running test cases with EUnit.

Table 1. Types
Library ConstantsLib
   const NEWLINE string = "\r\n";
   const EXIT_PREFIX string = "STATUS: ";
   const SPASSED int = 0;
   const SFAILED int = 1;
   const SERROR int = 2;
   const SNOT_RUN int = 3;
   const SBAD int = 4;
end
Record AssertionFailedException type Exception end
/* content of logged messages */
Record Log {@xmlrootelement {}}
   msg String;
end
LogResult external type
Delegate runTestMethod() end
Enumeration ServiceBindingType
   DEDICATED = 1,
   DEVELOP = 2,
   DEPLOYED = 3
end
Record Status
   code int;
   reason String;
end
Enumeration targetLangKind
   JAVA = 1,
   JAVASCRIPT = 2
end
Record Test type Annotation{ targets = [ ElementKind.functionMbr]	}
   targetLang targetLangKind[];
end
TestListManager library
MultiStatus handler
Table 2. Compatibility
Target Issue
Java No issues.
JavaScript No issues.