class SecureSiteCacheTest in Secure Site 6
Same name and namespace in other branches
- 5 tests/securesite.test \SecureSiteCacheTest
Hierarchy
- class \SecureSiteTest extends \DrupalTestCase
- class \SecureSiteCacheTest
Expanded class hierarchy of SecureSiteCacheTest
File
- tests/
securesite.test, line 768 - Secure Site module unit tests
View source
class SecureSiteCacheTest extends SecureSiteTest {
function get_info() {
return array(
'name' => t('Secure Site (Caching enabled)'),
'desc' => t('Executes the Secure Site module test suite with caching enabled.'),
'group' => t('Secure Site module'),
);
}
function setUp() {
// Always call the setUp() function from the parent class. Do it first
// here so the cache value is correct below.
parent::setUp();
// Enable cache
$this
->drupalVariableSet('cache', CACHE_NORMAL);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SecureSiteCacheTest:: |
function |
Drupal SimpleTest method: return metadata about the test Overrides SecureSiteTest:: |
||
SecureSiteCacheTest:: |
function |
Overrides SecureSiteTest:: |
||
SecureSiteTest:: |
function | Check that users get an access denied warning when accessing secured portions of the site if they've already logged in and don't have access to the secure portion | ||
SecureSiteTest:: |
function | Test blacklist | ||
SecureSiteTest:: |
function | Test the cron bypass | ||
SecureSiteTest:: |
function | Tests for _securesite_filter_check() | ||
SecureSiteTest:: |
function | Check that guest mode is correctly disabled when no username and password are set | ||
SecureSiteTest:: |
function | Check that users get the correct page after previously logging in as a guest | ||
SecureSiteTest:: |
function | Check that users get the correct page after previously logging in as a guest and not forcing a guest logout | ||
SecureSiteTest:: |
function | Check that guests can login when guest mode is enabled (a username and password are set) | ||
SecureSiteTest:: |
function | Check that guests get the correct page after previously logging in as a user | ||
SecureSiteTest:: |
function | Check that guests are logged out if user had logged in after being a guest | ||
SecureSiteTest:: |
function | Check that anonymous users get the correct headers when Secure Site is disabled | ||
SecureSiteTest:: |
function | Check that anonymous users get the correct headers when using the HTML login form | ||
SecureSiteTest:: |
function | Check that anonymous users get the correct headers when using HTTP Auth | ||
SecureSiteTest:: |
function | Check that using the deprecated HTTP Auth alternative method doesn't cause sites to be inaccessible (they should be accessible to anonymous users) | ||
SecureSiteTest:: |
function | Check that privileged users can login with HTTP Auth enabled | ||
SecureSiteTest:: |
function | Check that unprivileged users don't get HTTP Auth when accessing unsecured pages | ||
SecureSiteTest:: |
function | Check that unprivileged users get HTTP Auth when accessing secure pages | ||
SecureSiteTest:: |
function | Check that the user doesn't get stuck on the logout page | ||
SecureSiteTest:: |
function | Check that users are able to login and logout from unsecured portions of the site after using the normal Drupal login form | ||
SecureSiteTest:: |
function | Check prerequisites | ||
SecureSiteTest:: |
function | Check that login works normally after previous login and logout when first securing <front>, then not | ||
SecureSiteTest:: |
function | Check that login works normally after previous login and logout using the normal HTML login form | ||
SecureSiteTest:: |
function | Check that login works normally after previous login and logout when first not securing <front>, then securing it | ||
SecureSiteTest:: |
function | Check that the realm is correct when using the HTTP Auth method with the default SimpleTest User Agent string | ||
SecureSiteTest:: |
function | Check that the realm is correct when using the HTTP Auth method with Firefox's User Agent string | ||
SecureSiteTest:: |
function | Check that the realm is correct when using the HTTP Auth method with Internet Explorer's User Agent string | ||
SecureSiteTest:: |
function | Check that the realm is correct when using the HTTP Auth method with Opera's User Agent string | ||
SecureSiteTest:: |
function | Check that the realm is correct when using the HTTP Auth method with Safari's User Agent string | ||
SecureSiteTest:: |
function | Test whitelist |