You are here

function MemCacheSavingCase::testArray in Zircon Profile 8

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

Test the saving and restoring of an array.

File

modules/memcache/tests/memcache.test, line 143

Class

MemCacheSavingCase

Code

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