cacert-testmgr/external/ZendFramework-1.9.5/externals/dojo/util/buildscripts/tests/conditionalTest.txt
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

17 lines
604 B
Text

//>>includeStart("foo", kwArgs.loader == "xdomain");
This content is included if kwArgs.loader == "xdomain"
//>>includeEnd("foo");
//This is an exclusion test
//>>excludeStart("test2", kwArgs.loader == "xdomain");
This content is excluded if kwArgs.loader == "xdomain"
//>>excludeEnd("test2");
//This is a nested test.
//>>includeStart("outerMatch", kwArgs.shouldInclude);
This content is included if kwArgs.shouldInclude evals to true.
//>>includeStart("innerMatch", kwArgs.nesting == 1);
This is a nested include if kwArgs.nesting == 1
//>>includeEnd("innerMatch");
//>>includeEnd("outerMatch");