Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 2,192 for toString (0.39 seconds)

  1. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            PrunedTag tag = tags[0];
            assertEquals("div", tag.toString().split(", ")[0].split("=")[1]);
            assertTrue(tag.toString().contains("id=main-modal"));
            assertTrue(tag.toString().contains("css=modal"));
            assertTrue(tag.toString().contains("attrName=data-toggle"));
            assertTrue(tag.toString().contains("attrValue=modal"));
    
            // Test multiple tags with different combinations
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        assertThat(HostAndPort.fromString("foo:101").toString()).isEqualTo("foo:101");
        assertThat(HostAndPort.fromString(":102").toString()).isEqualTo(":102");
        assertThat(HostAndPort.fromParts("1::2", 103).toString()).isEqualTo("[1::2]:103");
        assertThat(HostAndPort.fromString("[::1]:104").toString()).isEqualTo("[::1]:104");
    
        // Without ports.
        assertThat(HostAndPort.fromString("foo").toString()).isEqualTo("foo");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  3. 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() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/Funnels.java

        INSTANCE;
    
        @Override
        public void funnel(byte[] from, PrimitiveSink into) {
          into.putBytes(from);
        }
    
        @Override
        public String toString() {
          return "Funnels.byteArrayFunnel()";
        }
      }
    
      /**
       * Returns a funnel that extracts the characters from a {@code CharSequence}, a character at a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/net/HostAndPortTest.java

        assertThat(HostAndPort.fromString("foo:101").toString()).isEqualTo("foo:101");
        assertThat(HostAndPort.fromString(":102").toString()).isEqualTo(":102");
        assertThat(HostAndPort.fromParts("1::2", 103).toString()).isEqualTo("[1::2]:103");
        assertThat(HostAndPort.fromString("[::1]:104").toString()).isEqualTo("[::1]:104");
    
        // Without ports.
        assertThat(HostAndPort.fromString("foo").toString()).isEqualTo("foo");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 10K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

                    "The 'next' property of the appended referral should point back to the initial referral, closing the loop.");
        }
    
        /**
         * Tests the toString method of the DfsReferral class.
         * It verifies that the toString method returns a string representation of the object
         * that accurately reflects its properties.
         */
        @Test
        void testToString() {
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        HashCode hash2 = HashCode.fromString(hash1.toString());
        assertEquals(hash1, hash2);
      }
    
      public void testRoundTrip() {
        for (ExpectedHashCode expected : expectedHashCodes) {
          String string = HashCode.fromBytes(expected.bytes).toString();
          assertThat(string).isEqualTo(expected.toString);
          assertThat(HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(string)).toString())
              .isEqualTo(expected.toString);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            assertNull(ex.getCause());
    
            // Assert - toString starts with class name and contains message when present
            if (message == null) {
                assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString());
            } else if (message.isEmpty()) {
                // Throwable.toString prints class + ": " (with space) even for empty string
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java

      public void testToStringEmpty() {
        assertEquals("{}", multimap().toString());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToStringSingleton() {
        assertEquals("{" + k0() + "=[" + v0() + "]}", multimap().toString());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            String resultString = response.toString();
            assertTrue(resultString.contains("status=0"), "toString should contain the status.");
            assertTrue(resultString.contains("converter=13330"), "toString should contain the converter.");
            assertTrue(resultString.contains("entriesReturned=2"), "toString should contain the number of entries.");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top