function JavaScriptTestCase::resetStaticVariables

Resets static variables related to adding JavaScript to a page.

1 call to JavaScriptTestCase::resetStaticVariables()
JavaScriptTestCase::testJavaScriptAlwaysUseJQuery in drupal/modules/simpletest/tests/common.test
Test the 'javascript_always_use_jquery' variable.

File

drupal/modules/simpletest/tests/common.test, line 1890
Tests for common.inc functionality.

Class

JavaScriptTestCase
Tests for the JavaScript system.

Code

function resetStaticVariables() {
  drupal_static_reset('drupal_add_js');
  drupal_static_reset('drupal_add_library');
  drupal_static_reset('drupal_get_library');
}