{ "type": "class", | |
"qname": "org.apache.royale.test.Assert", | |
"baseClassname": "" | |
, | |
"description": "A set of assertion methods. Messages only displayed when an assert fails.", | |
"members": [ | |
{ "type": "method", | |
"qname": "assertStrictlyEquals", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Asserts that the provided values are strictly equal (equivalent to the <code>===</code> operator).", | |
"return": "void", | |
"params": [{ "name": "actual", "type": "*"}, | |
{ "name": "expected", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "assertNotStrictlyEquals", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Asserts that the provided values are not strictly equal (equivalent to the <code>!==</code> operator).", | |
"return": "void", | |
"params": [{ "name": "actual", "type": "*"}, | |
{ "name": "expected", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "assertEquals", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Asserts that the provided values are loosely equal (equivalent to the <code>==</code> operator).", | |
"return": "void", | |
"params": [{ "name": "actual", "type": "*"}, | |
{ "name": "expected", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "assertNotEquals", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Asserts that the provided values are not loosely equal (equivalent to the <code>!=</code> operator).", | |
"return": "void", | |
"params": [{ "name": "actual", "type": "*"}, | |
{ "name": "expected", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "assertTrue", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Asserts that the provided value is true (equivalent to testing the value in an <code>if(value)</code> statement).", | |
"return": "void", | |
"params": [{ "name": "value", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "assertFalse", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Asserts that the provided value is true (equivalent to testing the value in an <code>if(!value)</code> statement).", | |
"return": "void", | |
"params": [{ "name": "value", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "assertNull", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Asserts that the provided value is null.", | |
"return": "void", | |
"params": [{ "name": "actual", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "assertNotNull", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Asserts that the provided value is not null.", | |
"return": "void", | |
"params": [{ "name": "actual", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "fail", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Fails.", | |
"return": "void", | |
"params": [{ "name": "message", "type": "String"}, | |
{ "name": "sourceError", "type": "Error"}]} | |
, | |
{ "type": "method", | |
"qname": "failTrue", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Fails if the condition is true.", | |
"return": "void", | |
"params": [{ "name": "condition", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "failFalse", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Fails if the condition is false.", | |
"return": "void", | |
"params": [{ "name": "condition", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "failEquals", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Fails if the values are loosely equal.", | |
"return": "void", | |
"params": [{ "name": "actual", "type": "*"}, | |
{ "name": "expected", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "failNotEquals", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Fails if the values are not loosely equal.", | |
"return": "void", | |
"params": [{ "name": "actual", "type": "*"}, | |
{ "name": "expected", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "failStrictlyEquals", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Fails if the values are strictly equal.", | |
"return": "void", | |
"params": [{ "name": "actual", "type": "*"}, | |
{ "name": "expected", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "failNotStrictlyEquals", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Fails if the values are not strictly equal.", | |
"return": "void", | |
"params": [{ "name": "actual", "type": "*"}, | |
{ "name": "expected", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "failNull", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Fails if the value is null.", | |
"return": "void", | |
"params": [{ "name": "object", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "failNotNull", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Fails if the value is not null.", | |
"return": "void", | |
"params": [{ "name": "object", "type": "*"}, | |
{ "name": "message", "type": "String"}]} | |
] | |
} |