changeset 1890:6b9486c3be92

restore push/pop in dw-ui-test
author corvid <corvid@lavabit.com>
date Sat, 29 Jan 2011 05:33:49 +0000
parents e86b79bd57c9
children 799e0de4d690
files test/dw_ui_test.cc
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/test/dw_ui_test.cc	Sat Jan 29 05:29:09 2011 +0000
+++ b/test/dw_ui_test.cc	Sat Jan 29 05:33:49 2011 +0000
@@ -201,19 +201,19 @@
 
       selres[i]->addItem("item 1", true, false);
 
-//    selres[i]->pushGroup("group 1", true);
-      selres[i]->addItem("group 1/1", true, false);
-      selres[i]->addItem("group 1/2", true, true);
-      selres[i]->addItem("group 1/3", false, false);
-//    selres[i]->popGroup();
+      selres[i]->pushGroup("group 1", true);
+      selres[i]->addItem("item 1/1", true, false);
+      selres[i]->addItem("item 1/2", true, true);
+      selres[i]->addItem("item 1/3", false, false);
+      selres[i]->popGroup();
 
       selres[i]->addItem("item 2", true, i == 1);
 
-//    selres[i]->pushGroup("group 2", false);
-      selres[i]->addItem("group 2/1", true, false);
-      selres[i]->addItem("group 2/2", true, false);
-      selres[i]->addItem("group 2/3", false, false);
-//    selres[i]->popGroup();
+      selres[i]->pushGroup("group 2", false);
+      selres[i]->addItem("item 2/1", true, false);
+      selres[i]->addItem("item 2/2", true, false);
+      selres[i]->addItem("item 2/3", false, false);
+      selres[i]->popGroup();
 
       selres[i]->addItem("item 3", false, false);
    }