<?php
//
// After including cdash_test_case.php, subsequent require_once calls are
// relative to the top of the CDash source tree
//
require_once(dirname(__FILE__).'/cdash_test_case.php');

require_once('cdash/common.php');
require_once('cdash/pdo.php');

class SVNInfoTestCase extends KWWebTestCase
{
  function __construct()
    {
    parent::__construct();
    $this->deleteLog($this->logfilename);
    }

  function testSVNInfo()
    {
    $this->login();
    $this->get($this->url."/svninfo.php");
    if(strpos($this->getBrowser()->getContentAsText(), "phpinfo") === false)
      {
      $this->fail("'phpinfo' not found when expected.");
      return 1;
      }
    $this->pass("Passed");
    }
}
?>
