use of org.eclipse.mylyn.wikitext.parser.builder.event.AcronymEvent in project mylyn.docs by eclipse.
the class EventDocumentBuilderTest method acronym.
@Test
public void acronym() {
builder.acronym("one", "two");
assertEvents(new AcronymEvent("one", "two"));
}
use of org.eclipse.mylyn.wikitext.parser.builder.event.AcronymEvent in project mylyn.docs by eclipse.
the class MultiplexingDocumentBuilderTest method newDelegateAfterInstatiation.
@Test
public void newDelegateAfterInstatiation() {
multiplexer.lineBreak();
assertEvents(new LineBreakEvent());
EventDocumentBuilder delegate3 = new EventDocumentBuilder();
multiplexer.addDocumentBuilder(delegate3);
multiplexer.acronym("a", "b");
assertEvents(new LineBreakEvent(), new AcronymEvent("a", "b"));
assertEquals(Arrays.asList(new AcronymEvent("a", "b")), delegate3.getDocumentBuilderEvents().getEvents());
}
use of org.eclipse.mylyn.wikitext.parser.builder.event.AcronymEvent in project mylyn.docs by eclipse.
the class MultiplexingDocumentBuilderTest method acronym.
@Test
public void acronym() {
multiplexer.acronym("one", "two");
assertEvents(new AcronymEvent("one", "two"));
}
use of org.eclipse.mylyn.wikitext.parser.builder.event.AcronymEvent in project mylyn.docs by eclipse.
the class AcronymEventTest method equals.
@Test
public void equals() {
assertEquality(new AcronymEvent("one", "two"), new AcronymEvent("one", "two"));
assertInequality(new AcronymEvent("one", "two"), new AcronymEvent("three", "two"));
assertInequality(new AcronymEvent("one", "two"), new AcronymEvent("one", "three"));
}
Aggregations