protected function AuthcacheP13nTestObjectResourcePreprocessorCase::assertPreprocessorInvocations in Authenticated User Page Caching (Authcache) 7.2
Test whether the given invocations were recorded.
4 calls to AuthcacheP13nTestObjectResourcePreprocessorCase::assertPreprocessorInvocations()
- AuthcacheP13nTestObjectResourcePreprocessorCase::testAddDefaultResource in modules/
authcache_p13n/ tests/ authcache_p13n.object-resource-preprocessor.test - Covers AuthcacheP13nObjectResourcePreprocessor::preprocess().
- AuthcacheP13nTestObjectResourcePreprocessorCase::testOverrideResource in modules/
authcache_p13n/ tests/ authcache_p13n.object-resource-preprocessor.test - Covers AuthcacheP13nObjectResourcePreprocessor::preprocess().
- AuthcacheP13nTestObjectResourcePreprocessorCase::testPreprocessorSequence in modules/
authcache_p13n/ tests/ authcache_p13n.object-resource-preprocessor.test - Covers AuthcacheP13nObjectResourcePreprocessor::preprocess().
- AuthcacheP13nTestObjectResourcePreprocessorCase::testSubstituteResource in modules/
authcache_p13n/ tests/ authcache_p13n.object-resource-preprocessor.test - Covers AuthcacheP13nObjectResourcePreprocessor::preprocess().
File
- modules/
authcache_p13n/ tests/ authcache_p13n.object-resource-preprocessor.test, line 52 - Define test cases for object factory.
Class
- AuthcacheP13nTestObjectResourcePreprocessorCase
- Tests for object factory.
Code
protected function assertPreprocessorInvocations($expected_invocations, $message = NULL) {
$this
->assertEqual($expected_invocations, $this->preprocessorInvocations, $message);
}