function CoderReviewUpgrade7xTest::testCss7x in Coder 7
Same name and namespace in other branches
- 7.2 coder_review/tests/coder_review_7x.test \CoderReviewUpgrade7xTest::testCss7x()
File
- coder_review/
tests/ coder_review_7x.test, line 417
Class
Code
function testCss7x() {
// N/A - http://drupal.org/node/224333#attached_js
// N/A - http://drupal.org/node/224333#drupal_add_css_inline
// N/A - http://drupal.org/node/224333#drupal_add_library
// N/A - http://drupal.org/node/224333#drupal_add_js_css_reset
// N/A - http://drupal.org/node/224333#add-css-external
// http://drupal.org/node/224333#drupal_add_js_options
$this
->assertCoderReviewPass(" drupal_add_css(\$data, 'module');");
$this
->assertCoderReviewFail(" drupal_add_css(\$data, 'module', 'all');");
$this
->assertCoderReviewFail(" drupal_add_css(\$data, 'module', \$media);");
// http://drupal.org/node/224333#drupal_add_css_weight
// http://drupal.org/node/224333#class_attribute_array
}