예제 #1
0
파일: SimpleTest.php 프로젝트: kandy/system
 /**
  * @covers System_View_Simple::setScriptPath
  * @covers System_View_Simple::getScriptPaths
  */
 public function testSetScriptPath()
 {
     $dir1 = dirname(__FILE__) . '/';
     $dir2 = dirname(__FILE__) . '/../';
     $this->object->setScriptPath($dir1);
     $this->object->setScriptPath($dir2);
     self::assertEquals(array($dir2), $this->object->getScriptPaths());
 }