public function CtoolsExportCrudTestCase::testCrudExportLoadAll in Chaos Tool Suite (ctools) 7
Tests CRUD operation: Load all.
File
- tests/
ctools_export_test/ ctools_export.test, line 62
Class
- CtoolsExportCrudTestCase
- Tests for the CTools export system.
Code
public function testCrudExportLoadAll() {
$loaded_exports = ctools_export_crud_load_all('ctools_export_test');
$this
->assertEqual(count($loaded_exports), 3, 'All exportables have been loaded.');
}