Migrate tests to JUnit 5 (#8519)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -12,10 +12,10 @@
|
||||
*/
|
||||
package org.openhab.transform.regex.internal;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.openhab.core.transform.TransformationException;
|
||||
|
||||
/**
|
||||
@@ -25,7 +25,7 @@ public class RegExTransformationServiceTest extends AbstractTransformationServic
|
||||
|
||||
private RegExTransformationService processor;
|
||||
|
||||
@Before
|
||||
@BeforeEach
|
||||
public void init() {
|
||||
processor = new RegExTransformationService();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user