@Test
	public void testExtremeNames() throws CancelledException, DWARFException, IOException {

		int nameLenCutoff = SymbolUtilities.MAX_SYMBOL_NAME_LENGTH;

		String structLongName = longName("mystruct_", "", 1000);
		String templateLongName = longName("mystruct_", "", 1000);
		String substructLongName = longName("substruct_", "", 200);
		String exactName = longName("short", "", nameLenCutoff - "short".length());
		String exactTemplateName =
			longName("shorttemplate<", ">", nameLenCutoff - "shorttemplate<>".length());
		String exactTemplateName2 =
			longName("", "template<X>", nameLenCutoff - "template<X>".length() + 1);

		DebugInfoEntry structDIE = newStruct(structLongName, 0).create();
		DebugInfoEntry exactDIE = newStruct(exactName, 0).create();
		DebugInfoEntry exactTemplateDIE = newStruct(exactTemplateName, 0).create();
		DebugInfoEntry exactTemplateDIE2 = newStruct(exactTemplateName2, 0).create();
		DebugInfoEntry templateDIE = newStruct(templateLongName, 0).create();
		DebugInfoEntry struct3DIE =
			newStruct(substructLongName, 0).setParent(templateDIE).create();

		buildMockDIEIndexes();

		DWARFName sDNI = dwarfProg.getName(getAggregate(structDIE));
		DWARFName exactDNI = dwarfProg.getName(getAggregate(exactDIE));
		DWARFName exactTemplateDNI = dwarfProg.getName(getAggregate(exactTemplateDIE));
		DWARFName exactTemplateDNI2 = dwarfProg.getName(getAggregate(exactTemplateDIE2));
		DWARFName templateDNI = dwarfProg.getName(getAggregate(templateDIE));
		DWARFName s3DNI = dwarfProg.getName(getAggregate(struct3DIE));

		assertEquals(structLongName, sDNI.getOriginalName());

		assertEquals(exactName, exactDNI.getOriginalName());
		assertEquals(exactName, exactDNI.getName());

		assertEquals(exactTemplateName, exactTemplateDNI.getName());
		assertEquals(exactTemplateName, exactTemplateDNI.getOriginalName());

		assertTrue(exactTemplateDNI2.getName().length() < nameLenCutoff);

		assertEquals(templateLongName, templateDNI.getOriginalName());
		assertEquals(substructLongName, s3DNI.getOriginalName());

		assertTrue(sDNI.getName().length() < nameLenCutoff);
		assertTrue(templateDNI.getName().length() < nameLenCutoff);
		assertTrue(s3DNI.getName().length() < nameLenCutoff);
	}
Test skipping const, volatile data types.
@throws CancelledException
@throws IOException
@throws DWARFException
Ghidra/Features/Base/src/test.slow/java/ghidra/app/util/bin/format/dwarf/DWARFDataTypeImporterTest.java