Added in API level 1
Deprecated in API level 16

AssertionFailedError


public class AssertionFailedError
extends Error

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Error
       ↳ android.test.AssertionFailedError


This class was deprecated in API level 16.
use junit.framework.AssertionFailedError

Thrown when an assertion failed.

Summary

Public constructors

AssertionFailedError()

It is more typical to call AssertionFailedError(java.lang.String).

AssertionFailedError(String errorMessage)

Inherited methods

Public constructors

AssertionFailedError

Added in API level 1
public AssertionFailedError ()

It is more typical to call AssertionFailedError(java.lang.String).

AssertionFailedError

Added in API level 1
public AssertionFailedError (String errorMessage)

Parameters
errorMessage String