Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 169 for equals (0.18 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultModuleIdentifierSpec.groovy

        def "has useful toString()"() {
            def module = DefaultModuleIdentifier.newId("org.foo", "bar")
    
            expect:
            module.toString().contains("org.foo:bar")
        }
    
        def "ids are equal when group, module and version are equal"() {
            def module = DefaultModuleIdentifier.newId("group", "module")
            def same = DefaultModuleIdentifier.newId("group", "module")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/ComponentFileArtifactIdentifierTest.groovy

            def componentId = new DummyComponentIdentifier()
    
            expect:
            new ComponentFileArtifactIdentifier(componentId, "thing").toString() == "thing (example)"
        }
    
        def "identifiers are equal when display names are equal"() {
            def componentId = new DummyComponentIdentifier()
            def otherId = new DummyComponentIdentifier()
    
            def id = new ComponentFileArtifactIdentifier(componentId, "one")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/SocketInetAddressTest.groovy

            expect:
            address.displayName == "localhost/${localhost.hostAddress}:234"
            address.toString() == "localhost/${localhost.hostAddress}:234"
        }
    
        def "equal when address and port are equal"() {
            def address = new SocketInetAddress(localhost, 234)
            def same = new SocketInetAddress(localhost, 234)
            def differentPort = new SocketInetAddress(localhost, 45)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultModuleVersionIdentifierSpec.groovy

            def module = new DefaultModuleVersionIdentifier("group", "module", "version")
    
            expect:
            module.toString().contains("group:module:version")
        }
    
        def "ids are equal when group, module and version are equal"() {
            def module = new DefaultModuleVersionIdentifier("group", "module", "version")
            def same = new DefaultModuleVersionIdentifier("group", "module", "version")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r68/KotlinDslScriptsModelCrossVersionSpec.groovy

    @LeaksFileHandles("Kotlin Compiler Daemon taking time to shut down")
    class KotlinDslScriptsModelCrossVersionSpec extends AbstractKotlinDslScriptsModelCrossVersionSpec {
    
        def "single request models for init scripts equal multi requests models"() {
    
            given:
            def spec = withBuildSrcAndInitScripts()
    
    
            when:
            def model = loadValidatedToolingModel(KotlinDslScriptsModel) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 21 09:28:30 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/CaseInsensitiveVfsRelativePathTest.groovy

    import static org.gradle.internal.snapshot.PathUtil.equalChars
    
    class CaseInsensitiveVfsRelativePathTest extends AbstractCaseVfsRelativePathTest {
    
        def "#left and #right are equal ignoring case"() {
            char char1 = left as char
            char char2 = right as char
            expect:
            equalChars(char2, char1, CASE_INSENSITIVE)
            equalChars(char1, char2, CASE_INSENSITIVE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r60/KotlinDslScriptsModelCrossVersionSpec.groovy

    @Flaky(because = 'https://github.com/gradle/gradle-private/issues/3414')
    class KotlinDslScriptsModelCrossVersionSpec extends AbstractKotlinDslScriptsModelCrossVersionSpec {
    
        def "single request models equal multi requests models"() {
    
            given:
            toolingApi.requireIsolatedUserHome()
    
            and:
            def spec = withMultiProjectBuildWithBuildSrc()
    
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 16 19:10:39 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/ImplementationSnapshotTest.groovy

            // JDK 21 lambdas do not have a counter, verify they pass the check too
            'SomeClassName$$Lambda/19410584'             | true
        }
    
        def "implementation snapshots are not equal for #description"() {
            expect:
            implementationFactory() != implementationFactory()
    
            where:
            description                                  | implementationFactory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:07 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultResolvableArtifactTest.groovy

    import spock.lang.Specification
    
    class DefaultResolvableArtifactTest extends Specification {
        def calculatedValueContainerFactory = TestUtil.calculatedValueContainerFactory()
    
        def "artifacts are equal when artifact identifier is equal"() {
            def dependency = dep("group", "module1", "1.2")
            def dependencySameModule = dep("group", "module1", "1.2")
            def dependency2 = dep("group", "module2", "1-beta")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/DefaultComponentSpecIdentifierTest.groovy

            grandchild.parent == child
            grandchild.path == Path.path("name:child:grandchild")
            grandchild.projectScopedName == "nameChildGrandchild"
        }
    
        def "ids are equal when name and parent and project are equal"() {
            expect:
            def topLevel = new DefaultComponentSpecIdentifier(":project", "name")
            def sameTopLevel = new DefaultComponentSpecIdentifier(":project", "name")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top