LUCENE-3419: Removed deprecated Junit assert* methods

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1167468 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Christopher John Male 2011-09-10 06:09:35 +00:00
parent e3172b9239
commit 5d222059f5
2 changed files with 0 additions and 25 deletions

View File

@ -867,27 +867,6 @@ public abstract class LuceneTestCase extends Assert {
return usually(random);
}
// @deprecated (4.0) These deprecated methods should be removed soon, when all tests using no Epsilon are fixed:
@Deprecated
static public void assertEquals(double expected, double actual) {
assertEquals(null, expected, actual);
}
@Deprecated
static public void assertEquals(String message, double expected, double actual) {
assertEquals(message, Double.valueOf(expected), Double.valueOf(actual));
}
@Deprecated
static public void assertEquals(float expected, float actual) {
assertEquals(null, expected, actual);
}
@Deprecated
static public void assertEquals(String message, float expected, float actual) {
assertEquals(message, Float.valueOf(expected), Float.valueOf(actual));
}
public static void assumeTrue(String msg, boolean b) {
Assume.assumeNoException(b ? null : new _TestIgnoredException(msg));
}

View File

@ -43,10 +43,6 @@ public class TestMultiTermConstantScore extends BaseTestRangeFilter {
static Directory small;
static IndexReader reader;
static public void assertEquals(String m, float e, float a) {
Assert.assertEquals(m, e, a, SCORE_COMP_THRESH);
}
static public void assertEquals(String m, int e, int a) {
Assert.assertEquals(m, e, a);
}