• Home
  • Raw
  • Download

Lines Matching refs:parts

10   CefURLParts parts;  in TEST()  local
12 CefString(&parts.spec) in TEST()
16 EXPECT_TRUE(CefCreateURL(parts, url)); in TEST()
24 CefURLParts parts; in TEST() local
26 CefString(&parts.scheme).FromASCII("http"); in TEST()
27 EXPECT_FALSE(CefCreateURL(parts, url)); in TEST()
32 CefURLParts parts; in TEST() local
34 CefString(&parts.host).FromASCII("www.example.com"); in TEST()
35 EXPECT_FALSE(CefCreateURL(parts, url)); in TEST()
40 CefURLParts parts; in TEST() local
42 CefString(&parts.scheme).FromASCII("http"); in TEST()
43 CefString(&parts.host).FromASCII("www.example.com"); in TEST()
44 EXPECT_TRUE(CefCreateURL(parts, url)); in TEST()
50 CefURLParts parts; in TEST() local
52 CefString(&parts.scheme).FromASCII("http"); in TEST()
53 CefString(&parts.host).FromASCII("www.example.com"); in TEST()
54 CefString(&parts.path).FromASCII("/path/to.html"); in TEST()
55 EXPECT_TRUE(CefCreateURL(parts, url)); in TEST()
61 CefURLParts parts; in TEST() local
63 CefString(&parts.scheme).FromASCII("http"); in TEST()
64 CefString(&parts.host).FromASCII("www.example.com"); in TEST()
65 CefString(&parts.path).FromASCII("/path/to.html"); in TEST()
66 CefString(&parts.query).FromASCII("foo=test&bar=test2"); in TEST()
67 EXPECT_TRUE(CefCreateURL(parts, url)); in TEST()
74 CefURLParts parts; in TEST() local
76 CefString(&parts.scheme).FromASCII("http"); in TEST()
77 CefString(&parts.host).FromASCII("www.example.com"); in TEST()
78 CefString(&parts.path).FromASCII("/path/to.html"); in TEST()
79 CefString(&parts.query).FromASCII("foo=test&bar=test2"); in TEST()
80 CefString(&parts.fragment).FromASCII("ref"); in TEST()
81 EXPECT_TRUE(CefCreateURL(parts, url)); in TEST()
88 CefURLParts parts; in TEST() local
90 CefString(&parts.scheme).FromASCII("http"); in TEST()
91 CefString(&parts.username).FromASCII("user"); in TEST()
92 CefString(&parts.password).FromASCII("pass"); in TEST()
93 CefString(&parts.host).FromASCII("www.example.com"); in TEST()
94 CefString(&parts.port).FromASCII("88"); in TEST()
95 CefString(&parts.path).FromASCII("/path/to.html"); in TEST()
96 CefString(&parts.query).FromASCII("foo=test&bar=test2"); in TEST()
97 CefString(&parts.fragment).FromASCII("ref"); in TEST()
98 EXPECT_TRUE(CefCreateURL(parts, url)); in TEST()
106 CefURLParts parts; in TEST() local
109 EXPECT_TRUE(CefParseURL(url, parts)); in TEST()
111 CefString spec(&parts.spec); in TEST()
113 EXPECT_EQ(0U, parts.username.length); in TEST()
114 EXPECT_EQ(0U, parts.password.length); in TEST()
115 CefString scheme(&parts.scheme); in TEST()
117 CefString host(&parts.host); in TEST()
119 EXPECT_EQ(0U, parts.port.length); in TEST()
120 CefString origin(&parts.origin); in TEST()
122 CefString path(&parts.path); in TEST()
124 EXPECT_EQ(0U, parts.query.length); in TEST()
129 CefURLParts parts; in TEST() local
132 EXPECT_TRUE(CefParseURL(url, parts)); in TEST()
134 CefString spec(&parts.spec); in TEST()
136 EXPECT_EQ(0U, parts.username.length); in TEST()
137 EXPECT_EQ(0U, parts.password.length); in TEST()
138 CefString scheme(&parts.scheme); in TEST()
140 CefString host(&parts.host); in TEST()
142 EXPECT_EQ(0U, parts.port.length); in TEST()
143 CefString origin(&parts.origin); in TEST()
145 CefString path(&parts.path); in TEST()
147 EXPECT_EQ(0U, parts.query.length); in TEST()
152 CefURLParts parts; in TEST() local
155 EXPECT_TRUE(CefParseURL(url, parts)); in TEST()
157 CefString spec(&parts.spec); in TEST()
160 EXPECT_EQ(0U, parts.username.length); in TEST()
161 EXPECT_EQ(0U, parts.password.length); in TEST()
162 CefString scheme(&parts.scheme); in TEST()
164 CefString host(&parts.host); in TEST()
166 EXPECT_EQ(0U, parts.port.length); in TEST()
167 CefString origin(&parts.origin); in TEST()
169 CefString path(&parts.path); in TEST()
171 CefString query(&parts.query); in TEST()
177 CefURLParts parts; in TEST() local
180 EXPECT_TRUE(CefParseURL(url, parts)); in TEST()
182 CefString spec(&parts.spec); in TEST()
185 EXPECT_EQ(0U, parts.username.length); in TEST()
186 EXPECT_EQ(0U, parts.password.length); in TEST()
187 CefString scheme(&parts.scheme); in TEST()
189 CefString host(&parts.host); in TEST()
191 EXPECT_EQ(0U, parts.port.length); in TEST()
192 CefString origin(&parts.origin); in TEST()
194 CefString path(&parts.path); in TEST()
196 CefString query(&parts.query); in TEST()
198 CefString ref(&parts.fragment); in TEST()
204 CefURLParts parts; in TEST() local
209 EXPECT_TRUE(CefParseURL(url, parts)); in TEST()
211 CefString spec(&parts.spec); in TEST()
215 CefString scheme(&parts.scheme); in TEST()
217 CefString username(&parts.username); in TEST()
219 CefString password(&parts.password); in TEST()
221 CefString host(&parts.host); in TEST()
223 CefString port(&parts.port); in TEST()
225 CefString origin(&parts.origin); in TEST()
227 CefString path(&parts.path); in TEST()
229 CefString query(&parts.query); in TEST()
231 CefString ref(&parts.fragment); in TEST()
237 CefURLParts parts; in TEST() local
240 EXPECT_FALSE(CefParseURL(url, parts)); in TEST()
245 CefURLParts parts; in TEST() local
248 EXPECT_TRUE(CefParseURL(url, parts)); in TEST()
250 CefString spec(&parts.spec); in TEST()
252 EXPECT_EQ(0U, parts.username.length); in TEST()
253 EXPECT_EQ(0U, parts.password.length); in TEST()
254 CefString scheme(&parts.scheme); in TEST()
256 EXPECT_EQ(0U, parts.host.length); in TEST()
257 EXPECT_EQ(0U, parts.port.length); in TEST()
258 EXPECT_EQ(0U, parts.origin.length); in TEST()
259 CefString path(&parts.path); in TEST()
261 CefString query(&parts.query); in TEST()
263 CefString ref(&parts.fragment); in TEST()