| org.ow2.easybeans.tests.common.asserts.Assert
Assert | public class Assert extends org.testng.Assert (Code) | | It's creates new assert functions.
author: Eduardo Studzinski Estima de Castro author: Gisele Pinheiro Souza |
Method Summary | |
public static void | assertEquals(List expected, List result, String message) Asserts that two lists has the same elements. | public static void | assertEquals(Object result, Object[] expected, String message) Asserts that an object is equal at least with a value in the args. |
assertEquals | public static void assertEquals(List expected, List result, String message)(Code) | | Asserts that two lists has the same elements.
Parameters: expected - first list to compare Parameters: result - second list to compare Parameters: message - if assert fails, exception message |
assertEquals | public static void assertEquals(Object result, Object[] expected, String message)(Code) | | Asserts that an object is equal at least with a value in the args.
Parameters: result - the value that will be compared. Parameters: message - the error message. Parameters: expected - the list of correct values for the parameter result. |
|
|