Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / extensions / common / test_util.h
index e38b28f..0f02ac0 100644 (file)
@@ -18,8 +18,16 @@ namespace test_util {
 // Adds an extension manifest to a builder.
 ExtensionBuilder& BuildExtension(ExtensionBuilder& builder);
 
-// Return a very simple extension with a given |id|.
-scoped_refptr<Extension> CreateExtensionWithID(const std::string& id);
+// Adds an app manifest to a builder.
+ExtensionBuilder& BuildApp(ExtensionBuilder& builder);
+
+// Creates an extension instance that can be attached to an ExtensionFunction
+// before running it.
+scoped_refptr<Extension> CreateEmptyExtension();
+
+// Create an extension with a variable |id|, for tests that require multiple
+// extensions side-by-side having distinct IDs.
+scoped_refptr<Extension> CreateEmptyExtension(const std::string& id);
 
 }  // namespace test_util
 }  // namespace extensions