Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for withProblemsWithStackTraceCount (0.69 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

                    "Task `:broken` of type `SomeTask`: cannot serialize object of type '$concreteTypeName', a subtype of '${baseType.name}', as these are not supported with the configuration cache."
                )
                withProblemsWithStackTraceCount(0)
            }
    
            and:
            outputContains("this.reference = null")
            outputContains("bean.reference = null")
            outputContains("beanWithSameType.reference = null")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCompositeBuildsIntegrationTest.groovy

                withUniqueProblems(expectedProblem)
                withProblemsWithStackTraceCount(0)
            }
    
            when:
            configurationCacheRunLenient("help")
    
            then:
            problems.assertResultHasProblems(result) {
                withTotalProblemsCount(2)
                withUniqueProblems(expectedProblem)
                withProblemsWithStackTraceCount(0)
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemsServiceIntegTest.groovy

                withTotalProblemsCount(1)
                withUniqueProblems(
                    "Build file 'build.gradle': line 2: registration of listener on 'Gradle.buildFinished' is unsupported")
                withProblemsWithStackTraceCount(1)
            }
    
            and:
            verifyAll(receivedProblem(0)) {
                fqid == REGISTRATION_UNSUPPORTED
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskExecutionIntegrationTest.groovy

                    }
                }
            """)
    
            when:
            configurationCacheRun("offender")
    
            then:
            problems.assertResultHasProblems(result) {
                withProblemsWithStackTraceCount(2)
                withProblem("Build file 'build.gradle': line 11: invocation of 'Task.project' at execution time is unsupported.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCircularReferenceIntegrationTest.groovy

                withUniqueProblems("Task `:circular` of type `org.gradle.api.DefaultTask`: Circular references can lead to undefined behavior upon deserialization.")
                withTotalProblemsCount(2)
                withProblemsWithStackTraceCount(0)
            }
    
            when:
            configurationCacheRunLenient 'circular'
    
            then:
            configurationCache.assertStateLoaded()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheScriptTaskDefinitionIntegrationTest.groovy

                    "Task `:some` of type `org.gradle.api.DefaultTask`: cannot serialize Gradle script object references as these are not supported with the configuration cache."
                )
                withProblemsWithStackTraceCount(0)
            }
        }
    
        def "task with type declared in Groovy script is up-to-date when no inputs have changed"() {
            given:
            taskTypeWithOutputFileProperty()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheProblemsFixture.groovy

        HasConfigurationCacheProblemsSpec withTotalProblemsCount(int totalProblemsCount) {
            this.totalProblemsCount = totalProblemsCount
            return this
        }
    
        HasConfigurationCacheProblemsSpec withProblemsWithStackTraceCount(int problemsWithStackTraceCount) {
            this.problemsWithStackTraceCount = problemsWithStackTraceCount
            return this
        }
    
        HasConfigurationCacheProblemsSpec withInput(String prefix) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top