Searched defs:expectedValues (Results 1 - 25 of 34) sorted by relevance

12

/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/admin/client/ldap/
H A DCreateEntryMockLDAPConnection.java87 * @param expectedValues
91 String... expectedValues) {
93 Validator.ensureNotNull(expectedValues);
94 Validator.ensureTrue(expectedValues.length > 0);
95 attributes.put(expectedName, Arrays.asList(expectedValues));
90 addExpectedAttribute(String expectedName, String... expectedValues) argument
H A DModifyEntryMockLDAPConnection.java88 * @param expectedValues
93 String... expectedValues) {
95 Validator.ensureNotNull(expectedValues);
96 modifications.put(expectedName, Arrays.asList(expectedValues));
92 addExpectedModification(String expectedName, String... expectedValues) argument
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/admin/client/ldap/
H A DCreateEntryMockLDAPConnection.java86 * @param expectedValues
90 String... expectedValues) {
92 Validator.ensureNotNull(expectedValues);
93 Validator.ensureTrue(expectedValues.length > 0);
94 attributes.put(expectedName, Arrays.asList(expectedValues));
89 addExpectedAttribute(String expectedName, String... expectedValues) argument
H A DModifyEntryMockLDAPConnection.java87 * @param expectedValues
92 String... expectedValues) {
94 Validator.ensureNotNull(expectedValues);
95 modifications.put(expectedName, Arrays.asList(expectedValues));
91 addExpectedModification(String expectedName, String... expectedValues) argument
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/admin/client/ldap/
H A DCreateEntryMockLDAPConnection.java87 * @param expectedValues
91 String... expectedValues) {
93 Validator.ensureNotNull(expectedValues);
94 Validator.ensureTrue(expectedValues.length > 0);
95 attributes.put(expectedName, Arrays.asList(expectedValues));
90 addExpectedAttribute(String expectedName, String... expectedValues) argument
H A DModifyEntryMockLDAPConnection.java88 * @param expectedValues
93 String... expectedValues) {
95 Validator.ensureNotNull(expectedValues);
96 modifications.put(expectedName, Arrays.asList(expectedValues));
92 addExpectedModification(String expectedName, String... expectedValues) argument
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/admin/client/ldap/
H A DCreateEntryMockLDAPConnection.java86 * @param expectedValues
90 String... expectedValues) {
92 Validator.ensureNotNull(expectedValues);
93 Validator.ensureTrue(expectedValues.length > 0);
94 attributes.put(expectedName, Arrays.asList(expectedValues));
89 addExpectedAttribute(String expectedName, String... expectedValues) argument
H A DModifyEntryMockLDAPConnection.java87 * @param expectedValues
92 String... expectedValues) {
94 Validator.ensureNotNull(expectedValues);
95 modifications.put(expectedName, Arrays.asList(expectedValues));
91 addExpectedModification(String expectedName, String... expectedValues) argument
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/admin/client/ldap/
H A DCreateEntryMockLDAPConnection.java87 * @param expectedValues
91 String... expectedValues) {
93 Validator.ensureNotNull(expectedValues);
94 Validator.ensureTrue(expectedValues.length > 0);
95 attributes.put(expectedName, Arrays.asList(expectedValues));
90 addExpectedAttribute(String expectedName, String... expectedValues) argument
H A DModifyEntryMockLDAPConnection.java88 * @param expectedValues
93 String... expectedValues) {
95 Validator.ensureNotNull(expectedValues);
96 modifications.put(expectedName, Arrays.asList(expectedValues));
92 addExpectedModification(String expectedName, String... expectedValues) argument
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/admin/client/ldap/
H A DCreateEntryMockLDAPConnection.java83 * @param expectedValues
87 String... expectedValues) {
89 Reject.ifNull(expectedValues);
90 Reject.ifFalse(expectedValues.length > 0);
91 attributes.put(expectedName, Arrays.asList(expectedValues));
86 addExpectedAttribute(String expectedName, String... expectedValues) argument
H A DModifyEntryMockLDAPConnection.java84 * @param expectedValues
89 String... expectedValues) {
91 Reject.ifNull(expectedValues);
92 modifications.put(expectedName, Arrays.asList(expectedValues));
88 addExpectedModification(String expectedName, String... expectedValues) argument
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/controls/
H A DPasswordControlTest.java78 HashMap<Integer, String> expectedValues) throws Exception
80 for (Integer i : expectedValues.keySet())
83 String expected = expectedValues.get(i);
144 HashMap<Byte, String> expectedValues) throws Exception
146 for (byte i : expectedValues.keySet())
149 String expected = expectedValues.get(i);
77 checkIntValuePasswordPolicyErrorTypeTest( HashMap<Integer, String> expectedValues) argument
143 checkIntValuePasswordPolicyWarningTypeTest( HashMap<Byte, String> expectedValues) argument
H A DPersistentSearchControlTest.java86 HashMap<Integer, String> expectedValues) throws Exception
88 for (Integer i : expectedValues.keySet())
91 String expected = expectedValues.get(i);
85 checkIntValueTest( HashMap<Integer, String> expectedValues) argument
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/controls/
H A DPasswordControlTest.java77 HashMap<Integer, String> expectedValues) throws Exception
79 for (Integer i : expectedValues.keySet())
82 String expected = expectedValues.get(i);
143 HashMap<Byte, String> expectedValues) throws Exception
145 for (byte i : expectedValues.keySet())
148 String expected = expectedValues.get(i);
76 checkIntValuePasswordPolicyErrorTypeTest( HashMap<Integer, String> expectedValues) argument
142 checkIntValuePasswordPolicyWarningTypeTest( HashMap<Byte, String> expectedValues) argument
H A DPersistentSearchControlTest.java82 public void checkIntValueTest(Map<Integer, String> expectedValues) argument
85 for (Integer i : expectedValues.keySet())
88 String expected = expectedValues.get(i);
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/controls/
H A DPasswordControlTest.java78 HashMap<Integer, String> expectedValues) throws Exception
80 for (Integer i : expectedValues.keySet())
83 String expected = expectedValues.get(i);
144 HashMap<Byte, String> expectedValues) throws Exception
146 for (byte i : expectedValues.keySet())
149 String expected = expectedValues.get(i);
77 checkIntValuePasswordPolicyErrorTypeTest( HashMap<Integer, String> expectedValues) argument
143 checkIntValuePasswordPolicyWarningTypeTest( HashMap<Byte, String> expectedValues) argument
H A DPersistentSearchControlTest.java86 HashMap<Integer, String> expectedValues) throws Exception
88 for (Integer i : expectedValues.keySet())
91 String expected = expectedValues.get(i);
85 checkIntValueTest( HashMap<Integer, String> expectedValues) argument
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/controls/
H A DPasswordControlTest.java77 HashMap<Integer, String> expectedValues) throws Exception
79 for (Integer i : expectedValues.keySet())
82 String expected = expectedValues.get(i);
143 HashMap<Byte, String> expectedValues) throws Exception
145 for (byte i : expectedValues.keySet())
148 String expected = expectedValues.get(i);
76 checkIntValuePasswordPolicyErrorTypeTest( HashMap<Integer, String> expectedValues) argument
142 checkIntValuePasswordPolicyWarningTypeTest( HashMap<Byte, String> expectedValues) argument
H A DPersistentSearchControlTest.java82 public void checkIntValueTest(Map<Integer, String> expectedValues) argument
85 for (Integer i : expectedValues.keySet())
88 String expected = expectedValues.get(i);
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/controls/
H A DPasswordControlTest.java78 HashMap<Integer, String> expectedValues) throws Exception
80 for (Integer i : expectedValues.keySet())
83 String expected = expectedValues.get(i);
144 HashMap<Byte, String> expectedValues) throws Exception
146 for (byte i : expectedValues.keySet())
149 String expected = expectedValues.get(i);
77 checkIntValuePasswordPolicyErrorTypeTest( HashMap<Integer, String> expectedValues) argument
143 checkIntValuePasswordPolicyWarningTypeTest( HashMap<Byte, String> expectedValues) argument
H A DPersistentSearchControlTest.java86 HashMap<Integer, String> expectedValues) throws Exception
88 for (Integer i : expectedValues.keySet())
91 String expected = expectedValues.get(i);
85 checkIntValueTest( HashMap<Integer, String> expectedValues) argument
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/controls/
H A DPasswordControlTest.java77 HashMap<Integer, String> expectedValues) throws Exception
79 for (Integer i : expectedValues.keySet())
82 String expected = expectedValues.get(i);
142 HashMap<Byte, String> expectedValues) throws Exception
144 for (byte i : expectedValues.keySet())
147 String expected = expectedValues.get(i);
76 checkIntValuePasswordPolicyErrorTypeTest( HashMap<Integer, String> expectedValues) argument
141 checkIntValuePasswordPolicyWarningTypeTest( HashMap<Byte, String> expectedValues) argument
H A DPersistentSearchControlTest.java91 public void checkIntValueTest(Map<Integer, String> expectedValues) argument
94 for (Integer i : expectedValues.keySet())
97 String expected = expectedValues.get(i);
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/
H A DAttrHistoricalMultipleTest.java410 List<ByteString> expectedValues = getValues(mod.getAttribute());
414 assertThat(actualValues).containsAll(expectedValues);
418 assertThat(actualValues).isEqualTo(expectedValues);
422 if (expectedValues.isEmpty())
428 assertThat(actualValues).doesNotContainAnyElementsOf(expectedValues);
474 private void assertAttributeValues(Entry entry, String... expectedValues) argument
477 assertThat(actualValues).containsOnly(toByteStrings(expectedValues));

Completed in 327 milliseconds

12