build_loader_tests.js revision 8376c2bd763d67937824cb4635b53950e9cea8db
mods = {};
var testMod = function(v) {
//Removes YUI core modules
//if ((v.indexOf('yui') === -1) && (v.indexOf('loader') === -1) && (v.indexOf('history') === -1)) {
return true;
}
return false;
}
if (testMod(v)) { //Removes YUI core modules
mods[v] = 1;
if (json[v].submodules) {
if (testMod(k)) { //Removes YUI core modules
mods[k] = 1;
}
});
}
}
});
str += ' var p = path.join(__dirname, "../../../../");\n';
str += ' Assert.areEqual(Y.Env._missed.length, 0, "Modules found in Env._missed: " + JSON.stringify(Y.Env._missed));\n';
str += ' }';
return str;
};
var tests = [];
});
var str = '{\n';
str += ' name: "Loader Tests",\n';
str += ' \n}';