OLD | NEW |
1 Tests FileSystemMapping | 1 Tests FileSystemMapping |
2 | 2 |
3 Testing file system mapping. | 3 Testing file system mapping. |
4 file system paths: | 4 file system paths: |
5 | 5 |
6 Adding file system file:///home/username/projects/foo | 6 Adding file system file:///home/username/projects/foo |
7 Testing file system mapping. | 7 Testing file system mapping. |
8 file system paths: | 8 file system paths: |
9 - file:///home/username/projects/foo | 9 - file:///home/username/projects/foo |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 - file:///home/username/project/build | 29 - file:///home/username/project/build |
30 - file:///www/site1 | 30 - file:///www/site1 |
31 | 31 |
32 Adding file mapping (file:///www/site1, http://localhost/, /) | 32 Adding file mapping (file:///www/site1, http://localhost/, /) |
33 Testing file system mapping. | 33 Testing file system mapping. |
34 file system paths: | 34 file system paths: |
35 - file:///home/username/projects/foo | 35 - file:///home/username/projects/foo |
36 - file:///home/username/projects/bar | 36 - file:///home/username/projects/bar |
37 - file:///home/username/project/build | 37 - file:///home/username/project/build |
38 - file:///www/site1 | 38 - file:///www/site1 |
39 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} | 39 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/"} |
40 | 40 |
41 Adding file mapping (file:///www/site1, http://www.foo.com/, /foo/) | 41 Adding file mapping (file:///www/site1, http://www.foo.com/, /foo/) |
42 Testing file system mapping. | 42 Testing file system mapping. |
43 file system paths: | 43 file system paths: |
44 - file:///home/username/projects/foo | 44 - file:///home/username/projects/foo |
45 - file:///home/username/projects/bar | 45 - file:///home/username/projects/bar |
46 - file:///home/username/project/build | 46 - file:///home/username/project/build |
47 - file:///www/site1 | 47 - file:///www/site1 |
48 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} | 48 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/"} |
49 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://www.foo.com
/","pathPrefix":"/foo/","configurable":true} | 49 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://www.foo.com
/","pathPrefix":"/foo/"} |
50 | 50 |
51 Adding file mapping (file:///home/username/projects/foo, http://www.example.com/
bar/, /foo/) | 51 Adding file mapping (file:///home/username/projects/foo, http://www.example.com/
bar/, /foo/) |
52 Testing file system mapping. | 52 Testing file system mapping. |
53 file system paths: | 53 file system paths: |
54 - file:///home/username/projects/foo | 54 - file:///home/username/projects/foo |
55 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.example.com/bar/","pathPrefix":"/foo/","configurable":true} | 55 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.example.com/bar/","pathPrefix":"/foo/"} |
56 - file:///home/username/projects/bar | 56 - file:///home/username/projects/bar |
57 - file:///home/username/project/build | 57 - file:///home/username/project/build |
58 - file:///www/site1 | 58 - file:///www/site1 |
59 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} | 59 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/"} |
60 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://www.foo.com
/","pathPrefix":"/foo/","configurable":true} | 60 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://www.foo.com
/","pathPrefix":"/foo/"} |
61 | 61 |
62 Adding file mapping for resource (http://www.bar.com/foo/folder/42.js, file:///h
ome/username/projects/foo, file:///home/username/projects/foo/baz/folder/42.js) | 62 Adding file mapping for resource (http://www.bar.com/foo/folder/42.js, file:///h
ome/username/projects/foo, file:///home/username/projects/foo/baz/folder/42.js) |
63 Testing file system mapping. | 63 Testing file system mapping. |
64 file system paths: | 64 file system paths: |
65 - file:///home/username/projects/foo | 65 - file:///home/username/projects/foo |
66 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.example.com/bar/","pathPrefix":"/foo/","configurable":true} | 66 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.example.com/bar/","pathPrefix":"/foo/"} |
67 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.bar.com/foo/","pathPrefix":"/baz/","configurable":true} | 67 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.bar.com/foo/","pathPrefix":"/baz/"} |
68 - file:///home/username/projects/bar | 68 - file:///home/username/projects/bar |
69 - file:///home/username/project/build | 69 - file:///home/username/project/build |
70 - file:///www/site1 | 70 - file:///www/site1 |
71 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} | 71 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/"} |
72 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://www.foo.com
/","pathPrefix":"/foo/","configurable":true} | 72 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://www.foo.com
/","pathPrefix":"/foo/"} |
73 | 73 |
74 Adding file mapping for resource (http://localhost:3333/build/layout.css, file:/
//home/username/project/build, file:///home/username/project/build/layout.css) | 74 Adding file mapping for resource (http://localhost:3333/build/layout.css, file:/
//home/username/project/build, file:///home/username/project/build/layout.css) |
75 Testing file system mapping. | 75 Testing file system mapping. |
76 file system paths: | 76 file system paths: |
77 - file:///home/username/projects/foo | 77 - file:///home/username/projects/foo |
78 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.example.com/bar/","pathPrefix":"/foo/","configurable":true} | 78 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.example.com/bar/","pathPrefix":"/foo/"} |
79 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.bar.com/foo/","pathPrefix":"/baz/","configurable":true} | 79 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.bar.com/foo/","pathPrefix":"/baz/"} |
80 - file:///home/username/projects/bar | 80 - file:///home/username/projects/bar |
81 - file:///home/username/project/build | 81 - file:///home/username/project/build |
82 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} | 82 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/"} |
83 - file:///www/site1 | 83 - file:///www/site1 |
84 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} | 84 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/"} |
85 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://www.foo.com
/","pathPrefix":"/foo/","configurable":true} | 85 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://www.foo.com
/","pathPrefix":"/foo/"} |
86 | 86 |
87 Testing mappings for url: | 87 Testing mappings for url: |
88 Has mapping for 'http://www.bar.com/foo/folder/42.js': true | 88 Has mapping for 'http://www.bar.com/foo/folder/42.js': true |
89 File for 'http://www.bar.com/foo/folder/42.js': file:///home/username/projec
ts/foo/baz/folder/42.js | 89 File for 'http://www.bar.com/foo/folder/42.js': file:///home/username/projec
ts/foo/baz/folder/42.js |
90 Has mapping for 'http://www.foo.com/bar/folder/42.js': true | 90 Has mapping for 'http://www.foo.com/bar/folder/42.js': true |
91 File for 'http://www.foo.com/bar/folder/42.js': file:///www/site1/foo/bar/fo
lder/42.js | 91 File for 'http://www.foo.com/bar/folder/42.js': file:///www/site1/foo/bar/fo
lder/42.js |
92 Has mapping for 'http://localhost/index.html': true | 92 Has mapping for 'http://localhost/index.html': true |
93 File for 'http://localhost/index.html': file:///www/site1/index.html | 93 File for 'http://localhost/index.html': file:///www/site1/index.html |
94 Has mapping for 'https://localhost/index.html': false | 94 Has mapping for 'https://localhost/index.html': false |
95 File for 'https://localhost/index.html': null | 95 File for 'https://localhost/index.html': null |
(...skipping 12 matching lines...) Expand all Loading... |
108 URL for path 'file:///home/username/projects/foo/foo2/folder/42.js': | 108 URL for path 'file:///home/username/projects/foo/foo2/folder/42.js': |
109 URL for path 'file:///www/site1/foo/index.html': http://www.foo.com/index.ht
ml | 109 URL for path 'file:///www/site1/foo/index.html': http://www.foo.com/index.ht
ml |
110 URL for path 'file:///www/site1/index.html': http://localhost/index.html | 110 URL for path 'file:///www/site1/index.html': http://localhost/index.html |
111 URL for path 'file:///www/site1/foo': http://localhost/foo | 111 URL for path 'file:///www/site1/foo': http://localhost/foo |
112 URL for path 'file:///www/site1/foo/': http://www.foo.com/ | 112 URL for path 'file:///www/site1/foo/': http://www.foo.com/ |
113 | 113 |
114 Creating another file system mapping. | 114 Creating another file system mapping. |
115 Testing file system mapping. | 115 Testing file system mapping. |
116 file system paths: | 116 file system paths: |
117 - file:///home/username/projects/foo | 117 - file:///home/username/projects/foo |
118 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.example.com/bar/","pathPrefix":"/foo/","configurable":true} | 118 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.example.com/bar/","pathPrefix":"/foo/"} |
119 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.bar.com/foo/","pathPrefix":"/baz/","configurable":true} | 119 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.bar.com/foo/","pathPrefix":"/baz/"} |
120 - file:///home/username/projects/bar | 120 - file:///home/username/projects/bar |
121 - file:///home/username/project/build | 121 - file:///home/username/project/build |
122 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} | 122 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/"} |
123 - file:///www/site1 | 123 - file:///www/site1 |
124 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} | 124 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/"} |
125 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://www.foo.com
/","pathPrefix":"/foo/","configurable":true} | 125 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://www.foo.com
/","pathPrefix":"/foo/"} |
126 | 126 |
127 Removing file mapping for url http://www.bar.com/foo/folder/42.js | 127 Removing file mapping for url http://www.bar.com/foo/folder/42.js |
128 Testing file system mapping. | 128 Testing file system mapping. |
129 file system paths: | 129 file system paths: |
130 - file:///home/username/projects/foo | 130 - file:///home/username/projects/foo |
131 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.example.com/bar/","pathPrefix":"/foo/","configurable":true} | 131 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.example.com/bar/","pathPrefix":"/foo/"} |
132 - file:///home/username/projects/bar | 132 - file:///home/username/projects/bar |
133 - file:///home/username/project/build | 133 - file:///home/username/project/build |
134 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} | 134 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/"} |
135 - file:///www/site1 | 135 - file:///www/site1 |
136 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} | 136 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/"} |
137 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://www.foo.com
/","pathPrefix":"/foo/","configurable":true} | 137 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://www.foo.com
/","pathPrefix":"/foo/"} |
138 | 138 |
139 Removing file mapping (file:///www/site1, http://localhost/, /) | 139 Removing file mapping (file:///www/site1, http://localhost/, /) |
140 Testing file system mapping. | 140 Testing file system mapping. |
141 file system paths: | 141 file system paths: |
142 - file:///home/username/projects/foo | 142 - file:///home/username/projects/foo |
143 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.example.com/bar/","pathPrefix":"/foo/","configurable":true} | 143 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.example.com/bar/","pathPrefix":"/foo/"} |
144 - file:///home/username/projects/bar | 144 - file:///home/username/projects/bar |
145 - file:///home/username/project/build | 145 - file:///home/username/project/build |
146 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} | 146 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/"} |
147 - file:///www/site1 | 147 - file:///www/site1 |
148 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://www.foo.com
/","pathPrefix":"/foo/","configurable":true} | 148 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://www.foo.com
/","pathPrefix":"/foo/"} |
149 | 149 |
150 Removing file mapping (file:///www/site1, http://www.foo.com/, /foo/) | 150 Removing file mapping (file:///www/site1, http://www.foo.com/, /foo/) |
151 Testing file system mapping. | 151 Testing file system mapping. |
152 file system paths: | 152 file system paths: |
153 - file:///home/username/projects/foo | 153 - file:///home/username/projects/foo |
154 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.example.com/bar/","pathPrefix":"/foo/","configurable":true} | 154 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.example.com/bar/","pathPrefix":"/foo/"} |
155 - file:///home/username/projects/bar | 155 - file:///home/username/projects/bar |
156 - file:///home/username/project/build | 156 - file:///home/username/project/build |
157 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} | 157 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/"} |
158 - file:///www/site1 | 158 - file:///www/site1 |
159 | 159 |
160 Removing file mapping (file:///home/username/projects/foo, http://www.example.co
m/bar/, /foo/) | 160 Removing file mapping (file:///home/username/projects/foo, http://www.example.co
m/bar/, /foo/) |
161 Testing file system mapping. | 161 Testing file system mapping. |
162 file system paths: | 162 file system paths: |
163 - file:///home/username/projects/foo | 163 - file:///home/username/projects/foo |
164 - file:///home/username/projects/bar | 164 - file:///home/username/projects/bar |
165 - file:///home/username/project/build | 165 - file:///home/username/project/build |
166 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} | 166 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/"} |
167 - file:///www/site1 | 167 - file:///www/site1 |
168 | 168 |
169 Removing file system file:///www/site1 | 169 Removing file system file:///www/site1 |
170 Testing file system mapping. | 170 Testing file system mapping. |
171 file system paths: | 171 file system paths: |
172 - file:///home/username/projects/foo | 172 - file:///home/username/projects/foo |
173 - file:///home/username/projects/bar | 173 - file:///home/username/projects/bar |
174 - file:///home/username/project/build | 174 - file:///home/username/project/build |
175 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} | 175 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/"} |
176 | 176 |
177 Removing file system file:///home/username/projects/foo | 177 Removing file system file:///home/username/projects/foo |
178 Testing file system mapping. | 178 Testing file system mapping. |
179 file system paths: | 179 file system paths: |
180 - file:///home/username/projects/bar | 180 - file:///home/username/projects/bar |
181 - file:///home/username/project/build | 181 - file:///home/username/project/build |
182 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} | 182 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/"} |
183 | 183 |
184 Removing file system file:///home/username/projects/bar | 184 Removing file system file:///home/username/projects/bar |
185 Testing file system mapping. | 185 Testing file system mapping. |
186 file system paths: | 186 file system paths: |
187 - file:///home/username/project/build | 187 - file:///home/username/project/build |
188 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} | 188 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/"} |
189 | 189 |
190 | 190 |
OLD | NEW |