Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 785 for EXPECTED (0.13 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt

          for (expectedClass in allowedExceptionTypes) {
            if (expectedClass.isInstance(failure)) {
              found = true
              break
            }
          }
          assertThat(
            found,
            "Expected exception type among ${allowedExceptionTypes.contentToString()}, got $failure",
          ).isTrue()
        }
    
      fun assertFailure(vararg messages: String) =
        apply {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformerTest.java

        }
    
        @Test
        public void test_fessConfig_ignoreEmptyContent() {
            final FessConfig config = ComponentUtil.getFessConfig();
            // Verify the config returns the expected default value (false)
            assertFalse(config.isCrawlerDocumentFileIgnoreEmptyContent());
        }
    
        @Test
        public void test_responseData_defaultValues() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/escape/EscapersTest.java

        assertThat(escaper.escape("\0\uFFFF")).isEqualTo("\0\uFFFF");
      }
    
      public void testBuilderRetainsState() {
        // Setting a safe range and unsafe replacement works as expected.
        Escapers.Builder builder = Escapers.builder();
        builder.setSafeRange('a', 'z');
        builder.setUnsafeReplacement("X");
        assertThat(builder.build().escape("The Quick Brown Fox!")).isEqualTo("XheXXuickXXrownXXoxX");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

            // Test with a long message
            String message = "This is a very long error message that describes in detail why the job was not found. "
                    + "The job with identifier XYZ123 was expected to be in the system but could not be located "
                    + "after searching through all available job registries and scheduled task databases.";
    
            JobNotFoundException exception = new JobNotFoundException(message);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  5. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt

                            true -> Optional.of(entry.value)
                            false -> Optional.empty()
                        }
                    }.orElse(provider {
                        throw GradleException("Expected boolean flag to be configured")
                    })
                }
                .reduce { acc, next ->
                    acc.zip(next) { left , right ->
                        when {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

      fun parseTrimsAsciiWhitespace() {
        val expected = parse("http://host/")
        // Leading.
        assertThat(parse("http://host/\u000c\n\t \r")).isEqualTo(expected)
        // Trailing.
        assertThat(parse("\r\n\u000c \thttp://host/")).isEqualTo(expected)
        // Both.
        assertThat(parse(" http://host/ ")).isEqualTo(expected)
        // Both.
        assertThat(parse("    http://host/    ")).isEqualTo(expected)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Aug 04 07:38:48 GMT 2025
    - 69.9K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

     * [static certificates][static_certificates].
     *
     * ## Setting up Certificate Pinning
     *
     * The easiest way to pin a host is turn on pinning with a broken configuration and read the
     * expected configuration when the connection fails. Be sure to do this on a trusted network, and
     * without man-in-the-middle tools like [Charles][charles] or [Fiddler][fiddler].
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 14.2K bytes
    - Click Count (1)
  8. src/test/java/org/codelibs/fess/it/admin/StatsTests.java

            assertNotNull(version, "Version should not be null");
    
            logger.info("Stats version: {}", version);
            logger.info("Stats status: {}", status);
    
            // Verify stats contain expected fields
            // Note: The actual fields may vary depending on the implementation
            // Common fields might include: document count, index size, etc.
            assertTrue(res.size() > 0, "Response should contain stats data");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  9. docs/contribute/code_of_conduct.md

    personally. The committee will then review the incident, follow up with any additional questions,
    and make a decision as to how to respond.
    
    Anyone asked to stop unacceptable behavior is expected to comply immediately. If an individual
    engages in unacceptable behavior, the Square Code of Conduct committee may take any action they deem
    appropriate, up to and including a permanent ban from all of Square spaces without warning.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 5.1K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

            } else if (name !in HTTP_2_SKIPPED_RESPONSE_HEADERS) {
              headersBuilder.addLenient(name, value)
            }
          }
          if (statusLine == null) throw ProtocolException("Expected ':status' header not present")
    
          return Response
            .Builder()
            .protocol(protocol)
            .code(statusLine.code)
            .message(statusLine.message)
            .headers(headersBuilder.build())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 21:11:09 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top