Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for strictlyEquals (0.17 sec)

  1. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/DefaultToolchainSpecTest.groovy

            then:
            Matchers.strictlyEquals(spec11.toKey(), spec11.toKey())
            Matchers.strictlyEquals(spec11.toKey(), spec11Impl1.toKey())
            Matchers.strictlyEquals(spec11Vendor1.toKey(), spec11Vendor1.toKey())
            !Matchers.strictlyEquals(spec11Vendor1.toKey(), spec11Vendor2.toKey())
            !Matchers.strictlyEquals(spec11.toKey(), spec12.toKey())
            Matchers.strictlyEquals(spec11Impl1.toKey(), spec11Impl1.toKey())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/component/local/model/OpaqueComponentIdentifierTest.groovy

    import org.gradle.api.artifacts.component.ComponentIdentifier
    import org.gradle.api.internal.artifacts.dsl.dependencies.DependencyFactoryInternal
    import spock.lang.Specification
    
    import static org.gradle.util.Matchers.strictlyEquals
    
    class OpaqueComponentIdentifierTest extends Specification {
        def "is instantiated with non-null constructor parameter value"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 16 00:55:32 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/ModelReferenceTest.groovy

            def scopeAndType = ModelReference.of(String).inScope(ModelPath.path("scope"))
    
            Matchers.strictlyEquals(path, ModelReference.of("path"))
            Matchers.strictlyEquals(type, ModelReference.of(String))
            Matchers.strictlyEquals(pathAndType, ModelReference.of("path", String))
            Matchers.strictlyEquals(scopeAndType, type.inScope(ModelPath.path("scope")))
    
            path != type
            path != pathAndType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/initialization/ClassLoaderIdsTest.groovy

    import static org.gradle.api.internal.initialization.ClassLoaderIds.testTaskClasspath
    import static org.gradle.util.Matchers.strictlyEquals
    
    class ClassLoaderIdsTest extends Specification {
    
        def "equality"() {
            expect:
            strictlyEquals(buildScript("x", "x"), buildScript("x", "x"))
            buildScript("x", "x") != buildScript("x", "y")
            buildScript("x", "x") != buildScript("y", "y")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 09 23:32:23 UTC 2015
    - 1.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/PathTest.groovy

            path(':a:b:').getPath() == ':a:b'
        }
    
        def "equals and hashCode"() {
            expect:
            strictlyEquals(Path.ROOT, Path.ROOT)
            strictlyEquals(path('path'), path('path'))
            strictlyEquals(path(':a:path'), path(':a:path'))
            !strictlyEquals(path(':a'), path(':b'))
            !strictlyEquals(path(':a'), path('a'))
        }
    
        def "can get parent"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 12:54:37 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. subprojects/core-api/src/test/groovy/org/gradle/model/internal/core/ModelTypeTest.groovy

            def superType = new ModelType<List<? extends Number>>() {}.typeVariables[0]
    
            Matchers.strictlyEquals(type, same)
            Matchers.strictlyEquals(wildcard, extendsObject)
            Matchers.strictlyEquals(parameterized, sameParameterized)
            type != wildcard
            type != parameterized
            type != extendsObject
            type != notWildcard
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 11 21:42:04 UTC 2018
    - 22.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/model/NamedObjectInstantiatorTest.groovy

            def n1 = factory.named(Named, "a")
            def n2 = factory.named(Named, "b")
    
            n1.is(n1)
            !n1.is(n2)
    
            n1.name == "a"
            n2.name == "b"
    
            Matchers.strictlyEquals(n1, n1)
            n2 != n1
            !n2.equals(n1)
    
            n1.hashCode() == n1.hashCode()
            n1.hashCode() != n2.hashCode()
    
            n1.toString() == "a"
            n2.toString() == "b"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/dispatch/ProxyDispatchAdapterTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.dispatch
    
    import spock.lang.Specification
    
    import static org.gradle.util.Matchers.strictlyEquals
    
    class ProxyDispatchAdapterTest extends Specification {
        private final Dispatch<MethodInvocation> dispatch = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. subprojects/core-api/src/test/groovy/org/gradle/api/tasks/util/PatternSetTest.groovy

            expect:
            strictlyEquals(new PatternSet(), new PatternSet())
            strictlyEquals(new PatternSet(caseSensitive: false), new PatternSet(caseSensitive: false))
            strictlyEquals(new PatternSet(includes: ['i']), new PatternSet(includes: ['i']))
            strictlyEquals(new PatternSet(excludes: ['e']), new PatternSet(excludes: ['e']))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 12:37:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/resolver/MavenUniqueSnapshotComponentIdentifierTest.groovy

    import org.gradle.api.artifacts.ModuleIdentifier
    import org.gradle.api.internal.artifacts.DefaultModuleIdentifier
    import spock.lang.Specification
    
    import static org.gradle.util.Matchers.strictlyEquals
    
    class MavenUniqueSnapshotComponentIdentifierTest extends Specification {
        private ModuleIdentifier moduleIdentifier = DefaultModuleIdentifier.newId("group", "module")
    
        def "delegates module version to owner"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top