[OLINGO-1132]Fixing tests

This commit is contained in:
ramya vasanth 2017-06-08 18:07:52 +05:30
parent ce076387c3
commit d1ef643c97
1 changed files with 4 additions and 2 deletions

View File

@ -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