Methods Summary |
---|
public void | addBuildEvent(java.lang.String message, int priority)
final BuildEvent be = new BuildEvent(project);
be.setMessage(message, priority);
buffer.addElement(be);
|
public void | assertEmpty()
assertTrue("MockBuildListener is not empty", buffer.isEmpty());
|
public void | buildFinished(BuildEvent event)
|
public void | buildStarted(BuildEvent event)
|
public void | messageLogged(BuildEvent actual)
if(actual.getPriority()==Project.MSG_DEBUG)
return;
assertTrue("unexpected messageLogged: "+actual.getMessage(), !buffer.isEmpty());
assertEquals("unexpected project ", project, actual.getProject());
BuildEvent expected = (BuildEvent) buffer.elementAt(0);
buffer.removeElementAt(0);
assertEquals("unexpected messageLogged ", expected.getMessage(), actual.getMessage());
assertEquals("unexpected priority ", expected.getPriority(), actual.getPriority());
|
public void | targetFinished(BuildEvent event)
|
public void | targetStarted(BuildEvent event)
|
public void | taskFinished(BuildEvent event)
|
public void | taskStarted(BuildEvent event)
|