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

Side by Side Diff: chrome/browser/component_updater/test/component_patcher_unittest.h

Issue 493953002: Componentize component_updater: Move a bunch of tests to component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/component_updater/test/component_patcher_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 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 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_PATCHER_UNITTEST_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_PATCHER_UNITTEST_H_
7
8 #include "base/files/file_path.h"
9 #include "base/files/scoped_temp_dir.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "chrome/common/chrome_paths.h"
12 #include "content/public/test/test_browser_thread_bundle.h"
13 #include "courgette/courgette.h"
14 #include "courgette/third_party/bsdiff.h"
15 #include "testing/gtest/include/gtest/gtest.h"
16
17 namespace component_updater {
18
19 class MockComponentPatcher;
20 class ReadOnlyTestInstaller;
21
22 const char binary_output_hash[] =
23 "599aba6d15a7da390621ef1bacb66601ed6aed04dadc1f9b445dcfe31296142a";
24
25 class ComponentPatcherOperationTest : public testing::Test {
26 public:
27 explicit ComponentPatcherOperationTest();
28 virtual ~ComponentPatcherOperationTest();
29
30 protected:
31 base::ScopedTempDir input_dir_;
32 base::ScopedTempDir installed_dir_;
33 base::ScopedTempDir unpack_dir_;
34 scoped_ptr<ReadOnlyTestInstaller> installer_;
35 scoped_refptr<base::SequencedTaskRunner> task_runner_;
36
37 private:
38 content::TestBrowserThreadBundle thread_bundle_;
39 };
40
41 } // namespace component_updater
42
43 #endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_PATCHER_UNITTEST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/component_updater/test/component_patcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698