@@ 165-182 (lines=18) @@ | ||
162 | /** |
|
163 | * Possible values for test_get_file_url_for_environment. |
|
164 | */ |
|
165 | public function get_file_url_for_environment_data_provider() { |
|
166 | return array( |
|
167 | 'script-debug-true' => array( |
|
168 | '_inc/build/shortcodes/js/recipes.js', |
|
169 | 'modules/shortcodes/js/recipes.js', |
|
170 | true, |
|
171 | 'non_min_path', |
|
172 | 'min_path', |
|
173 | ), |
|
174 | 'script-debug-false' => array( |
|
175 | '_inc/build/shortcodes/js/recipes.js', |
|
176 | 'modules/shortcodes/js/recipes.js', |
|
177 | false, |
|
178 | 'min_path', |
|
179 | 'non_min_path', |
|
180 | ), |
|
181 | ); |
|
182 | } |
|
183 | ||
184 | /** |
|
185 | * Possible values for test_get_file_url_for_environment. |
@@ 717-734 (lines=18) @@ | ||
714 | $this->assertNotContains( $$not_expected, $file_url ); |
|
715 | } |
|
716 | ||
717 | function get_file_url_for_environment_data_provider() { |
|
718 | return array( |
|
719 | 'script-debug-true' => array( |
|
720 | '_inc/build/shortcodes/js/recipes.js', |
|
721 | 'modules/shortcodes/js/recipes.js', |
|
722 | true, |
|
723 | 'non_min_path', |
|
724 | 'min_path' |
|
725 | ), |
|
726 | 'script-debug-false' => array( |
|
727 | '_inc/build/shortcodes/js/recipes.js', |
|
728 | 'modules/shortcodes/js/recipes.js', |
|
729 | false, |
|
730 | 'min_path', |
|
731 | 'non_min_path' |
|
732 | ), |
|
733 | ); |
|
734 | } |
|
735 | ||
736 | /** |
|
737 | * @dataProvider get_content_width_data |