OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 /** @fileoverview Runs the Print Preview tests. */ | 5 /** @fileoverview Runs the Print Preview tests. */ |
6 | 6 |
7 var ROOT_PATH = '../../../../../'; | 7 var ROOT_PATH = '../../../../../'; |
8 | 8 |
9 /** | 9 /** |
10 * @constructor | 10 * @constructor |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 }); | 74 }); |
75 | 75 |
76 TEST_F('PrintPreviewUIBrowserTest', 'RestoreMultipleDestinations', function() { | 76 TEST_F('PrintPreviewUIBrowserTest', 'RestoreMultipleDestinations', function() { |
77 mocha.grep(/RestoreMultipleDestinations\b/).run(); | 77 mocha.grep(/RestoreMultipleDestinations\b/).run(); |
78 }); | 78 }); |
79 | 79 |
80 TEST_F('PrintPreviewUIBrowserTest', 'DefaultDestinationSelectionRules', | 80 TEST_F('PrintPreviewUIBrowserTest', 'DefaultDestinationSelectionRules', |
81 function() { | 81 function() { |
82 mocha.grep(/DefaultDestinationSelectionRules\b/).run(); | 82 mocha.grep(/DefaultDestinationSelectionRules\b/).run(); |
83 }); | 83 }); |
| 84 |
| 85 TEST_F('PrintPreviewUIBrowserTest', 'SystemDialogLinkIsHiddenInAppKioskMode', |
| 86 function() { |
| 87 mocha.grep(/SystemDialogLinkIsHiddenInAppKioskMode\b/).run(); |
| 88 }); |
| 89 |
| 90 TEST_F('PrintPreviewUIBrowserTest', 'SectionsDisabled', function() { |
| 91 mocha.grep(/SectionsDisabled\b/).run(); |
| 92 }); |
| 93 |
| 94 TEST_F('PrintPreviewUIBrowserTest', 'PrintToPDFSelectedCapabilities', |
| 95 function() { |
| 96 mocha.grep(/PrintToPDFSelectedCapabilities\b/).run(); |
| 97 }); |
| 98 |
| 99 TEST_F('PrintPreviewUIBrowserTest', 'SourceIsHTMLCapabilities', function() { |
| 100 mocha.grep(/SourceIsHTMLCapabilities\b/).run(); |
| 101 }); |
| 102 |
| 103 TEST_F('PrintPreviewUIBrowserTest', 'SourceIsPDFCapabilities', function() { |
| 104 mocha.grep(/SourceIsPDFCapabilities\b/).run(); |
| 105 }); |
| 106 |
| 107 TEST_F('PrintPreviewUIBrowserTest', 'ScalingUnchecksFitToPage', function() { |
| 108 mocha.grep(/ScalingUnchecksFitToPage\b/).run(); |
| 109 }); |
| 110 |
| 111 TEST_F('PrintPreviewUIBrowserTest', 'CheckNumCopiesPrintPreset', function() { |
| 112 mocha.grep(/CheckNumCopiesPrintPreset\b/).run(); |
| 113 }); |
| 114 |
| 115 TEST_F('PrintPreviewUIBrowserTest', 'CheckDuplexPrintPreset', function() { |
| 116 mocha.grep(/CheckDuplexPrintPreset\b/).run(); |
| 117 }); |
| 118 |
| 119 TEST_F('PrintPreviewUIBrowserTest', 'CustomMarginsControlsCheck', function() { |
| 120 mocha.grep(/CustomMarginsControlsCheck\b/).run(); |
| 121 }); |
| 122 |
| 123 TEST_F('PrintPreviewUIBrowserTest', 'PageLayoutHasNoMarginsHideHeaderFooter', |
| 124 function() { |
| 125 mocha.grep(/PageLayoutHasNoMarginsHideHeaderFooter\b/).run(); |
| 126 }); |
| 127 |
| 128 TEST_F('PrintPreviewUIBrowserTest', 'PageLayoutHasMarginsShowHeaderFooter', |
| 129 function() { |
| 130 mocha.grep(/PageLayoutHasMarginsShowHeaderFooter\b/).run(); |
| 131 }); |
OLD | NEW |