Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 213 for unexpectedly (0.04 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      public void testContainsAll_sameComparator_stringVsInt() {
        SortedSet<String> set = of("a", "b", "f");
        SortedSet<Integer> unexpected = Sets.newTreeSet(Ordering.natural());
        unexpected.addAll(asList(1, 2, 3));
        assertFalse(set.containsAll(unexpected));
      }
    
      public void testContainsAll_differentComparator() {
        Comparator<Comparable<?>> comparator = Collections.reverseOrder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          try {
            new NullPointerTester().testMethodParameter(new OneArg(), method, 0);
          } catch (AssertionError unexpected) {
            throw new AssertionError("Should not have flagged method " + methodName, unexpected);
          }
        }
      }
    
      public void testStaticOneArgMethodsThatShouldFail() throws Exception {
        for (String methodName : STATIC_ONE_ARG_METHODS_SHOULD_FAIL) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

            .getInstance(TrustManagerFactory.getDefaultAlgorithm())
            .apply {
              init(null as KeyStore?)
            }.trustManagers!!
        check(trustManagers.size == 1 && trustManagers[0] is X509TrustManager) {
          "Unexpected default trust managers: ${trustManagers.contentToString()}"
        }
        val x509TrustManager = trustManagers[0] as X509TrustManager
        // Disabled because OkHttp will run anyway
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

          Headers
            .Builder()
            .addUnsafeNonAscii("héader1", "value1")
            .build()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Unexpected char 0xe9 at 1 in header name: héader1")
        }
      }
    
      @Test fun addUnsafeNonAsciiAcceptsUnicodeValue() {
        val headers =
          Headers
            .Builder()
            .addUnsafeNonAscii("header1", "valué1")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

                } else if (keyValue.length == 1) {
                    list.add(new Pair<>(keyValue[0].trim(), StringUtil.EMPTY));
                } else {
                    logger.warn("Unexpected value: {}", s);
                }
            }));
    
            final List<Pair<String, String>> headerList = responseHeaderMap.remove("*");
            if (headerList != null) {
                defaultResponseHeaders = headerList;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingMapEntry.java

     * the methods of the delegate. For example, overriding {@link #getValue} alone <i>will not</i>
     * change the behavior of {@link #equals}, which can lead to unexpected behavior. In this case, you
     * should override {@code equals} as well, either providing your own implementation, or delegating
     * to the provided {@code standardEquals} method.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

         */
        public void test_extendsUserMessages() {
            assertTrue(org.lastaflute.core.message.UserMessages.class.isAssignableFrom(FessLabels.class));
        }
    
        /**
         * Test field count to ensure no unexpected fields are added
         */
        public void test_fieldCount() throws Exception {
            Field[] fields = FessLabels.class.getDeclaredFields();
            int labelConstantCount = 0;
            int serialVersionUIDCount = 0;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

                    assertEquals("metadata", result);
                    break;
                case LOGOUT:
                    assertEquals("logout", result);
                    break;
                default:
                    fail("Unexpected enum value: " + type);
                }
            }
        }
    
        private String processResponseType(SsoResponseType type) {
            switch (type) {
            case METADATA:
                return "metadata";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

            source = Buffer().writeUtf8(multipart),
          )
    
        assertFailsWith<ProtocolException> {
          parts.nextPart()
        }.also { expected ->
          assertThat(expected).hasMessage("unexpected characters after boundary")
        }
      }
    
      @Test fun `whitespace before close delimiter`() {
        val multipart =
          """
          |--simple boundary
          |
          |abcd
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java

            for (int i = 0; i < responseHeaders.size(); i++) {
              System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i));
            }
    
            throw new IOException("Unexpected code " + response);
          }
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new CustomTrust().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 9.3K bytes
    - Viewed (0)
Back to top