Ejemplo n.º 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());
 }
Ejemplo n.º 2
0
 public static function suite()
 {
     self::$association = array('handle' => '{HMAC-SHA1}{465d66d3}{6K1aSw==}', 'secret' => 'W0ixM9SYQviSG9TF6HrnXaxHudQ=', 'issued' => time(), 'validity' => 1209600, 'type' => 'HMAC-SHA1');
     return new PHPUnit_Framework_TestSuite("ezcAuthenticationOpenidFileStoreTest");
 }