Changeset 1013619
- Timestamp:
- 10/24/2014 09:52:30 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
use-google-libraries/trunk/tests/test_ugl_scripts.php
r982318 r1013619 88 88 ); 89 89 } 90 91 function test_all_jquery_ui_replaced() { 92 $scripts = $this->ugl->get_google_scripts(); 93 $known = array_keys( $scripts ); 94 $missing = array(); 95 foreach ( array_keys( $this->scripts->registered ) as $handle ) { 96 if ( strpos( $handle, 'jquery-ui-') === 0 ) { 97 if ( !in_array ( $handle, $known ) ) { 98 $missing[] = $handle; 99 } 100 } 101 } 102 $this->assertEmpty( 103 $missing, 104 'Not all jquery-ui components are handled by UGL: ' . 105 print_r($missing, true) ); 106 } 107 90 108 }
Note: See TracChangeset
for help on using the changeset viewer.