Packages

o

org.junit

Assert

object Assert

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Assert
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def assertArrayEquals(expecteds: Array[Float], actuals: Array[Float], delta: Float): Unit
    Annotations
    @noinline()
  2. def assertArrayEquals(message: String, expecteds: Array[Float], actuals: Array[Float], delta: Float): Unit
    Annotations
    @noinline()
  3. def assertArrayEquals(expecteds: Array[Double], actuals: Array[Double], delta: Double): Unit
    Annotations
    @noinline()
  4. def assertArrayEquals(message: String, expecteds: Array[Double], actuals: Array[Double], delta: Double): Unit
    Annotations
    @noinline()
  5. def assertArrayEquals(expecteds: Array[Long], actuals: Array[Long]): Unit
    Annotations
    @noinline()
  6. def assertArrayEquals(message: String, expecteds: Array[Long], actuals: Array[Long]): Unit
    Annotations
    @noinline()
  7. def assertArrayEquals(expecteds: Array[Int], actuals: Array[Int]): Unit
    Annotations
    @noinline()
  8. def assertArrayEquals(message: String, expecteds: Array[Int], actuals: Array[Int]): Unit
    Annotations
    @noinline()
  9. def assertArrayEquals(expecteds: Array[Short], actuals: Array[Short]): Unit
    Annotations
    @noinline()
  10. def assertArrayEquals(message: String, expecteds: Array[Short], actuals: Array[Short]): Unit
    Annotations
    @noinline()
  11. def assertArrayEquals(expecteds: Array[Char], actuals: Array[Char]): Unit
    Annotations
    @noinline()
  12. def assertArrayEquals(message: String, expecteds: Array[Char], actuals: Array[Char]): Unit
    Annotations
    @noinline()
  13. def assertArrayEquals(expecteds: Array[Byte], actuals: Array[Byte]): Unit
    Annotations
    @noinline()
  14. def assertArrayEquals(message: String, expecteds: Array[Byte], actuals: Array[Byte]): Unit
    Annotations
    @noinline()
  15. def assertArrayEquals(expecteds: Array[Boolean], actuals: Array[Boolean]): Unit
    Annotations
    @noinline()
  16. def assertArrayEquals(message: String, expecteds: Array[Boolean], actuals: Array[Boolean]): Unit
    Annotations
    @noinline()
  17. def assertArrayEquals(expecteds: Array[AnyRef], actuals: Array[AnyRef]): Unit
    Annotations
    @noinline()
  18. def assertArrayEquals(message: String, expecteds: Array[AnyRef], actuals: Array[AnyRef]): Unit
    Annotations
    @noinline()
  19. def assertEquals(expected: Float, actual: Float, delta: Float): Unit
    Annotations
    @noinline()
  20. def assertEquals(expected: Double, actual: Double, delta: Double): Unit
    Annotations
    @noinline()
  21. def assertEquals(message: String, expected: Float, actual: Float, delta: Float): Unit
    Annotations
    @noinline()
  22. def assertEquals(message: String, expected: Double, actual: Double, delta: Double): Unit
    Annotations
    @noinline()
  23. def assertEquals(message: String, expected: Long, actual: Long): Unit
    Annotations
    @noinline()
  24. def assertEquals(expected: Long, actual: Long): Unit
    Annotations
    @noinline()
  25. def assertEquals(message: String, expected: Int, actual: Int): Unit
    Annotations
    @noinline()
  26. def assertEquals(expected: Int, actual: Int): Unit
    Annotations
    @noinline()
  27. def assertEquals(expected: Any, actual: Any): Unit
    Annotations
    @noinline()
  28. def assertEquals(message: String, expected: Any, actual: Any): Unit
    Annotations
    @noinline()
  29. def assertFalse(condition: Boolean): Unit
    Annotations
    @noinline()
  30. def assertFalse(message: String, condition: Boolean): Unit
    Annotations
    @noinline()
  31. def assertNotEquals(message: String, unexpected: Float, actual: Float, delta: Float): Unit
    Annotations
    @noinline()
  32. def assertNotEquals(unexpected: Float, actual: Float, delta: Float): Unit
    Annotations
    @noinline()
  33. def assertNotEquals(unexpected: Double, actual: Double, delta: Double): Unit
    Annotations
    @noinline()
  34. def assertNotEquals(message: String, unexpected: Double, actual: Double, delta: Double): Unit
    Annotations
    @noinline()
  35. def assertNotEquals(unexpected: Long, actual: Long): Unit
    Annotations
    @noinline()
  36. def assertNotEquals(message: String, unexpected: Long, actual: Long): Unit
    Annotations
    @noinline()
  37. def assertNotEquals(unexpected: Int, actual: Int): Unit
    Annotations
    @noinline()
  38. def assertNotEquals(message: String, unexpected: Int, actual: Int): Unit
    Annotations
    @noinline()
  39. def assertNotEquals(unexpected: Any, actual: Any): Unit
    Annotations
    @noinline()
  40. def assertNotEquals(message: String, unexpected: Any, actual: Any): Unit
    Annotations
    @noinline()
  41. def assertNotNull(obj: Any): Unit
    Annotations
    @noinline()
  42. def assertNotNull(message: String, obj: Any): Unit
    Annotations
    @noinline()
  43. def assertNotSame(unexpected: Any, actual: Any): Unit
    Annotations
    @noinline()
  44. def assertNotSame(message: String, unexpected: Any, actual: Any): Unit
    Annotations
    @noinline()
  45. def assertNull(obj: Any): Unit
    Annotations
    @noinline()
  46. def assertNull(message: String, obj: Any): Unit
    Annotations
    @noinline()
  47. def assertSame(expected: Any, actual: Any): Unit
    Annotations
    @noinline()
  48. def assertSame(message: String, expected: Any, actual: Any): Unit
    Annotations
    @noinline()
  49. def assertThat[T](reason: String, actual: T, matcher: Matcher[T]): Unit
    Annotations
    @noinline()
  50. def assertThat[T](actual: T, matcher: Matcher[T]): Unit
    Annotations
    @noinline()
  51. def assertThrows[T <: Throwable](message: String, expectedThrowable: Class[T], runnable: ThrowingRunnable): T
    Annotations
    @noinline()
  52. def assertThrows[T <: Throwable](expectedThrowable: Class[T], runnable: ThrowingRunnable): T
    Annotations
    @noinline()
  53. def assertTrue(condition: Boolean): Unit
    Annotations
    @noinline()
  54. def assertTrue(message: String, condition: Boolean): Unit
    Annotations
    @noinline()
  55. def fail(): Unit
    Annotations
    @noinline()
  56. def fail(message: String): Unit
    Annotations
    @noinline()

Deprecated Value Members

  1. def assertEquals(message: String, expected: Double, actual: Double): Unit
    Annotations
    @deprecated @noinline()
    Deprecated

    (Since version ) Use assertEquals(String message, double expected, double actual, double epsilon) instead

  2. def assertEquals(expected: Double, actual: Double): Unit
    Annotations
    @deprecated @noinline()
    Deprecated

    (Since version ) Use assertEquals(double expected, double actual, double epsilon) instead