- PHPUnit_Framework_TestSuite() constructs an empty TestSuite.
- PHPUnit_Framework_TestSuite(ReflectionClass) constructs a
TestSuite from the given class.
- PHPUnit_Framework_TestSuite(ReflectionClass, String)
constructs a TestSuite from the given class with the given
name.
- PHPUnit_Framework_TestSuite(String) either constructs a
TestSuite from the given class (if the passed string is the
name of an existing class) or constructs an empty TestSuite
with the given name.
public __construct ( mixed $theClass = '', string $name = '' ) | ||
$theClass | mixed | |
$name | string |
/** * Basic constructor for test suite * * @return void */ public function __construct() { parent::__construct(); $this->setName('php-commit-hooks - base tests'); $this->addTest(pchBaseRunnerTests::suite()); $this->addTest(pchBaseStringStreamTests::suite()); }
public function __construct() { parent::__construct(); $this->setName("Mail"); $this->addTest(ezcMailTest::suite()); $this->addTest(ezcMailComposerTest::suite()); $this->addTest(ezcMailPartTest::suite()); $this->addTest(ezcMailTransportOptionsTest::suite()); $this->addTest(ezcMailParserOptionsTest::suite()); $this->addTest(ezcMailTextTest::suite()); $this->addTest(ezcMailMultiPartTest::suite()); $this->addTest(ezcMailFileTest::suite()); $this->addTest(ezcMailVirtualFileTest::suite()); $this->addTest(ezcMailStreamFileTest::suite()); $this->addTest(ezcMailRfc822DigestTest::suite()); $this->addTest(ezcMailMultipartDigestTest::suite()); $this->addTest(ezcMailToolsTest::suite()); $this->addTest(ezcMailTransportMtaTest::suite()); $this->addTest(ezcMailTransportSmtpTest::suite()); $this->addTest(ezcMailTransportSmtpAuthTest::suite()); $this->addTest(ezcMailTransportPop3Test::suite()); $this->addTest(ezcMailTransportImapTest::suite()); $this->addTest(ezcMailTransportImapUidTest::suite()); $this->addTest(ezcMailTransportMboxTest::suite()); $this->addTest(ezcMailTransportFileTest::suite()); $this->addTest(ezcMailTransportStorageTest::suite()); $this->addTest(ezcMailTransportVariableTest::suite()); $this->addTest(ezcMailTutorialExamples::suite()); $this->addTest(ezcMailParserTest::suite()); $this->addTest(ezcMailPartWalkContextTest::suite()); $this->addTest(ezcMailHeadersHolderTest::suite()); $this->addTest(ezcMailMultipartMixedParserTest::suite()); $this->addTest(ezcMailRfc2231ImplementationTest::suite()); $this->addTest(ezcMailHeaderFolderTest::suite()); }
public function __construct() { parent::__construct(); $this->setName('Logger'); $this->addTest(Logger::suite()); $this->addTest(Console::suite()); }
public function __construct() { parent::__construct(); $this->setName("Document PDF tests"); $this->addTest(ezcDocumentPdfDriverHaruTests::suite()); $this->addTest(ezcDocumentPdfDriverTcpdfTests::suite()); $this->addTest(ezcDocumentPdfDriverSvgTests::suite()); $this->addTest(ezcDocumentPdfTransactionalDriverWrapperTests::suite()); $this->addTest(ezcDocumentPdfHyphenatorTests::suite()); $this->addTest(ezcDocumentPdfTokenizerTests::suite()); $this->addTest(ezcDocumentPdfLiteralTokenizerTests::suite()); $this->addTest(ezcDocumentPdfImageHandlerTests::suite()); $this->addTest(ezcDocumentPdfPageTests::suite()); $this->addTest(ezcDocumentPdfParagraphRendererTests::suite()); $this->addTest(ezcDocumentPdfTextBoxRendererTests::suite()); $this->addTest(ezcDocumentPdfLiterallayoutRendererTests::suite()); $this->addTest(ezcDocumentPdfVariableListRendererTests::suite()); $this->addTest(ezcDocumentPdfListRendererTests::suite()); $this->addTest(ezcDocumentPdfBlockquoteRendererTests::suite()); $this->addTest(ezcDocumentPdfRenderRtlTests::suite()); $this->addTest(ezcDocumentPdfRendererTextDecorationsTests::suite()); $this->addTest(ezcDocumentPdfMainRendererTests::suite()); $this->addTest(ezcDocumentPdfRendererFooterPartTests::suite()); $this->addTest(ezcDocumentPdfMediaObjectRendererTests::suite()); $this->addTest(ezcDocumentPdfTableColumnWidthCalculatorTests::suite()); $this->addTest(ezcDocumentPdfTableRendererTests::suite()); $this->addTest(ezcDocumentPdfTests::suite()); }
/** * Basic constructor for test suite * * @return void */ public function __construct() { parent::__construct(); $this->setName('phpillow - PHP CouchDB wrapper'); $this->addTest(phpillowBackendTestSuite::suite()); $this->addTest(phpillowToolTestSuite::suite()); }
public function __construct($name = 'Kwf Framework') { parent::__construct($name); $this->setBackupGlobals(false); if (file_exists('tests')) { $classes = $this->_addDirectory('./tests', false); } else { //we are inside kwf, only add classes ending with Test $classes = $this->_addDirectory('.', true); } if (file_exists("/www/testtimes")) { $app = Kwf_Registry::get('config')->application->id; if (!file_exists("/www/testtimes/failure_{$app}")) { mkdir("/www/testtimes/failure_{$app}"); } $times = array(); foreach ($classes as $k => $c) { $times[$k] = 0; $p = "/www/testtimes/failure_{$app}/" . $c; if (file_exists($p)) { $times[$k] = file_get_contents($p); } } arsort($times); $sortedClasses = array(); foreach (array_keys($times) as $k) { $sortedClasses[] = $classes[$k]; } $classes = $sortedClasses; } foreach ($classes as $c) { $this->addTestSuite($c); } }
public function __construct() { parent::__construct(); $this->setName("ymcHtmlForm"); $basedir = dirname(__FILE__); $this->addTestFile($basedir . '/user_registration.php'); }
/** * Constructor adds test groups defined on global level * and adds additional logic for test names retrieval * * @see PHPUnit_Framework_TestSuite::__construct() */ public function __construct($theClass = '', $groups = array()) { if (!$theClass instanceof ReflectionClass) { $theClass = EcomDev_Utils_Reflection::getReflection($theClass); } // Check annotations for test case name $annotations = PHPUnit_Util_Test::parseTestMethodAnnotations($theClass->getName()); if (isset($annotations['name'])) { $this->suiteName = $annotations['name']; } // Creates all test instances parent::__construct($theClass); // Just sort-out them by our internal groups foreach ($groups as $group) { $this->groups[$group] = $this->tests(); } foreach ($this->tests() as $test) { if ($test instanceof PHPUnit_Framework_TestSuite) { /* @todo * Post an issue into PHPUnit bugtracker for * impossibility for specifying group by parent test case * Because it is a very dirty hack :( **/ $testGroups = array(); foreach ($groups as $group) { $testGroups[$group] = $test->tests(); } EcomDev_Utils_Reflection::setRestrictedPropertyValue($test, 'groups', $testGroups); } } // Remove un grouped tests group, if it exists if (isset($this->groups[self::NO_GROUP_KEYWORD])) { unset($this->groups[self::NO_GROUP_KEYWORD]); } }
public function __construct(array $tests) { parent::__construct(); foreach ($tests as $test) { $this->addTestSuite($test); } }
public function __construct() { parent::__construct(); $this->setName("AuthenticationDatabaseTiein"); $this->addTest(ezcAuthenticationDatabaseTest::suite()); $this->addTest(ezcAuthenticationOpenidDbStoreTest::suite()); }
/** * Basic constructor for test suite * * @return void */ public function __construct() { parent::__construct(); $this->setName('php-commit-hooks - commit message parser'); $this->addTest(pchCommitMessageParserTests::suite()); $this->addTest(pchCommitMessageCheckTests::suite()); }
public function __construct() { parent::__construct(); $paths = []; // Autodiscover extension unit tests $registry = ExtensionRegistry::getInstance(); foreach ($registry->getAllThings() as $info) { $paths[] = dirname($info['path']) . '/tests/phpunit'; } // Extensions can return a list of files or directories Hooks::run('UnitTestsList', [&$paths]); foreach (array_unique($paths) as $path) { if (is_dir($path)) { // If the path is a directory, search for test cases. // @since 1.24 $suffixes = ['Test.php']; $fileIterator = new File_Iterator_Facade(); $matchingFiles = $fileIterator->getFilesAsArray($path, $suffixes); $this->addTestFiles($matchingFiles); } elseif (file_exists($path)) { // Add a single test case or suite class $this->addTestFile($path); } } if (!$paths) { $this->addTest(new DummyExtensionsTest('testNothing')); } }
public function __construct() { parent::__construct(); $this->setName('DefinitionReader'); $this->addTest(BasicArray::suite()); $this->addTest(CssLike\CssLikeSuite::suite()); }
public function __construct() { parent::__construct(); $this->setName("Document"); $this->addTest(ezcDocumentDocumentTests::suite()); $this->addTest(ezcDocumentParserTests::suite()); $this->addTest(ezcDocumentConverterTests::suite()); $this->addTest(ezcDocumentOptionsXmlBaseTests::suite()); $this->addTest(ezcDocumentXmlBaseTests::suite()); $this->addTest(ezcDocumentDocbookTests::suite()); $this->addTest(ezcDocumentRstTokenizerTests::suite()); $this->addTest(ezcDocumentRstParserTests::suite()); $this->addTest(ezcDocumentRstDocbookVisitorTests::suite()); $this->addTest(ezcDocumentRstXhtmlVisitorTests::suite()); $this->addTest(ezcDocumentRstXhtmlBodyVisitorTests::suite()); $this->addTest(ezcDocumentRstValidationTests::suite()); $this->addTest(ezcDocumentWikiCreoleTokenizerTests::suite()); $this->addTest(ezcDocumentWikiDokuwikiTokenizerTests::suite()); $this->addTest(ezcDocumentWikiConfluenceTokenizerTests::suite()); $this->addTest(ezcDocumentWikiParserTests::suite()); $this->addTest(ezcDocumentWikiDocbookVisitorTests::suite()); $this->addTest(ezcDocumentWikiTests::suite()); $this->addTest(ezcDocumentXhtmlDocbookTests::suite()); $this->addTest(ezcDocumentXhtmlValidationTests::suite()); $this->addTest(ezcDocumentEzXmlTests::suite()); $this->addTest(ezcDocumentPdfCssParserTests::suite()); $this->addTest(ezcDocumentPdfHyphenatorTests::suite()); $this->addTest(ezcDocumentPdfLocationIdTests::suite()); $this->addTest(ezcDocumentPdfMatchLocationIdTests::suite()); $this->addTest(ezcDocumentConverterDocbookToHtmlTests::suite()); $this->addTest(ezcDocumentConverterDocbookToHtmlXsltTests::suite()); $this->addTest(ezcDocumentConverterDocbookToRstTests::suite()); $this->addTest(ezcDocumentConverterDocbookToWikiTests::suite()); $this->addTest(ezcDocumentConverterDocbookToEzXmlTests::suite()); }
public function __construct() { parent::__construct(); $this->setName('MvcTools'); $this->addTest(ezcMvcToolsRegexpRouteTest::suite()); $this->addTest(ezcMvcToolsRailsRouteTest::suite()); $this->addTest(ezcMvcToolsCatchAllRouteTest::suite()); $this->addTest(ezcMvcToolsRouterTest::suite()); $this->addTest(ezcMvcToolsControllerTest::suite()); $this->addTest(ezcMvcToolsViewTest::suite()); $this->addTest(ezcMvcToolsPhpViewTest::suite()); $this->addTest(ezcMvcToolsJsonViewTest::suite()); $this->addTest(ezcMvcToolsHttpRequestParserTest::suite()); $this->addTest(ezcMvcToolsHttpResponseWriterTest::suite()); $this->addTest(ezcMvcToolsGzipResponseFilterTest::suite()); $this->addTest(ezcMvcToolsGzDeflateResponseFilterTest::suite()); $this->addTest(ezcMvcToolsRecodeResponseFilterTest::suite()); $this->addTest(ezcMvcToolsConfigurableDispatcherTest::suite()); $this->addTest(ezcMvcFilterDefinitionTest::suite()); $this->addTest(ezcMvcInternalRedirectTest::suite()); $this->addTest(ezcMvcRequestAcceptTest::suite()); $this->addTest(ezcMvcRequestAuthenticationTest::suite()); $this->addTest(ezcMvcRequestFileTest::suite()); $this->addTest(ezcMvcRequestTest::suite()); $this->addTest(ezcMvcHttpRawRequestTest::suite()); $this->addTest(ezcMvcRequestUserAgentTest::suite()); $this->addTest(ezcMvcResponseTest::suite()); $this->addTest(ezcMvcResultCacheTest::suite()); $this->addTest(ezcMvcResultContentTest::suite()); $this->addTest(ezcMvcResultCookieTest::suite()); $this->addTest(ezcMvcResultTest::suite()); $this->addTest(ezcMvcRoutingInformationTest::suite()); $this->addTest(ezcMvcExternalRedirectTest::suite()); }
public function __construct() { parent::__construct(); $this->setName("PersistentObject"); $this->addTest(ezcPersistentCodeManagerTest::suite()); $this->addTest(ezcPersistentCacheManagerTest::suite()); $this->addTest(ezcPersistentMultiManagerTest::suite()); $this->addTest(ezcPersistentSessionDeleteTest::suite()); $this->addTest(ezcPersistentSessionFindTest::suite()); $this->addTest(ezcPersistentSessionLoadTest::suite()); $this->addTest(ezcPersistentSessionMiscTest::suite()); $this->addTest(ezcPersistentSessionSaveTest::suite()); $this->addTest(ezcPersistentFindIteratorTest::suite()); $this->addTest(ezcPersistentManualGeneratorTest::suite()); $this->addTest(ezcPersistentNativeGeneratorTest::suite()); $this->addTest(ezcPersistentSessionInstanceTest::suite()); $this->addTest(ezcPersistentOneToManyRelationTest::suite()); $this->addTest(ezcPersistentOneToOneRelationTest::suite()); $this->addTest(ezcPersistentManyToOneRelationTest::suite()); $this->addTest(ezcPersistentManyToManyRelationTest::suite()); $this->addTest(ezcPersistentKeywordTest::suite()); $this->addTest(ezcPersistentStringIdentifierTest::suite()); $this->addTest(ezcPersistentObjectPropertyTest::suite()); $this->addTest(ezcPersistentObjectIdPropertyTest::suite()); $this->addTest(ezcPersistentObjectDefinitionTest::suite()); $this->addTest(ezcPersistentObjectRelationsTest::suite()); $this->addTest(ezcPersistentObjectPropertiesTest::suite()); $this->addTest(ezcPersistentObjectColumnsTest::suite()); $this->addTest(ezcPersistentPropertyDateTimeConverterTest::suite()); $this->addTest(ezcPersistentDatabaseTypeTest::suite()); $this->addTest(ezcPersistentObjectTest::suite()); $this->addTest(ezcPersistentObjectInstanceDelayedInitTest::suite()); }
/** * Constructs a new TestSuite: * * - PHPUnit_Framework_TestSuite() constructs an empty TestSuite. * * - PHPUnit_Framework_TestSuite(ReflectionClass) constructs a * TestSuite from the given class. * * - PHPUnit_Framework_TestSuite(ReflectionClass, String) * constructs a TestSuite from the given class with the given * name. * * - PHPUnit_Framework_TestSuite(String) either constructs a * TestSuite from the given class (if the passed string is the * name of an existing class) or constructs an empty TestSuite * with the given name. * * @param $theClass * @param $name * @param string $runId The run ID used to store the profiling data * @return void * @see PHPUnit_Framework_TestSuite::__construct($theClass = '', $name = '') */ public function __construct($theClass = '', $name = '', $runId) { // call the constructor of the parent class parent::__construct($theClass, $name); // initialize the run ID $this->_runId = $runId; }
/** * Basic constructor for test suite * * @return void */ public function __construct() { parent::__construct(); $this->setName('Native Job queue'); $this->addTestSuite(\njq\Tests\JobProvider\Suite::suite()); $this->addTestSuite(\njq\Tests\Executor\Suite::suite()); }
public function __construct() { parent::__construct(); $this->setName("ymcPipeSites"); $suites = glob(dirname(__FILE__) . '/*/suite.php'); $this->addTestFiles($suites); }
/** * Basic constructor for test suite * * @return void */ public function __construct() { parent::__construct(); $this->setName('XML-Schema-learner'); $this->addTestSuite(slMainTestSuite::suite()); $this->addTestSuite(slVisitorTestSuite::suite()); }
public function __construct() { parent::__construct(); $this->setName('MvcMailTiein'); $this->addTest(ezcMvcMailTieinMailRequestParserTest::suite()); $this->addTest(ezcMvcToolsBugzillaRequestFilterTest::suite()); }
/** * Basic constructor for test suite * * @return void */ public function __construct() { parent::__construct(); $this->setName('XML-Schema-learner - Main'); $this->addTest(slMainAutomatonTests::suite()); $this->addTest(slMainHiddenMarkovModelTests::suite()); $this->addTest(slMainKOccurenceHiddenMarkovModelTests::suite()); $this->addTest(slMainBaumWelchTests::suite()); $this->addTest(slMainSingleOccurenceAutomatonTests::suite()); $this->addTest(slMainWeightedSingleOccurenceAutomatonTests::suite()); $this->addTest(slMainCountingSingleOccurenceAutomatonTests::suite()); $this->addTest(slMainTypeAutomatonTests::suite()); $this->addTest(slMainTypeInferencerTests::suite()); $this->addTest(slMainTypeMergerTests::suite()); $this->addTest(slMainSoreConverterTests::suite()); $this->addTest(slMainChareConverterTests::suite()); $this->addTest(slMainEChareConverterTests::suite()); $this->addTest(slMainRegularExpressionTests::suite()); $this->addTest(slMainRegularExpressionOptimizerTests::suite()); $this->addTest(slMainRegularExpressionOptimizerManagerTests::suite()); $this->addTest(slMainSchemaTests::suite()); $this->addTest(slMainSchemaTypeTests::suite()); $this->addTest(slMainSchemaTypeStrictAttributeComparatorTests::suite()); $this->addTest(slMainSchemaTypeSameAttributeComparatorTests::suite()); $this->addTest(slMainSchemaTypeEqualAttributeComparatorTests::suite()); $this->addTest(slMainSchemaTypeMergeAttributeComparatorTests::suite()); $this->addTest(slMainSchemaTypeEqualPatternComparatorTests::suite()); $this->addTest(slMainSchemaTypeReducePatternComparatorTests::suite()); $this->addTest(slMainSchemaTypeNodeBasedPatternComparatorTests::suite()); $this->addTest(slMainSchemaTypeSubsumingPatternComparatorTests::suite()); $this->addTest(slMainSchemaElementTests::suite()); $this->addTest(slMainSchemaAttributeTests::suite()); $this->addTest(slMainSchemaDtdTests::suite()); }
/** * @param \ReflectionClass $theClass * @param \PHPUnit_Util_Configuration $phpunitConfiguration */ public function __construct(\ReflectionClass $theClass, \PHPUnit_Util_Configuration $phpunitConfiguration = null) { parent::__construct($theClass); if (!is_null($phpunitConfiguration)) { $this->filterGroup($phpunitConfiguration->getGroupConfiguration()); } }
public function __construct() { parent::__construct(); $this->setName('Database'); $this->addTest(ezcDatabaseFactoryTest::suite()); $this->addTest(ezcDatabaseTransactionsTest::suite()); $this->addTest(ezcDatabaseInstanceTest::suite()); $this->addTest(ezcDatabaseInstanceDelayedInitTest::suite()); $this->addTest(ezcDatabaseHandlerTest::suite()); $this->addTest(ezcDatabaseHandlerSqliteTest::suite()); $this->addTest(ezcDatabaseHandlerMysqlTest::suite()); $this->addTest(ezcDatabaseHandlerPgsqlTest::suite()); $this->addTest(ezcDatabaseHandlerOracleTest::suite()); $this->addTest(ezcQueryExpressionTest::suite()); $this->addTest(ezcQueryTest::suite()); $this->addTest(ezcQuerySelectTest::suite()); $this->addTest(ezcQuerySubSelectTest::suite()); $this->addTest(ezcQuerySelectTestImpl::suite()); $this->addTest(ezcQuerySubSelectTestImpl::suite()); $this->addTest(ezcQuerySelectJoinTestImpl::suite()); $this->addTest(ezcQueryInsertTest::suite()); $this->addTest(ezcQueryUpdateTest::suite()); $this->addTest(ezcQueryDeleteTest::suite()); $this->addTest(ezcPdoTest::suite()); $this->addTest(ezcRdbmsLimitTest::suite()); $this->addTest(ezcParamValuesTest::suite()); }
public function __construct() { parent::__construct(); $this->setName("Cache"); $this->addTest(ezcCacheStackTest::suite()); $this->addTest(ezcCacheComplexCacheTest::suite()); $this->addTest(ezcCacheStorageFileOptionsTest::suite()); $this->addTest(ezcCacheStorageOptionsTest::suite()); $this->addTest(ezcCacheStorageFileTest::suite()); $this->addTest(ezcCacheStorageFileArrayTest::suite()); $this->addTest(ezcCacheStorageFileObjectTest::suite()); $this->addTest(ezcCacheStorageFileEvalArrayTest::suite()); $this->addTest(ezcCacheStorageFilePlainTest::suite()); $this->addTest(ezcCacheStorageApcPlainTest::suite()); $this->addTest(ezcCacheStorageFileApcArrayTest::suite()); $this->addTest(ezcCacheMemcacheBackendTest::suite()); $this->addTest(ezcCacheStorageMemcachePlainTest::suite()); $this->addTest(ezcCacheManagerTest::suite()); $this->addTest(ezcCacheStackOptionsTest::suite()); $this->addTest(ezcCacheStackStorageConfigurationTest::suite()); $this->addTest(ezcCacheStackLruMetaDataTest::suite()); $this->addTest(ezcCacheStackLfuMetaDataTest::suite()); $this->addTest(ezcCacheStackLruReplacementStrategyTest::suite()); $this->addTest(ezcCacheStackLfuReplacementStrategyTest::suite()); }
public function __construct() { parent::__construct(); $this->setName("Document"); $this->addTest(ezcDocumentDocumentTests::suite()); $this->addTest(ezcDocumentParserTests::suite()); $this->addTest(ezcDocumentConverterTests::suite()); $this->addTest(ezcDocumentOptionsXmlBaseTests::suite()); $this->addTest(ezcDocumentXmlBaseTests::suite()); $this->addTest(ezcDocumentDocbookTests::suite()); $this->addTest(ezcDocumentRstTokenizerTests::suite()); $this->addTest(ezcDocumentRstParserTests::suite()); $this->addTest(ezcDocumentRstDocbookVisitorTests::suite()); $this->addTest(ezcDocumentRstXhtmlVisitorTests::suite()); $this->addTest(ezcDocumentRstXhtmlBodyVisitorTests::suite()); $this->addTest(ezcDocumentRstValidationTests::suite()); $this->addTest(ezcDocumentWikiCreoleTokenizerTests::suite()); $this->addTest(ezcDocumentWikiDokuwikiTokenizerTests::suite()); $this->addTest(ezcDocumentWikiConfluenceTokenizerTests::suite()); $this->addTest(ezcDocumentWikiParserTests::suite()); $this->addTest(ezcDocumentWikiDocbookVisitorTests::suite()); $this->addTest(ezcDocumentWikiTests::suite()); $this->addTest(ezcDocumentXhtmlDocbookTests::suite()); $this->addTest(ezcDocumentXhtmlValidationTests::suite()); $this->addTest(ezcDocumentOptionsOdtTests::suite()); $this->addTest(ezcDocumentOdtDocbookTests::suite()); $this->addTest(ezcDocumentEzXmlTests::suite()); $this->addTest(ezcDocumentPcssLocationIdTests::suite()); $this->addTest(ezcDocumentPcssMatchLocationIdTests::suite()); $this->addTest(ezcDocumentPcssMeasureTests::suite()); $this->addTest(ezcDocumentPcssParserTests::suite()); $this->addTest(ezcDocumentPcssValueParserTests::suite()); $this->addTest(ezcDocumentPcssStyleInferenceTests::suite()); $this->addTest(ezcDocumentListBulletGuesserTest::suite()); $this->addTest(ezcDocumentPdfSuite::suite()); $this->addTest(ezcDocumentOdtSuite::suite()); $this->addTest(ezcDocumentBBCodeSuite::suite()); $this->addTest(ezcDocumentConverterDocbookToHtmlTests::suite()); $this->addTest(ezcDocumentConverterDocbookToHtmlXsltTests::suite()); $this->addTest(ezcDocumentConverterDocbookToRstTests::suite()); $this->addTest(ezcDocumentConverterDocbookToWikiTests::suite()); $this->addTest(ezcDocumentConverterDocbookToEzXmlTests::suite()); $this->addTest(ezcDocumentConverterDocbookToOdtTests::suite()); $this->addTest(ezcConverterRstOptionsTests::suite()); $this->addTest(ezcDocumentWikiOptionsTests::suite()); $this->addTest(ezcDocumentRstOptionsTests::suite()); $this->addTest(ezcDocumentPdfOptionsTests::suite()); $this->addTest(ezcConverterOptionsTests::suite()); $this->addTest(ezcDocumentOptionsTests::suite()); $this->addTest(ezcConverterXsltOptionsTests::suite()); $this->addTest(ezcDocumentXhtmlOptionsTests::suite()); $this->addTest(ezcDocumentEzXmlOptionsTests::suite()); $this->addTest(ezcDocumentDocbookOptionsTests::suite()); $this->addTest(ezcDocumentPdfFooterOptionsTests::suite()); $this->addTest(ezcConverterDocbookEzXmlOptionsTests::suite()); $this->addTest(ezcConverterEzXmlDocbookOptionsTests::suite()); $this->addTest(ezcConverterWikiOptionsTests::suite()); $this->addTest(ezcConverterOdtOptionsTests::suite()); }
public function __construct() { parent::__construct(); $this->setName("File"); $this->addTest(ezcFileFindRecursiveTest::suite()); $this->addTest(ezcFileRemoveRecursiveTest::suite()); $this->addTest(ezcFileCalculateRelativePathTest::suite()); }
public function __construct() { parent::__construct(); $this->setName('TemplateTranslationTiein'); $this->addTest(ezcTemplateTranslationConfigurationTest::suite()); $this->addTest(ezcTemplateTranslationProviderTest::suite()); $this->addTest(ezcTemplateTranslationExtracterTest::suite()); }
/** * @param \ReflectionClass $theClass * @param \Stagehand\TestRunner\Util\PHPUnitXMLConfiguration $phpunitXMLConfiguration */ public function __construct(\ReflectionClass $theClass, PHPUnitXMLConfiguration $phpunitXMLConfiguration = null) { $this->phpunitXMLConfiguration = $phpunitXMLConfiguration; parent::__construct($theClass); if ($this->phpunitXMLConfiguration->isEnabled()) { $this->filterGroup(); } }
public function __construct() { parent::__construct(); $this->setName("Document BBCode tests"); $this->addTest(ezcDocumentBBCodeTokenizerTests::suite()); $this->addTest(ezcDocumentBBCodeParserTests::suite()); $this->addTest(ezcDocumentBBCodeDocbookVisitorTests::suite()); }