From d2d48d2518be19a15d214c6c2fb72fa0cec9ac52 Mon Sep 17 00:00:00 2001 From: Bjørn Christian Seime Date: Fri, 29 Jul 2022 14:41:04 +0200 Subject: Convert config-lib to junit5 --- config-lib/src/test/java/com/yahoo/config/LongNodeTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'config-lib/src/test/java/com/yahoo/config/LongNodeTest.java') diff --git a/config-lib/src/test/java/com/yahoo/config/LongNodeTest.java b/config-lib/src/test/java/com/yahoo/config/LongNodeTest.java index fc603ba65ac..dc6d59bbc46 100644 --- a/config-lib/src/test/java/com/yahoo/config/LongNodeTest.java +++ b/config-lib/src/test/java/com/yahoo/config/LongNodeTest.java @@ -1,11 +1,11 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.config; -import org.junit.Test; +import org.junit.jupiter.api.Test; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertTrue; /** * @author Ulf Lilleengen @@ -13,7 +13,7 @@ import static org.junit.Assert.assertTrue; */ public class LongNodeTest { @Test - public void testSetValue() { + void testSetValue() { LongNode n = new LongNode(); assertFalse(n.setValue("invalid")); assertTrue(n.setValue("10")); -- cgit v1.2.3