Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 110 for equals (0.1 sec)

  1. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/RestartEveryNTestClassProcessorTest.groovy

            1 * delegate.processTestClass(test1)
            then:
            1 * delegate.processTestClass(test2)
            then:
            1 * delegate.stop()
            0 * _._
        }
    
        def 'uses single batch when n equals zero'() {
            given:
            processor = new RestartEveryNTestClassProcessor(factory, 0)
    
            when:
            processor.startProcessing(resultProcessor)
            processor.processTestClass(test1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationFixture.groovy

                        .addConverter(new groovy.json.JsonGenerator.Converter() {
                            @Override
                            public boolean handles(Class<?> type) {
                                return Class.class.equals(type);
                            }
    
                            @Override
                            public Object convert(Object value, String key) {
                                Class<?> clazz = (Class<?>) value;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 20 11:47:00 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCircularReferenceIntegrationTest.groovy

                    }
    
                    int hashCode() {
                        assert a != null && z != null
                        a.hashCode() ^ z.hashCode()
                    }
    
                    boolean equals(Object other) {
                        assert a != null && z != null
                        (other instanceof Circular) && a == other.a && z == other.z
                    }
    
                    String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonIntegrationTest.groovy

            workerClass.imports.add("java.net.URL")
            workerClass.action += """
                assert new File('${normaliseFileSeparators(differentJvm.jre.absolutePath)}').canonicalPath.equals(new File(System.getProperty("java.home")).canonicalPath);
            """
            return workerClass
        }
    
        WorkerExecutorFixture.WorkActionClass getWorkActionThatVerifiesOptions(OptionsVerifier optionsVerifier) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/test/groovy/org/gradle/integtests/tooling/fixture/GradleVersionSpecTest.groovy

            !spec.isSatisfiedBy(GradleVersion.version("1.5"))
            !spec.isSatisfiedBy(GradleVersion.version("1.5-rc-1"))
            !spec.isSatisfiedBy(GradleVersion.version("12.45"))
        }
    
        def "equals version constraint matches versions with same base version"() {
            def spec = new GradleVersionSpec().toSpec("=1.4")
    
            expect:
            spec.isSatisfiedBy(GradleVersion.version("1.4"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/PathTest.groovy

            path('a').getPath() == 'a'
            path('a:b:c').getPath() == 'a:b:c'
            path(':a').getPath() == ':a'
            path(':a:b').getPath() == ':a:b'
            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'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 12:54:37 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/test/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelCheckerTest.groovy

        def "passes with equal values"() {
            when:
            ToolingApiModelChecker.checkModel(
                dummyModel("someValue"),
                dummyModel("some" + "Value"),
                [
                    { it.value }
                ]
            )
    
            then:
            noExceptionThrown()
        }
    
        def "passes with equal values from different model implementations"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionParserTest.groovy

    class VersionParserTest extends Specification {
    
        @Subject
        VersionParser versionParser = new VersionParser()
    
        def "parsed version is equal when source string is equal"() {
            def v = parse("1.2.b")
            def equal = parse("1.2.b")
    
            expect:
            v strictlyEqual(equal)
            v != parse("1.2.c")
            v != parse("1.2")
            v != parse("1.2.b.0")
            v != parse("1.2-b")
            v != parse("1.2b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r54/AccessorsClassPathModelCrossVersionSpec.groovy

            def s5 = setOfAutomaticAccessorsFor(["java"])
    
            expect:
            assertThat(s1, not(equalTo(s2))) // application ≠ java
            assertThat(s1, equalTo(s3))      // application = application
            assertThat(s2, equalTo(s5))      // java        = java
            assertThat(s1, equalTo(s4))      // application ⊇ java
        }
    
        private void assertAccessorsInClassPathOf(File buildFile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitConsoleLoggingIntegrationTest.groovy

                    .assertTestFailed("encodesAttributeValues", equalTo('java.lang.RuntimeException: html: <> cdata: ]]>'))
                    .assertStdout(containsString(
                        "< html allowed, cdata closing token ]]> encoded!\n" +
                        "no EOL, non-asci char: ż\n" +
                        "xml entity: &amp;"
                    ))
                    .assertStderr(equalTo("< html allowed, cdata closing token ]]> encoded!\n"))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:58:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top