Home
last modified time | relevance | path

Searched refs:timeOutInMs (Results 1 – 19 of 19) sorted by relevance

/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/tests/unit/unittest/
H A Dclangjobs-test.cpp56 bool waitUntilAllJobsFinished(int timeOutInMs = 10000) const;
57 bool waitUntilJobChainFinished(int timeOutInMs = 10000);
124 bool Jobs::waitUntilAllJobsFinished(int timeOutInMs) const in waitUntilAllJobsFinished()
128 return ProcessEventUtilities::processEventsUntilTrue(noJobsRunningAnymore, timeOutInMs); in waitUntilAllJobsFinished()
131 bool Jobs::waitUntilJobChainFinished(int timeOutInMs) in waitUntilJobChainFinished() argument
137 return ProcessEventUtilities::processEventsUntilTrue(noJobsRunningAnymore, timeOutInMs); in waitUntilJobChainFinished()
H A Dprocessevents-utilities.cpp36 bool processEventsUntilTrue(std::function<bool ()> condition, int timeOutInMs) in processEventsUntilTrue() argument
48 if (time.elapsed() > timeOutInMs) { in processEventsUntilTrue()
49 qWarning() << "Timeout of" << timeOutInMs in processEventsUntilTrue()
H A Dclangdocumentprocessor-test.cpp48 bool waitUntilAllJobsFinished(int timeOutInMs = 10000) const;
96 bool DocumentProcessor::waitUntilAllJobsFinished(int timeOutInMs) const in waitUntilAllJobsFinished()
100 return ProcessEventUtilities::processEventsUntilTrue(noJobsRunningAnymore, timeOutInMs); in waitUntilAllJobsFinished()
H A Dclangdocumentprocessors-test.cpp53 bool waitUntilAllJobsFinished(int timeOutInMs = 10000) const;
176 bool DocumentProcessors::waitUntilAllJobsFinished(int timeOutInMs) const in waitUntilAllJobsFinished()
180 return ProcessEventUtilities::processEventsUntilTrue(noJobsRunningAnymore, timeOutInMs); in waitUntilAllJobsFinished()
H A Dclangasyncjob-base.cpp59 int timeOutInMs) const in waitUntilJobFinished()
63 return ProcessEventUtilities::processEventsUntilTrue(isOnFinishedSlotExecuted, timeOutInMs); in waitUntilJobFinished()
H A Dclangsupportivetranslationunitinitializer-test.cpp59 bool waitUntilJobChainFinished(int timeOutInMs = 10000) const;
191 bool SupportiveTranslationUnitInitializer::waitUntilJobChainFinished(int timeOutInMs) const in waitUntilJobChainFinished()
197 return ProcessEventUtilities::processEventsUntilTrue(noJobsRunningAnymore, timeOutInMs); in waitUntilJobChainFinished()
H A Dprocessevents-utilities.h32 bool processEventsUntilTrue(std::function<bool ()> condition, int timeOutInMs);
H A Dclangasyncjob-base.h49 int timeOutInMs = 10000) const;
H A Dclangcodemodelserver-test.cpp116 bool waitUntilAllJobsFinished(int timeOutInMs = 10000);
496 bool ClangCodeModelServer::waitUntilAllJobsFinished(int timeOutInMs) in waitUntilAllJobsFinished() argument
504 return ProcessEventUtilities::processEventsUntilTrue(noJobsRunningAnymore, timeOutInMs); in waitUntilAllJobsFinished()
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/cpptools/
H A Dcpptoolstestcase.cpp147 int timeOutInMs) in waitForProcessedEditorDocument_internal() argument
157 if (timer.elapsed() > timeOutInMs) in waitForProcessedEditorDocument_internal()
165 bool TestCase::waitForProcessedEditorDocument(const QString &filePath, int timeOutInMs) in waitForProcessedEditorDocument() argument
168 return waitForProcessedEditorDocument_internal(editorDocument, timeOutInMs); in waitForProcessedEditorDocument()
204 int timeOutInMs) in waitForFileInGlobalSnapshot() argument
206 const auto documents = waitForFilesInGlobalSnapshot(QStringList(filePath), timeOutInMs); in waitForFileInGlobalSnapshot()
211 int timeOutInMs) in waitForFilesInGlobalSnapshot() argument
223 if (t.elapsed() > timeOutInMs) in waitForFilesInGlobalSnapshot()
231 bool TestCase::waitUntilProjectIsFullyOpened(Project *project, int timeOutInMs) in waitUntilProjectIsFullyOpened() argument
242 timeOutInMs); in waitUntilProjectIsFullyOpened()
H A Dcpptoolstestcase.h114 static bool waitForProcessedEditorDocument(const QString &filePath, int timeOutInMs = 5000);
118 int timeOutInMs = defaultTimeOutInMs);
121 int timeOutInMs = defaultTimeOutInMs);
124 int timeOutInMs = defaultTimeOutInMs);
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/clangcodemodel/test/
H A Dclangbatchfileprocessor.cpp82 int timeOutInMs() in timeOutInMs() function
241 return CppTools::Tests::TestCase::waitUntilProjectIsFullyOpened(project, timeOutInMs()); in run()
288 bool wait(int timeOutInMs) const;
305 bool WaitForUpdatedCodeWarnings::wait(int timeOutInMs) const in wait()
311 if (time.elapsed() > timeOutInMs) { in wait()
312 qWarning("WaitForUpdatedCodeWarnings: timeout of %d ms reached.", timeOutInMs); in wait()
335 return waiter.wait(timeOutInMs()); in run()
429 return waiter.wait(timeOutInMs()); in run()
473 return !completionResults(editor, QStringList(), timeOutInMs()).isNull(); in run()
H A Dclangcodecompletion_test.cpp344 proposal = completionResults(openEditor.editor(), includePaths, timeOutInMs());
670 timeOutInMs()); in testCompleteProjectDependingCode()
684 timeOutInMs()); in testCompleteProjectDependingCodeAfterChangingProject()
695 proposal = completionResults(openEditor.editor(), {}, timeOutInMs()); in testCompleteProjectDependingCodeAfterChangingProject()
703 proposal = completionResults(openEditor.editor(), {}, timeOutInMs()); in testCompleteProjectDependingCodeAfterChangingProject()
711 proposal = completionResults(openEditor.editor(), {}, timeOutInMs()); in testCompleteProjectDependingCodeAfterChangingProject()
738 timeOutInMs()); in testCompleteProjectDependingCodeInGeneratedUiFile()
H A Dclangautomationutils.cpp108 int timeOutInMs) in completionResults() argument
136 timeOutInMs); in completionResults()
H A Dclangbatchfileprocessor.h33 int timeOutInMs();
H A Dclangautomationutils.h40 int timeOutInMs = 10000);
H A Dclangdtests.cpp122 &ClangModelManagerSupport::createdClient, timeOutInMs())); in initTestCase()
131 QVERIFY(waitForSignalOrTimeout(m_client, &ClangdClient::initialized, timeOutInMs())); in initTestCase()
283 QVERIFY(waitForSignalOrTimeout(client(), &ClangdClient::findUsagesDone, timeOutInMs())); in test()
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/clangtools/
H A Dclangtoolspreconfiguredsessiontests.cpp55 static bool processEventsUntil(const std::function<bool()> condition, int timeOutInMs = 30000) in processEventsUntil() argument
61 if (t.elapsed() > timeOutInMs) in processEventsUntil()
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/cppeditor/
H A Dfileandtokenactions_test.cpp127 static bool waitUntilAProjectIsLoaded(int timeOutInMs = 30000) in waitUntilAProjectIsLoaded() argument
132 while (timer.elapsed() < timeOutInMs) { in waitUntilAProjectIsLoaded()