- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,466 for assertEquals (0.36 sec)
-
src/test/java/jcifs/smb1/smb1/WinErrorTest.java
@Test void successIsZero() { assertEquals(0, WinError.ERROR_SUCCESS, "ERROR_SUCCESS should be 0"); } @Test void accessDeniedIsFive() { assertEquals(5, WinError.ERROR_ACCESS_DENIED, "ERROR_ACCESS_DENIED should be 5"); } @Test void knownErrorCodes() { assertEquals(71, WinError.ERROR_REQ_NOT_ACCEP, "ERROR_REQ_NOT_ACCEP expected 71");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
String url = "http://example.com/child"; ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url); assertNotNull(exception); assertEquals("Not Found: http://example.com/child Parent: http://example.com/parent", exception.getMessage()); assertNull(exception.getCause()); } public void test_constructor_withNullParentUrl() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
profileManager.addProfile(defaultActivated); List active = profileManager.getActiveProfiles(); assertNotNull(active); assertEquals(1, active.size()); assertEquals("defaultActivated", ((Profile) active.get(0)).getId()); } @Test void testShouldNotActivateDefaultProfile() throws Exception { Profile syspropActivated = new Profile();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 6.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java
assertEquals(1, testListener.startCount); assertEquals(5, testListener.requestCount); assertEquals(4, testListener.exceptionCount); assertEquals(1, testListener.endCount); assertEquals(url, testListener.requestUrl); assertEquals(Constants.GET_METHOD, testListener.requestMethod); assertEquals(url, testListener.exceptionUrl);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
byte[] md4Hash = md4.digest(data); byte[] md5Hash = md5.digest(data); // Then assertNotNull(md4Hash); assertNotNull(md5Hash); assertEquals(16, md4Hash.length); assertEquals(16, md5Hash.length); } @Test @DisplayName("Should handle empty input for hashing") void testEmptyInputHashing() { // Given byte[] emptyData = {};
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
package jcifs.smb; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.anyInt;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
checkContains(range); assertTrue(range.hasLowerBound()); assertEquals(4, (int) range.lowerEndpoint()); assertEquals(OPEN, range.lowerBoundType()); assertTrue(range.hasUpperBound()); assertEquals(8, (int) range.upperEndpoint()); assertEquals(OPEN, range.upperBoundType()); assertFalse(range.isEmpty()); assertEquals("(4..8)", range.toString()); reserializeAndAssert(range); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
// Test boundary values for safe operations assertEquals(Integer.MAX_VALUE, validator.safeAdd(Integer.MAX_VALUE, 0)); assertEquals(Integer.MIN_VALUE, validator.safeAdd(Integer.MIN_VALUE, 0)); assertEquals(0, validator.safeMultiply(0, Integer.MAX_VALUE)); assertEquals(1, validator.safeMultiply(1, 1)); // Test exact buffer boundariesRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
assertEquals("1.0", range.getSelectedVersion(artifact).toString(), CHECK_SELECTED_VERSION); range = VersionRange.createFromVersionSpec("[1.0]"); restrictions = range.getRestrictions(); assertEquals(1, restrictions.size(), CHECK_NUM_RESTRICTIONS); restriction = restrictions.get(0); assertEquals("1.0", restriction.getLowerBound().toString(), CHECK_LOWER_BOUND);Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
assertEquals("{labels.excludedUrls}", FessLabels.LABELS_EXCLUDED_URLS); assertEquals("{labels.excludedDocPaths}", FessLabels.LABELS_EXCLUDED_DOC_PATHS); assertEquals("{labels.excludedDocUrls}", FessLabels.LABELS_EXCLUDED_DOC_URLS); assertEquals("{labels.hostname}", FessLabels.LABELS_HOSTNAME); assertEquals("{labels.id}", FessLabels.LABELS_ID);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0)