[Appsunit-develop] [cvscommit] web/htdocs/testguide AppsUnit Test Guide.html, 1.5, 1.6
Status: Beta
Brought to you by:
jancumps
|
From: Jan C. <jan...@us...> - 2006-11-13 18:05:03
|
Update of /cvsroot/appsunit/web/htdocs/testguide In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv3761/testguide Modified Files: AppsUnit Test Guide.html Log Message: Restyle to reflect (some kind of) house style. Index: AppsUnit Test Guide.html =================================================================== RCS file: /cvsroot/appsunit/web/htdocs/testguide/AppsUnit Test Guide.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** AppsUnit Test Guide.html 12 Nov 2006 19:20:30 -0000 1.5 --- AppsUnit Test Guide.html 12 Nov 2006 20:05:29 -0000 1.6 *************** *** 61,65 **** <tr> ! <td><span class="H1">Testing views</span> <p class="normal">When creating database views, the most common failures are --- 61,65 ---- <tr> ! <td class="normal normal"><span class="H1">Testing views</span> <p class="normal">When creating database views, the most common failures are *************** *** 94,98 **** <p class="normal"></p> ! <table style="background-color: rgb(255, 255, 204); width: 100%;" border="1" bordercolor="#000000" cellpadding="4" cellspacing="0"> <col width="256*"> <thead> <tr> --- 94,98 ---- <p class="normal"></p> ! <table style="background-color: rgb(255, 255, 204); width: 706px; height: 125px;" border="1" bordercolor="#000000" cellpadding="4" cellspacing="0"> <col width="256*"> <thead> <tr> *************** *** 110,114 **** count of your view.</p> ! <p><font face="Courier New, monospace">simpleCompare( “select count(*) from oe_order_lines_all”,<br> --- 110,114 ---- count of your view.</p> ! <p class="code"><font face="Courier New, monospace">simpleCompare( “select count(*) from oe_order_lines_all”,<br> *************** *** 126,130 **** phase. Then start by creating your basic view:</p> ! <p><font face="Courier New, monospace">create view xx_order_lines_view as <br> --- 126,130 ---- phase. Then start by creating your basic view:</p> ! <p class="code"><font face="Courier New, monospace">create view xx_order_lines_view as <br> *************** *** 156,160 **** your view returns this customer.</p> ! <p><font face="Courier New, monospace">select count(*) from xx_order_lines_view where<br> --- 156,160 ---- your view returns this customer.</p> ! <p class="code"><font face="Courier New, monospace">select count(*) from xx_order_lines_view where<br> *************** *** 180,184 **** Assert that the view returns this expected value.</p> ! <p><font face="Courier New, monospace">simpleCompare( “select 1 from dual”,<br> --- 180,184 ---- Assert that the view returns this expected value.</p> ! <p class="code"><font face="Courier New, monospace">simpleCompare( “select 1 from dual”,<br> *************** *** 207,211 **** that it's closed, you can create a regression test:</p> ! <p style="font-style: normal;"><font face="Courier New, monospace">select count(*) from xx_order_lines_view where<br> --- 207,211 ---- that it's closed, you can create a regression test:</p> ! <p class="code" style="font-style: normal;"><font face="Courier New, monospace">select count(*) from xx_order_lines_view where<br> *************** *** 237,241 **** Add the test to your test suite.</p> ! <p><font face="Courier New, monospace">simpleCompare( “select 0 from dual”,<br> --- 237,241 ---- Add the test to your test suite.</p> ! <p class="code"><font face="Courier New, monospace">simpleCompare( “select 0 from dual”,<br> *************** *** 269,273 **** <tr> ! <td> <p class="H2">Testing functions</p> --- 269,273 ---- <tr> ! <td class="normal"> <p class="H2">Testing functions</p> *************** *** 282,286 **** another, you can assert this as follows:</p> ! <p style="font-style: normal;"><font face="Courier New, monospace">select count(*) from dual where<br> --- 282,286 ---- another, you can assert this as follows:</p> ! <p class="code" style="font-style: normal;"><font face="Courier New, monospace">select count(*) from dual where<br> *************** *** 309,313 **** Assert that the function returns this expected value.</p> ! <p><font face="Courier New, monospace">simpleCompare( “select 1 from dual”,<br> --- 309,313 ---- Assert that the function returns this expected value.</p> ! <p class="code"><font face="Courier New, monospace">simpleCompare( “select 1 from dual”,<br> *************** *** 325,328 **** --- 325,330 ---- </table> + <br> + </td> |