com web/qa: Awww the good old days. Table layout. I miss the good old days: autogenerate.php expectf_details.php handling-bugs.php howtohelp.php
projects.php rc.php running-tests .php tested-methods.php testfest.php write-test.p hp

From: Date: Sun, 15 Dec 2013 09:30:53 +0000
Subject: com web/qa: Awww the good old days. Table layout. I miss the good old days: autogenerate.php expectf_details.php handling-bugs.php howtohelp.php
projects.php rc.php running-tests .php tested-methods.php testfest.php write-test.p hp
Groups: php.qa 
Request: Send a blank email to php-qa+get-67009@lists.php.net to get a copy of this message
Commit: c71470b570e7acb133cafd7beba967cf0d8bbbe0 Author: Hannes Magnusson <bjori@mongodb.com> Sun, 15 Dec 2013 01:30:53 -0800 Parents: b5446d0cb6f3be3b0c58083c5e0a476cee55b3bf Branches: master Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=c71470b570e7acb133cafd7beba967cf0d8bbbe0 Log: Awww the good old days. Table layout. I miss the good old days Changed paths: M autogenerate.php M expectf_details.php M handling-bugs.php M howtohelp.php M projects.php M rc.php M running-tests.php M tested-methods..php M testfest.php M write-test.php

diff --git a/autogenerate.php b/autogenerate.php index 000c91c..aaebd59 100644 --- a/autogenerate.php +++ b/autogenerate.php @@ -7,10 +7,6 @@ $SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__)); common_header(); ?> - <table width="70%" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - <td width="100%"> <h2>Auto-generating test cases</h2> <p> Although it's not possible to generate a complete PHPT test, it's quite easy to generate the @@ -85,7 +81,6 @@ in existing extensions it works fine. <p>Return to <a href="write-test.php">write tests.</a></p> -</td></table> <?php common_footer(); diff --git a/expectf_details.php b/expectf_details.php index cf9cab6..3dc05e8 100644 --- a/expectf_details.php +++ b/expectf_details.php @@ -7,16 +7,7 @@ $SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__)); common_header(); ?> - <table width="70%" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - <td width="100%"> <h1>EXPECTF substitution options</h1> - </td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <p>The --EXPECTF-- section uses a number of substitution tags for strings or digits that appear in test case output but which may vary between test runs. The most common example of this is to use %s and %d to match the file path and line number which are @@ -95,7 +86,6 @@ output by PHP Warnings.</p> </tr> </table> -</td></tr></table> <?php diff --git a/handling-bugs.php b/handling-bugs.php index b358a83..4270bf5 100644 --- a/handling-bugs.php +++ b/handling-bugs.php @@ -7,17 +7,7 @@ $SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__)); common_header(); ?> - <table width="70%" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - <td width="100%"> <h1>Handling bug reports?</h1> - </td> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <h2>Introduction</h2> <p> @@ -229,10 +219,6 @@ be better for it. Also, bug reporters will not get their feelings hurt through miscommunication (e.g. a wrong quickfix or bogus status) Thank you for reading this HOWTO and helping make PHP better.</p> <br /> - </td> - <td width="10">&nbsp;</td> - </tr> - </table> <?php common_footer(); diff --git a/howtohelp.php b/howtohelp.php index e086e97..ee344db 100644 --- a/howtohelp.php +++ b/howtohelp.php @@ -7,17 +7,8 @@ $SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__)); common_header(); ?> - <table width="70%" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - <td width="100%"> <h1>How You Can Help</h1> - </td> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%">So there you sit. A PHP coder who loves PHP. But lately + <p>So there you sit. A PHP coder who loves PHP. But lately you find yourself wanting to help the PHP community by contributing. Only one problem - you aren't a uber 1337 coder - whether it is because you have only recently started to learn how to program in PHP or you just don't yet @@ -29,13 +20,7 @@ common_header(); about the PHP docs and the software it uses. So where does that leave you. Have no fear there is still a way you can help with PHP - you can help the PHP Quality Assurance team.<br /> - <br /> - </td> - <td width="10">&nbsp;</td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> + </p> <ul> <li class="lihack">You can <a href="write-test.php">Write testcases</a>: <ul> @@ -58,10 +43,6 @@ common_header(); machine (hardware, operating system, installed software, etc...). </li> </ul> - </td> - <td width="10">&nbsp;</td> - </tr> - </table> <?php common_footer(); diff --git a/projects.php b/projects.php index fb1f650..3843f62 100644 --- a/projects.php +++ b/projects.php @@ -7,89 +7,30 @@ $SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__)); common_header(); ?> - <table width="70%" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - <td width="100%"> <h1>PHP-QAT Goals</h1> - </td> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <h3>Release Candidates Testing and QA</h3> - </td> - <td width="10">&nbsp;</td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <ul> <li><span class="lihack">Release Candidate Build </span></li> <li><span class="lihack">Automated Smoke Tests </span></li> <li><span class="lihack">Automated QA Checklists </span></li> <li><span class="lihack">Automated Regression Tests </span></li> </ul> - </td> - <td width="10">&nbsp;</td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <h3>Modify The Bug Database Interface</h3> - </td> - <td width="10">&nbsp;</td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> - <h4>The interface should:<br> - </h4> - </td> - <td width="10">&nbsp;</td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> + <h4>The interface should:</h4> <ul> <li><span class="lihack">reduce the occurance of multiple reports on the same bug</span></li> <li><span class="lihack">improve the accuracy of the reports </span></li> <li><span class="lihack">make it easier for the QAT to reproduce the bug </span></li> <li><span class="lihack">track the solution to the bug </span></li> </ul> - </td> - <td width="10">&nbsp;</td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <h3>Bug Hunting</h3> - </td> - <td width="10">&nbsp;</td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <ul> <li><span class="lihack"><a href="handling-bugs.php">analysing/closing existing bug reports</a> at bugs.php.net </span></li> <li><span class="lihack">analysing new bugs posted on the php-dev list </span></li> <li><span class="lihack">actively seeking and tracking bugs on available platforms </span></li> <li><span class="lihack">monitoring/reviewing information from existing PHP mailing lists</span></li> </ul> - </td> - <td width="10">&nbsp;</td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <h3>Provide Client-Side Bug Reporting via PHP Interpreter</h3> - </td> - <td width="10">&nbsp;</td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <ul> <li><span class="lihack">Add functionality to PHP to help php users submit accurate bugs. </span></li> @@ -107,10 +48,6 @@ common_header(); <li><span class="lihack">However, all of this would require developer involvement and is probably the least plausible goal! </span></li> </ul> - </td> - <td width="10">&nbsp;</td> - </tr> - </table> <?php common_footer(); diff --git a/rc.php b/rc.php index e45483f..b99505c 100644 --- a/rc.php +++ b/rc.php @@ -7,17 +7,7 @@ $SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__)); common_header(); ?> - <table width="70%" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - <td width="100%"> <h1>Release Candidates</h1> - </td> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <h2>Basics</h2> Release candidates are development packages released to check if any critical problems have slipped into the code during the previous development period. @@ -28,12 +18,6 @@ common_header(); release candidates on your own (<i>non-production!</i>) server. <br /> <br /> - </td> - <td width="10">&nbsp;</td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <h2>Installation problems</h2> First of all, make sure the build process (on *nix only) and installation went fine for you. PHP supports quite a number of operating systems on different platforms and we continue @@ -41,12 +25,6 @@ common_header(); If you encounter any problems during the installation, we would like to know about them. <br/> <br/> - </td> - <td width="10">&nbsp;</td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <h2>Testing the installation</h2> When done with the build, please run the test engine by using the '<code>make test</code>' command and send us the results (hit '<code>Y</code>' when it asks you whether to send the report). @@ -56,12 +34,6 @@ common_header(); PHP group would hereby like to extend their gratitude for your effort. <br/> <br/> - </td> - <td width="10">&nbsp;</td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <h2>Real-life tests</h2> We would also appreciate if you install the RC on your development server and run your software. This would help us to detect any unintentional changes between @@ -70,21 +42,10 @@ common_header(); cover every possible use case (but we're working on that). <br /> <br /> - </td> - <td width="10">&nbsp;</td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <h2>Getting the Release Candidates</h2> The release candidates are available for download from <a href="http://qa.php.net/">the QA frontpage</a>. <br /> <br /> - </td> - <td width="10">&nbsp;</td> - </tr> - - </table> <?php common_footer(); diff --git a/running-tests.php b/running-tests.php index 66166b6..5c8e93b 100644 --- a/running-tests.php +++ b/running-tests.php @@ -7,10 +7,6 @@ $SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__)); common_header(); ?> -<table width="70%" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - <td width="100%"> <h1>Test framework tests</h1> <p> Please run the tests from our test framework. You can do this by typing @@ -25,9 +21,6 @@ common_header(); enables us to ask you some more information if a test failed. Note that this script also uploads php -i output so your hostname may be transmitted. </p> - </td> - </tr> -</table> <?php common_footer(); ?> diff --git a/tested-methods.php b/tested-methods.php index 2e8cac1..652b0c8 100644 --- a/tested-methods.php +++ b/tested-methods.php @@ -18,32 +18,13 @@ function showHide(id){ } </script> - <table width="100%" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - <td width="100%"> <h1>Tested PHP Functions and Methods</h1> - </td> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <p>This table lists core PHP functions and methods and specifies whether or not they are called from a PHPT test. A "yes" in this table for a particular method is not an indication of good test coverage - it just means that that method is called from at least one PHPT test.</p> <p>The analysis used to generate this table does not differentiate between methods of the same name belonging to different classes. In cases where such a method call is detected, "verify" is listed in the Tested column, along with the list of test files containing calls to a method of that name.</p> - </td> - <td width="10">&nbsp;</td> - </tr> - <tr> - <td>&nbsp;</td> - </tr> - <tr> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - <td width="100%"> <?php // fields in the csv file @@ -57,7 +38,6 @@ define("TESTS", 4); $fd = fopen("coverage_data/tested_methods.csv", "r"); if (!$fd) { echo "Can't find any data.."; - echo '</td></tr></table>'; common_footer(); return; } @@ -120,9 +100,6 @@ while (true) { echo "</table>\n"; ?> - </td> - </tr> - </table> <?php common_footer(); ?> diff --git a/testfest.php b/testfest.php index bc6f396..80f23c6 100644 --- a/testfest.php +++ b/testfest.php @@ -7,20 +7,8 @@ $SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__)); common_header(); ?> - <table width="70%" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - <td width="100%"> <h1>TestFest 2009</h1> - </td> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> - <table> - <tr> - <td width="65%"> + <p> The TestFest is an event that aims at improving the <a href="http://gcov.php.net">code coverage</a> of the <a href="/running-tests.php">test suite</a> for the PHP language @@ -34,10 +22,7 @@ common_header(); <a href="/write-test.php">writing phpt tests</a>. The submissions will then be reviewed by members of php.net before getting included in the official test suite. - </td> - <td width="35%" align="center"><img src="gfx/testfest_big.png" width="200" /></td> - </tr> - </table> + </p> <h2>Participating Users Group</h2> @@ -144,10 +129,6 @@ common_header(); <h3>Do you also provide a smaller version of the logo?</h3> Yes, here you go (scale as needed):<a href="testfest_scalable.svg"> scalable image</a><br /> - </td> - <td width="10">&nbsp;</td> - </tr> - </table> <?php common_footer(); diff --git a/write-test.php b/write-test.php index 5448910..bdf34bd 100644 --- a/write-test.php +++ b/write-test.php @@ -7,17 +7,7 @@ $SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__)); common_header(); ?> - <table width="70%" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - <td width="100%"> <h1>Creating new test files</h1> - </td> - <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> - </tr> - <tr> - <td width="10">&nbsp;</td> - <td width="100%"> <h2><a name="tests-basics" href="#tests-basics" class="anchor">#</a>phpt Test Basics</h2> <p> The first thing you need to know about tests is that we need more!!! Although PHP works just great 99.99% of the time, not having a very comprehensive test suite means that we take more risks every time @@ -483,10 +473,6 @@ precision=14 <p>If executed as PHP script the output will stop after the code on the --FILE-- section has been run.</p> <p></p> - </td> - <td width="10">&nbsp;</td> - </tr> - </table> <?php common_footer();
« previous php.qa (#67009) next »