OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/service/cloud_print/cloud_print_helpers.h" | 5 #include "chrome/service/cloud_print/cloud_print_service_helpers.h" |
6 | 6 |
7 #include "base/md5.h" | 7 #include "base/md5.h" |
8 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
9 #include "base/sys_info.h" | 9 #include "base/sys_info.h" |
10 #include "chrome/common/chrome_version_info.h" | 10 #include "chrome/common/chrome_version_info.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
12 | 12 |
13 namespace cloud_print { | 13 namespace cloud_print { |
14 | 14 |
15 namespace { | 15 namespace { |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 tags_not_dry_run.push_back("tag_1"); | 96 tags_not_dry_run.push_back("tag_1"); |
97 EXPECT_FALSE(IsDryRunJob(tags_not_dry_run)); | 97 EXPECT_FALSE(IsDryRunJob(tags_not_dry_run)); |
98 | 98 |
99 std::vector<std::string> tags_dry_run; | 99 std::vector<std::string> tags_dry_run; |
100 tags_dry_run.push_back("__cp__dry_run"); | 100 tags_dry_run.push_back("__cp__dry_run"); |
101 EXPECT_TRUE(IsDryRunJob(tags_dry_run)); | 101 EXPECT_TRUE(IsDryRunJob(tags_dry_run)); |
102 } | 102 } |
103 | 103 |
104 } // namespace cloud_print | 104 } // namespace cloud_print |
105 | 105 |
OLD | NEW |