예제 #1
0
 protected function didRunTests()
 {
     $config = $this->getComputedConfiguration();
     if ($config[self::PHABRICATOR_TESTCONFIG_ISOLATE_LISK]) {
         LiskDAO::endIsolateAllLiskEffectsToCurrentProcess();
     }
 }
예제 #2
0
 protected function didRunTests()
 {
     $config = $this->getComputedConfiguration();
     if ($config[self::PHABRICATOR_TESTCONFIG_ISOLATE_LISK]) {
         LiskDAO::endIsolateAllLiskEffectsToCurrentProcess();
     }
     try {
         unset($this->env);
     } catch (Exception $ex) {
         throw new Exception("Some test called PhabricatorEnv::beginScopedEnv(), but is still " . "holding a reference to the scoped environment!");
     }
 }
예제 #3
0
 protected function didRunTests()
 {
     $config = $this->getComputedConfiguration();
     if ($config[self::PHABRICATOR_TESTCONFIG_ISOLATE_LISK]) {
         LiskDAO::endIsolateAllLiskEffectsToCurrentProcess();
     }
     try {
         if (phutil_is_hiphop_runtime()) {
             $this->env->__destruct();
         }
         unset($this->env);
     } catch (Exception $ex) {
         throw new Exception(pht('Some test called %s, but is still holding ' . 'a reference to the scoped environment!', 'PhabricatorEnv::beginScopedEnv()'));
     }
 }