Author: reinhard Date: 2007-01-13 15:24:19 -0600 (Sat, 13 Jan 2007) New Revision: 9307
Added: trunk/gnue-forms/samples/ trunk/gnue-forms/samples/datasource/ trunk/gnue-forms/samples/function/ trunk/gnue-forms/samples/gauntlet/ trunk/gnue-forms/samples/i18n/ trunk/gnue-forms/samples/layout/ trunk/gnue-forms/samples/masks/ trunk/gnue-forms/samples/subforms/ trunk/gnue-forms/samples/trigger/ Removed: trunk/gnue-samples/Makefile trunk/gnue-samples/appserver/ trunk/gnue-samples/testcases/README trunk/gnue-samples/testcases/appserver/ trunk/gnue-samples/testcases/checkbox/ trunk/gnue-samples/testcases/datasource/ trunk/gnue-samples/testcases/forms/function/ trunk/gnue-samples/testcases/forms/gauntlet/ trunk/gnue-samples/testcases/forms/layout/ trunk/gnue-samples/testcases/forms/subforms/ trunk/gnue-samples/testcases/i18n/ trunk/gnue-samples/testcases/masks/ trunk/gnue-samples/testcases/testrun.gpd trunk/gnue-samples/testcases/trigger/ trunk/gnue-samples/tutorials/ Log: Samples restructuring, first part. Copied: trunk/gnue-forms/samples/datasource (from rev 9306, trunk/gnue-samples/testcases/datasource) Copied: trunk/gnue-forms/samples/function (from rev 9306, trunk/gnue-samples/testcases/forms/function) Copied: trunk/gnue-forms/samples/gauntlet (from rev 9306, trunk/gnue-samples/testcases/forms/gauntlet) Copied: trunk/gnue-forms/samples/i18n (from rev 9306, trunk/gnue-samples/testcases/i18n) Copied: trunk/gnue-forms/samples/layout (from rev 9306, trunk/gnue-samples/testcases/forms/layout) Copied: trunk/gnue-forms/samples/masks (from rev 9306, trunk/gnue-samples/testcases/masks) Copied: trunk/gnue-forms/samples/subforms (from rev 9306, trunk/gnue-samples/testcases/forms/subforms) Copied: trunk/gnue-forms/samples/trigger (from rev 9306, trunk/gnue-samples/testcases/trigger) Deleted: trunk/gnue-samples/Makefile =================================================================== --- trunk/gnue-samples/Makefile 2007-01-13 20:59:02 UTC (rev 9306) +++ trunk/gnue-samples/Makefile 2007-01-13 21:24:19 UTC (rev 9307) @@ -1,9 +0,0 @@ -gear: - rm samples.gear - zip samples.gear *.g?d */*.g?d */*/*.g?d */*/*/*.g?d README */README */*/README */*/*/README - -install: - cp samples.gear ~/gnue/etc/packages/ - -clean: - rm samples.gear Deleted: trunk/gnue-samples/testcases/README =================================================================== --- trunk/gnue-samples/testcases/README 2007-01-13 20:59:02 UTC (rev 9306) +++ trunk/gnue-samples/testcases/README 2007-01-13 21:24:19 UTC (rev 9307) @@ -1,7 +0,0 @@ -This directory contains test cases to test the functionality of some gnue -tools. - - appserver/ test appserver - mask/ testing datemasks, inputmasks - placement/ test placement of elements on the forms canvas - trigger/ test the different functions in trigger code Deleted: trunk/gnue-samples/testcases/testrun.gpd =================================================================== --- trunk/gnue-samples/testcases/testrun.gpd 2007-01-13 20:59:02 UTC (rev 9306) +++ trunk/gnue-samples/testcases/testrun.gpd 2007-01-13 21:24:19 UTC (rev 9307) @@ -1,142 +0,0 @@ -<?xml version="1.0"?> -<processes title="Test cases"> - <description><![CDATA[<H3 ALIGN="CENTER">Testrun</H3><BR>This directory contains test cases to test the functionality of some gnue tools.<BR> -<DL> -<DT>Case 1: Placement test</DT> -<DD>test placement of elements on the forms canvas</DD> -<DT>Case 2: Input Validation</DT> -<DD>testing datemasks, inputmasks</DD> -<DT>Case 3: Trigger</DT> -<DD>test the different functions in trigger code</DD> -<DT>Case 4: Appserver</DT> -<DD>test appserver</DD> -<DT>Case 5: Internationalisation</DT> -<DD>test i18n (i.e. encodings, fonts etc.)</DD> -<DT>Case 6: Special Datasources</DT> -<DD>test static datasource, special master-detail configurations etc.</DD> -</DL> - ]]></description> - <process title="Case 1: placement" id="placement"> - <description><![CDATA[<H3 ALIGN="CENTER">Placement</H3><BR> -<DL> -<DL><DT>Placement test</DT> -<DD>test layout capabilities</DD> -</DL> -<BR> - ]]></description> - <step type="form" location="placement/placement.gfd" title="Placement test"> - <description><![CDATA[<CENTER><H3>Placement test</H3></CENTER>]]></description> - </step> - </process> - <process title="Case 2: Input Validation" id="masks"> - <description><![CDATA[<H3 ALIGN="CENTER">Input Validation</H3><BR> -<DL> -<DL><DT>Format masks</DT> -<DD>a test form to show if format masks are working</DD> -</DL> -<BR> - ]]></description> - <step type="form" location="masks/masks.gfd" title="Format masks"> - <description><![CDATA[<CENTER><H3>Format masks</H3></CENTER> - -Test this example by doing the following steps: -<H4>1. typecasts and upper/lower case</H4> -<OL> -<LI>type into the first field: just numbers should be accepted</LI> -<LI>type into the second field: just uppercase text should be accepted</LI> -<LI>type into the third field: just lowercase text should be accepted</LI> -</OL> -</DD> -<H4>2. format masks</H4> -<OL> -<LI>type a date in the format Day/Month/Year into the "Datemask" field<LI> -<LI>click on the next field and then return back to the first one</LI> -<LI>do the same with the Money field. It should accept a value in the format 23,23$</LI></OL> -<H4>3. max_length and required attribute</H4> -<OL> -<LI>try to type as many characters as possible into the "Maxlength" field. It should accept a maximum of 5 characters. -</LI> -<LI>click on the last field and try to leave it without entering any value. It should not let you change focus until you entered something</LI> -</OL> -]]></description> - </step> - </process> - <process title="Case 3: trigger" id="trigger"> - <description><![CDATA[<H3 ALIGN="CENTER">Trigger:</H3><BR> -<DL><DT>Parameter</DT> -<DD>a simple test to show user parameters</DD> -<DL><DT>Trigger</DT> -<DD>test of functions in trigger code</DD> -</DL> - ]]></description> - <step type="form" location="trigger/showparameter.gfd" title="Parameter"> - <description><![CDATA[<CENTER><H3>Parameter</H3></CENTER>]]></description> - </step> - <step type="form" location="trigger/trigger.gfd" title="Trigger"> - <description><![CDATA[<CENTER><H3>Trigger</H3></CENTER>]]></description> - </step> - </process> - <process title="Case 4: Appserver" id="appserver"> - <description><![CDATA[<H3 ALIGN="CENTER">GNU Enterprise Application Server:</H3><BR> -<DL><DT>Simple test</DT> -<DD>a sample application to test appserver</DD> -<DL><DT>Schema</DT> -<DD>the database schema for this test</DD> -</DL> - ]]></description> - <step type="form" location="appserver/appservertest.gfd" title="Simple test"> - <description><![CDATA[<CENTER><H3>simple GNUe Appserver test</H3></CENTER>]]></description> - </step> - <step type="schema" location="appserver/appservertest.gsd" title="Schema"> - <description><![CDATA[<CENTER><H3>simple GNUe Appserver test<BR>(database schema)</H3></CENTER>]]></description> - </step> - </process> - <process title="Case 5: Internationalisation" id="i18n"> - <description><![CDATA[<H3 ALIGN="CENTER">Internationalisation:</H3><BR> -<DL><DT>iso8859-13</DT> -<DD>test the display of iso8859-13 encoding</DD> -<DL><DT>unicode (utf8)</DT> -<DD>test the display of unicode (utf8) encoding</DD> -</DL> - ]]></description> - <step type="form" location="i18n/iso8859-13.gfd" title="iso8859-13"> - <description><![CDATA[<CENTER><H3>Test iso8859-13 encoding</H3></CENTER> -<p> -This file represents ISO8859-13 encoding (Lithuanian language). To see the form -correctly, You will need to set formFontEncoding parameter in gnue.conf to -'iso8859-13' value and to use wx user interface driver (used by default): -</p> -<pre> - # Font encoding to be used in forms - formFontEncoding = iso8859-13 -</pre> -<p>Form is not bound to any databse so record addition/deletion/request will not -work.</p> - -]]></description> - </step> - <step type="form" location="i18n/utf8.gfd" title="unicode (utf8)"> - <description><![CDATA[<CENTER><H3>Test unicode (utf8) encoding</H3></CENTER> -This form has labels written in chinese and is using utf8 as encoding, but it doesn't work at the moment due to a missing utf-8 charset in our wxpython UIdriver - -]]></description> - </step> - </process> - <process title="Case 6: Special Datasources" id="dtsrc"> - <description><![CDATA[<H3 ALIGN="CENTER">Special Datasources:</H3><BR> -<DL><DT>static</DT> -<DD>test the display of iso8859-13 encoding</DD> -<DL><DT>master-detail</DT> -<DD>test querys in master-detail configurations (TODO)</DD> -</DL> - ]]></description> - <step type="form" location="datasource/static.gfd" title="static"> - <description><![CDATA[<CENTER><H3>Test static datasources</H3></CENTER> -<p> -This example is using two static datasources. The first one is used to fill an -drop down entry (which should be the common case). The second one can be directly accessed and changed, although changing it makes not much sense. :) -</p> -]]></description> - </step> - </process> -</processes> _______________________________________________ commit-gnue mailing list [email protected] http://lists.gnu.org/mailman/listinfo/commit-gnue
