Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for strictlyEquals (0.18 sec)

  1. 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)
  2. 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)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

            def impl2 = proxyClass.newInstance(state2, typeConverter)
    
            then:
            Matchers.strictlyEquals(impl1, sameState)
            Matchers.strictlyEquals(impl1, sameStateDifferentType)
            !impl1.equals(impl2)
        }
    
        def "Two views are equal when their state objects are equal"() {
            def state1 = Mock(GeneratedViewState)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultResolvedDependencySpec.groovy

    import org.gradle.util.TestUtil
    import spock.lang.Specification
    
    import static com.google.common.collect.Iterables.concat
    import static com.google.common.collect.Sets.newHashSet
    import static org.gradle.util.Matchers.strictlyEquals
    import static org.gradle.util.internal.WrapUtil.toSet
    
    class DefaultResolvedDependencySpec extends Specification {private BuildOperationExecutor buildOperationProcessor = new TestBuildOperationExecutor()
    
        def init() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy

                    file 'java'
                }
            }
    
            expect:
            def jvm = new Jvm(os, installDir, "1.8.0", 8)
            def jvm2 = new Jvm(os, installDir, "1.8.0", 8)
            Matchers.strictlyEquals(jvm, jvm2)
        }
    
        def "Returns current JVM when located using Java home dir"() {
            expect:
            def current = Jvm.current()
            def jvm = Jvm.forHome(current.javaHome)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/ProtocolToModelAdapterTest.groovy

            def equal = adapter.adapt(TestModel.class, protocolModel1)
            def different = adapter.adapt(TestModel.class, protocolModel2)
    
            expect:
            Matchers.strictlyEquals(model, equal)
            model != different
        }
    
        def methodInvocationOnModelDelegatesToTheProtocolModelObject() {
            TestProtocolModel protocolModel = Mock()
            _ * protocolModel.getName() >> 'name'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  7. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/ExternalResourceNameTest.groovy

            def relative = new ExternalResourceName("a/b/c")
            def sameRelative = new ExternalResourceName("a/b/c")
    
            expect:
            name Matchers.strictlyEqual(same)
            name Matchers.strictlyEqual(samePath)
            relative Matchers.strictlyEqual(sameRelative)
            name != differentPath
            name != differentRoot
            name != relative
        }
    
        def "can resolve an absolute path"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 17:19:47 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top