Repository: zest-java Updated Branches: refs/heads/develop 20771538f -> 09f591abb
Minor fix to ClassScannerTest It used to declare too many default UoW services Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/09f591ab Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/09f591ab Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/09f591ab Branch: refs/heads/develop Commit: 09f591abb5988558ecbe1a9857cfdbe00f52a6c7 Parents: 2077153 Author: Paul Merlin <[email protected]> Authored: Sun Sep 4 16:17:41 2016 -0700 Committer: Paul Merlin <[email protected]> Committed: Sun Sep 4 16:17:41 2016 -0700 ---------------------------------------------------------------------- .../test/java/org/apache/zest/bootstrap/ClassScannerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zest-java/blob/09f591ab/core/bootstrap/src/test/java/org/apache/zest/bootstrap/ClassScannerTest.java ---------------------------------------------------------------------- diff --git a/core/bootstrap/src/test/java/org/apache/zest/bootstrap/ClassScannerTest.java b/core/bootstrap/src/test/java/org/apache/zest/bootstrap/ClassScannerTest.java index 131dead..0a9932b 100644 --- a/core/bootstrap/src/test/java/org/apache/zest/bootstrap/ClassScannerTest.java +++ b/core/bootstrap/src/test/java/org/apache/zest/bootstrap/ClassScannerTest.java @@ -45,12 +45,12 @@ public class ClassScannerTest public void assemble( ModuleAssembly module ) throws AssemblyException { - // Find all classes starting from TestValue, but include only the ones that are named *Value + new DefaultUnitOfWorkAssembler().assemble( module ); + // Find all classes starting from TestValue, but include only the ones that are named *Value for( Class aClass : filter( matches( ".*Value" ), findClasses( TestValue.class ) ) ) { module.values( aClass ); - new DefaultUnitOfWorkAssembler().assemble( module ); } } };
