You are here

public function DataLayerUnitTests::setupEmptyDataLayer in dataLayer 7

Setup empty datalayer.

4 calls to DataLayerUnitTests::setupEmptyDataLayer()
DataLayerUnitTests::testDataLayerAddDoesNotOverwriteByDefault in tests/datalayer.unit.test
Test DataLayer Add Does Not Overwrite By Default.
DataLayerUnitTests::testDataLayerAddWillAddData in tests/datalayer.unit.test
Test DataLayer Add Will Add Data.
DataLayerUnitTests::testDataLayerAddWillOverwriteWithFlag in tests/datalayer.unit.test
Test DataLayer Add Will Overwrite With Flag.
DataLayerUnitTests::testDataLayerGetEntityDataReturnsEntityDataArray in tests/datalayer.unit.test
Test DataLayer Get Entity Terms Returns Entity Data Array.

File

tests/datalayer.unit.test, line 186
Tests the functionality of the DataLayer module.

Class

DataLayerUnitTests
@file Tests the functionality of the DataLayer module.

Code

public function setupEmptyDataLayer() {
  $data =& drupal_static('datalayer_add', array());
}