homescreenapp/stateplugins/hsapplibrarystateplugin/tsrc/t_applibrarystate/src/t_applibrarystate.cpp
changeset 98 e6f74eb7f69f
parent 97 66b5fe3c07fd
--- a/homescreenapp/stateplugins/hsapplibrarystateplugin/tsrc/t_applibrarystate/src/t_applibrarystate.cpp	Wed Oct 06 16:06:24 2010 +0300
+++ b/homescreenapp/stateplugins/hsapplibrarystateplugin/tsrc/t_applibrarystate/src/t_applibrarystate.cpp	Mon Oct 18 10:20:15 2010 +0300
@@ -195,7 +195,7 @@
 
         appLibrary.allCollectionsStateEntered();
         QCOMPARE(qobject_cast<QAbstractState *>(appLibrary.mAllCollectionsState),
-            appLibrary.mHistoryTransaction->targetState());
+            appLibrary.mHistoryTransition->targetState());
         QCOMPARE(appLibrary.mInstalledAppsState->transitions().length(), 1);
         QCOMPARE(appLibrary.mInstalledAppsState->transitions()[0]->sourceState(),
             qobject_cast<QState *>(appLibrary.mInstalledAppsState));
@@ -204,7 +204,7 @@
 
         appLibrary.allAppsStateEntered();
         QCOMPARE(qobject_cast<QAbstractState *>(appLibrary.mAllAppsState),
-            appLibrary.mHistoryTransaction->targetState());
+            appLibrary.mHistoryTransition->targetState());
         QCOMPARE(appLibrary.mInstalledAppsState->transitions().length(), 1);
         QCOMPARE(appLibrary.mInstalledAppsState->transitions()[0]->sourceState(),
             qobject_cast<QState *>(appLibrary.mInstalledAppsState));
@@ -239,9 +239,6 @@
 #endif//UT_MEMORY_CHECK
 #endif//Q_OS_SYMBIAN
     {
-
-        QFAIL("! Due to bug in hb wk36 we are forced to skip this test !");
-        
         QScopedPointer<HbMainWindow> wind(new HbMainWindow);
         HsScene::setInstance( new HsScene(wind.data()) );
         //create statemachine to perform transitions