private static boolean hasTests(String pkgName, boolean recurse) {
	
		// Check for TestCases within the specified package
		Iterator<String> iter = getClassNames(pkgName, TEST_CASE_CLASS);
		if (iter.hasNext()) 
			return true;
		
		// Recursively check for TestCases within sub-packages
		if (recurse) {
			iter = getSubPkgNames(pkgName);
			while (iter.hasNext()) {
				String subPkgName = iter.next();
				if (hasTests(subPkgName, true))
					return true;
			}
		}
		
		return false;	
	}
Build JUnit test suite for the specified package only.
@param pkgName the java package name
@return test suite
Ghidra/Framework/Generic/src/main/java/ghidra/util/TestSuiteUtilities.java