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

Side by Side Diff: chrome/browser/ssl/ssl_browser_tests.cc

Issue 2881028: GTTF: test server cleanup: (Closed)
Patch Set: final Created 10 years, 5 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/time.h" 5 #include "base/time.h"
6 #include "chrome/browser/browser.h" 6 #include "chrome/browser/browser.h"
7 #include "chrome/browser/pref_service.h" 7 #include "chrome/browser/pref_service.h"
8 #include "chrome/browser/profile.h" 8 #include "chrome/browser/profile.h"
9 #include "chrome/browser/tab_contents/interstitial_page.h" 9 #include "chrome/browser/tab_contents/interstitial_page.h"
10 #include "chrome/browser/tab_contents/navigation_entry.h" 10 #include "chrome/browser/tab_contents/navigation_entry.h"
11 #include "chrome/browser/tab_contents/tab_contents.h" 11 #include "chrome/browser/tab_contents/tab_contents.h"
12 #include "chrome/common/pref_names.h" 12 #include "chrome/common/pref_names.h"
13 #include "chrome/test/in_process_browser_test.h" 13 #include "chrome/test/in_process_browser_test.h"
14 #include "chrome/test/ui_test_utils.h" 14 #include "chrome/test/ui_test_utils.h"
15 15
16 const wchar_t kDocRoot[] = L"chrome/test/data"; 16 const wchar_t kDocRoot[] = L"chrome/test/data";
17 17
18 class SSLUITest : public InProcessBrowserTest { 18 class SSLUITest : public InProcessBrowserTest {
19 public: 19 public:
20 SSLUITest() { 20 SSLUITest() {
21 EnableDOMAutomation(); 21 EnableDOMAutomation();
22 } 22 }
23 23
24 scoped_refptr<HTTPTestServer> PlainServer() { 24 scoped_refptr<HTTPTestServer> PlainServer() {
25 return HTTPTestServer::CreateServer(kDocRoot, NULL); 25 return HTTPTestServer::CreateServer(kDocRoot);
26 } 26 }
27 27
28 scoped_refptr<HTTPSTestServer> GoodCertServer() { 28 scoped_refptr<HTTPSTestServer> GoodCertServer() {
29 return HTTPSTestServer::CreateGoodServer(kDocRoot); 29 return HTTPSTestServer::CreateGoodServer(kDocRoot);
30 } 30 }
31 31
32 scoped_refptr<HTTPSTestServer> BadCertServer() { 32 scoped_refptr<HTTPSTestServer> BadCertServer() {
33 return HTTPSTestServer::CreateExpiredServer(kDocRoot); 33 return HTTPSTestServer::CreateExpiredServer(kDocRoot);
34 } 34 }
35 35
(...skipping 997 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 1033
1034 // Visit a page over https that contains a frame with a redirect. 1034 // Visit a page over https that contains a frame with a redirect.
1035 1035
1036 // XMLHttpRequest insecure content in synchronous mode. 1036 // XMLHttpRequest insecure content in synchronous mode.
1037 1037
1038 // XMLHttpRequest insecure content in asynchronous mode. 1038 // XMLHttpRequest insecure content in asynchronous mode.
1039 1039
1040 // XMLHttpRequest over bad ssl in synchronous mode. 1040 // XMLHttpRequest over bad ssl in synchronous mode.
1041 1041
1042 // XMLHttpRequest over OK ssl in synchronous mode. 1042 // XMLHttpRequest over OK ssl in synchronous mode.
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_restore_uitest.cc ('k') | chrome/browser/sync/glue/http_bridge_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698