private void displayDetails(Program expectedProgram, Program actualProgram,
			AddressSetView diffset) {
		/*
		System.out.println(diffset);  // this call has an adverse impact on the nightly tests!
		if (diffset.getNumAddresses() != 0) {
		    ProgramDiffDetails details = new ProgramDiffDetails(expectedProgram, actualProgram);
		    AddressIterator iter = diffset.getAddresses(true);
		    while (iter.hasNext()) {
		        Address addr = iter.next();
		        System.out.println(details.getDiffDetails(addr));
		        //StyledDocument doc = new DefaultStyledDocument();
		        //details.getAllDetails(diffset.getMinAddress(), doc);
		        //System.out.println(doc.getText(0, doc.getLength()));
		    }
		}
		*/
	}
This test analyzes the V850 languages, and then makes sure there are key
things marked up.
Ghidra/Processors/MIPS/src/test.slow/java/ghidra/app/plugin/core/analysis/MipsPreAnalyzerTest.java