- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 110 for exact (0.01 sec)
-
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
assertNull(generator.expandPath(null)); // Test with exact match mappings (expandPath only replaces exact matches) generator.filePathMap.put("${home}/file", "/home/user/file"); assertEquals("/home/user/file", generator.expandPath("${home}/file")); assertEquals("other/path", generator.expandPath("other/path")); // Test another exact mapping generator.filePathMap.put("${temp}", "/tmp");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
assertNull(negotiationAllNull.getResponseRaw()); } @Test @DisplayName("getRequest should return the same request instance") void testGetRequest() { // Verify getRequest returns the exact same instance SmbNegotiationRequest request = negotiation.getRequest(); assertSame(mockRequest, request); // Verify multiple calls return the same instance
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
() -> assertEquals(6118, WinError.ERROR_NO_BROWSER_SERVERS_FOUND)); } @Test @DisplayName("Arrays: non-null, same length, and exact contents") void arrays_are_well_formed_and_match() { // Validate arrays existence and alignment (edge and structure checks) assertNotNull(WinError.WINERR_CODES, "WINERR_CODES should not be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
assertEquals(bytes1, bytes2); assertEquals(4, bytes1); } @Test @DisplayName("Should verify exact structure size value") void testExactStructureSizeValue() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[256]; // Write exact structure size value (4) buffer[0] = 0x04; buffer[1] = 0x00; buffer[2] = 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
when(locator.handleDFSReferral(referral, reqPath)).thenReturn(resolved); String out = locator.handleDFSReferral(referral, reqPath); assertEquals(resolved, out); // Verify exact argument interaction verify(locator, times(1)).handleDFSReferral(referral, reqPath); verifyNoMoreInteractions(locator); } // Edge / invalid: null referral or empty/blank path @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
// Test with short string ace.appendCol(sb, "test", 10); assertEquals("test ", sb.toString()); // Test with exact width string sb = new StringBuffer(); ace.appendCol(sb, "exact", 5); assertEquals("exact", sb.toString()); // Test with longer string than width sb = new StringBuffer(); ace.appendCol(sb, "longer string", 5);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
@DisplayName("Should handle structure size exactly 17") void testExactStructureSize() throws SMBProtocolDecodingException { byte[] buffer = new byte[64]; SMBUtil.writeInt2(17, buffer, 0); // Exact required size SMBUtil.writeInt2(0, buffer, 2); SMBUtil.writeInt4(1000, buffer, 4); SMBUtil.writeInt4(500, buffer, 8); SMBUtil.writeInt4(0, buffer, 12);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
assertThrows(PACDecodingException.class, () -> new PacCredentialType(null)); } /** * Tests the isCredentialTypeCorrect method with a byte array of exact minimal buffer size. * This test is also indirect. */ @Test void testIsCredentialTypeCorrectWithExactSizeData() { // The constructor check `if (!isCredentialTypeCorrect())` handles this case.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
assertArrayEquals(machineId, actualMachineId); } /** * Test with customData and machineId that are not exactly 8 and 32 bytes respectively. * The constructor requires exact sizes, so we need to pad them manually. */ @Test void testAvSingleHostCustomDataMachineIdConstructor_ShorterInputs() { // Prepare padded arrays byte[] customData = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0)