Update contrib.
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
21 #include"std_log_result.h"
22 #define LOG_FILENAME_LINE __FILE__, __LINE__
27 wchar_t* mystr = L"hello";
32 retval = WcharToTbuf8 (mystr, f);
37 wchar_t* temp = new wchar_t[5];
39 mbstowcs(temp, (const char*)f.Ptr(),1);
40 if (retval ==ESuccess)
42 printf("wchartotbuf8 positive0 Passed\n");
47 printf("wchartotbuf8 positive0 Failed\n");
52 testResultXml("test_WcharToTbuf8_positive");