use of org.eclipse.mylyn.wikitext.parser.builder.event.LineBreakEvent 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.LineBreakEvent in project mylyn.docs by eclipse.
the class EventDocumentBuilderTest method lineBreak.
@Test
public void lineBreak() {
builder.lineBreak();
assertEvents(new LineBreakEvent());
}
use of org.eclipse.mylyn.wikitext.parser.builder.event.LineBreakEvent in project mylyn.docs by eclipse.
the class MultiplexingDocumentBuilderTest method lineBreak.
@Test
public void lineBreak() {
multiplexer.lineBreak();
assertEvents(new LineBreakEvent());
}
Aggregations