void run() { waitForTest(); { QWriteLocker locker(&lock); waitForTest(); } waitForTest(); }
void run() { waitForTest(); { QReadLocker locker(&lock); waitForTest(); } waitForTest(); }
void run() { waitForTest(); { QMutexLocker locker(&mutex); waitForTest(); } waitForTest(); }
void run() { { QWriteLocker locker(&lock); locker.relock(); locker.unlock(); waitForTest(); } waitForTest(); }
void run() { { QMutexLocker locker(&mutex); locker.relock(); locker.unlock(); waitForTest(); } waitForTest(); }
void run() { QReadLocker locker(&lock); waitForTest(); locker.unlock(); waitForTest(); locker.relock(); waitForTest(); }
void DumpRenderTree::runTests() { m_gcController = new GCController(); m_accessibilityController = new AccessibilityController(); if (!ensurePPS()) { fprintf(stderr, "Failed to open PPS file '%s', error=%d\n", getPPSPath().c_str(), errno); (m_page->client())->notifyRunLayoutTestsFinished(); return; } mainFrame = DumpRenderTreeSupport::corePage(m_page)->mainFrame(); if (const char* testFile = getenv("drtTestFile")) { runFromCommandLine = true; addTest(testFile); } else { // Get Test file name from PPS: /pps/services/drt/input // Example: test_file::fast/js/arguments.html waitForTest(); } }