Functions

URLTest.cpp File Reference

#include "check.h"
#include "URL.h"
#include "log.h"
#include <iostream>
#include <sstream>
#include <cassert>
Include dependency graph for URLTest.cpp:

Functions

int main (int, char **)

Function Documentation

int main ( int  ,
char **   
)

Test absolute filename

Test relative filename

Test proto-host relative filename

Test https url

Test http url with root path

Test path-absolute proto-host-relative http url

Test back-seek path

Test path normalization

Test url with anchors

Test url with QUERY STRING

References gnash::URL::anchor(), check, check_equals, check_equals_label, gnash::key::e, gnash::URL::hostname(), gnash::URL::path(), gnash::URL::port(), gnash::URL::protocol(), gnash::URL::querystring(), gnash::URL::str(), and gnash::key::u.