metaonly module ti.xdais.qualiti.Rules8_9_10
XDCspec summary sourced in ti/xdais/qualiti/Rules8_9_10.xdc
metaonly module Rules8_9_10 {  ...
XDCscript usage meta-domain
var Rules8_9_10 = xdc.useModule('ti.xdais.qualiti.Rules8_9_10');
module-wide constants & types
    values of type Rules8_9_10.TestDetailLevel// 
        const Rules8_9_10.DETAILLEVEL_FAILDETAILS;
        const Rules8_9_10.DETAILLEVEL_TESTLOG;
        const Rules8_9_10.DETAILLEVEL_TESTOUTPUT;
 
    values of type Rules8_9_10.TestStatus// 
        const Rules8_9_10.TEST_NOTRUN;
        const Rules8_9_10.TEST_PASS;
        const Rules8_9_10.TEST_FAIL;
        const Rules8_9_10.TEST_NOTAPPLY;
        const Rules8_9_10.TEST_RUNNING;
        const Rules8_9_10.TEST_RUNERROR;
 
    var obj = new Rules8_9_10.AlgoParams// ;
        obj.moduleName = String  ...
        obj.vendor = String  ...
        obj.interfaceName = String  ...
        obj.architecture = String  ...
        obj.baseDir = String  ...
        obj.library = String  ...
        obj.headers = String[]  ...
        obj.compilerParams = ITest.CompilerParams  ...
 
    var obj = new Rules8_9_10.CompilerParams// ;
        obj.isTICompiler = Bool  ...
        obj.isC6x = Bool  ...
        obj.libFormat = String  ...
        obj.version = String  ...
        obj.log = String  ...
 
    var obj = new Rules8_9_10.Test// ;
        obj.id = String  ...
        obj.title = String  ...
 
    var obj = new Rules8_9_10.TestAttrs// ;
        obj.description = String  ...
        obj.isPerformanceTest = Bool  ...
 
    var obj = new Rules8_9_10.TestResult// ;
        obj.status = ITest.TestStatus  ...
        obj.statusDetails = String  ...
        obj.runResult = System.RunResult  ...
 
    var obj = new Rules8_9_10.TestSettings// ;
        obj.cgtoolsDir = String  ...
        obj.cgxmlDir = String  ...
module-wide config parameters
        {
            id: "XDAIS Rules 8, 9 and 10",
            title: "XDAIS Rules 8, 9, 10: Namespace compliance"
        }
    ];
 
    Rules8_9_10.allowedFxns//  = String[] [
        "_aeabi_memclr",
        "_aeabi_memclr4",
        "_aeabi_memcpy",
        "_aeabi_memcpy4",
        "_aeabi_memmove",
        "_aeabi_memset"
    ];
    Rules8_9_10.disallowedFxns//  = String[] [
        "malloc",
        "free",
        "realloc",
        "calloc",
        "printf",
        "open",
        "read",
        "write",
        "fopen",
        "fread",
        "fwrite",
        "sprintf",
        "ctime",
        "time",
        "_abort_msg",
        "_assert"
    ];
module-wide functions
    Rules8_9_10.getAttrs// ( String testId ) returns ITest.TestAttrs
    Rules8_9_10.reset// ( String testId ) returns Void
    Rules8_9_10.run// ( String testId, ITest.AlgoParams algoParams, ITest.TestSettings testSettings, Int testDetailLevel, Any cbPrintLog ) returns ITest.TestResult
 
XDCspec declarations sourced in ti/xdais/qualiti/Rules8_9_10.xdc
package ti.xdais.qualiti;
 
metaonly module Rules8_9_10 inherits ITest {
module-wide constants & types
    enum TestDetailLevel//  {
        DETAILLEVEL_FAILDETAILS,
        DETAILLEVEL_TESTLOG,
        DETAILLEVEL_TESTOUTPUT
    };
 
    enum TestStatus//  {
        TEST_NOTRUN,
        TEST_PASS,
        TEST_FAIL,
        TEST_NOTAPPLY,
        TEST_RUNNING,
        TEST_RUNERROR
    };
 
    metaonly struct AlgoParams//  {
        String moduleName;
        String vendor;
        String interfaceName;
        String architecture;
        String baseDir;
        String library;
        String headers[];
    };
 
    metaonly struct CompilerParams//  {
        Bool isTICompiler;
        Bool isC6x;
        String libFormat;
        String version;
        String log;
    };
 
    metaonly struct Test//  {
        String id;
        String title;
    };
 
    metaonly struct TestAttrs//  {
        String description;
        Bool isPerformanceTest;
    };
 
    metaonly struct TestResult//  {
        ITest.TestStatus status;
        String statusDetails;
        System.RunResult runResult;
    };
 
    metaonly struct TestSettings//  {
        String cgtoolsDir;
        String cgxmlDir;
    };
module-wide config parameters
    readonly config Rules8_9_10.Test tests// [] = [
        {
            id: "XDAIS Rules 8, 9 and 10",
            title: "XDAIS Rules 8, 9, 10: Namespace compliance"
        }
    ];
 
    config String allowedFxns// [] = [
        "_aeabi_memclr",
        "_aeabi_memclr4",
        "_aeabi_memcpy",
        "_aeabi_memcpy4",
        "_aeabi_memmove",
        "_aeabi_memset"
    ];
    config String disallowedFxns// [] = [
        "malloc",
        "free",
        "realloc",
        "calloc",
        "printf",
        "open",
        "read",
        "write",
        "fopen",
        "fread",
        "fwrite",
        "sprintf",
        "ctime",
        "time",
        "_abort_msg",
        "_assert"
    ];
module-wide functions
    ITest.TestAttrs getAttrs// ( String testId );
    Void reset// ( String testId );
    ITest.TestResult run// ( String testId, ITest.AlgoParams algoParams, ITest.TestSettings testSettings, Int testDetailLevel, Any cbPrintLog );
}
 
enum Rules8_9_10.TestDetailLevel
XDCscript usage meta-domain
values of type Rules8_9_10.TestDetailLevel
    const Rules8_9_10.DETAILLEVEL_FAILDETAILS;
    const Rules8_9_10.DETAILLEVEL_TESTLOG;
    const Rules8_9_10.DETAILLEVEL_TESTOUTPUT;
 
 
enum Rules8_9_10.TestStatus
XDCscript usage meta-domain
values of type Rules8_9_10.TestStatus
    const Rules8_9_10.TEST_NOTRUN;
    const Rules8_9_10.TEST_PASS;
    const Rules8_9_10.TEST_FAIL;
    const Rules8_9_10.TEST_NOTAPPLY;
    const Rules8_9_10.TEST_RUNNING;
    const Rules8_9_10.TEST_RUNERROR;
 
 
struct Rules8_9_10.AlgoParams
XDCscript usage meta-domain
var obj = new Rules8_9_10.AlgoParams;
 
    obj.moduleName = String  ...
    obj.vendor = String  ...
    obj.interfaceName = String  ...
    obj.architecture = String  ...
    obj.baseDir = String  ...
    obj.library = String  ...
    obj.headers = String[]  ...
    obj.compilerParams = ITest.CompilerParams  ...
 
 
struct Rules8_9_10.CompilerParams
XDCscript usage meta-domain
var obj = new Rules8_9_10.CompilerParams;
 
    obj.isTICompiler = Bool  ...
    obj.isC6x = Bool  ...
    obj.libFormat = String  ...
    obj.version = String  ...
    obj.log = String  ...
 
 
struct Rules8_9_10.Test
XDCscript usage meta-domain
var obj = new Rules8_9_10.Test;
 
    obj.id = String  ...
    obj.title = String  ...
 
 
struct Rules8_9_10.TestAttrs
XDCscript usage meta-domain
var obj = new Rules8_9_10.TestAttrs;
 
    obj.description = String  ...
    obj.isPerformanceTest = Bool  ...
 
 
struct Rules8_9_10.TestResult
XDCscript usage meta-domain
var obj = new Rules8_9_10.TestResult;
 
    obj.status = ITest.TestStatus  ...
    obj.statusDetails = String  ...
    obj.runResult = System.RunResult  ...
 
 
struct Rules8_9_10.TestSettings
XDCscript usage meta-domain
var obj = new Rules8_9_10.TestSettings;
 
    obj.cgtoolsDir = String  ...
    obj.cgxmlDir = String  ...
 
 
config Rules8_9_10.tests  // module-wide
XDCscript usage meta-domain
const Rules8_9_10.tests = Rules8_9_10.Test[] [
    {
        id: "XDAIS Rules 8, 9 and 10",
        title: "XDAIS Rules 8, 9, 10: Namespace compliance"
    }
];
 
 
config Rules8_9_10.allowedFxns  // module-wide
XDCscript usage meta-domain
Rules8_9_10.allowedFxns = String[] [
    "_aeabi_memclr",
    "_aeabi_memclr4",
    "_aeabi_memcpy",
    "_aeabi_memcpy4",
    "_aeabi_memmove",
    "_aeabi_memset"
];
 
 
config Rules8_9_10.disallowedFxns  // module-wide
XDCscript usage meta-domain
Rules8_9_10.disallowedFxns = String[] [
    "malloc",
    "free",
    "realloc",
    "calloc",
    "printf",
    "open",
    "read",
    "write",
    "fopen",
    "fread",
    "fwrite",
    "sprintf",
    "ctime",
    "time",
    "_abort_msg",
    "_assert"
];
 
 
Rules8_9_10.getAttrs( )  // module-wide
XDCscript usage meta-domain
Rules8_9_10.getAttrs( String testId ) returns ITest.TestAttrs
 
 
Rules8_9_10.reset( )  // module-wide
XDCscript usage meta-domain
Rules8_9_10.reset( String testId ) returns Void
 
 
Rules8_9_10.run( )  // module-wide
XDCscript usage meta-domain
Rules8_9_10.run( String testId, ITest.AlgoParams algoParams, ITest.TestSettings testSettings, Int testDetailLevel, Any cbPrintLog ) returns ITest.TestResult
 
generated on Sun, 29 Aug 2010 18:57:20 GMT