Exemplo n.º 1
0
 /**
  * @covers Mage_Selenium_TestCase::setDefaultScreenshotPath
  * @covers Mage_Selenium_TestCase::getDefaultScreenshotPath
  */
 public function testSetGetDefaultScreenshotPath()
 {
     $inst = new Mage_Selenium_TestCase();
     $inst->setDefaultScreenshotPath('d:\\Temp');
     $path = $inst->getDefaultScreenshotPath();
     $this->assertEquals('d:\\Temp', $path);
     $this->assertInternalType('string', $path);
     $inst->setDefaultScreenshotPath('d:\\Temp\\');
     $path = $inst->getDefaultScreenshotPath();
     $this->assertEquals('d:\\Temp\\', $path);
 }