Skip to content

Commit

Permalink
Activate can_write_multi_instance_objlnk_resource test for all format.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Nov 10, 2022
1 parent fbdaa96 commit 3bb6ac4
Showing 1 changed file with 2 additions and 8 deletions.
Expand Up @@ -67,7 +67,7 @@ public static Collection<?> contentFormats() {
{ ContentFormat.SENML_CBOR } });
}

private ContentFormat contentFormat;
private final ContentFormat contentFormat;

public WriteMultiValueTest(ContentFormat contentFormat) {
this.contentFormat = contentFormat;
Expand Down Expand Up @@ -177,13 +177,7 @@ public void can_write_updating_object_instance() throws InterruptedException {
}

@Test
public void can_write_multi_instance_objlnk_resource_in_tlv() throws InterruptedException {
// object link not yet implemented for some content format.
switch (contentFormat.getCode()) {
case ContentFormat.JSON_CODE:
case ContentFormat.OLD_JSON_CODE:
return;
}
public void can_write_multi_instance_objlnk_resource() throws InterruptedException {

Map<Integer, ObjectLink> neighbourCellReport = new HashMap<>();
neighbourCellReport.put(0, new ObjectLink(10245, 1));
Expand Down

0 comments on commit 3bb6ac4

Please sign in to comment.