Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,187 for match1 (0.04 sec)

  1. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

          return Double.valueOf(input);
        } catch (NumberFormatException e) {
          return null;
        }
      }
    
      @GwtIncompatible // Doubles.tryParse
      private static void checkTryParse(String input) {
        Double expected = referenceTryParse(input);
        assertThat(Doubles.tryParse(input)).isEqualTo(expected);
        if (expected != null && !Doubles.FLOATING_POINT_PATTERN.matcher(input).matches()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            final CustomSize annotation = field.getAnnotation(CustomSize.class);
    
            assertNotNull("Annotation should be present on field", annotation);
            assertEquals("minKey should match", "test.min", annotation.minKey());
            assertEquals("maxKey should match", "test.max", annotation.maxKey());
            assertEquals("message should be default", "{jakarta.validation.constraints.Size.message}", annotation.message());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            // Verify resume key content
            for (int i = 0; i < 24; i++) {
                assertEquals((byte) (i + 1), resumeKey[i], "Resume key byte " + i + " should match");
            }
        }
    
        @Test
        @DisplayName("Test decode with non-zero buffer offset")
        void testDecodeWithOffset() throws SMBProtocolDecodingException {
            // Prepare test data with offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java

            ConnectionTimeoutException exception = new ConnectionTimeoutException(message, cause);
            assertEquals(message, exception.getMessage(), "Message should match the provided string");
            assertEquals(cause, exception.getCause(), "Cause should match the provided throwable");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

            RequestTimeoutException exception = new RequestTimeoutException(message, cause);
            assertEquals(message, exception.getMessage(), "Message should match the provided string");
            assertEquals(cause, exception.getCause(), "Cause should match the provided throwable");
        }
    
        @Test
        void testIsInstanceOfTransportException() {
            // Verify that RequestTimeoutException is a subclass of TransportException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

        // If the host exactly matches, we're done: this connection can carry the address.
        if (address.url.host ==
          this
            .route()
            .address.url.host
        ) {
          return true // This connection is a perfect match.
        }
    
        // At this point we don't have a hostname match. But we still be able to carry the request if
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/transport/RequestTest.java

            when(mockRequest.getCreditCost()).thenReturn(expectedCreditCost);
    
            int actualCreditCost = mockRequest.getCreditCost();
    
            assertEquals(expectedCreditCost, actualCreditCost, "Credit cost should match the mocked value.");
            verify(mockRequest, times(1)).getCreditCost(); // Verify method was called once
        }
    
        @Test
        void testSetRequestCredits() {
            // Test case for setRequestCredits method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java

            // Verify num_sids
            assertEquals(2, lsarSidArrayX.num_sids, "num_sids should match the array length");
    
            // Verify sids array and its contents
            assertNotNull(lsarSidArrayX.sids, "sids array should not be null");
            assertEquals(2, lsarSidArrayX.sids.length, "sids array length should match");
            assertEquals(sidT1, lsarSidArrayX.sids[0].sid, "First SID should be unwrapped correctly");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbPipeResourceTest.java

        }
    
        /**
         * Test if the PIPE_TYPE_WRONLY constant has the correct value.
         */
        @Test
        void testPipeTypeWronly() {
            assertEquals(SmbConstants.O_WRONLY, SmbPipeResource.PIPE_TYPE_WRONLY, "PIPE_TYPE_WRONLY should match SmbConstants.O_WRONLY");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NbtExceptionTest.java

            assertEquals(errorClass, exception.errorClass, "Error class should match the constructor argument");
            assertEquals(errorCode, exception.errorCode, "Error code should match the constructor argument");
            assertEquals(NbtException.getErrorString(errorClass, errorCode), exception.getMessage(),
                    "Exception message should match getErrorString output");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top