forked from qt-creator/qt-creator
AutoTest: Fix flaky unit test
Since parsing and updating the tree model has been changed the respective tests became flaky. Change-Id: I82fcde51493bc86e2315018b21e9bacd8e8409a9 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -63,6 +63,10 @@ public:
|
||||
void setState(State state);
|
||||
State state() const { return m_parserState; }
|
||||
void setDirty() { m_dirty = true; }
|
||||
#ifdef WITH_TESTS
|
||||
bool furtherParsingExpected() const
|
||||
{ return m_singleShotScheduled || m_fullUpdatePostponed || m_partialUpdatePostponed; }
|
||||
#endif
|
||||
|
||||
signals:
|
||||
void aboutToPerformFullParse();
|
||||
|
||||
Reference in New Issue
Block a user