mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-21 19:41:36 +01:00
replace guava eventbus with legman
This commit is contained in:
@@ -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 {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user