Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,009 for verify (0.06 sec)

  1. 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)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingHostnameVerifier.kt

    class RecordingHostnameVerifier : HostnameVerifier {
      @JvmField
      val calls: MutableList<String> = mutableListOf()
    
      @Synchronized override fun verify(
        hostname: String,
        session: SSLSession,
      ): Boolean {
        calls.add("verify $hostname")
        return true
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 980 bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/SmbPipeHandleTest.java

            public void testClose() throws CIFSException {
                assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object.");
                // Verify that the close method was called
                Mockito.verify(smbPipeHandle).close();
            }
    
            /**
             * Verifies that the isOpen method returns true for an open handle.
             */
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  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/jcifs/internal/dfs/ReferralTest.java

            bb.put(node.getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            // Decode
            int decodedSize = referral.decode(testBuffer, 0, testBuffer.length);
    
            // Verify
            assertEquals(100, decodedSize);
            assertEquals(3, referral.getVersion());
            assertEquals(100, referral.getSize());
            assertEquals(1, referral.getServerType());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. 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)
Back to top