diff options
author | Evan Prodromou <evan@status.net> | 2009-12-07 12:13:42 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-12-07 12:13:42 -0500 |
commit | 0c955b7c88b41fa28d079eb639abb748583ab4eb (patch) | |
tree | c6e3dd1597c9a96bc1e1851f6fd7b5acd5a4de6e /plugins/Minify/extlib/minify/min_unit_tests/test_Minify_Lines.php | |
parent | 11dab47e2d91c7f88819a1576609d7ef7f63ee64 (diff) |
remove unit tests for minify
Diffstat (limited to 'plugins/Minify/extlib/minify/min_unit_tests/test_Minify_Lines.php')
-rw-r--r-- | plugins/Minify/extlib/minify/min_unit_tests/test_Minify_Lines.php | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/plugins/Minify/extlib/minify/min_unit_tests/test_Minify_Lines.php b/plugins/Minify/extlib/minify/min_unit_tests/test_Minify_Lines.php deleted file mode 100644 index c518fce39..000000000 --- a/plugins/Minify/extlib/minify/min_unit_tests/test_Minify_Lines.php +++ /dev/null @@ -1,36 +0,0 @@ -<?php - -require_once '_inc.php'; -require_once 'Minify.php'; - -function test_Lines() -{ - global $thisDir; - - $exp = file_get_contents("{$thisDir}/_test_files/minify/lines_output.js"); - - Minify::setCache(null); // no cache - - $ret = Minify::serve('Files', array( - 'debug' => true - ,'quiet' => true - ,'encodeOutput' => false - ,'files' => array( - "{$thisDir}/_test_files/minify/email.js" - ,"{$thisDir}/_test_files/minify/lines_bugs.js" - ,"{$thisDir}/_test_files/minify/QueryString.js" - ,"{$thisDir}/_test_files/js/before.js" - ) - )); - - $passed = assertTrue($exp === $ret['content'], 'Minify_Lines'); - - if (__FILE__ === realpath($_SERVER['SCRIPT_FILENAME'])) { - echo "\n---Output: " .strlen($ret['content']). " bytes\n\n{$ret['content']}\n\n"; - if (!$passed) { - echo "---Expected: " .strlen($exp). " bytes\n\n{$exp}\n\n\n"; - } - } -} - -test_Lines();
\ No newline at end of file |