Skip to content
Snippets Groups Projects
Commit c302a012 authored by pkupczyk's avatar pkupczyk
Browse files

SSDM-2783 : V3 AS API - package structure

SVN: 35237
parent 671d220b
No related branches found
No related tags found
No related merge requests found
{ {
"@type" : "dto.id.sample.SamplePermId", "@type" : "dto.sample.id.SamplePermId",
"permId" : "TEST_PERM_ID" "permId" : "TEST_PERM_ID"
} }
...@@ -46,7 +46,7 @@ public class GenericObjectMapperTest extends AbstractGenericObjectMapperTest ...@@ -46,7 +46,7 @@ public class GenericObjectMapperTest extends AbstractGenericObjectMapperTest
public void testObjectWithNameThatExistsOnlyInV3IsDeserializedAsV3() throws Exception public void testObjectWithNameThatExistsOnlyInV3IsDeserializedAsV3() throws Exception
{ {
SamplePermId permId = deserialize("objectWithNameThatExistsOnlyInV3.json"); SamplePermId permId = deserialize("objectWithNameThatExistsOnlyInV3.json");
Assert.assertEquals("ch.ethz.sis.openbis.generic.shared.api.v3.dto.id.sample.SamplePermId", permId.getClass().getName()); Assert.assertEquals("ch.ethz.sis.openbis.generic.as.api.v3.dto.sample.id.SamplePermId", permId.getClass().getName());
Assert.assertEquals("TEST_PERM_ID", permId.getPermId()); Assert.assertEquals("TEST_PERM_ID", permId.getPermId());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment