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

Side by Side Diff: content/browser/download/mhtml_generation_browsertest.cc

Issue 7616019: Reorganize chrome/test, part #9 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
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 #include "base/file_path.h" 5 #include "base/file_path.h"
6 #include "base/scoped_temp_dir.h" 6 #include "base/scoped_temp_dir.h"
7 #include "chrome/browser/ui/browser.h" 7 #include "chrome/browser/ui/browser.h"
8 #include "chrome/test/base/in_process_browser_test.h" 8 #include "chrome/test/base/in_process_browser_test.h"
9 #include "chrome/test/base/testing_browser_process.h"
9 #include "chrome/test/base/ui_test_utils.h" 10 #include "chrome/test/base/ui_test_utils.h"
10 #include "chrome/test/testing_browser_process.h"
11 #include "content/browser/download/mhtml_generation_manager.h" 11 #include "content/browser/download/mhtml_generation_manager.h"
12 #include "content/browser/tab_contents/tab_contents.h" 12 #include "content/browser/tab_contents/tab_contents.h"
13 #include "content/common/content_notification_types.h" 13 #include "content/common/content_notification_types.h"
14 #include "net/test/test_server.h" 14 #include "net/test/test_server.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 namespace { 17 namespace {
18 18
19 class MHTMLGenerationTest : public InProcessBrowserTest { 19 class MHTMLGenerationTest : public InProcessBrowserTest {
20 public: 20 public:
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 ASSERT_TRUE(signal.GetDetailsFor(source.map_key(), &details)); 57 ASSERT_TRUE(signal.GetDetailsFor(source.map_key(), &details));
58 ASSERT_TRUE(details.success); 58 ASSERT_TRUE(details.success);
59 59
60 // Make sure the generated file has some contents. 60 // Make sure the generated file has some contents.
61 int64 file_size; 61 int64 file_size;
62 ASSERT_TRUE(file_util::GetFileSize(path, &file_size)); 62 ASSERT_TRUE(file_util::GetFileSize(path, &file_size));
63 EXPECT_GT(file_size, 100); 63 EXPECT_GT(file_size, 100);
64 } 64 }
65 65
66 } // namespace 66 } // namespace
OLDNEW
« no previous file with comments | « content/browser/browser_url_handler_unittest.cc ('k') | content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698