示例#1
0
 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());
 }
示例#2
0
 public static function suite()
 {
     self::$ids = array(23, 24, 25, 26);
     self::$sizes = array(1539, 64072, 1696, 1725);
     return new PHPUnit_Framework_TestSuite(__CLASS__);
 }