- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 191 for locked (1.85 sec)
-
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
// Add pending operations to channel1 to make it more loaded channel1.addPendingOperation(mockMessage); when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2)); ChannelInfo selected = loadBalancer.selectChannel(mockMessage); assertEquals(channel2, selected); // Should select less loaded channel } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
@Test @DisplayName("isDisconnected / isFailed reflect socket and state") void connectionStateChecks() throws Exception { // Arrange: simulate connected state and open socket setField(transport, "state", 3); // connected Socket s = mock(Socket.class); when(s.isClosed()).thenReturn(false); setField(transport, "socket", s); // Act & AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
log.info("Setting up Samba container for SMB integration tests"); // Check if Docker is available assumeTrue(isDockerAvailable(), "Docker is not available - skipping integration tests"); assumeTrue(sambaContainer != null, "Container not initialized - Docker not available"); // Create temporary directory structure for SMB shares
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
* The tests verify that: * <ul> * <li>encoding and decoding round‑trip correctly handle typical, zero, * and extreme {@code long} values.</li> * <li>encode/decode methods interact correctly with a mocked * {@link NdrBuffer} so that the correct method is called with * the correct argument.</li> * <li>passing {@code null} throws {@link NullPointerException}. * </ul> *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
ENCRYPTION_TYPE, ENCRYPTED_DATA, null); // This should not throw an exception if decryption is mocked try (MockedStatic<KerberosEncData> mockedEncData = Mockito.mockStatic(KerberosEncData.class)) { byte[] decryptedData = createDecryptedDataBytes(USER_PRINCIPAL_NAME, USER_REALM);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
@Test @DisplayName("customizeCreate sets required flags and extended mode") void customizeCreateSetsFlagsAndExtended() throws Exception { // Arrange: real instance to call protected method; collaborators mocked for interaction verification SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", SmbPipeResource.PIPE_TYPE_RDWR, ctx()); SmbComNTCreateAndX req = mock(SmbComNTCreateAndX.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
dbflute_fess/_readme.txt
Directory for DBFlute client manage.bat(sh) => 21 (jdbc): A execution command of JDBC task which gets your schema info and saves it to SchemaXML located to the "schema" directory. This task should be executed after ReplaceSchema task and before other tasks(e.g. Generate, Document task). manage.bat(sh) => 22 (doc): A execution command of Document task which creates documents, for example, SchemaHTML, HistoryHTML to the "output/doc" directory.
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Jul 04 22:46:31 UTC 2015 - 2.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
import org.apache.http.conn.HttpClientConnectionManager; import org.apache.http.conn.routing.HttpRoutePlanner; import org.apache.http.conn.socket.ConnectionSocketFactory; import org.apache.http.conn.socket.LayeredConnectionSocketFactory; import org.apache.http.conn.socket.PlainConnectionSocketFactory; import org.apache.http.conn.ssl.NoopHostnameVerifier; import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 53.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
* @throws IOException if connection fails */ private void testConnection() throws IOException { // For now, just test basic connectivity to RPC endpoint try (java.net.Socket socket = new java.net.Socket()) { socket.connect(new java.net.InetSocketAddress(serverAddress, WITNESS_RPC_PORT), WITNESS_RPC_TIMEOUT_MS); } catch (IOException e) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; @ExtendWith(MockitoExtension.class) class Smb2LogoffResponseTest { // Helper to create an instance with a mocked Configuration private Smb2LogoffResponse newResponse() { Configuration cfg = Mockito.mock(Configuration.class); return new Smb2LogoffResponse(cfg); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.7K bytes - Viewed (0)