Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 169 for equals (0.18 sec)

  1. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/BasicZincScalaCompilerIntegrationTest.groovy

            // Verify some assumptions: that we've got the correct characters in there, and that we're not using the system encoding
            assert code.contains(new String(Character.toChars(0x3b1)))
            assert !Arrays.equals(code.bytes, file.bytes)
        }
    
        def badCode() {
            file("src/main/scala/compile/test/Person.scala") << """package compile.test
    
    class Person(val name: String, val age: Int) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultMutableAttributeContainerTest.groovy

            e.message.contains("Unexpected type for attribute 'test' provided. Expected a value of type java.lang.String but found a value of type java.lang.Integer.")
        }
    
        def "equals should return true for 2 containers with different provider instances that return the same value"() {
            Property<String> testProperty1 = new DefaultProperty<>(Mock(PropertyHost), String).convention("value")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 08 14:34:28 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. 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)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestReportTaskIntegrationTest.groovy

            result.testClass("LoggingTest").assertStderr(equalTo("This is stderr.\n"))
    
            when:
            executer.withArguments("-DLogLessStuff=true")
            run "test"
    
            then:
            result.testClass("LoggingTest").assertStdout(equalTo("stdout.\n"))
            result.testClass("LoggingTest").assertStderr(equalTo("stderr.\n"))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  8. 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)
  9. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/AbstractMavenPublishJavaIntegTest.groovy

                                asNode().dependencyManagement.dependencies.dependency.findAll { node ->
                                    node.groupId[0].text().equals('org.test') &&
                                    node.artifactId[0].text().equals('platform') &&
                                    node.scope[0].text().equals('import')
                                }.each { node -> node.replaceNode {} }
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 45.6K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterCategoriesOrTagsCoverageIntegrationTest.groovy

                                                                         ExtensionContext extensionContext) {
                                            return parameterContext.getParameter().getType().equals(Locale.class);
                                        }
    
                                        @Override
                                        public Object resolveParameter(ParameterContext parameterContext,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.2K bytes
    - Viewed (0)
Back to top