function CascadingStylesheetsTestCase::testReset

Makes sure that reseting the CSS empties the cache.

File

modules/simpletest/tests/common.test, line 812

Class

CascadingStylesheetsTestCase
Test the Drupal CSS system.

Code

function testReset() {
    drupal_static_reset('drupal_add_css');
    $this->assertEqual(array(), drupal_add_css(), 'Resetting the CSS empties the cache.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.