Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,147 for correctly (0.38 sec)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            assertTrue("OnConnectListener list should be thread-safe",
                    fesenClient.onConnectListenerList instanceof java.util.concurrent.CopyOnWriteArrayList);
        }
    
        /**
         * Test: Retry logic correctly enforces maxRetryCount
         * Verifies that with maxRetryCount=5, the operation is tried exactly 6 times (initial + 5 retries)
         */
        @Test
        public void testRetryLogicMaxRetryCount() throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for the Trans2FindNext2 class.
     */
    class Trans2FindNext2Test {
    
        /**
         * Verifies constructor initializes protocol fields and limits correctly.
         */
        @Test
        void testConstructorInitializesFields() {
            // Given
            int sid = 0x2222;
            int resumeKey = 0x12345678;
            String filename = "dir\\pattern*";
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

     * directly.  Since the byte‑encoding logic is located in the superclass, the
     * tests verify that the byte buffer created by {@link
     * SmbComQueryInformation#writeBytesWireFormat(byte[], int)} is correctly built
     * for both Unicode and OEM encodings.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class SmbComQueryInformationTest {
    
        @Mock
        Configuration mockConfig;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverterTest.java

            List<String> results = converter.convert("ツェ", null);
            assertTrue(results.contains("tse"));
        }
    
        public void test_convertFyu_BugFix() {
            // Test that フュ correctly maps to "fyu" only (not "hyu")
            List<String> results = converter.convert("フュ", null);
            assertTrue(results.contains("fyu"));
            assertFalse("Should not contain 'hyu' (that's for ヒュ)", results.contains("hyu"));
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *
     * <p>The value you pass to the parameter {@code steps} should be greater than the length of your
     * iterator, so that this class can check that your iterator behaves correctly when it is exhausted.
     *
     * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List)
     * Collections.unmodifiableList}'s iterator:
     *
     * {@snippet :
     * List<String> expectedElements =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/util/MimeMapTest.java

        class PerformanceTests {
    
            @Test
            @DisplayName("Should handle multiple lookups efficiently")
            void testMultipleLookups() throws IOException {
                // Test that multiple lookups work correctly
                for (int i = 0; i < 100; i++) {
                    assertEquals("application/pdf", mimeMap.getMimeType("pdf"));
                    assertEquals("text/html", mimeMap.getMimeType("html"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * when it encounters surrogate pairs. This class facilitates the correct escaping of all Unicode
     * characters.
     *
     * <p>As there are important reasons, including potential security issues, to handle Unicode
     * correctly if you are considering implementing a new escaper you should favor using UnicodeEscaper
     * wherever possible.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

        private Properties requestProperties;
    
        /**
         * @deprecated without passing in the system properties, the SystemPropertiesProfileActivator will not work
         *             correctly in embedded environments.
         */
        @Deprecated
        public DefaultProfileManager(PlexusContainer container) {
            this(container, null);
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/DoubleUtils.java

         * the exponent. This is exactly the behavior we get from just adding signifRounded to bits
         * directly. If the exponent is MAX_DOUBLE_EXPONENT, we round up (correctly) to
         * Double.POSITIVE_INFINITY.
         */
        bits |= x.signum() & SIGN_MASK;
        return longBitsToDouble(bits);
      }
    
      /** Returns its argument if it is non-negative, zero if it is negative. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. cmd/signature-v2_test.go

    	copy(sortedResourceList, resourceList)
    	sort.Strings(sortedResourceList)
    	for i := range resourceList {
    		if resourceList[i] != sortedResourceList[i] {
    			t.Errorf("Expected resourceList[%d] = \"%s\", resourceList is not correctly sorted.", i, sortedResourceList[i])
    			break
    		}
    	}
    }
    
    // Tests presigned v2 signature.
    func TestDoesPresignedV2SignatureMatch(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top