Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for DescribeTo (0.15 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/api/file/FileCollectionMatchers.java

                        return collections;
                    }
                    throw new RuntimeException("Cannot get children of " + expected);
                }
    
                @Override
                public void describeTo(Description description) {
                    description.appendText("same file collection as ").appendValue(expected);
                }
            };
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 10 12:44:30 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/RejectedByAttributesVersion.java

            super(id);
            this.matchingDescription = matchingDescription;
        }
    
        @Override
        public void describeTo(TreeFormatter builder) {
            matchingDescription.sort(DESCRIPTION_COMPARATOR);
            builder.node(getId().getVersion());
            builder.startChildren();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithLocationMatcher.java

            return r.getProblems().stream()
                    .anyMatch(p -> p.getLineNumber() == lineNumber && p.getColumnNumber() == columnNumber);
        }
    
        @Override
        public void describeTo(Description description) {
            description
                    .appendText("a ProjectBuildingResult with location ")
                    .appendText(formatLocation(columnNumber, lineNumber));
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl-provider-plugins/src/test/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/ExtractPrecompiledScriptPluginPluginsTest.kt

    }
    
    
    private
    fun repeat(char: Char, count: Int) = String(CharArray(count) { char })
    
    
    private
    fun doesNotExist(): Matcher<in File> = object : TypeSafeMatcher<File>() {
    
        override fun describeTo(description: Description) {
            description.appendText("nonexistent file")
        }
    
        override fun matchesSafely(file: File): Boolean = !file.exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/rule/describe/MethodModelRuleDescriptor.java

        private String description;
        private int hashCode;
    
        public MethodModelRuleDescriptor(WeaklyTypeReferencingMethod<?, ?> method) {
            this.method = method;
        }
    
        @Override
        public void describeTo(Appendable appendable) {
            try {
                appendable.append(getDescription());
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/NormalizingCopyActionDecoratorTest.groovy

            }
        }
    
        private Matcher<FileCopyDetailsInternal> hasPath(final String path) {
            return new BaseMatcher<FileCopyDetailsInternal>() {
                void describeTo(Description description) {
                    description.appendText("has path ").appendValue(path)
                }
    
                boolean matches(Object o) {
                    FileCopyDetails details = (FileCopyDetails) o
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 22 14:38:33 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/AbstractAnnotationModelRuleExtractorTest.groovy

        }
    
        String getStringDescription(MethodRuleDefinition ruleDefinition) {
            def builder = new StringBuilder()
            ruleDefinition.descriptor.describeTo(builder)
            builder.toString()
        }
    
        String getStringDescription(WeaklyTypeReferencingMethod<?, ?> method) {
            return MethodDescription.name(method.getName())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils_test.cc

      template <typename Message>
      bool MatchAndExplain(const Message& p, testing::MatchResultListener*) const {
        return p.SerializeAsString() == expected_;
      }
    
      void DescribeTo(::std::ostream* os) const { *os << expected_; }
      void DescribeNegationTo(::std::ostream* os) const {
        *os << "not equal to expected message: " << expected_;
      }
    
     private:
      const std::string expected_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 12 04:22:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMethod.java

                if (!expectedUserAgent.matches(actual)) {
                    StringDescription description = new StringDescription();
                    description.appendText("Expected user agent ");
                    expectedUserAgent.describeTo(description);
                    description.appendText(" but ");
                    expectedUserAgent.describeMismatch(actual, description);
                    String message = description.toString();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/plan/WorkSource.java

                this.readyToStartNodes = readyToStartNodes;
                this.otherNodes = otherWaitingNodes;
                this.eventItems = events;
            }
    
            public void describeTo(TreeFormatter formatter) {
                formatter.node(StringUtils.capitalize(displayName));
                formatter.startChildren();
                if (!queuedNodes.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Nov 13 20:53:27 UTC 2022
    - 7.5K bytes
    - Viewed (0)
Back to top