use of org.eclipse.mylyn.wikitext.parser.builder.event.ImageEvent in project mylyn.docs by eclipse.
the class ImageEventTest method equals.
@Test
public void equals() {
assertEquality(new ImageEvent(new Attributes(), "http://example.com/img.png"), new ImageEvent(new Attributes(), "http://example.com/img.png"));
assertInequality(new ImageEvent(new Attributes(), "http://example.com/img.png"), new ImageEvent(new Attributes(), "http://example.com/img2.png"));
}
use of org.eclipse.mylyn.wikitext.parser.builder.event.ImageEvent in project mylyn.docs by eclipse.
the class EventDocumentBuilderTest method image.
@Test
public void image() {
builder.image(new ImageAttributes(), "http://example.com/foo.png");
assertEvents(new ImageEvent(new ImageAttributes(), "http://example.com/foo.png"));
}
use of org.eclipse.mylyn.wikitext.parser.builder.event.ImageEvent in project mylyn.docs by eclipse.
the class MultiplexingDocumentBuilderTest method image.
@Test
public void image() {
multiplexer.image(new ImageAttributes(), "http://example.com/foo.png");
assertEvents(new ImageEvent(new ImageAttributes(), "http://example.com/foo.png"));
}
Aggregations