PHP OpenID consumer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.php 665B

1234567891011121314151617181920212223
  1. <head>
  2. <title>Poidsy unit tests</title>
  3. <style type="text/css">
  4. table { border-collapse: collapse; width: 100%; }
  5. td, th { border: 1px solid #000; padding: 10px; }
  6. td.error { text-align: center; color: #fff; background-color: #c00; }
  7. td.succ { text-align: center; color: #fff; background-color: #0c0; }
  8. var { font-size: small; color: purple; font-style: normal; padding: 0 2px; }
  9. </style>
  10. </head>
  11. <body>
  12. <table>
  13. <tr><th>Input</th><th>Expected</th><th>Actual</th><th>Result</th></tr>
  14. <?PHP
  15. define('INCLUDE', true);
  16. foreach (glob('*.test.php') as $test) {
  17. echo '<tr><th colspan="4">', $test, '</th></tr>';
  18. include($test);
  19. }
  20. ?>