Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for equals (0.13 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/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy

            // Verify some assumptions: that we've got the correct characters in there, and that we're not using the system encoding
            assert code.contains(new String(Character.toChars(0x3b1)))
            assert !Arrays.equals(code.bytes, file.bytes)
        }
    
        def badCode() {
            file("src/main/java/compile/test/Person.java") << """
                package compile.test;
    
                public class Person {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 01 01:34:12 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/RepoScriptBlockUtil.groovy

                    }
    
                    static void mirror(IvyArtifactRepository repo) {
                        ${mirrorConditions}
                    }
    
                    // We see them as equal:
                    // https://repo.maven.apache.org/maven2/ and http://repo.maven.apache.org/maven2
                    static String normalizeUrl(Object url) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

            output.count("files 1: [lib1.jar.size, lib2.jar.size, lib3.jar.size, lib4-1.0.jar.size]") == 2
    
            output.count("Transformed") == 0
        }
    
        def "can use custom type that does not implement equals() for transform configuration"() {
            given:
            buildFile << declareAttributes() << withJarTasks() << """
                class CustomType implements Serializable {
                    String value
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  7. 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