mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Fix Mac compile errors due to string type changes (issue #146).
- Fix Windows crash due to string type changes (issue #147). - Add missing svn:eol-style properties. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@149 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
TEST(StringTest, UTF8)
|
||||
{
|
||||
CefStringUTF8 str1("Test String");
|
||||
ASSERT_EQ(str1.length(), 11);
|
||||
ASSERT_EQ(str1.length(), (size_t)11);
|
||||
ASSERT_FALSE(str1.empty());
|
||||
ASSERT_TRUE(str1.IsOwner());
|
||||
|
||||
@@ -52,7 +52,7 @@ TEST(StringTest, UTF8)
|
||||
TEST(StringTest, UTF16)
|
||||
{
|
||||
CefStringUTF16 str1("Test String");
|
||||
ASSERT_EQ(str1.length(), 11);
|
||||
ASSERT_EQ(str1.length(), (size_t)11);
|
||||
ASSERT_FALSE(str1.empty());
|
||||
ASSERT_TRUE(str1.IsOwner());
|
||||
|
||||
@@ -91,7 +91,7 @@ TEST(StringTest, UTF16)
|
||||
TEST(StringTest, Wide)
|
||||
{
|
||||
CefStringWide str1("Test String");
|
||||
ASSERT_EQ(str1.length(), 11);
|
||||
ASSERT_EQ(str1.length(), (size_t)11);
|
||||
ASSERT_FALSE(str1.empty());
|
||||
ASSERT_TRUE(str1.IsOwner());
|
||||
|
||||
|
Reference in New Issue
Block a user