mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Introduce CefString and cef_string_t implementations that support string type conversions and customization of the API string type (issue #146).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@145 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -71,7 +71,7 @@ static void VerifyStreamWriteBehavior(CefRefPtr<CefStreamWriter> stream,
|
||||
TEST(StreamTest, ReadFile)
|
||||
{
|
||||
const char* fileName = "StreamTest.VerifyReadFile.txt";
|
||||
std::wstring fileNameStr = L"StreamTest.VerifyReadFile.txt";
|
||||
CefString fileNameStr = "StreamTest.VerifyReadFile.txt";
|
||||
std::string contents = "This is my test\ncontents for the file";
|
||||
|
||||
// Create the file
|
||||
@ -116,7 +116,7 @@ TEST(StreamTest, ReadData)
|
||||
TEST(StreamTest, WriteFile)
|
||||
{
|
||||
const char* fileName = "StreamTest.VerifyWriteFile.txt";
|
||||
std::wstring fileNameStr = L"StreamTest.VerifyWriteFile.txt";
|
||||
CefString fileNameStr = "StreamTest.VerifyWriteFile.txt";
|
||||
std::string contents = "This is my test\ncontents for the file";
|
||||
|
||||
// Test the stream
|
||||
|
Reference in New Issue
Block a user