logsui/logsapp/tsrc/ut_logsapp/src/ut_logsmainwindow.cpp
changeset 14 f27aebe284bb
parent 0 4a5361db8937
child 15 76d2cf7a585e
equal deleted inserted replaced
11:64a47b97e1e1 14:f27aebe284bb
    77     HbStubHelper::reset();
    77     HbStubHelper::reset();
    78     mMainWindow->bringAppToForeground();
    78     mMainWindow->bringAppToForeground();
    79     QVERIFY( HbStubHelper::isWidgetRaised() ); 
    79     QVERIFY( HbStubHelper::isWidgetRaised() ); 
    80     QVERIFY( mMainWindow->isForeground() );
    80     QVERIFY( mMainWindow->isForeground() );
    81     
    81     
    82     // Subsequent call does not raise more
    82     // Subsequent call raise tries to raise regardless of current state
    83     HbStubHelper::reset();
    83     HbStubHelper::reset();
    84     mMainWindow->bringAppToForeground();
    84     mMainWindow->bringAppToForeground();
    85     QVERIFY( !HbStubHelper::isWidgetRaised() ); 
    85     QVERIFY( HbStubHelper::isWidgetRaised() ); 
    86     QVERIFY( mMainWindow->isForeground() );
    86     QVERIFY( mMainWindow->isForeground() );
    87 }
    87 }
    88  
    88