SourceModel.ModuleDefn moduleDefn = SourceModelUtilities.TextParsing.parseModuleDefnIntoSourceModel(myFunModule);
ModuleSourceDefinition moduleSourceDefn = new SourceModelModuleSource(moduleDefn);
CompilerMessageLogger logger = new MessageLogger();
Severity severity = bcs.getWorkspaceManager().makeModule(moduleSourceDefn, logger);
assertTrue(severity.compareTo(Severity.ERROR) < 0);
}
/**
* Helper function that runs test functions using the specified copy
* of BasicCALServices, which dictates the type of machine that the test is