- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 336 for directly (0.27 sec)
-
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
/** * Test that getDefaultMappings correctly loads and returns mapping resource. */ @Test public void testGetDefaultMappings_loadsCorrectly() throws Exception { // Load resource directly to verify it exists try (InputStream is = getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest/mappings-default.json")) { assertNotNull("Mapping resource should exist", is);Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
System.setProperty("jcifs.properties", nonExistentPath.toString()); // Expect no exception to be thrown, but an error logged (which we can't directly assert here) assertDoesNotThrow(() -> SingletonContext.init(null)); assertNotNull(SingletonContext.getInstance()); // Should still initialize } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
* Tests for {@link SmbComLockingAndX}. The source class exposes * its wire-format helpers as protected methods and its internal state * is stored in private fields; tests make use of the same package to * access those members directly. */ @ExtendWith(MockitoExtension.class) class SmbComLockingAndXTest { /** * Helper for setting a field via reflection. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/go/GoAction.java
/** * Handles document redirection requests. * Validates the document ID, logs click events if enabled, and redirects * to the target URL or serves file content directly if configured. * * @param form the go form containing document ID and tracking parameters * @return action response for redirection or content streamingRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 11 09:47:03 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
// Assert assertNotNull(handle); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class)); // We cannot directly assert the 'opened' field as it's private, but successful construction implies it. } @Test void constructor_shouldHandleNullServerSuccessfully() throws IOException { // ArrangeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
assertNotNull(tree1); assertNotNull(tree2); // When - Release session to trigger cleanup session.release(); // Then - Trees should be cleared (we can't directly verify as it's internal, // but the cleanup code with synchronized block ensures it happens atomically) // The important part is that no exception occurs and the operation is atomic } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
any(RequestParam[].class)); } @Test @DisplayName("send(request, response, varargs) forwards directly") void sendRequestResponseVarargsDelegates() throws Exception { // Confirms varargs overload passes through to the underlying connection
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH; byte[] blob = new byte[] { 10, 20, 30, 40, 50 }; int secBufOffset = Smb2Constants.SMB2_HEADER_LENGTH + 8; // directly after fixed part int sessionFlags = Smb2SessionSetupResponse.SMB2_SESSION_FLAGS_IS_GUEST; buildSessionSetupBody(buf, headerStart, bodyStart, sessionFlags, secBufOffset, blob);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
SmbComClose smbComClose = new SmbComClose(config, fid, lastWriteTime); // Then assertEquals(ServerMessageBlock.SMB_COM_CLOSE, smbComClose.getCommand()); // Private fields are not directly accessible, but we can check their effect in other methods. } /** * Test method for {@link jcifs.internal.smb1.com.SmbComClose#writeParameterWordsWireFormat(byte[], int)}. */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
* <p> * Because most of the logic lives in {@link jcifs.internal.smb1.ServerMessageBlock} * the tests create a mock {@link Configuration} and instantiate SmbComQueryInformation * directly. Since the byte‑encoding logic is located in the superclass, the * tests verify that the byte buffer created by {@link * SmbComQueryInformation#writeBytesWireFormat(byte[], int)} is correctly builtRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0)