Class BaseApiTest
java.lang.Object
org.intocps.maestro.framework.fmi2.api.mabl.BaseApiTest
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseApiTest(BiConsumer<Boolean, String> assertTrueFunc, BiConsumer<Boolean, String> assertFalseFunc) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertFalse(boolean condition, String message) static voidassertTrue(boolean condition, String message) voidstatic List<org.intocps.maestro.ast.node.ARootDocument> getModuleDocuments(List<String> modules) static org.intocps.maestro.ast.node.ARootDocumentgetRuntimeModule(String module)
-
Constructor Details
-
BaseApiTest
protected BaseApiTest(BiConsumer<Boolean, String> assertTrueFunc, BiConsumer<Boolean, String> assertFalseFunc)
-
-
Method Details
-
assertTrue
-
assertFalse
-
getModuleDocuments
public static List<org.intocps.maestro.ast.node.ARootDocument> getModuleDocuments(List<String> modules) throws IOException - Throws:
IOException
-
getRuntimeModule
public static org.intocps.maestro.ast.node.ARootDocument getRuntimeModule(String module) throws IOException - Throws:
IOException
-
check
public void check(String spec, String runtimedata) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException, IOException, org.intocps.maestro.ast.analysis.AnalysisException - Throws:
InvocationTargetExceptionNoSuchMethodExceptionInstantiationExceptionIllegalAccessExceptionIOExceptionorg.intocps.maestro.ast.analysis.AnalysisException
-