Lines Matching refs:filepath

30     $filepath = 'core/assets/vendor/jquery/jquery.min.js';
31 $url = file_create_url($filepath);
32 …$this->assertEquals(FILE_URL_TEST_CDN_1 . '/' . $filepath, $url, 'Correctly generated a CDN URL fo…
33 $filepath = 'core/misc/favicon.ico';
34 $url = file_create_url($filepath);
35 …$this->assertEquals(FILE_URL_TEST_CDN_2 . '/' . $filepath, $url, 'Correctly generated a CDN URL fo…
39 $filepath = 'core/assets/vendor/jquery/jquery.min.js';
40 $url = file_create_url($filepath);
41 …$this->assertEquals(base_path() . '/' . $filepath, $url, 'Correctly generated a root-relative URL …
42 $filepath = 'core/misc/favicon.ico';
43 $url = file_create_url($filepath);
44 …$this->assertEquals(base_path() . '/' . $filepath, $url, 'Correctly generated a root-relative URL …
48 $filepath = 'core/assets/vendor/jquery/jquery.min.js';
49 $url = file_create_url($filepath);
50 …$this->assertEquals('/' . base_path() . '/' . $filepath, $url, 'Correctly generated a protocol-rel…
51 $filepath = 'core/misc/favicon.ico';
52 $url = file_create_url($filepath);
53 …$this->assertEquals('/' . base_path() . '/' . $filepath, $url, 'Correctly generated a protocol-rel…
57 $filepath = 'core/misc/favicon.ico';
58 $url = file_create_url($filepath . '?foo');
59 …$this->assertEquals($GLOBALS['base_url'] . '/' . $filepath . '?foo=', $url, 'Correctly generated U…
60 $url = file_create_url($filepath . '?foo=bar');
61 …$this->assertEquals($GLOBALS['base_url'] . '/' . $filepath . '?foo=bar', $url, 'Correctly generate…
62 $url = file_create_url($filepath . '#v1.2');
63 …$this->assertEquals($GLOBALS['base_url'] . '/' . $filepath . '#v1.2', $url, 'Correctly generated U…
64 $url = file_create_url($filepath . '?foo=bar#v1.2');
65 …$this->assertEquals($GLOBALS['base_url'] . '/' . $filepath . '?foo=bar#v1.2', $url, 'Correctly gen…
109 $filepath = 'core/assets/vendor/jquery/jquery.min.js';
110 $url = file_create_url($filepath);
111 $this->assertSame(base_path() . $filepath, file_url_transform_relative($url));