document.getElementById('tests-'+uid+'-2').style.display = 'none'; } </script> <h1>Email Address Parsing Tests</h1> <p>This documentation is automatically generated by the tags and glossary from the <code>tests.xml</code> file.</p> <p>It attempts to explain what certain groups of tests are checking for and why, with links to relevant RFC sections.</p> <? foreach ($glossary as $k => $row){ echo "<h2 style=\"background-color: #eee\">$row[title]</h2>\n"; $ids = array(); foreach ($tests as $test){ if (isset($test['tags']) && in_array($k, $test['tags'])){ $ids[] = $test['id']; } } test_table($ids); echo Markdown($row['desc']); } ?> <? include('../../../foot.txt'); ?>
echo <<<END \t\t\t\t\t\t\t<td> \t\t\t\t\t\t\t\t<ul> \t\t\t\t\t\t\t\t\t<li><a class="link-color-pers" href="{$absurl}/Test/modificatest.php?id={$row['0']}">Modifica</a></li> \t\t\t\t\t\t\t\t\t<li><a class="link-color-pers" href="{$absurl}/Test/eliminatest.php?id={$row['0']}">Elimina</a></li> \t\t\t\t\t\t\t\t</ul> \t\t\t\t\t\t\t</td> \t\t\t\t\t\t</tr> END; while ($row = mysql_fetch_row($ris)) { echo <<<END \t\t\t\t\t\t<tr> END; test_table($row); echo <<<END \t\t\t\t\t\t\t<td> \t\t\t\t\t\t\t\t<ul> \t\t\t\t\t\t\t\t\t<li><a class="link-color-pers" href="{$absurl}/Test/modificatest.php?id={$row['0']}">Modifica</a></li> \t\t\t\t\t\t\t\t\t<li><a class="link-color-pers" href="{$absurl}/Test/eliminatest.php?id={$row['0']}">Elimina</a></li> \t\t\t\t\t\t\t\t</ul> \t\t\t\t\t\t\t</td> \t\t\t\t\t\t</tr> END; } echo <<<END \t\t\t\t\t</tbody> \t\t\t\t</table>
function test_database_tables($datenbank) { global $config; echo "Checking table Einstellung...<br/>"; test_table($datenbank, new TEinstellung()); echo "Checking table User...<br/>"; test_table($datenbank, new TUser(0, "", "", 0)); echo "Checking table Modul...<br/>"; test_table($datenbank, new TModul()); echo "Checking table Event...<br/>"; test_table($datenbank, new TEvent()); echo "Checking table Bildseite...<br/>"; test_table($datenbank, new TBildseite()); echo "Checking table Textseite...<br/>"; test_table($datenbank, new TTextseite()); echo "Checking table Playlist...<br/>"; test_table($datenbank, new TPlaylist()); }