diff options
author | Urban Müller | 2007-07-26 13:02:24 +0000 |
---|---|---|
committer | Urban Müller | 2007-07-26 13:02:24 +0000 |
commit | 806a5297e7e99d455b97a4f0acaba2f40f470584 (patch) | |
tree | b9fc43ef227da87d873cf3676c08c49fa0dc1240 /tests/url.t | |
parent | c3cba034c8009b65c25dd4ef5f54b18d9c8ee7d4 (diff) | |
download | itools-806a5297e7e99d455b97a4f0acaba2f40f470584.tar.gz itools-806a5297e7e99d455b97a4f0acaba2f40f470584.tar.bz2 itools-806a5297e7e99d455b97a4f0acaba2f40f470584.zip |
renamed files for autoloader
Diffstat (limited to 'tests/url.t')
-rwxr-xr-x | tests/url.t | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/tests/url.t b/tests/url.t deleted file mode 100755 index bc63bcb..0000000 --- a/tests/url.t +++ /dev/null @@ -1,70 +0,0 @@ -#!/www/server/bin/php -qC -<?php - -# Tests for url.class, currently only constructor's parser - -require 'searchlib/search_test.class'; - -# Create object and parse url -$url = new it_url('HTTP://falcon:joshua@www.Relog.CH:80/default.asp'); - -plan(9); - -is( - $url->url, - 'http://www.relog.ch/', - '$url->url' -); - -is( - $url->protocol, - 'http', - '$url->protocol' -); - -is( - $url->hostname, - 'relog.ch', - '$url->hostname' -); - -is( - $url->realhostname, - 'www.relog.ch', - '$url->realhostname' -); - -is( - $url->port, - 80, - '$url->port' -); - -is( - $url->path, - '', - '$url->path' -); - -is( - $url->user, - 'falcon', - '$url->user' -); - -is( - $url->pass, - 'joshua', - '$url->pass' -); - -# and now check for path -$url = new it_url('HTTP://falcon:joshua@www.Relog.CH:80/foo/bar.html'); - -is( - $url->path, - 'foo/bar.html', - '$url->path' -); - -?> |