Resets static variables related to adding CSS or JS to a page.

Related topics

6 calls to advagg_test_reset_statics()
AdvAggCascadingStylesheetsTestCase::setUp in tests/advagg.test
Install the advagg module and include needed files.
AdvAggCascadingStylesheetsTestCase::testRenderFile in tests/advagg.test
Tests rendering the stylesheets.
AdvAggJavaScriptTestCase::setUp in tests/advagg.test
Install the advagg module and include needed files.
AdvAggJavaScriptTestCase::testJavaScriptAlwaysUsejQuery in tests/advagg.test
Test the 'javascript_always_use_jquery' variable.
AdvAggThemeTestCase::setUp in tests/advagg.test
Install the advagg module and include needed files.

... See full list

File

tests/advagg.test, line 26

Code

function advagg_test_reset_statics() {
    drupal_static_reset('drupal_add_css');
    drupal_static_reset('drupal_add_library');
    drupal_static_reset('drupal_get_library');
    drupal_static_reset('drupal_add_js');
    drupal_static_reset('drupal_add_js:jquery_added');
    drupal_static_reset('advagg_get_js');
}