Advertisement
cejack4

runTests.php file

Feb 7th, 2013
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. <?php
  2. /*
  3. * Copyright 2007-2011 Charles du Jeu <contact (at) cdujeu.me>
  4. * This file is part of AjaXplorer.
  5. *
  6. * AjaXplorer is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU Affero General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * AjaXplorer is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU Affero General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Affero General Public License
  17. * along with AjaXplorer. If not, see <http://www.gnu.org/licenses/>.
  18. *
  19. * The latest code can be found at <http://www.ajaxplorer.info/>.
  20. *
  21. * Re-run the diagnostic tests
  22. */
  23.  
  24. /**
  25. * If you want to run the tests, first comment this line!
  26. * It is disabled for security purpose
  27. *die("You are not allowed to see this page (comment first line of the file to access it!)");
  28. */
  29.  
  30. require_once("base.conf.php");
  31.  
  32. $outputArray = array();
  33. $testedParams = array();
  34. $passed = true;
  35. $passed = AJXP_Utils::runTests($outputArray, $testedParams);
  36. print(AJXP_Utils::testResultsToTable($outputArray, $testedParams, true));
  37. AJXP_Utils::testResultsToFile($outputArray, $testedParams);
  38. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement