protected internal override bool matchesSafely(T actual, org.hamcrest.Description mismatchDescription) { U e = _mapping(_expected); U a = _mapping(actual); if (Objects.Equals(e, a)) { return(true); } mismatchDescription.appendText("- "); mismatchDescription.appendText("expected: ").appendValue(e); mismatchDescription.appendText(" but was: ").appendValue(a); return(false); }
public override void describeTo(Description description) { description.appendText("Raft group: ").appendValue(_raftGroup); }
public override void describeTo(Description description) { description.appendText("Record[").appendList(", fields=[", ",", "]", asList(_expectedFieldValues)); }
public override void describeTo(Description description) { description.appendText("Value = " + _input); }
public override void DescribeTo(Description description) { description.appendText((new TruncateLogCommand(TruncateIndex)).ToString()); }
public override void DescribeTo(Description description) { description.appendText(" expected message: '").appendText(_expectedMessage).appendText("', but was: '").appendText(_actualMessage).appendText("'"); }
public override void DescribeTo(Description descr) { descr.appendText(string.Format("expected {0}, got {1}", ToString(Expected), ToString(Actual))); }
public override void describeTo(org.hamcrest.Description description) { description.appendText("Thread blocked in state WAITING"); }
public override void DescribeTo(Description description) { description.appendText("Byte array should contain only zeroes"); }
protected internal override void DescribeMismatchSafely(Org.Neo4j.Kernel.Api.Exceptions.Status_HasStatus item, Description mismatchDescription) { mismatchDescription.appendText("was ").appendValue(item.Status()); }
public override void DescribeTo(Description description) { description.appendText("expects status ").appendValue(Status); }
public override void describeTo(Description description) { description.appendText("Log should not contain entry at index ").appendValue(_index); }
public override void describeTo(org.hamcrest.Description description) { description.appendText(_trait).appendText(" should be equal"); }
public override void DescribeTo(Description description) { description.appendText("matches regular expression ").appendValue(_pattern); }
public override void DescribeTo(Description description) { //JAVA TO C# CONVERTER WARNING: The .NET Type.FullName property will not always yield results identical to the Java Class.getName method: description.appendText(typeof(DirectRecordReference).FullName).appendText("( ").appendValue(Record).appendText(" )"); }
private void DescribeArray(long[] value, Description description) { description.appendText("long[]").appendText(Arrays.ToString(value)); }
public override void describeTo(org.hamcrest.Description description) { description.appendText("Eventually close all transactions"); }
public override void DescribeTo(Description description) { description.appendText("a string matching /"); description.appendText(_pattern.ToString()); description.appendText("/"); }