Chromium Code Reviews| Index: chrome/browser/chromeos/network_settings/onc_test_utils.h |
| diff --git a/chrome/browser/chromeos/network_settings/onc_test_utils.h b/chrome/browser/chromeos/network_settings/onc_test_utils.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e87a66218a02ff4c1091766157242c364291968c |
| --- /dev/null |
| +++ b/chrome/browser/chromeos/network_settings/onc_test_utils.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_TEST_UTILS_H_ |
| +#define CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_TEST_UTILS_H_ |
| + |
| +#include <string> |
| + |
| +#include "base/memory/scoped_ptr.h" |
| +#include "testing/gtest/include/gtest/gtest.h" |
| + |
| +namespace base { |
| +class DictionaryValue; |
| +} |
| + |
| +namespace chromeos { |
| +namespace onc { |
| +namespace test_utils { |
| + |
| +scoped_ptr<base::DictionaryValue> ReadTestDictionary( |
|
Mattias Nissler (ping if slow)
2012/11/02 10:10:00
comment
pneubeck (no reviews)
2012/11/05 12:04:48
Done.
|
| + const std::string& filename); |
| + |
| +::testing::AssertionResult Equals(const base::DictionaryValue* expected, |
|
Mattias Nissler (ping if slow)
2012/11/02 10:10:00
comment, what does this do differently than base::
pneubeck (no reviews)
2012/11/05 12:04:48
Done.
|
| + const base::DictionaryValue* actual); |
| + |
| +} // namespace test_utils |
| +} // namespace onc |
| +} // namespace chromeos |
| + |
| +#endif // CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_TEST_UTILS_H_ |