Lines Matching refs:rootCtl
57 const rootCtl = new MockController('root'); constant
58 runControllerTree(rootCtl);
64 const rootCtl = new MockController('root'); constant
66 if (rootCtl.state === 'idle') {
67 rootCtl.setState('state1');
68 } else if (rootCtl.state === 'state1') {
69 rootCtl.setState('state2');
72 runControllerTree(rootCtl);
78 const rootCtl = new MockController('root'); constant
82 rootCtl.setState(nextState);
83 if (rootCtl.state === 'idle') return;
85 if (rootCtl.state === 'state1') {
90 if (rootCtl.state === 'state2') {
96 if (rootCtl.state === 'state3') {
104 runControllerTree(rootCtl);
113 runControllerTree(rootCtl);
125 runControllerTree(rootCtl);
138 runControllerTree(rootCtl);
152 runControllerTree(rootCtl);