Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,855 for tokstring (0.17 sec)

  1. android/guava/src/com/google/common/net/HostSpecifier.java

        // TODO(user): different versions of this for different factories?
        InternetDomainName domain = InternetDomainName.from(host);
    
        if (domain.hasPublicSuffix()) {
          return new HostSpecifier(domain.toString());
        }
    
        throw new IllegalArgumentException(
            "Domain name does not have a recognized public suffix: " + host);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 05 09:18:40 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiReceivingStandardStreamsCrossVersionSpec.groovy

                build.run()
            }
    
            then:
            stdout.toString().contains('this is stdout')
            stdout.toString().contains('A warning using SLF4j')
            stdout.toString().contains('A warning using JCL')
            stdout.toString().contains('A warning using Log4j')
            stdout.toString().contains('A warning using JUL')
            if (targetVersion.baseVersion >= GradleVersion.version('4.7')) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/ConflictContainerTest.groovy

            container.size == 1
            container.popConflict().toString() == "b:1,2"
        }
    
        def "contains multiple conflicting elements"() {
            container.newElement("a", [1, 2], null)
            container.newElement("b", [3, 4], null)
            expect:
            container.size == 2
            container.popConflict().toString() == "a:1,2"
            container.popConflict().toString() == "b:3,4"
        }
    
        def "pops conflicts orderly"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/test/groovy/org/gradle/api/reporting/components/internal/RendererUtilsTest.groovy

            new NamedWithToString(name: null)    | "toString():null"
            new NamedWithToString(name: "Lajos") | "toString():Lajos"
        }
    
        def "returns '#expected' when toString() returns #toStringReturns"() {
            def value = Mock(Object)
    
            when:
            def result = RendererUtils.displayValueOf(value)
    
            then:
            result == expected
            _ * value.toString() >> toStringReturns
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/DescribablesTest.groovy

            value.toString() == "c two three"
            value.toString() == "d two three"
            value.capitalizedDisplayName == "E two three"
            value.capitalizedDisplayName == "F two three"
        }
    
        def "creates from type and name"() {
            expect:
            def value = Describables.withTypeAndName("some type", "name")
            value.displayName == "some type 'name'"
            value.toString() == "some type 'name'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/internal/MojoLogWrapper.java

        }
    
        public void debug(CharSequence content) {
            if (isDebugEnabled()) {
                logger.debug(toString(content));
            }
        }
    
        private String toString(CharSequence content) {
            if (content == null) {
                return "";
            } else {
                return content.toString();
            }
        }
    
        @Override
        public void debug(CharSequence content, Throwable error) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/MethodDescriptionTest.groovy

        def "string"() {
            expect:
            MethodDescription.name("a").toString() == "a"
            MethodDescription.name("a").returns(String).toString() == "java.lang.String a"
            MethodDescription.name("a").returns(String).takes().toString() == "java.lang.String a()"
            MethodDescription.name("a").returns(String).owner(String).takes().toString() == "java.lang.String java.lang.String#a()"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/PlaceholderExceptionTest.groovy

            def original = new Exception("original exception") {
                String toString() {
                    "fancy customized toString"
                }
            }
            def placeholder = new PlaceholderException(original.getClass().name, original.message, null, original.toString(), null, original.cause)
    
            expect:
            placeholder.toString() == original.toString()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r50/ArgumentPassingCrossVersionTest.groovy

            then:
            output1.toString().contains(ARG_1)
            output1.toString().contains(ARG_2)
    
            when:
            String output2 = runBuild { launcher -> launcher.addArguments(["-P$ARG_1" as String]).addArguments(["-P$ARG_2" as String]) }
    
            then:
            output2.toString().contains(ARG_1)
            output2.toString().contains(ARG_2)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top