| Index: third_party/WebKit/Source/platform/exported/FilePathConversionTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/exported/FilePathConversionTest.cpp b/third_party/WebKit/Source/platform/exported/FilePathConversionTest.cpp
|
| index f8d73de435b8ae7d2690d6b90579b64e951a2362..d04548bc72034cf185e01348bc3ab20b23ff1220 100644
|
| --- a/third_party/WebKit/Source/platform/exported/FilePathConversionTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/exported/FilePathConversionTest.cpp
|
| @@ -40,6 +40,15 @@ TEST(FilePathConversionTest, convert) {
|
| WebStringToFilePath(test16bitString).value());
|
| EXPECT_EQ(pathLatin1.value(), WebStringToFilePath(test16bitLatin1).value());
|
| EXPECT_EQ(pathUTF16.value(), WebStringToFilePath(test16bitUTF16).value());
|
| +
|
| + EXPECT_STREQ("path",
|
| + FilePathToWebString(base::FilePath(FILE_PATH_LITERAL("path")))
|
| + .utf8()
|
| + .data());
|
| + EXPECT_STREQ(test8bitLatin1.utf8().data(),
|
| + FilePathToWebString(pathLatin1).utf8().data());
|
| + EXPECT_STREQ(test16bitUTF16.utf8().data(),
|
| + FilePathToWebString(pathUTF16).utf8().data());
|
| }
|
|
|
| } // namespace blink
|
|
|