source: Dev/branches/rest-dojo-ui/client/util/buildscripts/tests/conditionalTest.js @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 413 bytes
Line 
1//Test file for the conditional comment inclusion/exclusion code.
2//Run this file from the util/buildscripts/tests directory.
3
4load("../jslib/fileUtil.js");
5load("../jslib/logger.js");
6load("../jslib/buildUtil.js");
7
8
9
10
11var result = buildUtil.processConditionals(
12        "conditionalTest.txt",
13        fileUtil.readFile("conditionalTest.txt"),
14        {
15                loader: "xdomain",
16                shouldInclude: true,
17                nesting: 1
18        }
19);
20
21print(result);
Note: See TracBrowser for help on using the repository browser.