daboide Commit
Revision 762
Date: 2007-01-22 10:33:53 -0800 (Mon, 22 Jan 2007)
Author: Paul

Changed:
U   trunk/wizards/AppWizard/spec-Grd.py.txt
U   trunk/wizards/AppWizard/spec-PagEdit.py.txt
U   trunk/wizards/AppWizard/spec-PagSelect.py.txt

Log:
Fixed the tests for the grid and pages to not show the form's pageframe.


Diff:
Modified: trunk/wizards/AppWizard/spec-Grd.py.txt
===================================================================
--- trunk/wizards/AppWizard/spec-Grd.py.txt     2007-01-22 18:19:27 UTC (rev 
761)
+++ trunk/wizards/AppWizard/spec-Grd.py.txt     2007-01-22 18:33:53 UTC (rev 
762)
@@ -17,7 +17,9 @@
        from Frm%(tableName)s import Frm%(tableName)s
        app = dabo.dApp(MainFormClass=None)
        app.setup()
-       frm = Frm%(tableName)s(Caption="Test Of Grd%(tableName)s", Testing=True)
+       class TestForm(Frm%(tableName)s):
+               def afterInit(self): pass
+       frm = TestForm(Caption="Test Of Grd%(tableName)s", Testing=True)
        test = frm.addObject(Grd%(tableName)s)
        frm.Sizer.append1x(test)
        frm.show()

Modified: trunk/wizards/AppWizard/spec-PagEdit.py.txt
===================================================================
--- trunk/wizards/AppWizard/spec-PagEdit.py.txt 2007-01-22 18:19:27 UTC (rev 
761)
+++ trunk/wizards/AppWizard/spec-PagEdit.py.txt 2007-01-22 18:33:53 UTC (rev 
762)
@@ -18,7 +18,9 @@
        from Frm%(tableName)s import Frm%(tableName)s
        app = dabo.dApp(MainFormClass=None)
        app.setup()
-       frm = Frm%(tableName)s(Caption="Test Of PagEdit%(tableName)s", 
Testing=True)
+       class TestForm(Frm%(tableName)s):
+               def afterInit(self): pass
+       frm = TestForm(Caption="Test Of PagEdit%(tableName)s", Testing=True)
        test = frm.addObject(PagEdit%(tableName)s)
        test.createItems()
        frm.Sizer.append1x(test)

Modified: trunk/wizards/AppWizard/spec-PagSelect.py.txt
===================================================================
--- trunk/wizards/AppWizard/spec-PagSelect.py.txt       2007-01-22 18:19:27 UTC 
(rev 761)
+++ trunk/wizards/AppWizard/spec-PagSelect.py.txt       2007-01-22 18:33:53 UTC 
(rev 762)
@@ -19,7 +19,9 @@
        from Frm%(tableName)s import Frm%(tableName)s
        app = dabo.dApp(MainFormClass=None)
        app.setup()
-       frm = Frm%(tableName)s(Caption="Test Of PagSelect%(tableName)s", 
Testing=True)
+       class TestForm(Frm%(tableName)s):
+               def afterInit(self): pass
+       frm = TestForm(Caption="Test Of PagSelect%(tableName)s", Testing=True)
        test = frm.addObject(PagSelect%(tableName)s)
        test.createItems()
        frm.Sizer.append1x(test)




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to