/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/admin/ |
H A D | AttributeTypePropertyDefinitionTest.java | 90 * @param value 94 public void testDecodeValue(String value) { argument 97 AttributeType expected = DirectoryServer.getAttributeType(value); 98 assertEquals(d.decodeValue(value), expected); 106 * @param value 110 public void testEncodeValue(String value) { argument 113 assertEquals(d.encodeValue(d.decodeValue(value)), value); 131 * @param value 135 public void testDecodeValue2(String value) { argument 150 testDecodeValue3(String value) argument [all...] |
H A D | BooleanPropertyDefinitionTest.java | 93 * @param value to decode 94 * @param expected value 97 public void testDecodeValue(String value, Boolean expected) { argument 99 assertEquals(d.decodeValue(value), expected); 114 * @param value to decode 118 public void testDecodeValue2(String value) { argument 120 d.decodeValue(value);
|
H A D | DNPropertyDefinitionTest.java | 147 * @param value 148 * The value to be validated. 153 public void testValidateLegalValues(String baseDN, String value) argument 159 pd.validateValue(DN.decode(value)); 169 * @param value 170 * The value to be validated. 175 public void testValidateIllegalValues(String baseDN, String value) argument 181 pd.validateValue(DN.decode(value)); 191 * @param value 192 * The value t 195 testDecodeLegalValues(String baseDN, String value) argument 214 testDecodeIllegalValues(String baseDN, String value) argument [all...] |
H A D | DurationUnitTest.java | 99 * @param value ordinal value 103 public void testToString(long value, String expected) { argument 104 assertEquals(DurationUnit.toString(value), expected); 109 * @param value for parsing 112 public void testParseValue(long expected, String value) { argument 113 assertEquals(DurationUnit.parseValue(value), expected);
|
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/ |
H A D | ValueInfoTest.java | 55 AttributeValue att2 = AttributeValues.create(type, "value"); 77 public void valueInfo(AttributeValue value, argument 83 AttrValueHistorical valInfo1 = new AttrValueHistorical(value,CNupdate,CNdelete); 84 AttrValueHistorical valInfo2 = new AttrValueHistorical(value,CNupdate,CNupdate); 110 assertTrue(valInfo1.getAttributeValue().equals(value)) ;
|
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/schema/ |
H A D | ConfigurableAttributeSyntaxTest.java | 84 // - a value that must be tested for correctness. 85 // - a boolean indicating if the value is correct. 109 public void testAcceptableValues(ConfigEntry config, String oid, String value, argument 128 // check the syntax of the given value. 130 ByteString.valueOf(value), new MessageBuilder());
|
H A D | EqualLengthApproximateMatchingRule.java | 128 * Retrieves the normalized form of the provided value, which is best suited 129 * for efficiently performing matching operations on that value. 131 * @param value The value to be normalized. 133 * @return The normalized version of the provided value. 135 * @throws DirectoryException If the provided value is invalid according to 139 public ByteString normalizeValue(ByteSequence value) argument 142 // Any value is acceptable, so we can just return a copy of the 143 // value. 144 return value [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/controls/ |
H A D | AccountUsableRequestControl.java | 47 * value. 62 ByteString value) 65 if (value != null) 112 * Writes this control's value to an ASN.1 writer. The value (if any) must be 119 // No value element. 61 decode(boolean isCritical, ByteString value) argument
|
H A D | PasswordExpiredControl.java | 45 * This class implements the Netscape password expired control. The value for 61 public PasswordExpiredControl decode(boolean isCritical, ByteString value) argument 64 if (value != null) 68 Integer.parseInt(value.toString()); 115 * Writes this control's value to an ASN.1 writer. The value (if any) must be
|
H A D | PasswordPolicyRequestControl.java | 46 * draft-behera-ldap-password-policy. It does not have a value. 61 ByteString value) 64 if (value != null) 116 * Writes this control's value to an ASN.1 writer. The value (if any) must be 124 // No value element. 60 decode(boolean isCritical, ByteString value) argument
|
H A D | SubtreeDeleteControl.java | 63 ByteString value) throws DirectoryException 65 if (value != null) 62 decode(boolean isCritical, ByteString value) argument
|
/forgerock/opendj2-jel-hg/src/server/org/opends/server/monitors/ |
H A D | SystemInfoMonitorProvider.java | 218 for (String value : supportedTlsProtocols) 220 builder.add(value); 228 for (String value : supportedTlsCiphers) 230 builder.add(value); 244 * @param value The value to use for the attribute. 248 private Attribute createAttribute(String name, String value) argument 254 builder.add(AttributeValues.create(attrType, value));
|
/forgerock/opendj2-jel-hg/src/server/org/opends/server/protocols/ldap/ |
H A D | LDAPControl.java | 45 // The control value. 46 private ByteString value; field in class:LDAPControl 52 * critical, and will not have a value. 65 * not have a value. 79 * Creates a new LDAP control with the specified OID, criticality, and value. 84 * @param value The value for this LDAP control. 86 public LDAPControl(String oid, boolean isCritical, ByteString value) argument 89 this.value = value; [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/common/ |
H A D | AssuredMode.java | 43 // The mode value 44 private byte value = -1; field in class:AssuredMode 46 private AssuredMode(byte value) argument 48 this.value = value; 53 * @param value The numeric value for the mode to return 55 * @throws java.lang.IllegalArgumentException If provided mode value is 58 public static AssuredMode valueOf(byte value) throws IllegalArgumentException argument 60 switch (value) [all...] |
H A D | ServerStatus.java | 89 // The status value 90 private byte value = -1; field in class:ServerStatus 92 private ServerStatus(byte value) argument 94 this.value = value; 99 * @param value The numeric value for the status to return 101 * @throws java.lang.IllegalArgumentException If provided status value is 104 public static ServerStatus valueOf(byte value) throws IllegalArgumentException argument 106 switch (value) [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/service/ |
H A D | ReplicationMonitor.java | 261 * Add an attribute with an integer value to the list of monitoring 266 * @param value The integer value of he attribute to add. 271 int value) 275 String.valueOf(value)))); 279 * Add an attribute with an integer value to the list of monitoring 284 * @param value The integer value of he attribute to add. 289 long value) 293 String.valueOf(value)))); 268 addMonitorData( ArrayList<Attribute> attributes, String name, int value) argument 286 addMonitorData( ArrayList<Attribute> attributes, String name, long value) argument 304 addMonitorData( ArrayList<Attribute> attributes, String name, String value) argument [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/schema/ |
H A D | AuthPasswordExactEqualityMatchingRule.java | 141 * Retrieves the normalized form of the provided value, which is best suited 142 * for efficiently performing matching operations on that value. 144 * @param value The value to be normalized. 146 * @return The normalized version of the provided value. 148 * @throws DirectoryException If the provided value is invalid according to 152 public ByteString normalizeValue(ByteSequence value) argument 158 AuthPasswordSyntax.decodeAuthPassword(value.toString()); 185 return ByteString.valueOf(value.toString()); 187 return ByteString.valueOf(value [all...] |
H A D | BitStringEqualityMatchingRule.java | 132 * Retrieves the normalized form of the provided value, which is best suited 133 * for efficiently performing matching operations on that value. 135 * @param value The value to be normalized. 137 * @return The normalized version of the provided value. 139 * @throws DirectoryException If the provided value is invalid according to 143 public ByteString normalizeValue(ByteSequence value) argument 146 String valueString = value.toString().toUpperCase(); 153 value.toString()); 174 value [all...] |
H A D | BooleanEqualityMatchingRule.java | 133 * Retrieves the normalized form of the provided value, which is best suited 134 * for efficiently performing matching operations on that value. 136 * @param value The value to be normalized. 138 * @return The normalized version of the provided value. 140 * @throws DirectoryException If the provided value is invalid according to 144 public ByteString normalizeValue(ByteSequence value) argument 147 String valueString = value.toString().toUpperCase(); 161 value.toString());
|
H A D | CaseExactEqualityMatchingRule.java | 126 * Retrieves the normalized form of the provided value, which is best suited 127 * for efficiently performing matching operations on that value. 129 * @param value The value to be normalized. 131 * @return The normalized version of the provided value. 133 * @throws DirectoryException If the provided value is invalid according to 137 public ByteString normalizeValue(ByteSequence value) argument 141 prepareUnicode(buffer, value, TRIM, NO_CASE_FOLD); 146 if (value.length() > 0) 148 // This should only happen if the value i [all...] |
H A D | CaseExactIA5EqualityMatchingRule.java | 135 * Retrieves the normalized form of the provided value, which is best suited 136 * for efficiently performing matching operations on that value. 138 * @param value The value to be normalized. 140 * @return The normalized version of the provided value. 142 * @throws DirectoryException If the provided value is invalid according to 146 public ByteString normalizeValue(ByteSequence value) argument 150 prepareUnicode(buffer, value, TRIM, NO_CASE_FOLD); 155 if (value.length() > 0) 157 // This should only happen if the value i [all...] |
H A D | CaseExactIA5SubstringMatchingRule.java | 136 * Retrieves the normalized form of the provided value, which is best suited 137 * for efficiently performing matching operations on that value. 139 * @param value The value to be normalized. 141 * @return The normalized version of the provided value. 143 * @throws DirectoryException If the provided value is invalid according to 147 public ByteString normalizeValue(ByteSequence value) argument 151 buffer.append(value.toString().trim()); 156 if (value.length() > 0) 158 // This should only happen if the value i [all...] |
H A D | CaseExactSubstringMatchingRule.java | 130 * Retrieves the normalized form of the provided value, which is best suited 131 * for efficiently performing matching operations on that value. 133 * @param value The value to be normalized. 135 * @return The normalized version of the provided value. 137 * @throws DirectoryException If the provided value is invalid according to 141 public ByteString normalizeValue(ByteSequence value) argument 145 prepareUnicode(buffer, value, TRIM, NO_CASE_FOLD); 150 if (value.length() > 0) 152 // This should only happen if the value i [all...] |
H A D | CaseIgnoreEqualityMatchingRule.java | 130 * Retrieves the normalized form of the provided value, which is best suited 131 * for efficiently performing matching operations on that value. 133 * @param value The value to be normalized. 135 * @return The normalized version of the provided value. 137 * @throws DirectoryException If the provided value is invalid according to 141 public ByteString normalizeValue(ByteSequence value) argument 145 prepareUnicode(buffer, value, TRIM, CASE_FOLD); 150 if (value.length() > 0) 152 // This should only happen if the value i [all...] |
H A D | CaseIgnoreIA5EqualityMatchingRule.java | 135 * Retrieves the normalized form of the provided value, which is best suited 136 * for efficiently performing matching operations on that value. 138 * @param value The value to be normalized. 140 * @return The normalized version of the provided value. 142 * @throws DirectoryException If the provided value is invalid according to 146 public ByteString normalizeValue(ByteSequence value) argument 150 prepareUnicode(buffer, value, TRIM, CASE_FOLD); 155 if (value.length() > 0) 157 // This should only happen if the value i [all...] |