static private AreEqual ( object expected, object actual, string message ) : void | ||
expected | object | |
actual | object | |
message | string | |
return | void |
/// <summary> /// For backwards compatibility; will be deprecated in the future. /// </summary> public static void AssertEquals(string message, string[][] expected, string[][] actual) { WebAssert.AreEqual(expected, actual, message); }
/// <summary> /// Returns the value of the name/value pair with the specified name. /// Throws an exception if there aren't any pairs with that name or /// if there's more than one. Use <see cref="AllValuesOf"/> to handle /// cases where there isn't exactly one name/value pair with the /// requested name. /// </summary> public string ValueOf(string name) { string[] result = AllValuesOf(name); WebAssert.AreEqual(1, result.Length, "number of '" + name + "' variables"); return(result[0]); }