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

Side by Side Diff: chrome/test/data/webui/certificate_viewer_dialog_test.js

Issue 8774021: Disable CertificateViewerUITests on aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years 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 | Annotate | Revision Log
« 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 /** 5 /**
6 * Test fixture for generated tests. 6 * Test fixture for generated tests.
7 * @extends {testing.Test} 7 * @extends {testing.Test}
8 */ 8 */
9 function CertificateViewerUITest() {}; 9 function CertificateViewerUITest() {};
10 10
(...skipping 25 matching lines...) Expand all
36 CertificateViewerUITestAsync.prototype = { 36 CertificateViewerUITestAsync.prototype = {
37 __proto__: CertificateViewerUITest.prototype, 37 __proto__: CertificateViewerUITest.prototype,
38 38
39 /** @inheritDoc */ 39 /** @inheritDoc */
40 isAsync: true, 40 isAsync: true,
41 }; 41 };
42 42
43 // Include the bulk of c++ code. 43 // Include the bulk of c++ code.
44 // Certificate viewer UI tests are disabled on platforms with native certificate 44 // Certificate viewer UI tests are disabled on platforms with native certificate
45 // viewers. 45 // viewers.
46 // They fails on aura/linux, aura/chromeos. See crbug.com/105952.
Sheridan Rawlins 2011/12/02 01:04:39 nit: s/fails/fail/
46 GEN('#include "chrome/test/data/webui/certificate_viewer_ui_test-inl.h"'); 47 GEN('#include "chrome/test/data/webui/certificate_viewer_ui_test-inl.h"');
47 GEN('') 48 GEN('')
48 GEN('#if !defined(OS_POSIX) || defined(OS_MACOSX)') 49 GEN('#if !defined(OS_POSIX) || defined(OS_MACOSX) || defined(USE_AURA)')
49 GEN('#define MAYBE_testDialogURL DISABLED_testDialogURL') 50 GEN('#define MAYBE_testDialogURL DISABLED_testDialogURL')
50 GEN('#define MAYBE_testCN DISABLED_testCN') 51 GEN('#define MAYBE_testCN DISABLED_testCN')
51 GEN('#define MAYBE_testDetails DISABLED_testDetails') 52 GEN('#define MAYBE_testDetails DISABLED_testDetails')
52 GEN('#else') 53 GEN('#else')
53 GEN('#define MAYBE_testDialogURL testDialogURL') 54 GEN('#define MAYBE_testDialogURL testDialogURL')
54 GEN('#define MAYBE_testCN testCN') 55 GEN('#define MAYBE_testCN testCN')
55 GEN('#define MAYBE_testDetails testDetails') 56 GEN('#define MAYBE_testDetails testDetails')
56 GEN('#endif') 57 GEN('#endif')
57 GEN(''); 58 GEN('');
58 59
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 function getElementWithValue(tree) { 122 function getElementWithValue(tree) {
122 for (var i = 0; i < tree.childNodes.length; i++) { 123 for (var i = 0; i < tree.childNodes.length; i++) {
123 var element = tree.childNodes[i]; 124 var element = tree.childNodes[i];
124 if (element.detail && element.detail.payload && element.detail.payload.val) 125 if (element.detail && element.detail.payload && element.detail.payload.val)
125 return element; 126 return element;
126 if (element = getElementWithValue(element)) 127 if (element = getElementWithValue(element))
127 return element; 128 return element;
128 } 129 }
129 return null; 130 return null;
130 } 131 }
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