Searched defs:expected (Results 1 - 25 of 197) sorted by relevance

12345678

/forgerock/openam-v13/openam-shared/src/test/java/org/forgerock/openam/utils/
H A DValidateIPAddressTest.java577 public void testWildcardInProtocol(boolean expected, String address) { argument
581 assertEquals(result, expected);
/forgerock/openidm-v4/openidm-system/src/main/java/org/forgerock/openidm/core/
H A DPropertyAccessor.java40 * @param expected
42 * The type of the expected property.
51 <T> T getProperty(String key, T defaultValue, Class<T> expected); argument
H A DSystemPropertyAccessor.java48 * @param expected
49 * The type of the expected value.
51 * The type of the expected property.
56 public <T> T getProperty(String key, T defaultValue, Class<T> expected) { argument
59 && ((null != expected && expected.isAssignableFrom(String.class)) || defaultValue instanceof String)) {
63 expected) : null;
/forgerock/openam/openam-shared/src/test/java/org/forgerock/openam/utils/
H A DValidateIPAddressTest.java580 public void testWildcardInProtocol(boolean expected, String address) { argument
584 assertEquals(result, expected);
/forgerock/openam/openam-core/src/test/java/com/sun/identity/sm/
H A DEmailValidatorTest.java61 public void checkCorrectness(String name, boolean expected) { argument
68 assertThat(result).isEqualTo(expected);
H A DIPAddressValidatorTest.java577 public void checkCorrectness(boolean expected, String address) { argument
581 assertEquals(result, expected);
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/sm/validators/
H A DEndpointValidatorTest.java40 public void shouldValidateEndpoints(String underTest, boolean expected) { argument
48 assertThat(expected).isEqualTo(result);
H A DHostnameValidatorTest.java41 public void shouldValidateHostnames(String underTest, boolean expected) { argument
49 assertThat(expected).isEqualTo(result);
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/admin/
H A DBooleanPropertyDefinitionTest.java94 * @param expected value
97 public void testDecodeValue(String value, Boolean expected) { argument
99 assertEquals(d.decodeValue(value), expected);
H A DDurationUnitTest.java100 * @param expected for comparison
103 public void testToString(long value, String expected) { argument
104 assertEquals(DurationUnit.toString(value), expected);
108 * @param expected for comparison
112 public void testParseValue(long expected, String value) { argument
113 assertEquals(DurationUnit.parseValue(value), expected);
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/replication/server/
H A DUpdateComparatorTest.java103 UpdateMsg msg1, UpdateMsg msg2, int expected) throws Exception
105 assertEquals(UpdateComparator.comparator.compare(msg1, msg2), expected);
102 updateMessageTest( UpdateMsg msg1, UpdateMsg msg2, int expected) argument
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/admin/
H A DBooleanPropertyDefinitionTest.java93 * @param expected value
96 public void testDecodeValue(String value, Boolean expected) { argument
98 assertEquals(d.decodeValue(value), expected);
H A DDurationUnitTest.java99 * @param expected for comparison
102 public void testToString(long value, String expected) { argument
103 assertEquals(DurationUnit.toString(value), expected);
107 * @param expected for comparison
111 public void testParseValue(long expected, String value) { argument
112 assertEquals(DurationUnit.parseValue(value), expected);
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/admin/
H A DBooleanPropertyDefinitionTest.java94 * @param expected value
97 public void testDecodeValue(String value, Boolean expected) { argument
99 assertEquals(d.decodeValue(value), expected);
H A DDurationUnitTest.java100 * @param expected for comparison
103 public void testToString(long value, String expected) { argument
104 assertEquals(DurationUnit.toString(value), expected);
108 * @param expected for comparison
112 public void testParseValue(long expected, String value) { argument
113 assertEquals(DurationUnit.parseValue(value), expected);
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/replication/server/
H A DUpdateComparatorTest.java103 UpdateMsg msg1, UpdateMsg msg2, int expected) throws Exception
105 assertEquals(UpdateComparator.comparator.compare(msg1, msg2), expected);
102 updateMessageTest( UpdateMsg msg1, UpdateMsg msg2, int expected) argument
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/admin/
H A DBooleanPropertyDefinitionTest.java93 * @param expected value
96 public void testDecodeValue(String value, Boolean expected) { argument
98 assertEquals(d.decodeValue(value), expected);
H A DDurationUnitTest.java99 * @param expected for comparison
102 public void testToString(long value, String expected) { argument
103 assertEquals(DurationUnit.toString(value), expected);
107 * @param expected for comparison
111 public void testParseValue(long expected, String value) { argument
112 assertEquals(DurationUnit.parseValue(value), expected);
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/admin/
H A DBooleanPropertyDefinitionTest.java94 * @param expected value
97 public void testDecodeValue(String value, Boolean expected) { argument
99 assertEquals(d.decodeValue(value), expected);
H A DDurationUnitTest.java100 * @param expected for comparison
103 public void testToString(long value, String expected) { argument
104 assertEquals(DurationUnit.toString(value), expected);
108 * @param expected for comparison
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/server/
H A DUpdateComparatorTest.java103 UpdateMsg msg1, UpdateMsg msg2, int expected) throws Exception
105 assertEquals(UpdateComparator.comparator.compare(msg1, msg2), expected);
102 updateMessageTest( UpdateMsg msg1, UpdateMsg msg2, int expected) argument
/forgerock/openam-v13/openam-shared/src/test/java/com/sun/identity/shared/whitelist/
H A DHttpURLResourceNameTest.java54 private void runner(String url, String pattern, boolean expected) { argument
59 assertTrue(expected);
61 assertFalse(expected);
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/
H A DTokenTestUtils.java40 * @param expected Non null.
42 public static void assertTokenEquals(Token result, Token expected) { argument
43 assertThat(result.getAttributeNames()).isEqualTo(expected.getAttributeNames());
48 Calendar expectedCal = expected.getValue(field);
75 byte[] expectedValue = expected.getValue(field);
89 Object expectedValue = expected.getValue(field);
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/admin/
H A DBooleanPropertyDefinitionTest.java94 * @param expected value
97 public void testDecodeValue(String value, Boolean expected) { argument
99 assertEquals(d.decodeValue(value), expected);
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/
H A DUtils.java37 public static void assertIdsEquals(Iterator<EntryID> actual, long... expected) argument
39 assertThat(actual).containsAll(asList(expected));
47 public static void assertIdsEquals(EntryIDSet actual, long... expected) argument
51 assertIdsEquals(actual.iterator(), expected);

Completed in 2655 milliseconds

12345678