You are here

function MemCacheSavingCase::testArray in Memcache API and Integration 7

Same name in this branch
  1. 7 tests/memcache.test \MemCacheSavingCase::testArray()
  2. 7 tests/memcache6.test \MemCacheSavingCase::testArray()
Same name and namespace in other branches
  1. 6 tests/memcache.test \MemCacheSavingCase::testArray()

Test the saving and restoring of an array.

File

tests/memcache6.test, line 145

Class

MemCacheSavingCase

Code

function testArray() {
  $this
    ->checkVariable(array(
    'drupal1',
    'drupal2' => 'drupal3',
    'drupal4' => array(
      'drupal5',
      'drupal6',
    ),
  ));
}