src/aria/Aria.js
function (path, context) {
        if (!path || typeof(path) != 'string') {
            Aria.$logError(Aria.NULL_CLASSPATH);
            return false;
        }
        var classpathParts = path.split('.'), nbParts = classpathParts.length;
        for (var index = 0; index < nbParts - 1; index++) {
            if (!__checkPackageName(classpathParts[index], context)) {
                return false;
            }
        }
        if (!__checkClassName(classpathParts[nbParts - 1], context)) {
            return false;
        }
        return true;
    }
function (path, context) {
        if (!path || typeof(path) != 'string') {
            Aria.$logError(Aria.NULL_CLASSPATH);
            return false;
        }
        var classpathParts = path.split('.'), nbParts = classpathParts.length;
        for (var index = 0; index < nbParts - 1; index++) {
            if (!__checkPackageName(classpathParts[index], context)) {
                return false;
            }
        }
        if (!__checkClassName(classpathParts[nbParts - 1], context)) {
            return false;
        }
        return true;
    }
function ( path , context ) { if ( ! path || typeof ( path ) != 'string' ) { Aria . $logError ( Aria . NULL_CLASSPATH ) ; return false ; } var classpathParts = path . split ( '.' ) , nbParts = classpathParts . length ; for ( var index = 0 ; index < nbParts - 1 ; index ++ ) { if ( ! __checkPackageName ( classpathParts [ index ] , context ) ) { return false ; } } if ( ! __checkClassName ( classpathParts [ nbParts - 1 ] , context ) ) { return false ; } return true ; }
Classpath validation method
@param {String} path class path to validate - e.g. 'aria.jsunit.TestSuite'
@param {String} context additional context information
@return {Boolean} true if class path is OK
Classpath validation method