Example #1
0
 public function provideTestStrPad()
 {
     if (!isset(self::$provideTestStrPad)) {
         self::$provideTestStrPad = (require dirname(__FILE__) . '/data/string_tools_strpad_data.php');
     }
     return self::$provideTestStrPad;
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     $this->setName("ConsoleTools");
     $this->addTest(ezcConsoleStringToolsTest::suite());
     $this->addTest(ezcConsoleOutputTest::suite());
     $this->addTest(ezcConsoleOutputFormatTest::suite());
     $this->addTest(ezcConsoleOutputFormatsTest::suite());
     $this->addTest(ezcConsoleOutputOptionsTest::suite());
     $this->addTest(ezcConsoleInputTest::suite());
     $this->addTest(ezcConsoleOptionTest::suite());
     $this->addTest(ezcConsoleOptionRuleTest::suite());
     $this->addTest(ezcConsoleArgumentTest::suite());
     $this->addTest(ezcConsoleArgumentsTest::suite());
     $this->addTest(ezcConsoleTableCellTest::suite());
     $this->addTest(ezcConsoleTableRowTest::suite());
     $this->addTest(ezcConsoleTableTest::suite());
     $this->addTest(ezcConsoleTableOptionsTest::suite());
     $this->addTest(ezcConsoleProgressbarTest::suite());
     $this->addTest(ezcConsoleProgressbarOptionsTest::suite());
     $this->addTest(ezcConsoleStatusbarTest::suite());
     $this->addTest(ezcConsoleStatusbarOptionsTest::suite());
     $this->addTest(ezcConsoleProgressMonitorTest::suite());
     $this->addTest(ezcConsoleProgressMonitorOptionsTest::suite());
     $this->addTest(ezcConsoleQuestionDialogTest::suite());
     $this->addTest(ezcConsoleDialogOptionsTest::suite());
     $this->addTest(ezcConsoleQuestionDialogOptionsTest::suite());
     $this->addTest(ezcConsoleQuestionDialogCollectionValidatorTest::suite());
     $this->addTest(ezcConsoleQuestionDialogMappingValidatorTest::suite());
     $this->addTest(ezcConsoleQuestionDialogTypeValidatorTest::suite());
     $this->addTest(ezcConsoleQuestionDialogRegexValidatorTest::suite());
     $this->addTest(ezcConsoleMenuDialogTest::suite());
     $this->addTest(ezcConsoleMenuDialogOptionsTest::suite());
     $this->addTest(ezcConsoleMenuDialogDefaultValidatorTest::suite());
 }