From 71e70635d76d6eefff635c4ed4776e8afa0b8c73 Mon Sep 17 00:00:00 2001 From: zhaoguangwei Date: Mon, 25 Mar 2019 11:54:31 +0800 Subject: [PATCH] add the junit4.12; --- pom.xml | 7 +++++++ test/bftsmart/demo/bftmap/ConsoleTest.java | 13 +++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 89032da3..aba60832 100644 --- a/pom.xml +++ b/pom.xml @@ -42,6 +42,13 @@ 1.5.8 test + + + junit + junit + 4.12 + test + diff --git a/test/bftsmart/demo/bftmap/ConsoleTest.java b/test/bftsmart/demo/bftmap/ConsoleTest.java index 838e38f4..66399836 100644 --- a/test/bftsmart/demo/bftmap/ConsoleTest.java +++ b/test/bftsmart/demo/bftmap/ConsoleTest.java @@ -15,18 +15,15 @@ limitations under the License. */ package bftsmart.demo.bftmap; -import static org.junit.Assert.*; - -import java.io.IOException; -import java.util.HashMap; - - +import bftsmart.ConsoleLogger; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; -import bftsmart.ConsoleLogger; -import bftsmart.demo.bftmap.BFTMap; +import java.io.IOException; +import java.util.HashMap; + +import static org.junit.Assert.*; /** * -- GitLab