phoneuis/bubblemanager2/tsrc/unit/ut_bubbleparticipantlistitem/ut_bubbleparticipantlistitem.cpp
--- a/phoneuis/bubblemanager2/tsrc/unit/ut_bubbleparticipantlistitem/ut_bubbleparticipantlistitem.cpp Mon May 03 12:31:11 2010 +0300
+++ b/phoneuis/bubblemanager2/tsrc/unit/ut_bubbleparticipantlistitem/ut_bubbleparticipantlistitem.cpp Fri May 14 15:51:57 2010 +0300
@@ -27,7 +27,6 @@
#include "bubbletest.h"
#include "bubbleparticipantlistitem.h"
-#include "bubblebuttonstyle.h"
class ut_BubbleParticipantListItem : public QObject
{
@@ -43,17 +42,16 @@
private:
BubbleParticipantListItem* mItem;
HbMainWindow* mMainWindow;
- BubbleButtonStyle* mButtonStyle;
int mStyleBaseId;
};
void ut_BubbleParticipantListItem::initTestCase()
{
mMainWindow = new HbMainWindow();
- mButtonStyle = new BubbleButtonStyle();
- mItem = new BubbleParticipantListItem(BUBBLE_STYLE_PLUGIN,*mButtonStyle);
+ mItem = new BubbleParticipantListItem();
mMainWindow->addView(mItem);
- HbListViewItem* item = static_cast<HbListViewItem*>(mItem);
+ BubbleParticipantListItem* item =
+ static_cast<BubbleParticipantListItem*>(mItem);
item->updateChildItems();
mMainWindow->show();
}
@@ -62,7 +60,6 @@
{
mItem->clearActions();
delete mMainWindow;
- delete mButtonStyle;
}
void ut_BubbleParticipantListItem::testCreateItem()