Index: Source/core/html/FormDataTest.cpp |
diff --git a/Source/core/html/DOMFormDataTest.cpp b/Source/core/html/FormDataTest.cpp |
similarity index 83% |
rename from Source/core/html/DOMFormDataTest.cpp |
rename to Source/core/html/FormDataTest.cpp |
index 09d2107e65a606015d9b9b7e6740b309a76e2947..936878572aef1e55515d95d0a171708a1cb09f34 100644 |
--- a/Source/core/html/DOMFormDataTest.cpp |
+++ b/Source/core/html/FormDataTest.cpp |
@@ -3,16 +3,15 @@ |
// found in the LICENSE file. |
#include "config.h" |
-#include "core/html/DOMFormData.h" |
+#include "core/html/FormData.h" |
-#include "core/html/FormDataList.h" |
#include <gtest/gtest.h> |
namespace blink { |
-TEST(DOMFormDataTest, opacityGet) |
+TEST(FormDataTest, opacityGet) |
{ |
- DOMFormData* fd = DOMFormData::create(UTF8Encoding()); |
+ FormData* fd = FormData::create(UTF8Encoding()); |
fd->append("name1", "value1"); |
FileOrUSVString result; |
@@ -37,9 +36,9 @@ TEST(DOMFormDataTest, opacityGet) |
EXPECT_STREQ("value1", entry2.data().data()); |
} |
-TEST(DOMFormDataTest, opacityGetAll) |
+TEST(FormDataTest, opacityGetAll) |
{ |
- DOMFormData* fd = DOMFormData::create(UTF8Encoding()); |
+ FormData* fd = FormData::create(UTF8Encoding()); |
fd->append("name1", "value1"); |
HeapVector<FormDataEntryValue> results = fd->getAll("name1"); |
@@ -59,9 +58,9 @@ TEST(DOMFormDataTest, opacityGetAll) |
EXPECT_EQ(1u, fd->size()); |
} |
-TEST(DOMFormDataTest, opacityHas) |
+TEST(FormDataTest, opacityHas) |
{ |
- DOMFormData* fd = DOMFormData::create(UTF8Encoding()); |
+ FormData* fd = FormData::create(UTF8Encoding()); |
fd->append("name1", "value1"); |
EXPECT_TRUE(fd->has("name1")); |