- Sort Score
- Num 10 results
- Language All
Results 671 - 680 of 968 for set_op (0.04 seconds)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
*/ public class DirectoryCacheEntryTest { private DirectoryCacheEntry entry; private Smb2LeaseKey leaseKey; private String directoryPath = "/test/dir"; @BeforeEach public void setUp() { leaseKey = new Smb2LeaseKey(); entry = new DirectoryCacheEntry(directoryPath, leaseKey, DirectoryCacheScope.IMMEDIATE_CHILDREN); } @Test public void testConstructor() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 8.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
val refusedStream = MockResponse .Builder() .onRequestStart(CloseStream(ErrorCode.REFUSED_STREAM.httpCode)) .build() val bodyResponse = MockResponse(body = "body") @BeforeEach fun setUp() { socketFactory = SpecificHostSocketFactory(InetSocketAddress(server1.hostName, server1.port)) client = clientTestRule .newClientBuilder() .dns(dns)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 10 15:25:06 GMT 2026 - 11.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
clientTestRule .newClientBuilder() .eventListenerFactory(clientTestRule.wrap(eventRecorder)) .build() @StartStop private val server = MockWebServer() @BeforeEach fun setUp() { platform.assumeNotOpenJSSE() platform.assumeHttp2Support() } @Test fun serverTruncatesRequestOnLongPostHttp1() { // "java.net.SocketException: Socket closed" thrown reading response afterCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 11:54:15 GMT 2026 - 10.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
// Redistribute pending operations redistributePendingOperations(failedChannel); // Check if recovery is viable by testing if createTransport works // If createTransport returns null (no mock setup), remove immediately try { SmbTransport testTransport = manager.createTransport(failedChannel.getLocalInterface(), failedChannel.getRemoteInterface()); if (testTransport == null) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 11.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
*/ class NtTransQuerySecurityDescResponseTest { @Mock private Configuration mockConfig; private NtTransQuerySecurityDescResponse response; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); response = new NtTransQuerySecurityDescResponse(mockConfig); } @Test @DisplayName("Test constructor creates instance with null security descriptor")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
*/ @ExtendWith(MockitoExtension.class) class RequestWithPathTest { @Mock private RequestWithPath requestWithPath; private TestRequestWithPath testImplementation; @BeforeEach void setUp() { testImplementation = new TestRequestWithPath(); } @Test @DisplayName("Test getPath returns correct path") void testGetPath() { // Test with mockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
import jcifs.internal.util.SMBUtil; @DisplayName("Smb2Lock Test") class Smb2LockTest { private Smb2Lock lock; private byte[] buffer; @BeforeEach void setUp() { buffer = new byte[128]; } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create lock with valid parameters")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
file.createNewFile(); // Monitor for witness notifications TestWitnessListener listener = new TestWitnessListener(); // Simulate cluster failover (would require test environment setup) // ... trigger server failover ... // Verify that witness notification was received and handled assertTrue(listener.waitForNotification(30000)); // 30 second timeout
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
import jcifs.internal.CommonServerMessageBlockRequest; /** * Test class for Smb2CancelRequest */ class Smb2CancelRequestTest { @Mock private Configuration mockConfig; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test constructor with non-zero asyncId sets async flag") void testConstructorWithNonZeroAsyncId() { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
private TransCallNamedPipe transCallNamedPipe; private static final String TEST_PIPE_NAME = "\\\\PIPE\\\\testpipe"; private static final byte[] TEST_DATA = "Test pipe data".getBytes(); @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test constructor initializes fields correctly") void testConstructorInitialization() { // Given int offset = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0)