| 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 "chromeos/network/onc/onc_test_utils.h" | 5 #include "chromeos/network/onc/onc_test_utils.h" |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
| 9 #include "base/json/json_file_value_serializer.h" | 9 #include "base/json/json_file_value_serializer.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/path_service.h" | |
| 12 #include "base/values.h" | 11 #include "base/values.h" |
| 13 #include "chromeos/chromeos_test_utils.h" | 12 #include "chromeos/chromeos_test_utils.h" |
| 14 | 13 |
| 15 namespace chromeos { | 14 namespace chromeos { |
| 16 namespace onc { | 15 namespace onc { |
| 17 namespace test_utils { | 16 namespace test_utils { |
| 18 | 17 |
| 19 namespace { | 18 namespace { |
| 20 | 19 |
| 21 // The name of the component directory to get the test data from. | 20 // The name of the component directory to get the test data from. |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 return ::testing::AssertionSuccess() << "Values are equal"; | 73 return ::testing::AssertionSuccess() << "Values are equal"; |
| 75 | 74 |
| 76 return ::testing::AssertionFailure() << "Values are unequal.\n" | 75 return ::testing::AssertionFailure() << "Values are unequal.\n" |
| 77 << "Expected value:\n" << *expected | 76 << "Expected value:\n" << *expected |
| 78 << "Actual value:\n" << *actual; | 77 << "Actual value:\n" << *actual; |
| 79 } | 78 } |
| 80 | 79 |
| 81 } // namespace test_utils | 80 } // namespace test_utils |
| 82 } // namespace onc | 81 } // namespace onc |
| 83 } // namespace chromeos | 82 } // namespace chromeos |
| OLD | NEW |