Repository: zest-java Updated Branches: refs/heads/develop ffb8ad294 -> 845e92d78
Removing @Ignore from test, as done in commit b87b63a68c6264a00b3395ee048fe06891f3005f Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/845e92d7 Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/845e92d7 Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/845e92d7 Branch: refs/heads/develop Commit: 845e92d783aaf06689fd41b9faa6ba17ec562ecb Parents: ffb8ad2 Author: Niclas Hedhman <[email protected]> Authored: Thu Apr 14 14:16:05 2016 +0800 Committer: Niclas Hedhman <[email protected]> Committed: Thu Apr 14 14:16:05 2016 +0800 ---------------------------------------------------------------------- .../zest/runtime/injection/ConstructorInjectionOfThisTest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zest-java/blob/845e92d7/core/runtime/src/test/java/org/apache/zest/runtime/injection/ConstructorInjectionOfThisTest.java ---------------------------------------------------------------------- diff --git a/core/runtime/src/test/java/org/apache/zest/runtime/injection/ConstructorInjectionOfThisTest.java b/core/runtime/src/test/java/org/apache/zest/runtime/injection/ConstructorInjectionOfThisTest.java index be703e6..ee7655c 100644 --- a/core/runtime/src/test/java/org/apache/zest/runtime/injection/ConstructorInjectionOfThisTest.java +++ b/core/runtime/src/test/java/org/apache/zest/runtime/injection/ConstructorInjectionOfThisTest.java @@ -58,7 +58,7 @@ public class ConstructorInjectionOfThisTest does.doSomething(); } - @Test @Ignore + @Test public void givenConcernWithThisInConstructorWhenCreatingModelExpectNoException() throws ActivationException, AssemblyException { @@ -69,6 +69,7 @@ public class ConstructorInjectionOfThisTest public void assemble( ModuleAssembly module ) throws AssemblyException { + module.withDefaultUnitOfWorkFactory(); module.values( Does.class ).withMixins( NoopMixin.class ).withConcerns( DoesConcern.class ); } }; @@ -77,7 +78,7 @@ public class ConstructorInjectionOfThisTest does.doSomething(); } - @Test @Ignore + @Test public void givenSideEffectWithThisInConstructorWhenCreatingModelExpectNoException() throws ActivationException, AssemblyException { @@ -88,6 +89,7 @@ public class ConstructorInjectionOfThisTest public void assemble( ModuleAssembly module ) throws AssemblyException { + module.withDefaultUnitOfWorkFactory(); module.values( Does.class ).withMixins( NoopMixin.class ).withSideEffects( DoesSideEffect.class ); } };
