• Home
  • Raw
  • Download

Lines Matching refs:config

69   explicit DialogTestHandler(const TestConfig& config) : config_(config) {}  in DialogTestHandler()  argument
146 DialogTestHandler::TestConfig config(FILE_DIALOG_OPEN); in TEST() local
147 config.title.clear(); in TEST()
148 config.default_file_name.clear(); in TEST()
149 config.accept_types.clear(); in TEST()
150 config.callback_async = false; in TEST()
151 config.callback_cancel = false; in TEST()
153 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
159 DialogTestHandler::TestConfig config(static_cast<cef_file_dialog_mode_t>( in TEST() local
162 config.title.clear(); in TEST()
163 config.default_file_name.clear(); in TEST()
164 config.accept_types.clear(); in TEST()
165 config.callback_async = false; in TEST()
166 config.callback_cancel = false; in TEST()
168 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
174 DialogTestHandler::TestConfig config(FILE_DIALOG_OPEN); in TEST() local
175 config.callback_async = false; in TEST()
176 config.callback_cancel = false; in TEST()
177 config.callback_paths.push_back("/path/to/file1.txt"); in TEST()
179 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
185 DialogTestHandler::TestConfig config(FILE_DIALOG_OPEN); in TEST() local
186 config.callback_async = false; in TEST()
187 config.callback_cancel = true; in TEST()
189 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
195 DialogTestHandler::TestConfig config(FILE_DIALOG_OPEN); in TEST() local
196 config.callback_async = true; in TEST()
197 config.callback_cancel = false; in TEST()
198 config.callback_paths.push_back("/path/to/file1.txt"); in TEST()
200 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
206 DialogTestHandler::TestConfig config(FILE_DIALOG_OPEN); in TEST() local
207 config.callback_async = false; in TEST()
208 config.callback_cancel = true; in TEST()
210 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
216 DialogTestHandler::TestConfig config(FILE_DIALOG_OPEN_MULTIPLE); in TEST() local
217 config.callback_async = false; in TEST()
218 config.callback_cancel = false; in TEST()
219 config.callback_paths.push_back("/path/to/file1.txt"); in TEST()
220 config.callback_paths.push_back("/path/to/file2.txt"); in TEST()
222 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
228 DialogTestHandler::TestConfig config(FILE_DIALOG_OPEN_MULTIPLE); in TEST() local
229 config.callback_async = false; in TEST()
230 config.callback_cancel = true; in TEST()
232 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
238 DialogTestHandler::TestConfig config(FILE_DIALOG_OPEN_MULTIPLE); in TEST() local
239 config.callback_async = true; in TEST()
240 config.callback_cancel = false; in TEST()
241 config.callback_paths.push_back("/path/to/file1.txt"); in TEST()
242 config.callback_paths.push_back("/path/to/file2.txt"); in TEST()
244 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
250 DialogTestHandler::TestConfig config(FILE_DIALOG_OPEN_MULTIPLE); in TEST() local
251 config.callback_async = false; in TEST()
252 config.callback_cancel = true; in TEST()
254 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
260 DialogTestHandler::TestConfig config(FILE_DIALOG_OPEN_FOLDER); in TEST() local
261 config.callback_async = false; in TEST()
262 config.callback_cancel = false; in TEST()
263 config.callback_paths.push_back("/path/to/folder"); in TEST()
265 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
271 DialogTestHandler::TestConfig config(FILE_DIALOG_OPEN_FOLDER); in TEST() local
272 config.callback_async = false; in TEST()
273 config.callback_cancel = true; in TEST()
275 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
281 DialogTestHandler::TestConfig config(FILE_DIALOG_OPEN_FOLDER); in TEST() local
282 config.callback_async = true; in TEST()
283 config.callback_cancel = false; in TEST()
284 config.callback_paths.push_back("/path/to/folder"); in TEST()
286 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
292 DialogTestHandler::TestConfig config(FILE_DIALOG_OPEN_FOLDER); in TEST() local
293 config.callback_async = false; in TEST()
294 config.callback_cancel = true; in TEST()
296 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
302 DialogTestHandler::TestConfig config(FILE_DIALOG_SAVE); in TEST() local
303 config.callback_async = false; in TEST()
304 config.callback_cancel = false; in TEST()
305 config.callback_paths.push_back("/path/to/file1.txt"); in TEST()
307 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
313 DialogTestHandler::TestConfig config(FILE_DIALOG_SAVE); in TEST() local
314 config.callback_async = false; in TEST()
315 config.callback_cancel = true; in TEST()
317 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
323 DialogTestHandler::TestConfig config(FILE_DIALOG_SAVE); in TEST() local
324 config.callback_async = true; in TEST()
325 config.callback_cancel = false; in TEST()
326 config.callback_paths.push_back("/path/to/file1.txt"); in TEST()
328 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
334 DialogTestHandler::TestConfig config(FILE_DIALOG_SAVE); in TEST() local
335 config.callback_async = false; in TEST()
336 config.callback_cancel = true; in TEST()
338 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()