Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 870 for certify (0.05 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java

            MsrpcLsarOpenPolicy2 msrpcLsarOpenPolicy2 = new MsrpcLsarOpenPolicy2(server, access, mockPolicyHandle);
    
            // Then
            // Verify that the super constructor is called with correct arguments
            // Note: Directly verifying super constructor calls is not straightforward in JUnit/Mockito.
            // We verify the effects of the super constructor by checking the fields of the created object.
    
            // Assert object_attributes fields
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/context/AbstractCIFSContextTest.java

            CIFSContext wrappedContext = context.withCredentials(newCreds);
    
            assertNotNull(wrappedContext);
            assertTrue(wrappedContext instanceof CIFSContextCredentialWrapper);
            // Verify that the new context uses the provided credentials
            assertEquals(newCreds, wrappedContext.getCredentials());
        }
    
        @Test
        void testWithAnonymousCredentials() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ByteEncodableTest.java

            byte[] dest = new byte[5];
    
            int encodedLen = encodable.encode(dest, 0);
    
            // Verify encoded length
            assertEquals(3, encodedLen, "Encoded length should be equal to the specified length");
    
            // Verify content
            assertArrayEquals(new byte[] { 0x02, 0x03, 0x04, 0x00, 0x00 }, dest, "Encoded bytes should match the expected subset");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                // Verify input buffer offset (should be 0 when no input buffer)
                assertEquals(0, SMBUtil.readInt2(buffer, 72));
    
                // Verify input buffer length (should be 0 when no input buffer)
                assertEquals(0, SMBUtil.readInt4(buffer, 76));
    
                // Verify additional information
                assertEquals(0x12345678, SMBUtil.readInt4(buffer, 80));
    
                // Verify query flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            indexUpdateCallback.commit();
    
            // Verify documents were sent
            assertEquals(1, indexingHelper.sendDocumentsCalled);
            assertEquals(0, indexUpdateCallback.docList.size());
        }
    
        public void test_commit_withEmptyCache() {
            // Execute commit with no documents
            indexUpdateCallback.commit();
    
            // Verify no indexing happened
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java

            // Verify that the wrap method was called exactly once
            verify(dcerpcSecurityProvider, times(1)).wrap(mockNdrBuffer);
        }
    
        @Test
        void testUnwrapMethodIsCalled() throws DcerpcException {
            // Test that the unwrap method can be called without throwing an exception
            dcerpcSecurityProvider.unwrap(mockNdrBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/FileNotifyInformationTest.java

        class FilterFlagsTests {
    
            @Test
            @DisplayName("Verify FILE_NOTIFY_CHANGE_FILE_NAME constant value")
            void testFileNotifyChangeFileName() {
                assertEquals(0x00000001, FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME);
            }
    
            @Test
            @DisplayName("Verify FILE_NOTIFY_CHANGE_DIR_NAME constant value")
            void testFileNotifyChangeDirName() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                // Verify file ID
                byte[] actualFileId = new byte[16];
                System.arraycopy(buffer, 80, actualFileId, 0, 16);
                assertArrayEquals(testFileId, actualFileId);
    
                // Verify that info.encode was called
                verify(mockInfo, times(1)).encode(any(byte[].class), anyInt());
    
                // Verify total bytes written
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NtlmSspTest.java

            // Verify
            assertNull(result, "Authentication result should be null");
            verify(mockResponse).setHeader("WWW-Authenticate", "NTLM");
            verify(mockResponse).setStatus(HttpServletResponse.SC_UNAUTHORIZED);
            verify(mockResponse).setContentLength(0);
            verify(mockResponse).flushBuffer();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertEquals(Integer.MAX_VALUE, request3.getContextType());
            }
    
            @Test
            @DisplayName("Should verify interface is Encodable")
            void testEncodableInterface() {
                NegotiateContextRequest request = new TestNegotiateContextRequest(1);
    
                // Verify the interface extends Encodable
                assertNotNull(request);
                assertTrue(request instanceof jcifs.Encodable);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top