Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for equals (0.07 sec)

  1. 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)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCircularReferenceIntegrationTest.groovy

                    }
    
                    int hashCode() {
                        assert a != null && z != null
                        a.hashCode() ^ z.hashCode()
                    }
    
                    boolean equals(Object other) {
                        assert a != null && z != null
                        (other instanceof Circular) && a == other.a && z == other.z
                    }
    
                    String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/test/groovy/org/gradle/integtests/tooling/fixture/GradleVersionSpecTest.groovy

            !spec.isSatisfiedBy(GradleVersion.version("1.5"))
            !spec.isSatisfiedBy(GradleVersion.version("1.5-rc-1"))
            !spec.isSatisfiedBy(GradleVersion.version("12.45"))
        }
    
        def "equals version constraint matches versions with same base version"() {
            def spec = new GradleVersionSpec().toSpec("=1.4")
    
            expect:
            spec.isSatisfiedBy(GradleVersion.version("1.4"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. platforms/ide/problems-api/src/test/groovy/org/gradle/api/problems/internal/DefaultProblemTest.groovy

    import org.gradle.internal.deprecation.Documentation
    import org.gradle.internal.operations.OperationIdentifier
    import spock.lang.Specification
    
    class DefaultProblemTest extends Specification {
        def "unbound builder result is equal to original"() {
            def additionalData = Mock(AdditionalData)
            def problem = createTestProblem(severity, additionalData)
    
            def newProblem = problem.toBuilder().build()
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top