Main > Programming > Libraries >

Test::URI 1.06

Test::URI 1.06

Sponsored Links

Test::URI 1.06 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.005 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 902
Date added: 2007-05-07
Publisher: brian d foy

Test::URI 1.06 description

Test::URI is a Perl module that can check Uniform Resource Identifiers (URIs).

SYNOPSIS

use Test::More tests => 5;
use Test::URI;

# http://www.example.com:8080/index.html#name

uri_scheme_ok( $uri, http );
uri_host_ok( $uri, www.example.com );
uri_port_ok( $uri, 8080 );
uri_path_ok( $uri, /index.html );
uri_fragment_ok( $uri, name );

FUNCTIONS

uri_scheme_ok( STRING|URI, SCHEME )

Ok is the STRING is a valid URI, in any format that URI accepts, and the URI uses the same SCHEME (i.e. protocol: http, ftp, ...). SCHEME is not case sensitive.

STRING can be an URI object.

uri_host_ok( STRING|URI, HOST )

Ok is the STRING is a valid URI, in any format that URI accepts, and the URI uses the same HOST. HOST is not case sensitive.

Not Ok is the URI scheme does not have a host portion.

STRING can be an URI object.

uri_port_ok( STRING|URI, PORT )

Ok is the STRING is a valid URI, in any format that URI accepts, and the URI uses the same PORT.

Not Ok is the URI scheme does not have a port portion.

STRING can be an URI object.

uri_canonical_ok

UNIMPLEMENTED. Im not sure why I thought this should be a test. If anyone else knows, Ill implement it.

uri_path_ok( STRING|URI, PATH )

Ok is the STRING is a valid URI, in any format that URI accepts, and the URI has the path PATH. Remember that paths start with a /, even if it doesnt look like there is anything after the host parts.

STRING can be an URI object.

uri_fragment_ok( STRING|URI, FRAGMENT )

Ok is the STRING is a valid URI, in any format that URI accepts, and the URI has the fragment FRAGMENT.

STRING can be an URI object.

Test::URI 1.06 Screenshot

Advertisements

Test::URI 1.06 Keywords

Bookmark Test::URI 1.06

Hyperlink code:
Link for forum:

Test::URI 1.06 Copyright

WareSeeker periodically updates pricing and software information of Test::URI 1.06 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Test::URI 1.06 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Test::Signature is a Perl module to automate SIGNATURE testing. Free Download
Test::ISBN is a Perl module to check international standard book numbers. Free Download
URI is Uniform Resource Identifiers (absolute and relative). Free Download
Mobile::Wurfl is a Perl module interface to WURFL (the Wireless Universal Resource File. Free Download
Path::Abstract is a fast and featurefull class for UNIX-style path manipulation. Free Download
Rose::URI is a standalone URI class allowing easy and efficient manipulation of query parameters and other URI components. Free Download
Turtle3D project is a scheme implementation of the Turtle, in 3D. Free Download
DateTime::Format::Strptime is a Perl module to parse and format strp and strf time patterns. Free Download