Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,554 for docstring (0.74 sec)

  1. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

          return delegate.getId();
        }
    
        @Override
        public String toString() {
          return delegate.toString();
        }
      }
    
      private interface Equals {
        @Override
        boolean equals(@Nullable Object obj);
    
        @Override
        int hashCode();
    
        @Override
        String toString();
      }
    
      private static class NoDelegateToEquals implements Equals {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

        assertThat(request.url.toString()).isEqualTo("http://example.com/")
        assertThat(request.body).isNull()
      }
    
      @Test
      @Throws(IOException::class)
      fun put() {
        val request = fromArgs("-X", "PUT", "-d", "foo", "http://example.com").createRequest()
        assertThat(request.method).isEqualTo("PUT")
        assertThat(request.url.toString()).isEqualTo("http://example.com/")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

      private static final CharMatcher IPV6_DELIMITER_MATCHER = CharMatcher.is(IPV6_DELIMITER);
      private static final Inet4Address LOOPBACK4 = (Inet4Address) forString("127.0.0.1");
      private static final Inet4Address ANY4 = (Inet4Address) forString("0.0.0.0");
    
      private InetAddresses() {}
    
      /**
       * Returns an {@link Inet4Address}, given a byte array representation of the IPv4 address.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestImplementationTest.java

            assertEquals(request1.hashCode(), request2.hashCode());
            assertNotEquals(request1, request3);
    
            // Test toString
            String toString = request1.toString();
            assertTrue(toString.contains("coordinates="));
            assertTrue(toString.contains("repositories="));
        }
    
        @Test
        void testRequestTraceIntegration() {
            Session session = mock(Session.class);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

          CacheControl
            .Builder()
            .maxAge(2, TimeUnit.DAYS)
            .build()
        assertThat(cacheControl.toString()).isEqualTo("max-age=172800")
        assertThat(cacheControl.toString()).isSameAs(cacheControl.toString())
      }
    
      @Test
      @Throws(Exception::class)
      fun timeDurationTruncatedToMaxValue() {
        val cacheControl =
          CacheControl
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            // Test toString with empty string and zterm = true
            UnicodeString emptyUnicodeStringTrue = new UnicodeString("", true);
            assertEquals("", emptyUnicodeStringTrue.toString(), "toString should return empty string for empty input with zterm");
    
            // Test toString with empty string and zterm = false
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            String[] values = { "value1" };
            RequestParameter param = new RequestParameter(null, values);
    
            String expected = "[null, [value1]]";
            assertEquals(expected, param.toString());
        }
    
        public void test_toString_withNullValues() {
            // Test toString with null values
            String name = "testParam";
            RequestParameter param = new RequestParameter(name, null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/UUIDTest.java

                UUID uuid = new UUID(rpcUuid);
    
                // Act
                String result = uuid.toString();
    
                // Assert
                assertEquals(VALID_UUID_STRING, result.toUpperCase(), "toString() should return the correct UUID string in uppercase");
            }
    
            @Test
            @DisplayName("toString() should work correctly for UUID created from string")
            void testToStringFromConstructorWithString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            Exception exception = new RuntimeException("Test error message");
    
            monitorTarget.appendException(buf, exception);
            assertTrue(buf.toString().startsWith("\"exception\":\""));
            assertTrue(buf.toString().contains("Test error message"));
            assertTrue(buf.toString().contains("RuntimeException"));
        }
    
        // Test appendException method with nested exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

      public void testToString_minimal() {
        assertNotNull("toString() should not return null", getMap().toString());
      }
    
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size0() {
        assertEquals("emptyMap.toString should return {}", "{}", getMap().toString());
      }
    
      @CollectionSize.Require(ONE)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top