Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 889 for certify (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            int bytesConsumed = response.decode(buffer, 0, 28);
    
            // Verify
            assertEquals(28, bytesConsumed, "Should consume exactly 28 bytes");
    
            byte[] resumeKey = response.getResumeKey();
            assertNotNull(resumeKey, "Resume key should not be null");
            assertEquals(24, resumeKey.length, "Resume key should be 24 bytes");
    
            // Verify resume key content
            for (int i = 0; i < 24; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            // Verify search attributes (masked with 0x37)
            assertEquals(0x37, SMBUtil.readInt2(buffer, 0));
    
            // Verify max items
            assertEquals(100, SMBUtil.readInt2(buffer, 2));
    
            // Verify flags (should be 0x00)
            assertEquals(0x00, SMBUtil.readInt2(buffer, 4));
    
            // Verify information level (SMB_FILE_BOTH_DIRECTORY_INFO)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ACETest.java

                ace.getAccessMask();
    
                // Different methods called
                ace.isAllow();
                ace.getFlags();
    
                verify(ace, times(2)).getAccessMask();
                verify(ace, times(1)).isAllow();
                verify(ace, times(1)).getFlags();
            }
        }
    
        @Nested
        @DisplayName("Real-world Usage Scenarios")
        class RealWorldUsageTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

            Assertions.assertEquals(19L, s);
    
            Mockito.verify(mock, Mockito.times(1)).getAttributes();
            Mockito.verify(mock, Mockito.times(1)).getCreateTime();
            Mockito.verify(mock, Mockito.times(1)).getLastWriteTime();
            Mockito.verify(mock, Mockito.times(1)).getLastAccessTime();
            Mockito.verify(mock, Mockito.times(1)).getSize();
            Mockito.verifyNoMoreInteractions(mock);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            // Verify all methods were called
            verify(mockBasicFileInfo).getAttributes();
            verify(mockBasicFileInfo).getCreateTime();
            verify(mockBasicFileInfo).getLastWriteTime();
            verify(mockBasicFileInfo).getLastAccessTime();
            verify(mockBasicFileInfo).getSize();
            verify(mockBasicFileInfo).getFileInformationLevel();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            UnsupportedSearchException exception = new UnsupportedSearchException("test message");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify the stack trace contains this test method
            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbTreeHandleTest.java

         * @throws CIFSException
         */
        @Test
        void testClose() throws CIFSException {
            smbTreeHandle.close();
            // Verify that close() was called on the mock
            verify(smbTreeHandle).close();
        }
    
        /**
         * Test for close() method throwing CIFSException.
         * Verifies that the method correctly throws a CIFSException when configured to do so.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            ns.encode(spy);
            // NdrShort passes its value (already masked to 0xFF) to enc_ndr_short
            verify(spy).enc_ndr_short(42);
        }
    
        /**
         * Verify that decode invokes NdrBuffer.dec_ndr_short.
         */
        @Test
        void decodeWithSpiedBufferCallsDecMethod() throws NdrException {
            NdrShort ns = new NdrShort(0); // value will be overwritten
    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/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

        }
    
        @Test
        @DisplayName("Test constructor with Configuration")
        void testConstructor() {
            assertNotNull(response);
            // Verify configuration is set through parent constructor
            verify(mockConfig, atLeastOnce()).getPid();
        }
    
        @Test
        @DisplayName("Test readParameterWordsWireFormat with zero setup count")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

                assertEquals("fuzzy", fuzzyQueryBuilder.value());
                assertEquals(1.8f, fuzzyQueryBuilder.boost());
            } else {
                // For DefaultQueryBuilder or DisMaxQueryBuilder, we just verify it was created
                assertTrue(result instanceof DefaultQueryBuilder || result instanceof DisMaxQueryBuilder);
            }
        }
    
        public void test_execute_withNestedBoostQuery() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top