tests/ceftests/parser_unittest.cc
// Create the URL using the spec.
Create the URL using the spec.
Create the URL using the spec .
TEST(ParserTest, CreateURLSpec) {
  CefURLParts parts;
  CefString url;
  CefString(&parts.spec)
      .FromASCII(
          "http://user:pass@www.example.com:88/path/"
          "to.html?foo=test&bar=test2");
  EXPECT_TRUE(CefCreateURL(parts, url));
  EXPECT_STREQ(
      "http://user:pass@www.example.com:88/path/to.html?foo=test&bar=test2",
      url.ToString().c_str());
}
TEST ( ParserTest , CreateURLSpec ) { CefURLParts parts ; CefString url ; CefString ( & parts . spec ) . FromASCII ( " " " " ) ; EXPECT_TRUE ( CefCreateURL ( parts , url ) ) ; EXPECT_STREQ ( " " , url . ToString ( ) . c_str ( ) ) ; }
Create the URL using the spec.
Create the URL using the spec .