cacert-testmgr/external/ZendFramework-1.9.5/externals/dojo/util/buildscripts/tests/conditionalTest.js
Markus Warg 8398c9048d initially import ZendFramework-1.9.5 into repository
code was modified slightly, so the code differs from the original downloadable 1.9.5 version
2010-03-31 10:12:32 +02:00

21 lines
414 B
JavaScript

//Test file for the conditional comment inclusion/exclusion code.
//Run this file from the util/buildscripts/tests directory.
load("../jslib/buildUtil.js");
load("../jslib/fileUtil.js");
load("../jslib/logger.js");
var result = buildUtil.processConditionals(
"conditionalTest.txt",
fileUtil.readFile("conditionalTest.txt"),
{
loader: "xdomain",
shouldInclude: true,
nesting: 1
}
);
print(result);