diff -r 2f259fa3e83a -r 8ca85d2f0db7 classicui_pub/lists_api/tsrc/src/testsdklistsblockseiklbx.cpp --- a/classicui_pub/lists_api/tsrc/src/testsdklistsblockseiklbx.cpp Tue Feb 02 01:00:49 2010 +0200 +++ b/classicui_pub/lists_api/tsrc/src/testsdklistsblockseiklbx.cpp Fri Feb 19 23:04:46 2010 +0200 @@ -37,6 +37,7 @@ #include "testsdklistssnakinglistbox.h" const TInt KZero = 0; +const TInt KOne = 1; const TInt KFour = 4; const TInt KFive = 5; const TInt KEight = 8; @@ -4373,4 +4374,24 @@ return KErrNone; } +// ----------------------------------------------------------------------------- +// CTestSDKLists::TestLBItemsInSingleLine +// ----------------------------------------------------------------------------- +// +TInt CTestSDKLists::TestLBItemsInSingleLine( CStifItemParser& /*aItem*/) + { + // Print to UI + _LIT( KTestModule, "EIKLBXTestModule" ); + _LIT( KTestEIKLBX, "In TestLBItemsInSingleLine" ); + TestModuleIf().Printf( 0, KTestModule, KTestEIKLBX ); + // Print to log file + iLog->Log( KTestEIKLBX ); + + TInt itemsInSingleLine = iListBox->ItemsInSingleLine(); + STIF_ASSERT_EQUALS( KOne, itemsInSingleLine ); + + return KErrNone; + } + + // [End of file]