- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 840 for describeTo (0.2 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/util/Matchers.java
return matcher.matches(string.replace(SystemProperties.getInstance().getLineSeparator(), "\n")); } @Override public void describeTo(Description description) { matcher.describeTo(description); description.appendText(" (normalize line separators)"); } }; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/rule/describe/ModelRuleDescriptor.java
* limitations under the License. */ package org.gradle.model.internal.core.rule.describe; import com.google.errorprone.annotations.FormatMethod; import com.google.errorprone.annotations.FormatString; /** * Describes a method rule. * All implementations of this class are expected to implement the equals and hashCode method */ public interface ModelRuleDescriptor {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 12:38:02 UTC 2024 - 1.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
if (versionMatcher.matches(PlatformVersion)) { val description = StringDescription() versionMatcher.describeTo(description) description.appendText(" expected to fail with exception that ") failureMatcher.describeTo(description) fail<Any>(description.toString()) } } }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/rule/describe/AbstractModelRuleDescriptor.java
return append(String.format(child, args)); } @Override public String toString() { StringBuilder sb = new StringBuilder(); describeTo(sb); return sb.toString(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 12:38:02 UTC 2024 - 1.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/matchers/UserAgentMatcher.java
public UserAgentMatcher(String applicationName, String version) { this.applicationName = applicationName; this.version = version; } @Override public void describeTo(Description description) { description.appendValue(expectedUserAgentString()); } @Factory public static UserAgentMatcher matchesNameAndVersion(String applicationName, String version) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/fill_quantization_options_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 Mar 05 09:05:02 UTC 2024 - 4.3K bytes - Viewed (0) -
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) -
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) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/ModuleVersionNotFoundException.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 8.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/AbstractKotlinScriptModelCrossVersionTest.groovy
protected static <T> Matcher<T> matching(Consumer<Description> describe, Predicate<T> match) { return new TypeSafeMatcher<T>() { @Override protected boolean matchesSafely(T item) { return match.test(item) } @Override void describeTo(Description description) { describe.accept(description) } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 9.4K bytes - Viewed (0)