Ejemplo n.º 1
0
 /**
  * @see LiveTest\Config\Tags\TestSuite.Base::doProcess()
  */
 protected function doProcess(TestSuiteConfig $config, $sessioNames)
 {
     $currentSession = $config->getCurrentSession();
     foreach ($sessioNames as $sessionName) {
         if ($config->hasSession($sessionName)) {
             $currentSession->extendSession($config->getSession($sessionName));
         } else {
             throw new ConfigurationException("Can't extend an undefined session (" . $sessionName . "). Sessions must be defined before they can be used.");
         }
     }
 }