Source release v3.0.1 + third_party
This commit is contained in:
@@ -98,7 +98,7 @@ struct ParseUrlTests {
|
||||
const char* scheme;
|
||||
bool secure_connect;
|
||||
const char* domain_name;
|
||||
int port;
|
||||
const char* port;
|
||||
const char* path;
|
||||
};
|
||||
|
||||
@@ -108,7 +108,7 @@ ParseUrlTests parse_url_tests[] = {
|
||||
"https", // scheme
|
||||
true, // secure_connect
|
||||
"code.google.com", // domain_name
|
||||
443, // port
|
||||
"443", // port
|
||||
"/p/googletest/wiki/Primer", // path
|
||||
},
|
||||
{
|
||||
@@ -116,7 +116,7 @@ ParseUrlTests parse_url_tests[] = {
|
||||
"http", // scheme
|
||||
false, // secure_connect
|
||||
"code.google.com", // domain_name
|
||||
80, // port
|
||||
"80", // port
|
||||
"/p/googletest/wiki/Primer/", // path
|
||||
},
|
||||
{
|
||||
@@ -124,7 +124,7 @@ ParseUrlTests parse_url_tests[] = {
|
||||
"http", // scheme
|
||||
false, // secure_connect
|
||||
"code.google.com", // domain_name
|
||||
80, // port
|
||||
"80", // port
|
||||
"/", // path
|
||||
},
|
||||
{
|
||||
@@ -132,7 +132,7 @@ ParseUrlTests parse_url_tests[] = {
|
||||
"http", // scheme
|
||||
false, // secure_connect
|
||||
"code.google.com", // domain_name
|
||||
80, // port
|
||||
"80", // port
|
||||
"/", // path
|
||||
},
|
||||
{
|
||||
@@ -140,7 +140,7 @@ ParseUrlTests parse_url_tests[] = {
|
||||
"http", // scheme
|
||||
false, // secure_connect
|
||||
"10.11.12.13", // domain_name
|
||||
8888, // port
|
||||
"8888", // port
|
||||
"/drm", // path
|
||||
},
|
||||
{
|
||||
@@ -148,7 +148,7 @@ ParseUrlTests parse_url_tests[] = {
|
||||
"http", // scheme
|
||||
false, // secure_connect
|
||||
"10.11.12.13", // domain_name
|
||||
8888, // port
|
||||
"8888", // port
|
||||
"/", // path
|
||||
},
|
||||
{
|
||||
@@ -156,7 +156,7 @@ ParseUrlTests parse_url_tests[] = {
|
||||
"https", // scheme
|
||||
true, // secure_connect
|
||||
"10.11.12.13", // domain_name
|
||||
8888, // port
|
||||
"8888", // port
|
||||
"/", // path
|
||||
},
|
||||
{NULL, NULL, false, NULL, 0, NULL} // list terminator
|
||||
@@ -166,7 +166,7 @@ TEST_F(HttpSocketTest, ParseUrlTest) {
|
||||
std::string scheme;
|
||||
bool secure_connect;
|
||||
std::string domain_name;
|
||||
int port;
|
||||
std::string port;
|
||||
std::string path;
|
||||
ParseUrlTests* test = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user