| 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 #ifndef BASE_TEST_VALUES_TEST_UTIL_H_ | 5 #ifndef BASE_TEST_VALUES_TEST_UTIL_H_ |
| 6 #define BASE_TEST_VALUES_TEST_UTIL_H_ | 6 #define BASE_TEST_VALUES_TEST_UTIL_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include <string> | 8 #include <string> |
| 10 | 9 |
| 11 namespace base { | 10 namespace base { |
| 12 class DictionaryValue; | 11 class DictionaryValue; |
| 13 class ListValue; | 12 class ListValue; |
| 14 class StringValue; | 13 class StringValue; |
| 15 | 14 |
| 16 // All the functions below expect that the value for the given key in | 15 // All the functions below expect that the value for the given key in |
| 17 // the given dictionary equals the given expected value. | 16 // the given dictionary equals the given expected value. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 36 const DictionaryValue& value, | 35 const DictionaryValue& value, |
| 37 const std::string& key); | 36 const std::string& key); |
| 38 | 37 |
| 39 // Takes ownership of |actual|. | 38 // Takes ownership of |actual|. |
| 40 void ExpectStringValue(const std::string& expected_str, | 39 void ExpectStringValue(const std::string& expected_str, |
| 41 StringValue* actual); | 40 StringValue* actual); |
| 42 | 41 |
| 43 } // namespace base | 42 } // namespace base |
| 44 | 43 |
| 45 #endif // BASE_TEST_VALUES_TEST_UTIL_H_ | 44 #endif // BASE_TEST_VALUES_TEST_UTIL_H_ |
| OLD | NEW |