metaonly module ti.xdais.qualiti.Rules13_26
XDCspec summary sourced in ti/xdais/qualiti/Rules13_26.xdc
metaonly module Rules13_26 {  ...
XDCscript usage meta-domain
var Rules13_26 = xdc.useModule('ti.xdais.qualiti.Rules13_26');
module-wide constants & types
    values of type Rules13_26.TestDetailLevel// 
        const Rules13_26.DETAILLEVEL_FAILDETAILS;
        const Rules13_26.DETAILLEVEL_TESTLOG;
        const Rules13_26.DETAILLEVEL_TESTOUTPUT;
 
    values of type Rules13_26.TestStatus// 
        const Rules13_26.TEST_NOTRUN;
        const Rules13_26.TEST_PASS;
        const Rules13_26.TEST_FAIL;
        const Rules13_26.TEST_NOTAPPLY;
        const Rules13_26.TEST_RUNNING;
        const Rules13_26.TEST_RUNERROR;
 
    var obj = new Rules13_26.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 Rules13_26.CompilerParams// ;
        obj.isTICompiler = Bool  ...
        obj.isC6x = Bool  ...
        obj.libFormat = String  ...
        obj.version = String  ...
        obj.log = String  ...
 
    var obj = new Rules13_26.Test// ;
        obj.id = String  ...
        obj.title = String  ...
 
    var obj = new Rules13_26.TestAttrs// ;
        obj.description = String  ...
        obj.isPerformanceTest = Bool  ...
 
    var obj = new Rules13_26.TestResult// ;
        obj.status = ITest.TestStatus  ...
        obj.statusDetails = String  ...
        obj.runResult = System.RunResult  ...
 
    var obj = new Rules13_26.TestSettings// ;
        obj.cgtoolsDir = String  ...
        obj.cgxmlDir = String  ...
module-wide config parameters
        {
            id: "XDAIS Rule 13+",
            title: "XDAIS Rule 13+: correct linker section names"
        },
        {
            id: "XDAIS Rule 26",
            title: "XDAIS Rule 26: All static/global data must be far on c6x"
        }
    ];
 
    Rules13_26.standardSections//  = String[] [
        ".cinit",
        ".switch",
        ".far",
        ".text",
        ".const",
        ".econst",
        ".bss",
        ".ebss",
        ".pinit"
    ];
module-wide functions
    Rules13_26.getAttrs// ( String testId ) returns ITest.TestAttrs
    Rules13_26.reset// ( String testId ) returns Void
    Rules13_26.run// ( String testId, ITest.AlgoParams algoParams, ITest.TestSettings testSettings, Int testDetailLevel, Any cbPrintLog ) returns ITest.TestResult
 
XDCspec declarations sourced in ti/xdais/qualiti/Rules13_26.xdc
package ti.xdais.qualiti;
 
metaonly module Rules13_26 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 Rules13_26.Test tests// [] = [
        {
            id: "XDAIS Rule 13+",
            title: "XDAIS Rule 13+: correct linker section names"
        },
        {
            id: "XDAIS Rule 26",
            title: "XDAIS Rule 26: All static/global data must be far on c6x"
        }
    ];
 
    config String standardSections// [] = [
        ".cinit",
        ".switch",
        ".far",
        ".text",
        ".const",
        ".econst",
        ".bss",
        ".ebss",
        ".pinit"
    ];
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 Rules13_26.TestDetailLevel
XDCscript usage meta-domain
values of type Rules13_26.TestDetailLevel
    const Rules13_26.DETAILLEVEL_FAILDETAILS;
    const Rules13_26.DETAILLEVEL_TESTLOG;
    const Rules13_26.DETAILLEVEL_TESTOUTPUT;
 
 
enum Rules13_26.TestStatus
XDCscript usage meta-domain
values of type Rules13_26.TestStatus
    const Rules13_26.TEST_NOTRUN;
    const Rules13_26.TEST_PASS;
    const Rules13_26.TEST_FAIL;
    const Rules13_26.TEST_NOTAPPLY;
    const Rules13_26.TEST_RUNNING;
    const Rules13_26.TEST_RUNERROR;
 
 
struct Rules13_26.AlgoParams
XDCscript usage meta-domain
var obj = new Rules13_26.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 Rules13_26.CompilerParams
XDCscript usage meta-domain
var obj = new Rules13_26.CompilerParams;
 
    obj.isTICompiler = Bool  ...
    obj.isC6x = Bool  ...
    obj.libFormat = String  ...
    obj.version = String  ...
    obj.log = String  ...
 
 
struct Rules13_26.Test
XDCscript usage meta-domain
var obj = new Rules13_26.Test;
 
    obj.id = String  ...
    obj.title = String  ...
 
 
struct Rules13_26.TestAttrs
XDCscript usage meta-domain
var obj = new Rules13_26.TestAttrs;
 
    obj.description = String  ...
    obj.isPerformanceTest = Bool  ...
 
 
struct Rules13_26.TestResult
XDCscript usage meta-domain
var obj = new Rules13_26.TestResult;
 
    obj.status = ITest.TestStatus  ...
    obj.statusDetails = String  ...
    obj.runResult = System.RunResult  ...
 
 
struct Rules13_26.TestSettings
XDCscript usage meta-domain
var obj = new Rules13_26.TestSettings;
 
    obj.cgtoolsDir = String  ...
    obj.cgxmlDir = String  ...
 
 
config Rules13_26.tests  // module-wide
XDCscript usage meta-domain
const Rules13_26.tests = Rules13_26.Test[] [
    {
        id: "XDAIS Rule 13+",
        title: "XDAIS Rule 13+: correct linker section names"
    },
    {
        id: "XDAIS Rule 26",
        title: "XDAIS Rule 26: All static/global data must be far on c6x"
    }
];
 
 
config Rules13_26.standardSections  // module-wide
XDCscript usage meta-domain
Rules13_26.standardSections = String[] [
    ".cinit",
    ".switch",
    ".far",
    ".text",
    ".const",
    ".econst",
    ".bss",
    ".ebss",
    ".pinit"
];
 
 
Rules13_26.getAttrs( )  // module-wide
XDCscript usage meta-domain
Rules13_26.getAttrs( String testId ) returns ITest.TestAttrs
 
 
Rules13_26.reset( )  // module-wide
XDCscript usage meta-domain
Rules13_26.reset( String testId ) returns Void
 
 
Rules13_26.run( )  // module-wide
XDCscript usage meta-domain
Rules13_26.run( String testId, ITest.AlgoParams algoParams, ITest.TestSettings testSettings, Int testDetailLevel, Any cbPrintLog ) returns ITest.TestResult
 
generated on Fri, 02 Jul 2010 02:02:35 GMT