commit
80b29600df
|
@ -0,0 +1,77 @@
|
|||
<?php
|
||||
|
||||
namespace Tests\Icinga\Authentication;
|
||||
/**
|
||||
*
|
||||
* Test class for Auth
|
||||
* Created Fri, 07 Jun 2013 10:38:16 +0000
|
||||
*
|
||||
**/
|
||||
class AuthTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test for Auth::IsAuthenticated()
|
||||
*
|
||||
**/
|
||||
public function testIsAuthenticated()
|
||||
{
|
||||
$this->markTestIncomplete('testIsAuthenticated is not implemented yet');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for Auth::GetUsername()
|
||||
*
|
||||
**/
|
||||
public function testGetUsername()
|
||||
{
|
||||
$this->markTestIncomplete('testGetUsername is not implemented yet');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for Auth::GetEmail()
|
||||
*
|
||||
**/
|
||||
public function testGetEmail()
|
||||
{
|
||||
$this->markTestIncomplete('testGetEmail is not implemented yet');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for Auth::SetAuthenticatedUser()
|
||||
*
|
||||
**/
|
||||
public function testSetAuthenticatedUser()
|
||||
{
|
||||
$this->markTestIncomplete('testSetAuthenticatedUser is not implemented yet');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for Auth::ForgetAuthentication()
|
||||
*
|
||||
**/
|
||||
public function testForgetAuthentication()
|
||||
{
|
||||
$this->markTestIncomplete('testForgetAuthentication is not implemented yet');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for Auth::HasPermission()
|
||||
*
|
||||
**/
|
||||
public function testHasPermission()
|
||||
{
|
||||
$this->markTestIncomplete('testHasPermission is not implemented yet');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for Auth::GetInstance()
|
||||
* Note: This method is static!
|
||||
*
|
||||
**/
|
||||
public function testGetInstance()
|
||||
{
|
||||
$this->markTestIncomplete('testGetInstance is not implemented yet');
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
namespace Tests\Icinga\Authentication;
|
||||
/**
|
||||
*
|
||||
* Test class for Backend
|
||||
* Created Fri, 07 Jun 2013 10:38:16 +0000
|
||||
*
|
||||
**/
|
||||
class BackendTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test for Backend::HasUsername()
|
||||
*
|
||||
**/
|
||||
public function testHasUsername()
|
||||
{
|
||||
$this->markTestIncomplete('testHasUsername is not implemented yet');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for Backend::Authenticate()
|
||||
*
|
||||
**/
|
||||
public function testAuthenticate()
|
||||
{
|
||||
$this->markTestIncomplete('testAuthenticate is not implemented yet');
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
namespace Tests\Icinga\Authentication;
|
||||
/**
|
||||
*
|
||||
* Test class for Ldapuserbackend
|
||||
* Created Fri, 07 Jun 2013 10:38:16 +0000
|
||||
*
|
||||
**/
|
||||
class LdapuserbackendTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test for LdapUserBackend::HasUsername()
|
||||
*
|
||||
**/
|
||||
public function testHasUsername()
|
||||
{
|
||||
$this->markTestIncomplete('testHasUsername is not implemented yet');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for LdapUserBackend::Authenticate()
|
||||
*
|
||||
**/
|
||||
public function testAuthenticate()
|
||||
{
|
||||
$this->markTestIncomplete('testAuthenticate is not implemented yet');
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
|
||||
namespace Tests\Icinga\Authentication;
|
||||
/**
|
||||
*
|
||||
* Test class for Storable
|
||||
* Created Fri, 07 Jun 2013 10:38:16 +0000
|
||||
*
|
||||
**/
|
||||
class StorableTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test for Storable::Create()
|
||||
* Note: This method is static!
|
||||
*
|
||||
**/
|
||||
public function testCreate()
|
||||
{
|
||||
$this->markTestIncomplete('testCreate is not implemented yet');
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
namespace Tests\Icinga\Authentication;
|
||||
/**
|
||||
*
|
||||
* Test class for Userbackend
|
||||
* Created Fri, 07 Jun 2013 10:38:16 +0000
|
||||
*
|
||||
**/
|
||||
class UserbackendTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test for UserBackend::HasUsername()
|
||||
*
|
||||
**/
|
||||
public function testHasUsername()
|
||||
{
|
||||
$this->markTestIncomplete('testHasUsername is not implemented yet');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for UserBackend::Authenticate()
|
||||
*
|
||||
**/
|
||||
public function testAuthenticate()
|
||||
{
|
||||
$this->markTestIncomplete('testAuthenticate is not implemented yet');
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,67 @@
|
|||
<?php
|
||||
|
||||
namespace Tests\Icinga\Authentication;
|
||||
/**
|
||||
*
|
||||
* Test class for User
|
||||
* Created Fri, 07 Jun 2013 10:38:16 +0000
|
||||
*
|
||||
**/
|
||||
class UserTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test for User::ListGroups()
|
||||
*
|
||||
**/
|
||||
public function testListGroups()
|
||||
{
|
||||
$this->markTestIncomplete('testListGroups is not implemented yet');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for User::IsMemberOf()
|
||||
*
|
||||
**/
|
||||
public function testIsMemberOf()
|
||||
{
|
||||
$this->markTestIncomplete('testIsMemberOf is not implemented yet');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for User::GetPermissionList()
|
||||
*
|
||||
**/
|
||||
public function testGetPermissionList()
|
||||
{
|
||||
$this->markTestIncomplete('testGetPermissionList is not implemented yet');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for User::HasPermission()
|
||||
*
|
||||
**/
|
||||
public function testHasPermission()
|
||||
{
|
||||
$this->markTestIncomplete('testHasPermission is not implemented yet');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for User::GrantPermission()
|
||||
*
|
||||
**/
|
||||
public function testGrantPermission()
|
||||
{
|
||||
$this->markTestIncomplete('testGrantPermission is not implemented yet');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for User::RevokePermission()
|
||||
*
|
||||
**/
|
||||
public function testRevokePermission()
|
||||
{
|
||||
$this->markTestIncomplete('testRevokePermission is not implemented yet');
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue