diff options
author | Urban Müller | 2018-06-21 16:42:32 +0200 |
---|---|---|
committer | Urban Müller | 2018-06-21 16:43:32 +0200 |
commit | 3dabbbd5325c9fad9582cd44b1da68dece78eaa0 (patch) | |
tree | 92d951b948f0e01dc6b7ae3f11b9c03034edb69a | |
parent | 455b15f7a850a58ef667ad170732769043eb1522 (diff) | |
download | itools-3dabbbd5325c9fad9582cd44b1da68dece78eaa0.tar.gz itools-3dabbbd5325c9fad9582cd44b1da68dece78eaa0.tar.bz2 itools-3dabbbd5325c9fad9582cd44b1da68dece78eaa0.zip |
no reason for different naming
-rw-r--r-- | test/U_tests.json (renamed from tests/U_tests.json) | 0 | ||||
-rwxr-xr-x | test/autoprepend.t (renamed from tests/autoprepend.t) | 0 | ||||
-rwxr-xr-x | test/exec.t (renamed from tests/exec.t) | 0 | ||||
-rwxr-xr-x | test/getopt.t (renamed from tests/getopt.t) | 9 | ||||
-rwxr-xr-x | test/it.t (renamed from tests/it.t) | 6 | ||||
-rwxr-xr-x | test/it_cache.t (renamed from tests/it_cache.t) | 0 | ||||
-rwxr-xr-x | test/it_dbi.t (renamed from tests/it_dbi.t) | 0 | ||||
-rwxr-xr-x | test/it_html.t (renamed from tests/it_html.t) | 2 | ||||
-rwxr-xr-x | test/it_mail.t (renamed from tests/it_mail.t) | 0 | ||||
-rwxr-xr-x | test/it_pipe.t (renamed from tests/it_pipe.t) | 0 | ||||
-rwxr-xr-x | test/it_text.t (renamed from tests/it_text.t) | 0 | ||||
-rwxr-xr-x | test/it_url.t (renamed from tests/it_url.t) | 0 | ||||
-rw-r--r-- | test/it_url.testserver.php (renamed from tests/it_url.testserver.php) | 2 | ||||
-rw-r--r-- | test/it_url_server.php (renamed from tests/it_url_server.php) | 1 | ||||
-rwxr-xr-x | test/it_url_slow.t (renamed from tests/it_url_slow.t) | 1 | ||||
-rwxr-xr-x | test/it_xml.t (renamed from tests/it_xml.t) | 0 | ||||
-rwxr-xr-x | test/itjs.t (renamed from tests/itjs.t) | 0 |
17 files changed, 9 insertions, 12 deletions
diff --git a/tests/U_tests.json b/test/U_tests.json index e35ff9d..e35ff9d 100644 --- a/tests/U_tests.json +++ b/test/U_tests.json diff --git a/tests/autoprepend.t b/test/autoprepend.t index bf40605..bf40605 100755 --- a/tests/autoprepend.t +++ b/test/autoprepend.t diff --git a/tests/exec.t b/test/exec.t index c155c88..c155c88 100755 --- a/tests/exec.t +++ b/test/exec.t diff --git a/tests/getopt.t b/test/getopt.t index d67738d..8b0ff70 100755 --- a/tests/getopt.t +++ b/test/getopt.t @@ -4,10 +4,10 @@ # Tests for getopt in it.class $GLOBALS['usage'] = "Usage: doesnotexist.php [OPTIONS] -Some help to a not existing program - -h,--help the help argument - -a,--argument=ARG the arg argument - -0,--zero testworthy shortarg + Some help to a not existing program + -h,--help the help argument + -a,--argument=ARG the arg argument + -0,--zero testworthy shortarg "; function getopt_ok($argv, $exp, $name) @@ -26,4 +26,3 @@ foreach (array("" => "blah gnaber", " (umlaute)" => "pre üäpost") as $variant $_SERVER['argv'] = array('doesnotexist.php', '-0'); $zero_opts = it::getopt($GLOBALS['usage']); ok($zero_opts['zero'], '-0'); - @@ -19,7 +19,7 @@ function match($regex, $string, $expect, $name, $p = array()) if (!$pass) { diag(" regex given: $regex" . ($p ? " " .D($p) : "")); diag(" regex converted: " . it::convertregex($regex)); - } + } $GLOBALS['TEST_MORE_LEVEL'] = 0; } @@ -392,11 +392,11 @@ is(it::any2utf8(utf8_decode('Müller')), 'Müller', "it::any2utf8 latin1 input") is(it::any2utf8( ' !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ'), # omit soft hyphen cause we filter it ' !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ', - "it::any2utf8 utf8 input (exhaustive alphabet)"); + "it::any2utf8 utf8 input (exhaustive alphabet)"); is(it::any2utf8( utf8_decode(' !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ')), ' !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ', - "it::any2utf8 latin1 input (exhaustive alphabet)"); + "it::any2utf8 latin1 input (exhaustive alphabet)"); is(it::any2utf8(utf8_encode("ü")), "ü", "it::any2utf8 double encoding"); diff --git a/tests/it_cache.t b/test/it_cache.t index 8f804d4..8f804d4 100755 --- a/tests/it_cache.t +++ b/test/it_cache.t diff --git a/tests/it_dbi.t b/test/it_dbi.t index 6a37637..6a37637 100755 --- a/tests/it_dbi.t +++ b/test/it_dbi.t diff --git a/tests/it_html.t b/test/it_html.t index d18afdc..5e19b74 100755 --- a/tests/it_html.t +++ b/test/it_html.t @@ -248,7 +248,7 @@ is( ); is( - it_html::sanitize('<div></div>'), + it_html::sanitize('<div></div>'), '', 'empty tags removal' ); diff --git a/tests/it_mail.t b/test/it_mail.t index 486dee8..486dee8 100755 --- a/tests/it_mail.t +++ b/test/it_mail.t diff --git a/tests/it_pipe.t b/test/it_pipe.t index 16e2c29..16e2c29 100755 --- a/tests/it_pipe.t +++ b/test/it_pipe.t diff --git a/tests/it_text.t b/test/it_text.t index 5629d51..5629d51 100755 --- a/tests/it_text.t +++ b/test/it_text.t diff --git a/tests/it_url.t b/test/it_url.t index eb36dd6..eb36dd6 100755 --- a/tests/it_url.t +++ b/test/it_url.t diff --git a/tests/it_url.testserver.php b/test/it_url.testserver.php index 9f04b48..530a505 100644 --- a/tests/it_url.testserver.php +++ b/test/it_url.testserver.php @@ -8,7 +8,7 @@ switch ($_SERVER['PHP_SELF']) case "/": echo 'Testserver root output'; break; - + case "/temp_redirect": header("Location: $base/redirect_target?type=temporary", true, 303); break; diff --git a/tests/it_url_server.php b/test/it_url_server.php index a407ab5..3805a79 100644 --- a/tests/it_url_server.php +++ b/test/it_url_server.php @@ -30,4 +30,3 @@ function handle_server($args) { else return $output; } - diff --git a/tests/it_url_slow.t b/test/it_url_slow.t index bcc0db3..32f0963 100755 --- a/tests/it_url_slow.t +++ b/test/it_url_slow.t @@ -57,4 +57,3 @@ handle_server( 'it_url::get() handles large response' ) ); - diff --git a/tests/it_xml.t b/test/it_xml.t index f53ceeb..f53ceeb 100755 --- a/tests/it_xml.t +++ b/test/it_xml.t diff --git a/tests/itjs.t b/test/itjs.t index 695ccd8..695ccd8 100755 --- a/tests/itjs.t +++ b/test/itjs.t |