Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 878 for Verify (0.04 sec)

  1. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                assertTrue(bytes.length >= 48); // Minimum size
                // Verify signature
                assertTrue(Arrays.equals(Type2Message.NTLMSSP_SIGNATURE, Arrays.copyOfRange(bytes, 0, 8)));
                // Verify message type
                assertEquals(Type2Message.NTLMSSP_TYPE2, Type2Message.readULong(bytes, 8));
                // Verify flags
                assertEquals(message.getFlags(), Type2Message.readULong(bytes, 20));
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

        class InterfaceCompatibilityTests {
    
            @Test
            @DisplayName("Should verify AllocInfo extends FileSystemInformation")
            void testAllocInfoExtendsFileSystemInformation() {
                assertTrue(FileSystemInformation.class.isAssignableFrom(AllocInfo.class));
            }
    
            @Test
            @DisplayName("Should verify all implementations are AllocInfo")
            void testImplementationsAreAllocInfo() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            outputBuffer = new byte[1024];
            response = new TransCallNamedPipeResponse(mockConfig, outputBuffer);
        }
    
        @Test
        void testConstructor() {
            assertNotNull(response);
            // Verify that the outputBuffer is stored properly
            byte[] testData = new byte[] { 1, 2, 3, 4, 5 };
            TransCallNamedPipeResponse testResponse = new TransCallNamedPipeResponse(mockConfig, testData);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

        void testPasswordStoredAsCharArray() throws Exception {
            authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", "password123");
    
            // Use reflection to verify password is stored as char[]
            Field passwordField = NtlmPasswordAuthenticator.class.getDeclaredField("password");
            passwordField.setAccessible(true);
            Object passwordValue = passwordField.get(authenticator);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      /**
       * Override this to verify anything after running a list of Stimuli.
       *
       * <p>For example, verify that calls to remove() actually removed the correct elements.
       *
       * @param elements the expected elements passed to the constructor, as mutated by {@code
       *     remove()}, {@code set()}, and {@code add()} calls
       */
      protected void verify(List<E> elements) {}
    
      /** Executes the test. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            assertEquals("multiRule", testRule.getRuleId());
            assertSame(processor, testRule.getResponseProcessor());
    
            // Register and verify
            testRule.register(0);
            assertTrue(ruleManager.hasRule(testRule));
    
            // Verify registered rule maintains properties
            Rule registeredRule = ruleManager.getRules().get(0);
            assertEquals("multiRule", registeredRule.getRuleId());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            assertTrue(doneLatch.await(5, TimeUnit.SECONDS), "Threads did not complete in time");
            executor.shutdown();
    
            // Verify hash is not null
            byte[] hash = transport.getPreauthIntegrityHash();
            assertNotNull(hash);
    
            // Verify hash is a copy, not the original
            byte[] hash2 = transport.getPreauthIntegrityHash();
            assertNotSame(hash, hash2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

        // Test query() method with null
        public void test_query_withNull() {
            updateLabelJob.query(null);
    
            // queryBuilder field is protected, we can't directly access it
            // But we can verify the job still executes properly
            String result = updateLabelJob.execute();
            assertNotNull(result);
            assertTrue(result.contains("docs"));
        }
    
        // Test constructor
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

        }
    
        // Test constructor
        public void test_constructor_withValidParameters() {
            // Test normal construction
            assertNotNull(securityResourceProvider);
    
            // Verify fields are set correctly
            InvertibleCryptographer providedInvertible = securityResourceProvider.providePrimaryInvertibleCryptographer();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top