Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 169 for equals (0.11 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            then:
            def e = thrown(IllegalArgumentException)
            e.message == 'Unable to find matching strategy for flavor'
        }
    
        def "treats equal values as compatible when no rules defined"() {
            given:
            def attribute = Attribute.of(String)
            schema.attribute(attribute)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/internal/plugins/WindowsStartScriptGeneratorTest.groovy

            def windowsLineEndings = scriptText.split(TextUtil.windowsLineSeparator).length
    
            // Windows line endings are made up of two characters,
            // we should see an equal number of lines unless
            // the generator is using the wrong line ending entirely
            // or has generated some lines with one or the other character
            carriageLineEndings == newlineEndings
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r54/KotlinBuildScriptModelCrossVersionSpec.groovy

    import org.gradle.test.fixtures.Flaky
    import org.gradle.util.GradleVersion
    import org.hamcrest.Matcher
    
    import static org.hamcrest.CoreMatchers.allOf
    import static org.hamcrest.CoreMatchers.equalTo
    import static org.hamcrest.CoreMatchers.hasItem
    import static org.hamcrest.CoreMatchers.hasItems
    import static org.hamcrest.CoreMatchers.not
    import static org.hamcrest.MatcherAssert.assertThat
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 08:52:51 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/DefaultIvyArtifactNameTest.groovy

            "ext" | "classifier" | "name-classifier.ext"
            "ext" | null         | "name.ext"
            null  | "classifier" | "name-classifier"
            null  | null         | "name"
        }
    
        def "is equal when all fields are equal"() {
            def name = new DefaultIvyArtifactName("name", "type", "ext", 'classifier')
            def same = new DefaultIvyArtifactName("name", "type", "ext", 'classifier')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/DefaultProjectDependencyTest.groovy

            and:
            files == conf.allArtifacts.files as Set
        }
    
        void "knows when content is equal"() {
            def d1 = createProjectDependency()
            def d2 = createProjectDependency()
    
            expect:
            d1.contentEquals(d2)
        }
    
        void "knows when content is not equal"() {
            def d1 = createProjectDependency()
            def d2 = createProjectDependency()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonExpirationTest.groovy

            1 * client2.stop()
            0 * client3.stop()
    
            and:
            reserveIdleClient(oneGbOptions) == client3
        }
    
        def "expires all idle daemons when requested memory is equal than what all daemons consume"() {
            given:
            def client1 = reserveNewClient(oneGbOptions)
            def client2 = reserveNewClient(threeGbOptions)
    
            and:
            clientsManager.release(client1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractCaseVfsRelativePathTest.groovy

            where:
            path1              | offset | path2         | result
            "/var/hello/world" | 5      | "hello-other" | -1
        }
    
        def "equal chars are equal"() {
            expect:
            (Character.MIN_VALUE..Character.MAX_VALUE).each { currentChar ->
                assert compareCharsIgnoringCase(currentChar as char, currentChar as char) == 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/OutputFileChangesTest.groovy

        def "empties"() {
            expect:
            changes(
                FileSystemSnapshot.EMPTY,
                FileSystemSnapshot.EMPTY
            ) == []
        }
    
        def "equal hash for #current.type"() {
            expect:
            changes(previous, current) == []
    
            where:
            previous                        | current
            regularFile("one", 0x1234)      | regularFile("one", 0x1234)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryBuildTypesIntegrationTest.groovy

                }
            }
            hello(NativeLibrarySpec)
        }
        binaries {
            all {
                if (buildType == buildTypes.debug) {
                    cppCompiler.define "FRENCH" // Equate 'debug' to 'french' for this test
                }
            }
        }
    }
            """
            and:
            succeeds "installMainDebugExecutable", "installMainReleaseExecutable"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top