@@ 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. |
@@ 808-825 (lines=18) @@ | ||
805 | $this->assertNotContains( $$not_expected, $file_url ); |
|
806 | } |
|
807 | ||
808 | function get_file_url_for_environment_data_provider() { |
|
809 | return array( |
|
810 | 'script-debug-true' => array( |
|
811 | '_inc/build/shortcodes/js/recipes.js', |
|
812 | 'modules/shortcodes/js/recipes.js', |
|
813 | true, |
|
814 | 'non_min_path', |
|
815 | 'min_path' |
|
816 | ), |
|
817 | 'script-debug-false' => array( |
|
818 | '_inc/build/shortcodes/js/recipes.js', |
|
819 | 'modules/shortcodes/js/recipes.js', |
|
820 | false, |
|
821 | 'min_path', |
|
822 | 'non_min_path' |
|
823 | ), |
|
824 | ); |
|
825 | } |
|
826 | ||
827 | /** |
|
828 | * @dataProvider get_content_width_data |