initial checkin
[org.ibex.widgets.git] / src / main.t
1 <ibex>
2     <org.ibex.test.alpha1 />
3 /*
4         ibex.log.info("Starting widget test suite...");
5
6         // clone the ibex resource to create our environment
7         var ibex_world = ibex.clone(ibex);
8         ibex.log.info("Successfully cloned environment");
9
10         // clone the ibex namespace within our environent
11         var ibex_res = ibex.clone(ibex..ibex);
12         ibex.log.info("Succesfully did resource clone");
13
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");
17
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");
21
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");
25 */
26 </ibex>