blob: 42b78858e2c3480d9606a4a227ac9abdf29fc354 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* TestFixture for kiosk certification manager dialog WebUI testing.
* @extends {testing.Test}
* @constructor
*/
function CertificateManagerDialogWebUITest() {}
CertificateManagerDialogWebUITest.prototype = {
__proto__: testing.Test.prototype,
/**
* Browse to the certification manager dialog page.
*/
browsePreload: 'chrome://certificate-manager/',
};
// crbug.com/682497
GEN('#if defined(ADDRESS_SANITIZER)');
GEN('#define MAYBE_Basic DISABLED_Basic');
GEN('#else');
GEN('#define MAYBE_Basic Basic');
GEN('#endif');
// Sanity test of the WebUI could be opened with no errors.
TEST_F('CertificateManagerDialogWebUITest', 'MAYBE_Basic', function() {
assertEquals(this.browsePreload, document.location.href);
});
|