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

Side by Side Diff: chrome/browser/extensions/api/enterprise_certificates/enterprise_certificates_apitest.cc

Issue 214863002: Extension API enterprise.platformKeys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed to OO-style API with Token object. Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/extensions/extension_apitest.h"
6
7 #include "crypto/nss_util.h"
8
9 namespace {
10
11 class EnterpriseCertificateTest : public ExtensionApiTest {
12 public:
13 EnterpriseCertificateTest() : test_nssdb_(true) {
14 }
15
16 private:
17 crypto::ScopedTestNSSDB test_nssdb_;
18 };
19
20 } // namespace
21
22 IN_PROC_BROWSER_TEST_F(EnterpriseCertificateTest, ImportClientCertificate) {
23 // The test creates a tab and checks that the URL of the new tab
24 // is that of the new tab page. Make sure the pref that controls
25 // this is set.
26 ASSERT_TRUE(RunExtensionSubtest("enterprise_certificates", "import.html"))
27 << message_;
28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698