PASS: Minify_CSS_UriRewriter : rewrite (1 of 1 tests run so far have passed) ---Input: @import "foo.css"; @import 'bar/foo.css' print; @import '../bar/foo.css' print; @import '../../foo.css' print; @import '/css/foo.css'; /* abs, should not alter */ @import 'http://foo.com/css/foo.css'; /* abs, should not alter */ @import url(../foo.css) tv, projection; @import url("/css/foo.css"); /* abs, should not alter */ @import url(/css2/foo.css); /* abs, should not alter */ @import url(data:image/gif;base64,AAAA); /* data, should not alter */ foo {background:url('bar/foo.png')} foo {background:url('http://foo.com/css/foo.css');} /* abs, should not alter */ foo {background:url("//foo.com/css/foo.css");} /* protocol relative, should not alter */ foo {background:url(data:image/gif;base64,AAAA);} /* data, should not alter */ ---Output: 850 bytes @import "/_test_files/css_uriRewriter/foo.css"; @import '/_test_files/css_uriRewriter/bar/foo.css' print; @import '/_test_files/bar/foo.css' print; @import '/foo.css' print; @import '/css/foo.css'; /* abs, should not alter */ @import 'http://foo.com/css/foo.css'; /* abs, should not alter */ @import url(/_test_files/foo.css) tv, projection; @import url("/css/foo.css"); /* abs, should not alter */ @import url(/css2/foo.css); /* abs, should not alter */ @import url(data:image/gif;base64,AAAA); /* data, should not alter */ foo {background:url('/_test_files/css_uriRewriter/bar/foo.png')} foo {background:url('http://foo.com/css/foo.css');} /* abs, should not alter */ foo {background:url("//foo.com/css/foo.css");} /* protocol relative, should not alter */ foo {background:url(data:image/gif;base64,AAAA);} /* data, should not alter */ --- Minify_CSS_UriRewriter::$debugText docRoot : /opt/bitnami/apache2/htdocs/sites/www.fairfaxyellowcab.com/wp-content/plugins/limolabs-icabbi/vendor/minify-2.1.7/min_unit_tests currentDir : /opt/bitnami/apache2/htdocs/sites/www.fairfaxyellowcab.com/wp-content/plugins/limolabs-icabbi/vendor/minify-2.1.7/min_unit_tests/_test_files/css_uriRewriter file-relative URI : foo.css path prepended : /opt/bitnami/apache2/htdocs/sites/www.fairfaxyellowcab.com/wp-content/plugins/limolabs-icabbi/vendor/minify-2.1.7/min_unit_tests/_test_files/css_uriRewriter/foo.css docroot stripped : /_test_files/css_uriRewriter/foo.css traversals removed : /_test_files/css_uriRewriter/foo.css file-relative URI : bar/foo.css path prepended : /opt/bitnami/apache2/htdocs/sites/www.fairfaxyellowcab.com/wp-content/plugins/limolabs-icabbi/vendor/minify-2.1.7/min_unit_tests/_test_files/css_uriRewriter/bar/foo.css docroot stripped : /_test_files/css_uriRewriter/bar/foo.css traversals removed : /_test_files/css_uriRewriter/bar/foo.css file-relative URI : ../bar/foo.css path prepended : /opt/bitnami/apache2/htdocs/sites/www.fairfaxyellowcab.com/wp-content/plugins/limolabs-icabbi/vendor/minify-2.1.7/min_unit_tests/_test_files/css_uriRewriter/../bar/foo.css docroot stripped : /_test_files/css_uriRewriter/../bar/foo.css traversals removed : /_test_files/bar/foo.css file-relative URI : ../../foo.css path prepended : /opt/bitnami/apache2/htdocs/sites/www.fairfaxyellowcab.com/wp-content/plugins/limolabs-icabbi/vendor/minify-2.1.7/min_unit_tests/_test_files/css_uriRewriter/../../foo.css docroot stripped : /_test_files/css_uriRewriter/../../foo.css traversals removed : /foo.css file-relative URI : ../foo.css path prepended : /opt/bitnami/apache2/htdocs/sites/www.fairfaxyellowcab.com/wp-content/plugins/limolabs-icabbi/vendor/minify-2.1.7/min_unit_tests/_test_files/css_uriRewriter/../foo.css docroot stripped : /_test_files/css_uriRewriter/../foo.css traversals removed : /_test_files/foo.css file-relative URI : bar/foo.png path prepended : /opt/bitnami/apache2/htdocs/sites/www.fairfaxyellowcab.com/wp-content/plugins/limolabs-icabbi/vendor/minify-2.1.7/min_unit_tests/_test_files/css_uriRewriter/bar/foo.png docroot stripped : /_test_files/css_uriRewriter/bar/foo.png traversals removed : /_test_files/css_uriRewriter/bar/foo.png PASS: Minify_CSS_UriRewriter : prepend1 (2 of 2 tests run so far have passed) ---Input: @import "foo.css"; @import 'bar/foo.css' print; @import '../bar/foo.css' print; @import '../../foo.css' print; @import '/css/foo.css'; /* abs, should not alter */ @import 'http://foo.com/css/foo.css'; /* abs, should not alter */ @import url(../foo.css) tv, projection; @import url("/css/foo.css"); /* abs, should not alter */ @import url(/css2/foo.css); /* abs, should not alter */ @import url(data:image/gif;base64,AAAA); /* data, should not alter */ foo {background:url('bar/foo.png')} foo {background:url('http://foo.com/css/foo.css');} /* abs, should not alter */ foo {background:url("//foo.com/css/foo.css");} /* protocol relative, should not alter */ foo {background:url(data:image/gif;base64,AAAA);} /* data, should not alter */ ---Output: 842 bytes @import "http://cnd.com/A/B/foo.css"; @import 'http://cnd.com/A/B/bar/foo.css' print; @import 'http://cnd.com/A/bar/foo.css' print; @import 'http://cnd.com/foo.css' print; @import '/css/foo.css'; /* abs, should not alter */ @import 'http://foo.com/css/foo.css'; /* abs, should not alter */ @import url(http://cnd.com/A/foo.css) tv, projection; @import url("/css/foo.css"); /* abs, should not alter */ @import url(/css2/foo.css); /* abs, should not alter */ @import url(data:image/gif;base64,AAAA); /* data, should not alter */ foo {background:url('http://cnd.com/A/B/bar/foo.png')} foo {background:url('http://foo.com/css/foo.css');} /* abs, should not alter */ foo {background:url("//foo.com/css/foo.css");} /* protocol relative, should not alter */ foo {background:url(data:image/gif;base64,AAAA);} /* data, should not alter */ --- Minify_CSS_UriRewriter::$debugText PASS: Minify_CSS_UriRewriter : prepend2 (3 of 3 tests run so far have passed) ---Input: @import "foo.css"; @import 'bar/foo.css' print; @import '../bar/foo.css' print; @import '../../foo.css' print; @import '/css/foo.css'; /* abs, should not alter */ @import 'http://foo.com/css/foo.css'; /* abs, should not alter */ @import url(../foo.css) tv, projection; @import url("/css/foo.css"); /* abs, should not alter */ @import url(/css2/foo.css); /* abs, should not alter */ @import url(data:image/gif;base64,AAAA); /* data, should not alter */ foo {background:url('bar/foo.png')} foo {background:url('http://foo.com/css/foo.css');} /* abs, should not alter */ foo {background:url("//foo.com/css/foo.css");} /* protocol relative, should not alter */ foo {background:url(data:image/gif;base64,AAAA);} /* data, should not alter */ ---Output: 812 bytes @import "//cnd.com/A/B/foo.css"; @import '//cnd.com/A/B/bar/foo.css' print; @import '//cnd.com/A/bar/foo.css' print; @import '//cnd.com/foo.css' print; @import '/css/foo.css'; /* abs, should not alter */ @import 'http://foo.com/css/foo.css'; /* abs, should not alter */ @import url(//cnd.com/A/foo.css) tv, projection; @import url("/css/foo.css"); /* abs, should not alter */ @import url(/css2/foo.css); /* abs, should not alter */ @import url(data:image/gif;base64,AAAA); /* data, should not alter */ foo {background:url('//cnd.com/A/B/bar/foo.png')} foo {background:url('http://foo.com/css/foo.css');} /* abs, should not alter */ foo {background:url("//foo.com/css/foo.css");} /* protocol relative, should not alter */ foo {background:url(data:image/gif;base64,AAAA);} /* data, should not alter */ --- Minify_CSS_UriRewriter::$debugText PASS: Minify_CSS_UriRewriter : Issue 99 (4 of 4 tests run so far have passed) ---Input: ../../../../assets/skins/sam/sprite.png ---Output: 32 bytes /yui/assets/skins/sam/sprite.png --- Minify_CSS_UriRewriter::$debugText file-relative URI : ../../../../assets/skins/sam/sprite.png path prepended : sf_root_dir\web\yui\menu\assets\skins\sam/../../../../assets/skins/sam/sprite.png docroot stripped : \yui\menu\assets\skins\sam/../../../../assets/skins/sam/sprite.png traversals removed : /yui/assets/skins/sam/sprite.png