Migrate tests to JUnit 5 (#8519)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -13,10 +13,10 @@
|
||||
package org.openhab.binding.heos.internal.json;
|
||||
|
||||
import static java.lang.Long.valueOf;
|
||||
import static org.junit.Assert.*;
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.openhab.binding.heos.internal.json.dto.HeosCommunicationAttribute;
|
||||
import org.openhab.binding.heos.internal.json.dto.HeosEvent;
|
||||
import org.openhab.binding.heos.internal.json.dto.HeosEventObject;
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
*/
|
||||
package org.openhab.binding.heos.internal.json;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
import static org.openhab.binding.heos.internal.json.dto.HeosCommunicationAttribute.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.openhab.binding.heos.internal.json.dto.HeosCommand;
|
||||
import org.openhab.binding.heos.internal.json.dto.HeosCommandGroup;
|
||||
import org.openhab.binding.heos.internal.json.dto.HeosErrorCode;
|
||||
|
||||
@@ -12,13 +12,12 @@
|
||||
*/
|
||||
package org.openhab.binding.heos.internal.json.dto;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
import static org.openhab.binding.heos.internal.json.dto.HeosCommand.*;
|
||||
import static org.openhab.binding.heos.internal.json.dto.HeosCommandGroup.SYSTEM;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
/**
|
||||
* Tests to validate the functioning of the HeosCommandTuple
|
||||
|
||||
Reference in New Issue
Block a user