You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by ra...@apache.org on 2017/06/08 12:38:18 UTC
olingo-odata4 git commit: [OLINGO-1132]Fixing tests
Repository: olingo-odata4
Updated Branches:
refs/heads/master ce076387c -> d1ef643c9
[OLINGO-1132]Fixing tests
Project: http://git-wip-us.apache.org/repos/asf/olingo-odata4/repo
Commit: http://git-wip-us.apache.org/repos/asf/olingo-odata4/commit/d1ef643c
Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata4/tree/d1ef643c
Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata4/diff/d1ef643c
Branch: refs/heads/master
Commit: d1ef643c97afebb591183cd4731e77af708fac04
Parents: ce07638
Author: ramya vasanth <ra...@sap.com>
Authored: Thu Jun 8 18:07:52 2017 +0530
Committer: ramya vasanth <ra...@sap.com>
Committed: Thu Jun 8 18:07:52 2017 +0530
----------------------------------------------------------------------
.../java/org/apache/olingo/fit/tecsvc/client/BasicITCase.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d1ef643c/fit/src/test/java/org/apache/olingo/fit/tecsvc/client/BasicITCase.java
----------------------------------------------------------------------
diff --git a/fit/src/test/java/org/apache/olingo/fit/tecsvc/client/BasicITCase.java b/fit/src/test/java/org/apache/olingo/fit/tecsvc/client/BasicITCase.java
index c07a6cf..cbccb00 100644
--- a/fit/src/test/java/org/apache/olingo/fit/tecsvc/client/BasicITCase.java
+++ b/fit/src/test/java/org/apache/olingo/fit/tecsvc/client/BasicITCase.java
@@ -1493,8 +1493,10 @@ public class BasicITCase extends AbstractParamTecSvcITCase {
assertNotNull(entity.getProperty(PROPERTY_COMP).getComplexValue());
assertEquals("olingo.odata.test1.CTAllPrim", entity.getProperty(PROPERTY_COMP).getComplexValue().getTypeName());
assertEquals(PROPERTY_COMP, entity.getProperty(PROPERTY_COMP).getName());
- assertNull(entity.getProperty(PROPERTY_COMP).getComplexValue().get("PropertyString").getPrimitiveValue());
- assertNull(entity.getProperty(PROPERTY_COMP).getComplexValue().get("PropertyBoolean").getPrimitiveValue());
+ assertNull(entity.getProperty(PROPERTY_COMP).getComplexValue().get("PropertyString").
+ getPrimitiveValue().toValue());
+ assertNull(entity.getProperty(PROPERTY_COMP).getComplexValue().get("PropertyBoolean").
+ getPrimitiveValue().toValue());
}
@Test