@Test public void testCDATAWithTagsInside() throws Exception { highlight("<tag><![CDATA[<tag/><!-- Comment -->]]></tag>"); assertHighlighting(0, 4, TypeOfText.KEYWORD); assertHighlighting(4, 5, TypeOfText.KEYWORD); assertHighlighting(5, 14, TypeOfText.KEYWORD); assertHighlighting(36, 39, TypeOfText.KEYWORD); assertHighlighting(39, 45, TypeOfText.KEYWORD); }
public static void highlight(SensorContext context, XmlFile xmlFile) { new XmlHighlighting(xmlFile).highlight(context); }
XmlHighlighting { public static void highlight(SensorContext context, XmlFile xmlFile) { new XmlHighlighting(xmlFile).highlight(context); } }
XmlHighlighting { public static void highlight(SensorContext context, XmlFile xmlFile) { new XmlHighlighting(xmlFile).highlight(context); } private  XmlHighlighting(XmlFile xmlFile); }
XmlHighlighting { public static void highlight(SensorContext context, XmlFile xmlFile) { new XmlHighlighting(xmlFile).highlight(context); } private  XmlHighlighting(XmlFile xmlFile); static void highlight(SensorContext context, XmlFile xmlFile); }
XmlHighlighting { public static void highlight(SensorContext context, XmlFile xmlFile) { new XmlHighlighting(xmlFile).highlight(context); } private  XmlHighlighting(XmlFile xmlFile); static void highlight(SensorContext context, XmlFile xmlFile);  }