Skip to content
Snippets Groups Projects
Commit 6c1f0336 authored by Manuel Leduc's avatar Manuel Leduc
Browse files

[Misc] Cleanup of AsynchronousEventStoreTest

(cherry picked from commit a49fd13f)
parent e87aee10
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@
* @version $Id$
*/
@ComponentTest
public class AsynchronousEventStoreTest
class AsynchronousEventStoreTest
{
public static class TestAbstractAsynchronousEventStore extends AbstractAsynchronousEventStore
{
......@@ -118,7 +118,6 @@ public EventSearchResult search(EventQuery query, Set<String> fields) throws Eve
@Override
public List<EventStatus> getEventStatuses(Collection<Event> events, Collection<String> entityIds)
throws Exception
{
return List.of();
}
......@@ -130,7 +129,7 @@ public void initialize() throws InitializationException
}
@Override
protected EventStatus syncSaveEventStatus(EventStatus status) throws EventStreamException
protected EventStatus syncSaveEventStatus(EventStatus status)
{
this.lock.lock();
......@@ -144,7 +143,7 @@ protected EventStatus syncSaveEventStatus(EventStatus status) throws EventStream
}
@Override
protected EntityEvent syncSaveMailEntityEvent(EntityEvent event) throws EventStreamException
protected EntityEvent syncSaveMailEntityEvent(EntityEvent event)
{
this.lock.lock();
......@@ -158,7 +157,7 @@ protected EntityEvent syncSaveMailEntityEvent(EntityEvent event) throws EventStr
}
@Override
protected Event syncSaveEvent(Event event) throws EventStreamException
protected Event syncSaveEvent(Event event)
{
this.lock.lock();
......@@ -172,7 +171,7 @@ protected Event syncSaveEvent(Event event) throws EventStreamException
}
@Override
protected Event syncPrefilterEvent(Event event) throws EventStreamException
protected Event syncPrefilterEvent(Event event)
{
this.lock.lock();
......@@ -188,7 +187,7 @@ protected Event syncPrefilterEvent(Event event) throws EventStreamException
}
@Override
protected Optional<EventStatus> syncDeleteEventStatus(EventStatus status) throws EventStreamException
protected Optional<EventStatus> syncDeleteEventStatus(EventStatus status)
{
this.lock.lock();
......@@ -206,7 +205,7 @@ protected Optional<EventStatus> syncDeleteEventStatus(EventStatus status) throws
}
@Override
protected Void syncDeleteEventStatuses(String entityId, Date date) throws EventStreamException
protected Void syncDeleteEventStatuses(String entityId, Date date)
{
this.lock.lock();
......@@ -224,7 +223,7 @@ protected Void syncDeleteEventStatuses(String entityId, Date date) throws EventS
}
@Override
protected Optional<EntityEvent> syncDeleteMailEntityEvent(EntityEvent event) throws EventStreamException
protected Optional<EntityEvent> syncDeleteMailEntityEvent(EntityEvent event)
{
this.lock.lock();
......@@ -358,7 +357,7 @@ void event() throws InterruptedException, ExecutionException, EventStreamExcepti
}
@Test
void eventstatus() throws InterruptedException, ExecutionException, EventStreamException
void eventstatus() throws InterruptedException, ExecutionException
{
DefaultEvent event1 = event("id1");
DefaultEvent event2 = event("id2");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment