replace guava eventbus with legman

This commit is contained in:
Sebastian Sdorra
2014-01-03 12:56:18 +01:00
parent 5e6259f3b7
commit 0c7d6fa62f
17 changed files with 114 additions and 454 deletions

View File

@@ -37,11 +37,14 @@ package sonia.scm.event;
import org.junit.Test;
import static org.junit.Assert.*;
import org.junit.Ignore;
/**
* TODO
*
* @author Sebastian Sdorra
*/
@Ignore
public class ScmEventBusTest
{
@@ -71,7 +74,6 @@ public class ScmEventBusTest
* @version Enter version here..., 13/02/17
* @author Enter your name here...
*/
@Subscriber(async = true)
private static class TestAsyncSubscriber {}
@@ -106,9 +108,8 @@ public class ScmEventBusTest
* @param async
*/
@Override
public void register(Object subscriber, boolean async)
public void register(Object subscriber)
{
this.async = async;
}
/**
@@ -138,6 +139,5 @@ public class ScmEventBusTest
* @version Enter version here..., 13/02/17
* @author Enter your name here...
*/
@Subscriber(async = false)
private static class TestSynchronousSubscriber {}
}