Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 2,192 for toString (0.05 seconds)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestImplementationTest.java

            assertNotEquals(request1, request3);
    
            // Test toString
            String toString = request1.toString();
            assertTrue(toString.contains("coordinates="), "Expected " + toString + " to contain " + "coordinates=");
            assertTrue(toString.contains("repositories="), "Expected " + toString + " to contain " + "repositories=");
        }
    
        @Test
        void testRequestTraceIntegration() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

                        doc.toString());
                assertFalse(
                        doc.entrySet()
                                .stream()
                                .anyMatch(entry -> entry.getValue().toString().toLowerCase().contains(keywords[2].toLowerCase())),
                        doc.toString());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 19K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

            .build()
        assertThat(url.toString()).isEqualTo("http://host/#=[]:;\"~|?#@^/$%25*")
        assertThat(url.toUri().toString())
          .isEqualTo("http://host/#=[]:;%22~%7C?%23@%5E/$%25*")
      }
    
      @Test
      fun toUriSpecialQueryCharacters() {
        val httpUrl = "http://host/?d=abc!@[]^`{}|\\".toHttpUrl()
        val uri = httpUrl.toUri()
        assertThat(uri.toString()).isEqualTo("http://host/?d=abc!@[]%5E%60%7B%7D%7C%5C")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

      // A simple type whose .toString() will return the same value each time, but without maintaining
      // a strong reference to that value.
      static class Key {
        private final int value;
        private WeakReference<String> toString;
    
        Key(int value) {
          this.value = value;
        }
    
        @Override
        public synchronized String toString() {
          String s;
          if (toString != null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java

        return super.hashCode();
      }
    
      /**
       * By default delegates to {@link Object#toString}. The dynamic proxies' {@code toString()} will
       * delegate to this method. Subclasses can override this method to provide custom string
       * representation for the proxies.
       */
      @Override
      public String toString() {
        return super.toString();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  6. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                  @Override
                  public String toString() {
                    return runnable.toString();
                  }
                });
      }
    
      public void testFailsToForwardToString() {
        assertFailure(
            Runnable.class,
            runnable ->
                new ForwardingRunnable(runnable) {
                  @Override
                  public String toString() {
                    return "";
                  }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

        }
    
        @Nested
        @DisplayName("toString() Tests")
        class ToStringTests {
    
            @Test
            @DisplayName("toString with valid data produces expected format")
            void testToStringWithValidData() {
                byte[] challenge = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0xFF };
                UniAddress dc = mock(UniAddress.class);
                when(dc.toString()).thenReturn("SERVER123");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/Predicates.java

          }
    
          @Override
          public String toString() {
            return "Predicates.alwaysTrue()";
          }
        },
        /**
         * @see Predicates#alwaysFalse()
         */
        ALWAYS_FALSE {
          @Override
          public boolean apply(@Nullable Object o) {
            return false;
          }
    
          @Override
          public String toString() {
            return "Predicates.alwaysFalse()";
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

        @Test
        public void test_constructorWithScheduledJob() {
            // Test with scheduled job that has a custom toString implementation
            ScheduledJob scheduledJob = new ScheduledJob() {
                @Override
                public String toString() {
                    return "TestScheduledJob[id=123]";
                }
            };
    
    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)
  10. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java

            final long docFreq = Long.parseLong(source.get(FieldNames.DOC_FREQ).toString());
            final long queryFreq = Long.parseLong(source.get(FieldNames.QUERY_FREQ).toString());
            final float userBoost = Float.parseFloat(source.get(FieldNames.USER_BOOST).toString());
            final List<String> tags = SuggestUtil.getAsList(source.get(FieldNames.TAGS));
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
Back to Top