From 2faaf7e16a03e69c4ff5f9c53805a387211a0872 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Sat, 10 Jan 2015 07:15:03 +0100 Subject: Replace fest-assert by assertJ --- .../sonar-search/src/test/java/org/sonar/search/SearchServerTest.java | 4 ++-- .../src/test/java/org/sonar/search/SearchSettingsTest.java | 4 ++-- .../src/test/java/org/sonar/search/script/UpdateListScriptTest.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'server/sonar-search') diff --git a/server/sonar-search/src/test/java/org/sonar/search/SearchServerTest.java b/server/sonar-search/src/test/java/org/sonar/search/SearchServerTest.java index 8a9823eccc6..3b012798916 100644 --- a/server/sonar-search/src/test/java/org/sonar/search/SearchServerTest.java +++ b/server/sonar-search/src/test/java/org/sonar/search/SearchServerTest.java @@ -39,8 +39,8 @@ import org.sonar.process.Props; import java.util.Properties; -import static org.fest.assertions.Assertions.assertThat; -import static org.fest.assertions.Fail.fail; +import static org.assertj.core.api.Assertions.assertThat; +import static org.junit.Assert.fail; public class SearchServerTest { diff --git a/server/sonar-search/src/test/java/org/sonar/search/SearchSettingsTest.java b/server/sonar-search/src/test/java/org/sonar/search/SearchSettingsTest.java index ee24ef492a0..78828e1804f 100644 --- a/server/sonar-search/src/test/java/org/sonar/search/SearchSettingsTest.java +++ b/server/sonar-search/src/test/java/org/sonar/search/SearchSettingsTest.java @@ -31,8 +31,8 @@ import java.io.File; import java.io.IOException; import java.util.Properties; -import static org.fest.assertions.Assertions.assertThat; -import static org.fest.assertions.Fail.fail; +import static org.assertj.core.api.Assertions.assertThat; +import static org.junit.Assert.fail; public class SearchSettingsTest { diff --git a/server/sonar-search/src/test/java/org/sonar/search/script/UpdateListScriptTest.java b/server/sonar-search/src/test/java/org/sonar/search/script/UpdateListScriptTest.java index a645cb99647..d0b6a19da8b 100644 --- a/server/sonar-search/src/test/java/org/sonar/search/script/UpdateListScriptTest.java +++ b/server/sonar-search/src/test/java/org/sonar/search/script/UpdateListScriptTest.java @@ -29,8 +29,8 @@ import java.util.Collection; import java.util.HashMap; import java.util.Map; -import static org.fest.assertions.Assertions.assertThat; -import static org.fest.assertions.Fail.fail; +import static org.assertj.core.api.Assertions.assertThat; +import static org.junit.Assert.fail; public class UpdateListScriptTest { -- cgit v1.2.3