First public contribution.
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__
28 TBuf8<20>buf(_L8("descriptor"));
30 char *des1= new char[10];
31 int ret,retval2,retval3,retval4,retval5,retval6;
33 retval2=Rbuf8ToChar(src1,des1,size1);
38 retval2=CharToRbuf16(src2,des2);
39 printf("retval2 value is %d\n", retval2);
44 retval3=Rbuf16ToString(src3,des3);
45 printf("retval3 value is %d\n", retval3);
49 retval4 = StringToTbuf8(src4,des4);
50 printf("retval4 value is %d\n", retval4);
53 char * des5= new char [30];
54 retval5= Tbuf8ToChar(src5,des5,size1);
55 printf("retval5 value is %d\n", retval5);
60 retval6= CharToRbuf8(src6,des6);
61 printf("retval6 value is %d\n", retval6);
63 ret= strncmp((const char*)src1.Ptr(),(const char*)des6.Ptr(),10);
66 printf("integration_test12 PASSED\n");
70 printf("integration_tes12 FAILED\n");
81 testResultXml("integration_test_scenario12");