X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit-internal%2Futc-Dali-LogicalModel.cpp;h=4fe4876e2af01e64635a5ed79783ea1134a2c783;hp=833b546ef723a20ec08d68c7858addaf2aa99f34;hb=ab72db1d348ee2b2db349233e53804e3df1cb52d;hpb=a7a48f2cf26bbab64174e2085b016ea57ac908b4 diff --git a/automated-tests/src/dali-toolkit-internal/utc-Dali-LogicalModel.cpp b/automated-tests/src/dali-toolkit-internal/utc-Dali-LogicalModel.cpp index 833b546..4fe4876 100755 --- a/automated-tests/src/dali-toolkit-internal/utc-Dali-LogicalModel.cpp +++ b/automated-tests/src/dali-toolkit-internal/utc-Dali-LogicalModel.cpp @@ -301,7 +301,7 @@ bool GetLogicalCharacterIndexTest( const GetLogicalCharacterIndexData& data ) bool GetLogicalCursorIndexTest( const GetLogicalCursorIndexData& data ) { - std::cout << " testing : " << data.description << std::endl; + tet_printf( " testing : %s\n", data.description.c_str() ); // Load some fonts. TextAbstraction::FontClient fontClient = TextAbstraction::FontClient::Get(); @@ -346,7 +346,7 @@ bool GetLogicalCursorIndexTest( const GetLogicalCursorIndexData& data ) if( logicalModel->mBidirectionalLineIndex != data.cachedBidiLine[index] ) { - std::cout << " test : " << index << ", different cached line index : " << logicalModel->mBidirectionalLineIndex << ", expected : " << data.cachedBidiLine[index] << std::endl; + tet_printf( " test : %d, different cached line index : %d, expected : %d\n", index, logicalModel->mBidirectionalLineIndex, data.cachedBidiLine[index] ); return false; } @@ -355,7 +355,7 @@ bool GetLogicalCursorIndexTest( const GetLogicalCursorIndexData& data ) if( logicalCursorIndex != data.logicalCursorIndex[index] ) { - std::cout << " test : " << index << ", visual index : " << visualCharacterIndex << ", different logical cursor index : " << logicalCursorIndex << ", expected : " << data.logicalCursorIndex[index] << std::endl; + tet_printf( " test : %d, visual index : %d, different logical cursor index :%d, expected : %d", index, visualCharacterIndex, logicalCursorIndex, data.logicalCursorIndex[index] ); return false; } }