private void waitForSearchAll() {
		waitForSwing();

		int totalTime = 0;
		while (plugin.isWaitingForSearchAll() && totalTime < DEFAULT_WINDOW_TIMEOUT) {
			sleep(DEFAULT_WAIT_DELAY);
			totalTime += DEFAULT_WAIT_DELAY;
		}

		assertTrue("Timed-out waiting for 'search all' to finish",
			totalTime < DEFAULT_WINDOW_TIMEOUT);

		waitForSwing();
	}
Tests for the search text plugin.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/searchtext/SearchTextPlugin1Test.java