Repository: zest-java Updated Branches: refs/heads/ZEST-105 e5c57f95e -> 5c1a40090
Fixed tests that didn't include ValueSerialization service. Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/5c1a4009 Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/5c1a4009 Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/5c1a4009 Branch: refs/heads/ZEST-105 Commit: 5c1a4009018bf8cf4ec428eecc3ac15e756b3936 Parents: e5c57f9 Author: Niclas Hedhman <[email protected]> Authored: Wed Apr 13 23:45:45 2016 +0800 Committer: Niclas Hedhman <[email protected]> Committed: Wed Apr 13 23:45:45 2016 +0800 ---------------------------------------------------------------------- .../eventsourcing/domain/source/helper/EventRouterTest.java | 2 ++ .../library/eventsourcing/domain/source/helper/EventsTest.java | 2 ++ .../eventsourcing/domain/source/helper/UnitOfWorkRouterTest.java | 2 ++ 3 files changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zest-java/blob/5c1a4009/libraries/eventsourcing/src/test/java/org/apache/zest/library/eventsourcing/domain/source/helper/EventRouterTest.java ---------------------------------------------------------------------- diff --git a/libraries/eventsourcing/src/test/java/org/apache/zest/library/eventsourcing/domain/source/helper/EventRouterTest.java b/libraries/eventsourcing/src/test/java/org/apache/zest/library/eventsourcing/domain/source/helper/EventRouterTest.java index b8785ee..53b6087 100644 --- a/libraries/eventsourcing/src/test/java/org/apache/zest/library/eventsourcing/domain/source/helper/EventRouterTest.java +++ b/libraries/eventsourcing/src/test/java/org/apache/zest/library/eventsourcing/domain/source/helper/EventRouterTest.java @@ -19,6 +19,7 @@ import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.zest.bootstrap.unitofwork.DefaultUnitOfWorkAssembler; +import org.apache.zest.valueserialization.orgjson.OrgJsonValueSerializationService; import org.json.JSONException; import org.json.JSONObject; import org.junit.Before; @@ -49,6 +50,7 @@ public class EventRouterTest @Override public void assemble( ModuleAssembly module ) throws AssemblyException { + module.services( OrgJsonValueSerializationService.class ); module.values( UnitOfWorkDomainEventsValue.class, DomainEventValue.class ); new DefaultUnitOfWorkAssembler().assemble( module ); } http://git-wip-us.apache.org/repos/asf/zest-java/blob/5c1a4009/libraries/eventsourcing/src/test/java/org/apache/zest/library/eventsourcing/domain/source/helper/EventsTest.java ---------------------------------------------------------------------- diff --git a/libraries/eventsourcing/src/test/java/org/apache/zest/library/eventsourcing/domain/source/helper/EventsTest.java b/libraries/eventsourcing/src/test/java/org/apache/zest/library/eventsourcing/domain/source/helper/EventsTest.java index 0402c4f..2c2b9cb 100644 --- a/libraries/eventsourcing/src/test/java/org/apache/zest/library/eventsourcing/domain/source/helper/EventsTest.java +++ b/libraries/eventsourcing/src/test/java/org/apache/zest/library/eventsourcing/domain/source/helper/EventsTest.java @@ -19,6 +19,7 @@ package org.apache.zest.library.eventsourcing.domain.source.helper; import org.apache.zest.bootstrap.unitofwork.DefaultUnitOfWorkAssembler; +import org.apache.zest.valueserialization.orgjson.OrgJsonValueSerializationService; import org.junit.Before; import org.junit.Test; import org.apache.zest.api.activation.ActivationException; @@ -55,6 +56,7 @@ public class EventsTest @Override public void assemble( ModuleAssembly module ) throws AssemblyException { + module.services( OrgJsonValueSerializationService.class ); module.values( UnitOfWorkDomainEventsValue.class, DomainEventValue.class ); new DefaultUnitOfWorkAssembler().assemble( module ); } http://git-wip-us.apache.org/repos/asf/zest-java/blob/5c1a4009/libraries/eventsourcing/src/test/java/org/apache/zest/library/eventsourcing/domain/source/helper/UnitOfWorkRouterTest.java ---------------------------------------------------------------------- diff --git a/libraries/eventsourcing/src/test/java/org/apache/zest/library/eventsourcing/domain/source/helper/UnitOfWorkRouterTest.java b/libraries/eventsourcing/src/test/java/org/apache/zest/library/eventsourcing/domain/source/helper/UnitOfWorkRouterTest.java index 94b1d56..654393c 100644 --- a/libraries/eventsourcing/src/test/java/org/apache/zest/library/eventsourcing/domain/source/helper/UnitOfWorkRouterTest.java +++ b/libraries/eventsourcing/src/test/java/org/apache/zest/library/eventsourcing/domain/source/helper/UnitOfWorkRouterTest.java @@ -19,6 +19,7 @@ package org.apache.zest.library.eventsourcing.domain.source.helper; import org.apache.zest.bootstrap.unitofwork.DefaultUnitOfWorkAssembler; +import org.apache.zest.valueserialization.orgjson.OrgJsonValueSerializationService; import org.hamcrest.CoreMatchers; import org.junit.Assert; import org.junit.Before; @@ -53,6 +54,7 @@ public class UnitOfWorkRouterTest @Override public void assemble( ModuleAssembly module ) throws AssemblyException { + module.services( OrgJsonValueSerializationService.class ); module.values( UnitOfWorkDomainEventsValue.class, DomainEventValue.class ); new DefaultUnitOfWorkAssembler().assemble( module ); }
