polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From soelvs...@apache.org
Subject zest-java git commit: fixed failing testcase
Date Mon, 21 Dec 2015 07:09:32 GMT
Repository: zest-java
Updated Branches:
  refs/heads/ZEST-132 25eadfab3 -> 4da50b6ab


fixed failing testcase


Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/4da50b6a
Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/4da50b6a
Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/4da50b6a

Branch: refs/heads/ZEST-132
Commit: 4da50b6ab95d7ffdab71312bd2a9f4adc1aaffda
Parents: 25eadfa
Author: Kent Sølvsten <soelvsten@apache.org>
Authored: Mon Dec 21 08:09:17 2015 +0100
Committer: Kent Sølvsten <soelvsten@apache.org>
Committed: Mon Dec 21 08:09:17 2015 +0100

----------------------------------------------------------------------
 .../org/apache/zest/bootstrap/ApplicationAssemblerTest.java    | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-java/blob/4da50b6a/core/runtime/src/test/java/org/apache/zest/bootstrap/ApplicationAssemblerTest.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/test/java/org/apache/zest/bootstrap/ApplicationAssemblerTest.java
b/core/runtime/src/test/java/org/apache/zest/bootstrap/ApplicationAssemblerTest.java
old mode 100644
new mode 100755
index aafc3cc..475b2f5
--- a/core/runtime/src/test/java/org/apache/zest/bootstrap/ApplicationAssemblerTest.java
+++ b/core/runtime/src/test/java/org/apache/zest/bootstrap/ApplicationAssemblerTest.java
@@ -74,8 +74,10 @@ public class ApplicationAssemblerTest
                 if( visited instanceof ServiceDescriptor )
                 {
                     ServiceDescriptor serviceDescriptor = (ServiceDescriptor) visited;
-                    Assert.assertTrue( serviceDescriptor.isInstantiateOnStartup() );
-                    Assert.assertTrue( serviceDescriptor.visibility() == Visibility.layer
);
+                    if (serviceDescriptor.isAssignableTo( TestService.class )) {
+                        Assert.assertTrue( serviceDescriptor.isInstantiateOnStartup() );
+                        Assert.assertTrue( serviceDescriptor.visibility() == Visibility.layer
);
+                    }
                     return false;
                 }
                 else if( visited instanceof EntityDescriptor )


Mime
View raw message