public static function suite()
 {
     self::$path = dirname(__FILE__) . '/data/htpasswd';
     self::$empty = dirname(__FILE__) . '/data/htpasswd_empty';
     self::$nopass = dirname(__FILE__) . '/data/htpasswd_no_passwords';
     self::$missing = dirname(__FILE__) . '/data/htpassw';
     return new PHPUnit_Framework_TestSuite("ezcAuthenticationHtpasswdTest");
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct();
     $this->setName("Authentication");
     $this->addTest(ezcAuthenticationGeneralTest::suite());
     $this->addTest(ezcAuthenticationSessionTest::suite());
     $this->addTest(ezcAuthenticationGroupTest::suite());
     $this->addTest(ezcAuthenticationGroupMultipleTest::suite());
     $this->addTest(ezcAuthenticationHtpasswdTest::suite());
     $this->addTest(ezcAuthenticationLdapTest::suite());
     $this->addTest(ezcAuthenticationOpenidTest::suite());
     $this->addTest(ezcAuthenticationOpenidFileStoreTest::suite());
     $this->addTest(ezcAuthenticationTokenTest::suite());
     $this->addTest(ezcAuthenticationTypekeyTest::suite());
     $this->addTest(ezcAuthenticationBignumTest::suite());
     $this->addTest(ezcAuthenticationUrlTest::suite());
 }