Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 2,192 for toString (0.22 seconds)

  1. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(graph.edgeValueOrDefault(4, 4, DEFAULT)).isEqualTo("valueD");
    
        String toString = graph.toString();
        assertThat(toString).contains("valueA");
        assertThat(toString).contains("valueB");
        assertThat(toString).contains("valueC");
        assertThat(toString).contains("valueD");
      }
    
      @Test
      public void undirectedGraph() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java

        }
    
        /**
         * Test the toString method.
         */
        @Test
        void testToString() {
            // Given
            SmbComTreeDisconnect smbComTreeDisconnect = new SmbComTreeDisconnect();
    
            // When
            String result = smbComTreeDisconnect.toString();
    
            // Then
            assertTrue(result.startsWith("SmbComTreeDisconnect["), "toString should start with 'SmbComTreeDisconnect['");
    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)
  3. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test toString with SV_TYPE_ALL")
        void testToStringWithSvTypeAll() {
            String domain = "WORKGROUP";
            netServerEnum2 = new NetServerEnum2(realConfig, domain, NetServerEnum2.SV_TYPE_ALL);
    
            String result = netServerEnum2.toString();
    
            assertNotNull(result);
            assertTrue(result.contains("NetServerEnum2["));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

            bufferIndex += 2;
            this.info = info;
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
            return ("Trans2QueryPathInformationResponse[" + super.toString() + "]");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/AbstractMapEntry.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Map.Entry;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of the {@code equals}, {@code hashCode}, and {@code toString} methods of {@code
     * Entry}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    abstract class AbstractMapEntry<K extends @Nullable Object, V extends @Nullable Object>
        implements Entry<K, V> {
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/AbstractMapEntry.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Map.Entry;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of the {@code equals}, {@code hashCode}, and {@code toString} methods of {@code
     * Entry}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    abstract class AbstractMapEntry<K extends @Nullable Object, V extends @Nullable Object>
        implements Entry<K, V> {
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        }
      }
    
      public void testParent() {
        assertThat(InternetDomainName.from("google.com").parent().toString()).isEqualTo("com");
        assertThat(InternetDomainName.from("co.uk").parent().toString()).isEqualTo("uk");
        assertThat(InternetDomainName.from("www.google.com").parent().toString())
            .isEqualTo("google.com");
    
        assertThrows(IllegalStateException.class, () -> InternetDomainName.from("com").parent());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  8. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/ElasticsearchJavaPluginFuncTest.groovy

            apply plugin:'elasticsearch.java'
    
            assert compileJava.sourceCompatibility == JavaVersion.VERSION_1_10.toString()
            assert compileJava.targetCompatibility == JavaVersion.VERSION_1_10.toString()
            """
    
            then:
            gradleRunner("help").build()
        }
    
        def "compile option --release is configured from targetCompatibility"() {
            when:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            // Test the toString method
            String pipeName = "\\\\pipe\\testPipe";
            TransWaitNamedPipe pipe = new TransWaitNamedPipe(pipeName);
    
            String result = pipe.toString();
            assertNotNull(result);
            assertTrue(result.contains("TransWaitNamedPipe"), "toString should contain class name");
            assertTrue(result.contains(pipeName), "toString should contain pipe name");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

        assertEquals(LIST1, ImmutableList.copyOf(newDelegatingListWithEquals(LIST1)));
      }
    
      public void testToString() {
        List<String> proxy = newDelegatingList(LIST1);
        assertThat(proxy.toString()).isEqualTo(Proxy.getInvocationHandler(proxy).toString());
      }
    
      interface A {}
    
      interface B {}
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(newDelegatingList(LIST1))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top