diff options
author | dhnishi@chromium.org <dhnishi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-09 02:53:32 +0000 |
---|---|---|
committer | dhnishi@chromium.org <dhnishi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-09 02:54:30 +0000 |
commit | 904eb66575fc98086e1a8b90b21a6e5ebc6afc2c (patch) | |
tree | 7064cc28fda091fa231806e1a6777bd60ee96408 /extensions/common/test_util.cc | |
parent | 459a22a5e7e580f888faa4ef0cbc1f37d624a810 (diff) | |
download | chromium_src-904eb66575fc98086e1a8b90b21a6e5ebc6afc2c.zip chromium_src-904eb66575fc98086e1a8b90b21a6e5ebc6afc2c.tar.gz chromium_src-904eb66575fc98086e1a8b90b21a6e5ebc6afc2c.tar.bz2 |
Move SocketsTcpApiTest.SocketsTcpCreateGood to app_shell_browsertests.
BUG=388893
Review URL: https://codereview.chromium.org/449303002
Cr-Commit-Position: refs/heads/master@{#288495}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/test_util.cc')
-rw-r--r-- | extensions/common/test_util.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/extensions/common/test_util.cc b/extensions/common/test_util.cc index 05de2c7..03b35b8 100644 --- a/extensions/common/test_util.cc +++ b/extensions/common/test_util.cc @@ -22,6 +22,15 @@ ExtensionBuilder& BuildExtension(ExtensionBuilder& builder) { .Set("manifest_version", 2)); } +scoped_refptr<Extension> CreateEmptyExtension() { + scoped_refptr<Extension> empty_extension( + ExtensionBuilder() + .SetManifest( + DictionaryBuilder().Set("name", "Test").Set("version", "1.0")) + .Build()); + return empty_extension; +} + scoped_refptr<Extension> CreateExtensionWithID(const std::string& id) { return ExtensionBuilder() .SetManifest( |