- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for equals (0.12 sec)
-
platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/TryTest.groovy
then: a !== b a.equals(a) a.equals(b) b.equals(a) } def "can compare null-holding try with non-null"() { when: def a = Try.successful(null as String) def b = Try.successful("value") then: !a.equals(b) !b.equals(a) } def "null try has a hashcode"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:10:49 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/resources/org/gradle/compile/daemon/ParallelCompilerDaemonIntegrationTest/shared/GroovyClass.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:27:57 UTC 2024 - 2.4K bytes - Viewed (0) -
testing/internal-performance-testing/src/test/groovy/org/gradle/performance/measure/AmountTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.4K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/DefaultSerializerTest.groovy
DefaultSerializer rhsSerializer = new DefaultSerializer(getClass().classLoader) DefaultSerializer lhsSerializer = new DefaultSerializer(getClass().classLoader) when: def areEquals = rhsSerializer.equals(lhsSerializer); then: areEquals }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/DefaultToolchainSpecTest.groovy
class DefaultToolchainSpecTest extends Specification { JavaToolchainSpec createSpec() { TestUtil.objectFactory().newInstance(DefaultToolchainSpec) } def "spec key implements equals"() { given: def spec11 = createSpec() def spec12 = createSpec() def spec11Vendor1 = createSpec() def spec11Vendor2 = createSpec() def spec11Impl1 = createSpec()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:03:55 UTC 2024 - 2.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationNotificationsFixture.groovy
verify(notification.getNotificationOperationResult(), 'Result') } private void verify(Object obj, String suffix = null) { if (obj.getClass().getName().equals("org.gradle.internal.operations.OperationProgressDetails")) { // This progress notification is emitted by Gradle itself. return; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.5K bytes - Viewed (0) -
testing/soak/src/testFixtures/groovy/org/gradle/launcher/daemon/fixtures/FullyQualifiedGarbageCollector.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.3K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
} class TestDomainObject implements Attachable<TestDomainObject>, Serializable { def value TestDomainObject(String value) { this.value = value } @Override boolean equals(Object o) { return o.value == value } @Override int hashCode() { return value.hashCode() } void attach(ClassMetaDataRepository<TestDomainObject> repository) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyRead.groovy
return new SystemPropertyRead() { @Override String getJavaExpression() { return "(String)System.getProperties().entrySet().stream().filter(e -> e.getKey().equals(\"$name\")).findFirst().get().getValue()"; } @Override String getGroovyExpression() { return "System.properties.entrySet().find { it.key == '$name'}.value"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 7.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/NtlmAuthenticator.groovy
def response = NtlmPasswordAuthentication.getLMv2Response(authentication.domain, authentication.username, credentials, challenge, clientChallenge) return Arrays.equals(hash, response) } return false } } private static class NtlmConnectionAuthentication { byte[] challenge Authentication.User user
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.2K bytes - Viewed (0)