@Override public String toString() { return String.format( "[%s@%d::criticality=%s, targetPosition=%s, contentCount=%s, " + "viewResult=%s, contextID=%s]", getClass().getName(), hashCode(), getCriticality(), targetPosition, contentCount, viewResult, LdapUtils.base64Encode(contextID)); }
@Override public String toString() { return String.format( "[%s@%d::criticality=%s, targetPosition=%s, contentCount=%s, viewResult=%s, contextID=%s]", getClass().getName(), hashCode(), getCriticality(), targetPosition, contentCount, viewResult, LdapUtils.base64Encode(contextID)); }
@Override public String toString() { return String.format( "[%s@%d::criticality=%s, targetPosition=%s, contentCount=%s, viewResult=%s, contextID=%s]", getClass().getName(), hashCode(), getCriticality(), targetPosition, contentCount, viewResult, LdapUtils.base64Encode(contextID)); }
@Override public int hashCode() { return LdapUtils.computeHashCode( HASH_CODE_SEED, getOID(), getCriticality(), targetPosition, contentCount, viewResult, contextID); }
@Override public int hashCode() { return LdapUtils.computeHashCode( HASH_CODE_SEED, getOID(), getCriticality(), targetPosition, contentCount, viewResult, contextID); }
@Override public int hashCode() { return LdapUtils.computeHashCode( HASH_CODE_SEED, getOID(), getCriticality(), targetPosition, contentCount, viewResult, contextID); }
/** * @param berValue to decode. * @param expected virtual list view response control to test. * * @throws Exception On test failure. */ @Test(groups = {"control"}, dataProvider = "response") public void decode(final byte[] berValue, final VirtualListViewResponseControl expected) throws Exception { final VirtualListViewResponseControl actual = new VirtualListViewResponseControl(expected.getCriticality()); actual.decode(berValue); Assert.assertEquals(actual, expected); } }