Пример #1
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());
 }
Пример #2
0
 public static function suite()
 {
     self::$association = new ezcAuthenticationOpenidAssociation('{HMAC-SHA1}{465d8eb9}{NQN84Q==}', 'foz3UXCxQJ5lKvau78Oqen9dTUc=', 1180536597, time() - 1180536597 + 604800, 'HMAC-SHA1');
     return new PHPUnit_Framework_TestSuite("ezcAuthenticationOpenidTest");
 }