protected function AuthcacheWebTestCase::assertAuthcacheExcluded in Authenticated User Page Caching (Authcache) 7.2
Test whether the preceeding request did hit an exclusion rule.
4 calls to AuthcacheWebTestCase::assertAuthcacheExcluded()
- AuthcachePolicyTestCase::testCustomPagecaching in ./
authcache.test - Test custom page caching rules (variable: authcache_pagecaching).
- AuthcachePolicyTestCase::testDefaultExclusionRules in ./
authcache.test - Test builtin standard cache exclusion rules.
- AuthcachePolicyTestCase::testExcludeCancelHooks in ./
authcache.test - Test API for exclusion and cancelation.
- AuthcachePolicyTestCase::testOtherOptions in ./
authcache.test - Test rest of custom options (authcache_http200, authcache_noajax).
File
- ./
authcache.test, line 175 - Tests for system.module.
Class
- AuthcacheWebTestCase
- Helper class for module test cases.
Code
protected function assertAuthcacheExcluded($with_message = NULL) {
if ($with_message) {
$this
->assertEqual($with_message, variable_get('authcache_test_authcache_excluded'));
}
else {
$this
->assertNotEqual(NULL, variable_get('authcache_test_authcache_excluded'));
}
}