| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "blimp/engine/app/blimp_engine_config.h" | 5 #include "blimp/engine/app/blimp_engine_config.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
| 13 #include "base/files/scoped_temp_dir.h" | 13 #include "base/files/scoped_temp_dir.h" |
| 14 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
| 15 #include "blimp/engine/app/switches.h" | 15 #include "blimp/common/switches.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 17 | 17 |
| 18 namespace blimp { | 18 namespace blimp { |
| 19 namespace engine { | 19 namespace engine { |
| 20 namespace { | 20 namespace { |
| 21 | 21 |
| 22 // Reference client token. | 22 // Reference client token. |
| 23 static const char kTestClientToken[] = "Reference client token"; | 23 static const char kTestClientToken[] = "Reference client token"; |
| 24 | 24 |
| 25 class BlimpEngineConfigTest : public testing::Test { | 25 class BlimpEngineConfigTest : public testing::Test { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 RemoveFileForSwitch(kClientTokenPath); | 77 RemoveFileForSwitch(kClientTokenPath); |
| 78 CreateFileForSwitch(kClientTokenPath, " "); | 78 CreateFileForSwitch(kClientTokenPath, " "); |
| 79 auto cmd_line = CreateCommandLine(all_filepath_switches_); | 79 auto cmd_line = CreateCommandLine(all_filepath_switches_); |
| 80 auto engine_config = BlimpEngineConfig::Create(cmd_line); | 80 auto engine_config = BlimpEngineConfig::Create(cmd_line); |
| 81 EXPECT_EQ(nullptr, engine_config); | 81 EXPECT_EQ(nullptr, engine_config); |
| 82 } | 82 } |
| 83 | 83 |
| 84 } // namespace | 84 } // namespace |
| 85 } // namespace engine | 85 } // namespace engine |
| 86 } // namespace blimp | 86 } // namespace blimp |
| OLD | NEW |