Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 878 for Verify (0.03 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            response.setUid(1000);
            verify(response).setUid(1000);
    
            doNothing().when(response).setExtendedSecurity(true);
            response.setExtendedSecurity(true);
            verify(response).setExtendedSecurity(true);
    
            doNothing().when(response).setSessionId(999L);
            response.setSessionId(999L);
            verify(response).setSessionId(999L);
    
            // Test reset method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            Smb2LeaseKey result = directoryLeaseManager.requestDirectoryLease(directoryPath, requestedState, scope);
    
            assertEquals(expectedKey, result);
            verify(baseLeaseManager).requestLease(directoryPath, requestedState);
    
            // Verify cache entry was created
            DirectoryCacheEntry cacheEntry = directoryLeaseManager.getCacheEntry(directoryPath);
            assertNotNull(cacheEntry);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            InOrder inOrder = inOrder(handle, fd, tree);
            inOrder.verify(handle, times(1)).ensureOpen();
            inOrder.verify(fd, times(1)).getTree();
            inOrder.verify(tree, times(1)).send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY));
            verify(fd, times(1)).close();
            verify(tree, times(1)).close();
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ExecutorService service = mock(ExecutorService.class);
        application.addDelayedShutdownHook(service, 2, SECONDS);
        verify(service, Mockito.never()).shutdown();
        application.shutdown();
        InOrder shutdownFirst = Mockito.inOrder(service);
        shutdownFirst.verify(service).shutdown();
        shutdownFirst.verify(service).awaitTermination(2, SECONDS);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                // Verify with second digest (simulating server verification)
                boolean isValid = digest2.verify(data, 0, data.length, 0, response);
    
                assertTrue(isValid, "Valid signature should verify correctly");
            }
    
            @Test
            @DisplayName("Should sign and verify round trip for SMB 2.1")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            int encodedLength = request.encode(buffer, 0);
    
            // Verify encoded length matches size
            assertEquals(request.size(), encodedLength);
    
            // Verify capabilities (4 bytes)
            assertEquals(DEFAULT_CAPABILITIES, SMBUtil.readInt4(buffer, 0));
    
            // Verify client GUID (16 bytes)
            byte[] extractedGuid = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        void connectLogon_invocation_isForwarded() throws Exception {
            // Act
            tree.connectLogon(context);
    
            // Assert - verify interaction with dependency
            verify(tree, times(1)).connectLogon(context);
            verify(tree, never()).close();
        }
    
        @Test
        @DisplayName("connectLogon accepts null context but still invokes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbFileHandleTest.java

            verify(smbFileHandle, times(1)).getTree();
        }
    
        /**
         * Test isValid() when the handle is valid.
         */
        @Test
        void testIsValid_whenValid() {
            when(smbFileHandle.isValid()).thenReturn(true);
            assertTrue(smbFileHandle.isValid(), "isValid should return true when the handle is valid.");
            verify(smbFileHandle, times(1)).isValid();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            String scriptType = "test";
            String script = "test script content";
            Object result = scriptExecutor.execute(scriptType, script);
    
            // Verify result
            assertEquals("processed: test script content", result);
    
            // Verify executor was passed in params
            Map<String, Object> lastParams = testScriptEngine.getLastParams();
            assertNotNull(lastParams);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            // Assert
            assertSame(handle, result, "Should return handle after retry");
            // Verify we removed READONLY on the path before retrying
            verify(dest).setPathInformation(currentAttrs & ~SmbConstants.ATTR_READONLY, 0L, 0L, 0L);
            verify(dest, times(2)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top