2 <org.ibex.test.alpha1 />
4 ibex.log.info("Starting widget test suite...");
6 // clone the ibex resource to create our environment
7 var ibex_world = ibex.clone(ibex);
8 ibex.log.info("Successfully cloned environment");
10 // clone the ibex namespace within our environent
11 var ibex_res = ibex.clone(ibex..ibex);
12 ibex.log.info("Succesfully did resource clone");
14 // trap the theme namespace to return the desired theme
15 ibex_res.theme ++= function() { return ibex..org.ibex.theme.win2k; }
16 ibex.log.info("Successfully themed environment");
18 // trap the ibex namespace to return our themed namespace
19 ibex_world..ibex ++= function() { return ibex_res; }
20 ibex.log.info("Successfully themed resource environment");
22 // instantiate our application in the themed environment
23 ibex_world..org.ibex.test.alpha(ibex.box);
24 ibex.log.info("Successfully initiated test suite");