/**
  * Returns the keys of the extensions excluded from unit testing via the
  * phpunit configuration.
  *
  * @return array<string> the keys of the excluded extensions, might be empty
  */
 protected function getExcludedExtensionKeys()
 {
     return t3lib_div::trimExplode(',', $this->extensionSettingsService->getAsString('excludeextensions'), TRUE);
 }
Example #2
0
 /**
  * Returns the keys of the extensions excluded from unit testing via the
  * phpunit configuration.
  *
  * @return string[] the keys of the excluded extensions, might be empty
  */
 protected function getExcludedExtensionKeys()
 {
     return GeneralUtility::trimExplode(',', $this->extensionSettingsService->getAsString('excludeextensions'), true);
 }
Example #3
0
 /**
  * Creates a status about the extensions that are excluded from unit testing.
  *
  * @return tx_reports_reports_status_Status
  *         a status about the excluded extensions
  */
 protected function getExcludedExtensionsStatus()
 {
     $extensionKeys = t3lib_div::trimExplode(',', $this->extensionSettingsService->getAsString('excludeextensions'));
     return t3lib_div::makeInstance('tx_reports_reports_status_Status', $this->translate('status_excludedExtensions'), '', nl2br(htmlspecialchars(implode(LF, $extensionKeys))), tx_reports_reports_status_Status::NOTICE);
 }
Example #4
0
 /**
  * Returns the configured Selenium RC browser starting URL.
  *
  * This functions returns the TYPO3_SITE_URL if no URL is configured.
  *
  * @return string Selenium RC Browser URL, will not be empty
  */
 protected function getSeleniumBrowserUrl()
 {
     return $this->extensionSettingsService->hasString('selenium_browserurl') ? $this->extensionSettingsService->getAsString('selenium_browserurl') : rtrim(t3lib_div::getIndpEnv('TYPO3_SITE_URL'), self::DEFAULT_SELENIUM_BROWSER_URL);
 }
Example #5
0
 /**
  * Creates a status about the extensions that are excluded from unit testing.
  *
  * @return Status
  *         a status about the excluded extensions
  */
 protected function getExcludedExtensionsStatus()
 {
     $extensionKeys = GeneralUtility::trimExplode(',', $this->extensionSettingsService->getAsString('excludeextensions'));
     return GeneralUtility::makeInstance('TYPO3\\CMS\\Reports\\Status', $this->translate('status_excludedExtensions'), '', nl2br(htmlspecialchars(implode(LF, $extensionKeys))), Status::NOTICE);
 }
Example #6
0
 /**
  * Returns the configured Selenium RC browser starting URL.
  *
  * This functions returns the TYPO3_SITE_URL if no URL is configured.
  *
  * @return string Selenium RC Browser URL, will not be empty
  */
 public function getSeleniumBrowserUrl()
 {
     return $this->extensionSettingsService->hasString('selenium_browserurl') ? $this->extensionSettingsService->getAsString('selenium_browserurl') : rtrim(GeneralUtility::getIndpEnv('TYPO3_SITE_URL'), '/');
 }