You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polygene.apache.org by pa...@apache.org on 2015/07/18 15:22:21 UTC

zest-qi4j git commit: ZEST-25 UoWFile tests use FileConfig: prevent spurious dirs creation

Repository: zest-qi4j
Updated Branches:
  refs/heads/develop 9e80766b4 -> 2c6c2726f


ZEST-25 UoWFile tests use FileConfig: prevent spurious dirs creation

The tests created an empty directory tree under the library’s folder and
this empty directory tree was included in the source distribution. This
commit fix this.


Project: http://git-wip-us.apache.org/repos/asf/zest-qi4j/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-qi4j/commit/2c6c2726
Tree: http://git-wip-us.apache.org/repos/asf/zest-qi4j/tree/2c6c2726
Diff: http://git-wip-us.apache.org/repos/asf/zest-qi4j/diff/2c6c2726

Branch: refs/heads/develop
Commit: 2c6c2726f57fce4ef4cef451d710ac8cca2b1d51
Parents: 9e80766
Author: Paul Merlin <pa...@apache.org>
Authored: Sat Jul 18 15:21:38 2015 +0200
Committer: Paul Merlin <pa...@apache.org>
Committed: Sat Jul 18 15:21:38 2015 +0200

----------------------------------------------------------------------
 .../src/test/java/org/qi4j/library/uowfile/HasUoWFileTest.java     | 2 ++
 .../src/test/java/org/qi4j/library/uowfile/HasUoWFilesTest.java    | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/2c6c2726/libraries/uowfile/src/test/java/org/qi4j/library/uowfile/HasUoWFileTest.java
----------------------------------------------------------------------
diff --git a/libraries/uowfile/src/test/java/org/qi4j/library/uowfile/HasUoWFileTest.java b/libraries/uowfile/src/test/java/org/qi4j/library/uowfile/HasUoWFileTest.java
index c7de8d2..a9e0864 100644
--- a/libraries/uowfile/src/test/java/org/qi4j/library/uowfile/HasUoWFileTest.java
+++ b/libraries/uowfile/src/test/java/org/qi4j/library/uowfile/HasUoWFileTest.java
@@ -41,6 +41,7 @@ import org.qi4j.bootstrap.AssemblyException;
 import org.qi4j.bootstrap.ModuleAssembly;
 import org.qi4j.io.Inputs;
 import org.qi4j.io.Outputs;
+import org.qi4j.library.fileconfig.FileConfigurationAssembler;
 import org.qi4j.library.uowfile.bootstrap.UoWFileAssembler;
 import org.qi4j.library.uowfile.internal.ConcurrentUoWFileModificationException;
 import org.qi4j.library.uowfile.singular.HasUoWFileLifecycle;
@@ -168,6 +169,7 @@ public class HasUoWFileTest
         // END SNIPPET: assembly
         module.services( TestService.class );
         new EntityTestAssembler().assemble( module );
+        new FileConfigurationAssembler().assemble( module );
         // START SNIPPET: assembly
     }
     // END SNIPPET: assembly

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/2c6c2726/libraries/uowfile/src/test/java/org/qi4j/library/uowfile/HasUoWFilesTest.java
----------------------------------------------------------------------
diff --git a/libraries/uowfile/src/test/java/org/qi4j/library/uowfile/HasUoWFilesTest.java b/libraries/uowfile/src/test/java/org/qi4j/library/uowfile/HasUoWFilesTest.java
index 8ecd1ab..c330676 100644
--- a/libraries/uowfile/src/test/java/org/qi4j/library/uowfile/HasUoWFilesTest.java
+++ b/libraries/uowfile/src/test/java/org/qi4j/library/uowfile/HasUoWFilesTest.java
@@ -41,6 +41,7 @@ import org.qi4j.bootstrap.AssemblyException;
 import org.qi4j.bootstrap.ModuleAssembly;
 import org.qi4j.io.Inputs;
 import org.qi4j.io.Outputs;
+import org.qi4j.library.fileconfig.FileConfigurationAssembler;
 import org.qi4j.library.uowfile.bootstrap.UoWFileAssembler;
 import org.qi4j.library.uowfile.internal.ConcurrentUoWFileModificationException;
 import org.qi4j.library.uowfile.plural.HasUoWFilesLifecycle;
@@ -183,6 +184,7 @@ public class HasUoWFilesTest
         // END SNIPPET: assembly
         module.services( TestService.class );
         new EntityTestAssembler().assemble( module );
+        new FileConfigurationAssembler().assemble( module );
         // START SNIPPET: assembly
     }
     // END SNIPPET: assembly