org.apache.hadoop.mrunit.testutil
Class ExtendedAssert

java.lang.Object
  extended by org.apache.hadoop.mrunit.testutil.ExtendedAssert

Deprecated. No replacement due to automatic comparisons using runTest()

@Deprecated
public final class ExtendedAssert
extends Object


Method Summary
static void assertGreater(int x, int y)
          Deprecated. No replacement since extension methods to JUnit assert methods dont fit well with MRUnit's goals
static void assertGreaterOrEqual(int x, int y)
          Deprecated. No replacement since extension methods to JUnit assert methods dont fit well with MRUnit's goals
static void assertLess(int x, int y)
          Deprecated. No replacement since extension methods to JUnit assert methods dont fit well with MRUnit's goals
static void assertLessOrEqual(int x, int y)
          Deprecated. No replacement since extension methods to JUnit assert methods dont fit well with MRUnit's goals
static void assertListEquals(List<?> expected, List<?> actual)
          Deprecated. No replacement due to automatic list comparison using runTest()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

assertListEquals

@Deprecated
public static void assertListEquals(List<?> expected,
                                               List<?> actual)
Deprecated. No replacement due to automatic list comparison using runTest()

Asserts that all the elements of the list are equivalent under equals()

Parameters:
expected - a list full of expected values
actual - a list full of actual test values

assertGreater

@Deprecated
public static void assertGreater(int x,
                                            int y)
Deprecated. No replacement since extension methods to JUnit assert methods dont fit well with MRUnit's goals

asserts x > y


assertGreaterOrEqual

@Deprecated
public static void assertGreaterOrEqual(int x,
                                                   int y)
Deprecated. No replacement since extension methods to JUnit assert methods dont fit well with MRUnit's goals

asserts x >= y)


assertLess

@Deprecated
public static void assertLess(int x,
                                         int y)
Deprecated. No replacement since extension methods to JUnit assert methods dont fit well with MRUnit's goals

asserts x < y


assertLessOrEqual

@Deprecated
public static void assertLessOrEqual(int x,
                                                int y)
Deprecated. No replacement since extension methods to JUnit assert methods dont fit well with MRUnit's goals

asserts x >= y)



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.