use of org.eclipse.mylyn.wikitext.parser.builder.event.BeginDocumentEvent in project mylyn.docs by eclipse.
the class DocumentBuilderEventsTest method testToString.
@Test
public void testToString() {
BeginDocumentEvent event = new BeginDocumentEvent();
DocumentBuilderEvents events = new DocumentBuilderEvents(Lists.<DocumentBuilderEvent>newArrayList(event));
assertNotNull(events.toString());
assertTrue(events.toString().contains(event.toString()));
}
use of org.eclipse.mylyn.wikitext.parser.builder.event.BeginDocumentEvent in project mylyn.docs by eclipse.
the class DocumentBuilderEventsTest method createsWithProvidedEvents.
@Test
public void createsWithProvidedEvents() {
BeginDocumentEvent event = new BeginDocumentEvent();
List<DocumentBuilderEvent> allEvents = Lists.<DocumentBuilderEvent>newArrayList(event);
DocumentBuilderEvents events = new DocumentBuilderEvents(allEvents);
assertEquals(allEvents, events.getEvents());
}
use of org.eclipse.mylyn.wikitext.parser.builder.event.BeginDocumentEvent in project mylyn.docs by eclipse.
the class MultiplexingDocumentBuilderTest method beginDocument.
@Test
public void beginDocument() {
multiplexer.beginDocument();
assertEvents(new BeginDocumentEvent());
}
use of org.eclipse.mylyn.wikitext.parser.builder.event.BeginDocumentEvent in project mylyn.docs by eclipse.
the class EventDocumentBuilderTest method beginDocument.
@Test
public void beginDocument() {
builder.beginDocument();
assertEvents(new BeginDocumentEvent());
}
Aggregations