Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 2,192 for toString (0.08 seconds)

  1. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

        }
    
        /**
         * Test toString method behavior - requires valid configuration
         */
        @Test
        @DisplayName("Test toString requires valid configuration")
        public void testToStringRequiresValidConfig() {
            // Constructor with null config throws exception, so we can't test toString with null config
            // Instead, test that toString works with a valid config
    
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            assertEquals(info1.toString(), info2.toString());
        }
    
        @Test
        @DisplayName("Test encode does not modify source object")
        void testEncodeImmutability() {
            long originalValue = 1000L;
            FileEndOfFileInformation info = new FileEndOfFileInformation(originalValue);
    
            // Get original toString
            String originalString = info.toString();
    
            // Encode
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

         */
        public static String toString(final Object value) {
            return toString(value, null);
        }
    
        /**
         * Converts the given object to a string.
         *
         * @param value
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@literal String}
         */
        public static String toString(final Object value, final String pattern) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. android/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)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  5. build-logic/src/main/kotlin/okhttp3/buildsupport/OkHttpBuildUtils.kt

      get() = findProperty("okhttp.platform")?.toString() ?: "jdk9"
    
    val Project.testJavaVersion: Int
      get() = findProperty("test.java.version")?.toString()?.toInt() ?: 21
    
    val Project.androidBuild: Boolean
      get() = findProperty("androidBuild")?.toString()?.toBoolean() ?: false
    
    val Project.alpnBootVersion: String?
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            assertTrue(ex instanceof SmbException, "Should be an SmbException");
    
            // toString should include the class name and the message
            String ts = ex.toString();
            assertTrue(ts.contains("SmbUnsupportedOperationException"), "toString should contain class name");
            assertTrue(ts.contains(ex.getMessage()), "toString should contain the detail message");
        }
    
        @ParameterizedTest(name = "Message preserved: [{0}]")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            Map<String, Object> source;
            while ((source = reader.read()) != null) {
                assertTrue(source.get("field1").toString().startsWith("test"));
                valueSet.add(source.get("field1").toString());
                count++;
            }
            assertEquals(num, count);
            assertEquals(num, valueSet.size());
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 13:04:17 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            assertEquals("_default:fess", ((TermQuery) query).toString());
    
            query = queryParser.createDefaultFilterChain().parse("\"fess codelibs\"");
            assertEquals(PhraseQuery.class, query.getClass());
            assertEquals("_default:fess", ((PhraseQuery) query).getTerms()[0].toString());
            assertEquals("_default:codelibs", ((PhraseQuery) query).getTerms()[1].toString());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Functions.java

     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    public final class Functions {
      private Functions() {}
    
      /**
       * A function equivalent to the method reference {@code Object::toString}. The function simply
       * invokes {@code toString} on its argument and returns the result. It throws a {@link
       * NullPointerException} on null input.
       *
       * <p><b>Warning:</b> The returned function may not be <i>consistent with equals</i> (as
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            String infoString = info.toString();
            assertTrue(infoString.contains("alloc=1000"), "toString should contain alloc");
            assertTrue(infoString.contains("free=500"), "toString should contain free");
            assertTrue(infoString.contains("sectPerAlloc=100"), "toString should contain sectPerAlloc");
            assertTrue(infoString.contains("bytesPerSect=512"), "toString should contain bytesPerSect");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
Back to Top