| 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 |
| 11 Adding file system file:///home/username/projects/bar | 11 Adding file system file:///home/username/projects/bar |
| 12 Testing file system mapping. | 12 Testing file system mapping. |
| 13 file system paths: | 13 file system paths: |
| 14 - file:///home/username/projects/foo | 14 - file:///home/username/projects/foo |
| 15 - file:///home/username/projects/bar | 15 - file:///home/username/projects/bar |
| 16 | 16 |
| 17 Adding file system file:///home/username/project/build |
| 18 Testing file system mapping. |
| 19 file system paths: |
| 20 - file:///home/username/projects/foo |
| 21 - file:///home/username/projects/bar |
| 22 - file:///home/username/project/build |
| 23 |
| 17 Adding file system file:///www/site1 | 24 Adding file system file:///www/site1 |
| 18 Testing file system mapping. | 25 Testing file system mapping. |
| 19 file system paths: | 26 file system paths: |
| 20 - file:///home/username/projects/foo | 27 - file:///home/username/projects/foo |
| 21 - file:///home/username/projects/bar | 28 - file:///home/username/projects/bar |
| 29 - file:///home/username/project/build |
| 22 - file:///www/site1 | 30 - file:///www/site1 |
| 23 | 31 |
| 24 Adding file mapping (file:///www/site1, http://localhost/, /) | 32 Adding file mapping (file:///www/site1, http://localhost/, /) |
| 25 Testing file system mapping. | 33 Testing file system mapping. |
| 26 file system paths: | 34 file system paths: |
| 27 - file:///home/username/projects/foo | 35 - file:///home/username/projects/foo |
| 28 - file:///home/username/projects/bar | 36 - file:///home/username/projects/bar |
| 37 - file:///home/username/project/build |
| 29 - file:///www/site1 | 38 - file:///www/site1 |
| 30 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} | 39 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} |
| 31 | 40 |
| 32 Adding file mapping (file:///www/site1, http://www.foo.com/, /foo/) | 41 Adding file mapping (file:///www/site1, http://www.foo.com/, /foo/) |
| 33 Testing file system mapping. | 42 Testing file system mapping. |
| 34 file system paths: | 43 file system paths: |
| 35 - file:///home/username/projects/foo | 44 - file:///home/username/projects/foo |
| 36 - file:///home/username/projects/bar | 45 - file:///home/username/projects/bar |
| 46 - file:///home/username/project/build |
| 37 - file:///www/site1 | 47 - file:///www/site1 |
| 38 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} | 48 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} |
| 39 - {"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/","configurable":true} |
| 40 | 50 |
| 41 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/) |
| 42 Testing file system mapping. | 52 Testing file system mapping. |
| 43 file system paths: | 53 file system paths: |
| 44 - file:///home/username/projects/foo | 54 - file:///home/username/projects/foo |
| 45 - {"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/","configurable":true} |
| 46 - file:///home/username/projects/bar | 56 - file:///home/username/projects/bar |
| 57 - file:///home/username/project/build |
| 47 - file:///www/site1 | 58 - file:///www/site1 |
| 48 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} | 59 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} |
| 49 - {"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/","configurable":true} |
| 50 | 61 |
| 51 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) |
| 52 Testing file system mapping. | 63 Testing file system mapping. |
| 53 file system paths: | 64 file system paths: |
| 54 - file:///home/username/projects/foo | 65 - file:///home/username/projects/foo |
| 55 - {"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/","configurable":true} |
| 56 - {"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/","configurable":true} |
| 57 - file:///home/username/projects/bar | 68 - file:///home/username/projects/bar |
| 69 - file:///home/username/project/build |
| 58 - file:///www/site1 | 70 - file:///www/site1 |
| 59 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} | 71 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} |
| 60 - {"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/","configurable":true} |
| 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) |
| 75 Testing file system mapping. |
| 76 file system paths: |
| 77 - file:///home/username/projects/foo |
| 78 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.example.com/bar/","pathPrefix":"/foo/","configurable":true} |
| 79 - {"fileSystemPath":"file:///home/username/projects/foo","urlPrefix":"h
ttp://www.bar.com/foo/","pathPrefix":"/baz/","configurable":true} |
| 80 - file:///home/username/projects/bar |
| 81 - file:///home/username/project/build |
| 82 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} |
| 83 - file:///www/site1 |
| 84 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} |
| 85 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://www.foo.com
/","pathPrefix":"/foo/","configurable":true} |
| 61 | 86 |
| 62 Testing mappings for url: | 87 Testing mappings for url: |
| 63 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 |
| 64 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 |
| 65 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 |
| 66 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 |
| 67 Has mapping for 'http://localhost/index.html': true | 92 Has mapping for 'http://localhost/index.html': true |
| 68 File for 'http://localhost/index.html': file:///www/site1/index.html | 93 File for 'http://localhost/index.html': file:///www/site1/index.html |
| 69 Has mapping for 'https://localhost/index.html': false | 94 Has mapping for 'https://localhost/index.html': false |
| 70 File for 'https://localhost/index.html': null | 95 File for 'https://localhost/index.html': null |
| 71 Has mapping for 'http://localhost:8080/index.html': false | 96 Has mapping for 'http://localhost:8080/index.html': false |
| 72 File for 'http://localhost:8080/index.html': null | 97 File for 'http://localhost:8080/index.html': null |
| 73 Has mapping for 'http://localhost/': true | 98 Has mapping for 'http://localhost/': true |
| 74 File for 'http://localhost/': file:///www/site1/ | 99 File for 'http://localhost/': file:///www/site1/ |
| 100 Has mapping for 'http://localhost:3333/build/main.css': true |
| 101 File for 'http://localhost:3333/build/main.css': file:///home/username/proje
ct/build/main.css |
| 75 | 102 |
| 76 Testing mappings for path: | 103 Testing mappings for path: |
| 77 URL for path 'file:///home/username/projects/foo/baz/folder/42.js': http://w
ww.bar.com/foo/folder/42.js | 104 URL for path 'file:///home/username/projects/foo/baz/folder/42.js': http://w
ww.bar.com/foo/folder/42.js |
| 78 URL for path 'file:///home/username/projects/foo/baz/folder/43.js': http://w
ww.bar.com/foo/folder/43.js | 105 URL for path 'file:///home/username/projects/foo/baz/folder/43.js': http://w
ww.bar.com/foo/folder/43.js |
| 79 URL for path 'file:///home/username/projects/foo/bar/folder/42.js': | 106 URL for path 'file:///home/username/projects/foo/bar/folder/42.js': |
| 80 URL for path 'file:///home/username/projects/foo/foo/folder/42.js': http://w
ww.example.com/bar/folder/42.js | 107 URL for path 'file:///home/username/projects/foo/foo/folder/42.js': http://w
ww.example.com/bar/folder/42.js |
| 81 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': |
| 82 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 |
| 83 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 |
| 84 URL for path 'file:///www/site1/foo': http://localhost/foo | 111 URL for path 'file:///www/site1/foo': http://localhost/foo |
| 85 URL for path 'file:///www/site1/foo/': http://www.foo.com/ | 112 URL for path 'file:///www/site1/foo/': http://www.foo.com/ |
| 86 | 113 |
| 87 Creating another file system mapping. | 114 Creating another file system mapping. |
| 88 Testing file system mapping. | 115 Testing file system mapping. |
| 89 file system paths: | 116 file system paths: |
| 90 - file:///home/username/projects/foo | 117 - file:///home/username/projects/foo |
| 91 - {"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/","configurable":true} |
| 92 - {"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/","configurable":true} |
| 93 - file:///home/username/projects/bar | 120 - file:///home/username/projects/bar |
| 121 - file:///home/username/project/build |
| 122 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} |
| 94 - file:///www/site1 | 123 - file:///www/site1 |
| 95 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} | 124 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} |
| 96 - {"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/","configurable":true} |
| 97 | 126 |
| 98 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 |
| 99 Testing file system mapping. | 128 Testing file system mapping. |
| 100 file system paths: | 129 file system paths: |
| 101 - file:///home/username/projects/foo | 130 - file:///home/username/projects/foo |
| 102 - {"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/","configurable":true} |
| 103 - file:///home/username/projects/bar | 132 - file:///home/username/projects/bar |
| 133 - file:///home/username/project/build |
| 134 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} |
| 104 - file:///www/site1 | 135 - file:///www/site1 |
| 105 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} | 136 - {"fileSystemPath":"file:///www/site1","urlPrefix":"http://localhost/"
,"pathPrefix":"/","configurable":true} |
| 106 - {"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/","configurable":true} |
| 107 | 138 |
| 108 Removing file mapping (file:///www/site1, http://localhost/, /) | 139 Removing file mapping (file:///www/site1, http://localhost/, /) |
| 109 Testing file system mapping. | 140 Testing file system mapping. |
| 110 file system paths: | 141 file system paths: |
| 111 - file:///home/username/projects/foo | 142 - file:///home/username/projects/foo |
| 112 - {"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/","configurable":true} |
| 113 - file:///home/username/projects/bar | 144 - file:///home/username/projects/bar |
| 145 - file:///home/username/project/build |
| 146 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} |
| 114 - file:///www/site1 | 147 - file:///www/site1 |
| 115 - {"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/","configurable":true} |
| 116 | 149 |
| 117 Removing file mapping (file:///www/site1, http://www.foo.com/, /foo/) | 150 Removing file mapping (file:///www/site1, http://www.foo.com/, /foo/) |
| 118 Testing file system mapping. | 151 Testing file system mapping. |
| 119 file system paths: | 152 file system paths: |
| 120 - file:///home/username/projects/foo | 153 - file:///home/username/projects/foo |
| 121 - {"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/","configurable":true} |
| 122 - file:///home/username/projects/bar | 155 - file:///home/username/projects/bar |
| 156 - file:///home/username/project/build |
| 157 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} |
| 123 - file:///www/site1 | 158 - file:///www/site1 |
| 124 | 159 |
| 125 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/) |
| 126 Testing file system mapping. | 161 Testing file system mapping. |
| 127 file system paths: | 162 file system paths: |
| 128 - file:///home/username/projects/foo | 163 - file:///home/username/projects/foo |
| 129 - file:///home/username/projects/bar | 164 - file:///home/username/projects/bar |
| 165 - file:///home/username/project/build |
| 166 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} |
| 130 - file:///www/site1 | 167 - file:///www/site1 |
| 131 | 168 |
| 132 Removing file system file:///www/site1 | 169 Removing file system file:///www/site1 |
| 133 Testing file system mapping. | 170 Testing file system mapping. |
| 134 file system paths: | 171 file system paths: |
| 135 - file:///home/username/projects/foo | 172 - file:///home/username/projects/foo |
| 136 - file:///home/username/projects/bar | 173 - file:///home/username/projects/bar |
| 174 - file:///home/username/project/build |
| 175 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} |
| 137 | 176 |
| 138 Removing file system file:///home/username/projects/foo | 177 Removing file system file:///home/username/projects/foo |
| 139 Testing file system mapping. | 178 Testing file system mapping. |
| 140 file system paths: | 179 file system paths: |
| 141 - file:///home/username/projects/bar | 180 - file:///home/username/projects/bar |
| 181 - file:///home/username/project/build |
| 182 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} |
| 142 | 183 |
| 143 Removing file system file:///home/username/projects/bar | 184 Removing file system file:///home/username/projects/bar |
| 144 Testing file system mapping. | 185 Testing file system mapping. |
| 145 file system paths: | 186 file system paths: |
| 187 - file:///home/username/project/build |
| 188 - {"fileSystemPath":"file:///home/username/project/build","urlPrefix":"
http://localhost:3333/build/","pathPrefix":"/","configurable":true} |
| 146 | 189 |
| 147 | 190 |
| OLD | NEW |