michael@0: /* Any copyright is dedicated to the Public Domain. michael@0: http://creativecommons.org/publicdomain/zero/1.0/ */ michael@0: michael@0: function test() { michael@0: let cw; michael@0: let win; michael@0: let currentTest; michael@0: michael@0: let getGroupItem = function (index) { michael@0: return cw.GroupItems.groupItems[index]; michael@0: } michael@0: michael@0: let createGroupItem = function (numTabs) { michael@0: let bounds = new cw.Rect(20, 20, 200, 200); michael@0: let groupItem = new cw.GroupItem([], {bounds: bounds, immediately: true}); michael@0: cw.UI.setActive(groupItem); michael@0: michael@0: for (let i=0; i