Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 863 for verifyCn (0.13 sec)

  1. src/test/java/jcifs/EmptyIteratorTest.java

            assertNull(emptyIterator.next(), "This implementation returns null instead of throwing");
    
            // Verify remove can be called (even though no-op)
            assertDoesNotThrow(() -> emptyIterator.remove(), "remove() should be safe to call");
    
            // Verify still empty after operations
            assertFalse(emptyIterator.hasNext(), "Should remain empty after operations");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

    import static org.mockito.ArgumentMatchers.anyBoolean;
    import static org.mockito.ArgumentMatchers.anyString;
    import static org.mockito.Mockito.never;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.io.IOException;
    import java.util.concurrent.CompletableFuture;
    import java.util.concurrent.ExecutionException;
    
    import org.junit.jupiter.api.BeforeEach;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            ScriptEngineException exception = new ScriptEngineException(message, cause);
    
            // Verify stack trace exists
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // Verify cause's stack trace is also available
            StackTraceElement[] causeStackTrace = exception.getCause().getStackTrace();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            // Verify lengths
            assertEquals(2, setupWritten);
            assertEquals(2, paramWritten);
            assertEquals(0, dataWritten);
    
            // Verify setup content
            assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, setupBuffer[0]);
            assertEquals(0x00, setupBuffer[1]);
    
            // Verify parameter content (FS_SIZE_INFO -> 0x0103)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                // Read the buffer
                int bytesRead = notification.readBytesWireFormat(buffer, 0);
    
                // Verify the bytes read
                assertEquals(24, bytesRead);
    
                // Verify the fields were set correctly using reflection
                Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

     *   <li>string representation containing the class name</li>
     *   <li>null buffer handling</li>
     * </ul>
     */
    final class TransWaitNamedPipeResponseTest {
    
        /**
         * Verify that the default constructor creates an instance.
         */
        @Test
        void constructorInitialisesInstance() {
            // Arrange & Act
            TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access");
            assertTrue(region.hasAccess(RdmaAccess.REMOTE_READ), "Should have remote read access");
    
            // Verify provider was called
            verify(mockProvider, atLeastOnce()).registerMemory(any(ByteBuffer.class), any());
        }
    
        @Test
        public void testReleaseSendRegion() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

                } else {
                    System.clearProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
                }
            }
        }
    
        public void test_constructor_isPrivate() {
            // Verify that SystemUtil has a private constructor (utility class pattern)
            try {
                Constructor<SystemUtil> constructor = SystemUtil.class.getDeclaredConstructor();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

         *
         * @see jcifs.internal.SMBSigningDigest#verify(byte[], int, int, int, jcifs.internal.CommonServerMessageBlock)
         */
        @Override
        public boolean verify(final byte[] data, final int offset, final int length, final int extraPad, final CommonServerMessageBlock msg) {
            // Validate input parameters
            if (data == null) {
                log.error("Data buffer is null in verify");
                return false;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.verifyNoMoreInteractions;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top