Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 165 for equals (0.13 sec)

  1. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiClientJdkCompatibilityTest.groovy

                        System.out.println("allow unusable daemons = " + allowUnusable);
                        try {
                            if (action.equals("help")) {
                                runHelp(projectDir, gradleVersion, javaHome, gradleUserHome);
                            } else if (action.equals("action")) {
                                buildAction(projectDir, gradleVersion, javaHome, gradleUserHome);
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ExclusiveVariantsIntegrationTest.groovy

                            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, "custom"))
                        }
                        if (!"${capability}".equals('default')) {
                            outgoing.capability('org.test:sample:1.0')
                        }
                    }
    
                    sample2 {
                        canBeResolved = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:34:52 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/CachingClassLoaderTest.groovy

            classLoader.visit(visitor)
    
            then:
            1 * visitor.visitSpec({it instanceof CachingClassLoader.Spec})
            1 * visitor.visitParent(parent)
            0 * visitor._
        }
    
        def "equals and hashcode"() {
            def c1 = new URLClassLoader()
            def c2 = new URLClassLoader()
    
            expect:
            new CachingClassLoader(c1) == new CachingClassLoader(c1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ScalarTypesInManagedModelIntegrationTest.groovy

                                        assert new BigInteger("4").equals(element.getBigIntegerProperty());
                                        assert new BigDecimal("5.5").equals(element.getBigDecimalProperty());
                                        assert element.getStringProperty().equals("test");
                                        assert "sample.txt".equals(element.getFile().toString());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  5. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginDependenciesIntegrationTest.groovy

                    @Test
                    public void testFoo() {
                        Class1 c = new Class1();
                        assertTrue(c.isFoo("foo"));
                    }
    
                    public boolean equals(Object arg) { return java.lang.Boolean.valueOf(true); }
                }
                """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyExtraInfoTest.groovy

                    (new NamespaceId('http://my.extra.info', 'bar')): 'barValue'
            ])
    
            when:
            extraInfo.get('foo')
    
            then:
            def e = thrown(InvalidUserDataException)
            e.message.equals('Cannot get extra info element named \'foo\' by name since elements with this name were found from multiple namespaces (http://my.extra.info, http://some.extra.info).  Use get(String namespace, String name) instead.')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ResourceFilterMatcherTest.groovy

    import org.gradle.plugins.ide.eclipse.model.internal.DefaultResourceFilterMatcher
    import spock.lang.Specification
    
    public class ResourceFilterMatcherTest extends Specification {
        def "ResourceFilterMatcher equals and hashCode satisfies contract"() {
            when:
            EqualsVerifier.forClass(DefaultResourceFilterMatcher.class)
                    .suppress(Warning.NONFINAL_FIELDS)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/idea/model/PathTest.groovy

    import spock.lang.Specification
    
    class PathTest extends Specification {
        def "paths are equal when they have the same canonical url"() {
            expect:
            Matchers.strictlyEquals(new Path('file://$ROOT_DIR$/file'), new Path('file://$ROOT_DIR$/file'))
            new Path('file://$ROOT_DIR$/file') != new Path('file://$ROOT_DIR$/other')
        }
    
        def "equals honors subclasses"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ResourceFilterTest.groovy

    import org.gradle.plugins.ide.eclipse.model.internal.DefaultResourceFilterMatcher
    import spock.lang.Specification
    
    public class ResourceFilterTest extends Specification {
        def "ResourceFilter equals and hashCode satisfies contract"() {
            when:
            EqualsVerifier.forClass(DefaultResourceFilter.class)
                    .suppress(Warning.NONFINAL_FIELDS)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/NormalizingCopyActionDecoratorTest.groovy

                }
    
                boolean matches(Object o) {
                    FileCopyDetails details = (FileCopyDetails) o
                    return details.getRelativePath().getPathString().equals(path)
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 22 14:38:33 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top