You are here

public function CtoolsExportCrudTestCase::testCrudExportLoadMultiple in Chaos Tool Suite (ctools) 7

Tests CRUD operation: Load multiple.

File

tests/ctools_export_test/ctools_export.test, line 52

Class

CtoolsExportCrudTestCase
Tests for the CTools export system.

Code

public function testCrudExportLoadMultiple() {
  $exportable_names = array(
    'database_test',
    'overridden_test',
    'default_test',
  );
  $loaded_exports = ctools_export_crud_load_multiple('ctools_export_test', $exportable_names);
  $this
    ->assertEqual(count($loaded_exports), 3, 'All exportables have been loaded.');
}