Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: extensions/browser/api/printer_provider/printer_provider_apitest.cc

Issue 2191553002: Disable PrinterProviderApiTest.PrintJobSuccess on Linux and CrOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h> 5 #include <stddef.h>
6 6
7 #include <utility> 7 #include <utility>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 if (!base::GetFileInfo(*path, file_info)) 359 if (!base::GetFileInfo(*path, file_info))
360 return false; 360 return false;
361 return true; 361 return true;
362 } 362 }
363 363
364 base::ScopedTempDir data_dir_; 364 base::ScopedTempDir data_dir_;
365 365
366 DISALLOW_COPY_AND_ASSIGN(PrinterProviderApiTest); 366 DISALLOW_COPY_AND_ASSIGN(PrinterProviderApiTest);
367 }; 367 };
368 368
369 IN_PROC_BROWSER_TEST_F(PrinterProviderApiTest, PrintJobSuccess) { 369 // TODO(crbug.com/631983): Flaky on Linux and CrOS trybots.
370 #if defined(OS_CHROMEOS) || defined(OS_LINUX)
371 #define MAYBE_PrintJobSuccess DISABLED_PrintJobSuccess
372 #else
373 #define MAYBE_PrintJobSuccess PrintJobSuccess
374 #endif // defined(OS_CHROMEOS) || defined(OS_LINUX)
375 IN_PROC_BROWSER_TEST_F(PrinterProviderApiTest, MAYBE_PrintJobSuccess) {
370 RunPrintRequestTestApp("OK", PRINT_REQUEST_DATA_TYPE_BYTES, "OK"); 376 RunPrintRequestTestApp("OK", PRINT_REQUEST_DATA_TYPE_BYTES, "OK");
371 } 377 }
372 378
373 IN_PROC_BROWSER_TEST_F(PrinterProviderApiTest, PrintJobWithFileSuccess) { 379 IN_PROC_BROWSER_TEST_F(PrinterProviderApiTest, PrintJobWithFileSuccess) {
374 RunPrintRequestTestApp("OK", PRINT_REQUEST_DATA_TYPE_FILE, "OK"); 380 RunPrintRequestTestApp("OK", PRINT_REQUEST_DATA_TYPE_FILE, "OK");
375 } 381 }
376 382
377 IN_PROC_BROWSER_TEST_F(PrinterProviderApiTest, 383 IN_PROC_BROWSER_TEST_F(PrinterProviderApiTest,
378 PrintJobWithFile_FileDeletedBeforeDispatch) { 384 PrintJobWithFile_FileDeletedBeforeDispatch) {
379 RunPrintRequestTestApp("OK", PRINT_REQUEST_DATA_TYPE_FILE_DELETED, 385 RunPrintRequestTestApp("OK", PRINT_REQUEST_DATA_TYPE_FILE_DELETED,
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 RunUsbPrinterInfoRequestTest("EMPTY_RESPONSE"); 857 RunUsbPrinterInfoRequestTest("EMPTY_RESPONSE");
852 } 858 }
853 859
854 IN_PROC_BROWSER_TEST_F(PrinterProviderApiTest, GetUsbPrinterInfoNoListener) { 860 IN_PROC_BROWSER_TEST_F(PrinterProviderApiTest, GetUsbPrinterInfoNoListener) {
855 RunUsbPrinterInfoRequestTest("NO_LISTENER"); 861 RunUsbPrinterInfoRequestTest("NO_LISTENER");
856 } 862 }
857 863
858 } // namespace 864 } // namespace
859 865
860 } // namespace extensions 866 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698