Exemplo n.º 1
0
 /**
  * LC_Page::getLocation() のテストケース.
  *
  * DocumentRoot 指定
  */
 function testGetLocationWithDocumentRoot()
 {
     $objPage = new LC_Page();
     $documentRoot = realpath(dirname(__FILE__) . "/../../../html");
     $queryString = array('mode' => 'update', 'type' => 'text');
     $url = $objPage->getLocation("/abouts/index.php", array(), false, $documentRoot);
     $this->assertEquals(HTTP_URL . "abouts/index.php", $url);
 }