Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toBeforeEvaluate (0.25 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/service/scopes/ProjectBackedPropertyHostTest.groovy

        }
    
        def "disallows read before completion when property has no producer"() {
            expect:
            host.beforeRead(null) == "configuration of <project> has not completed yet"
            state.toBeforeEvaluate()
            host.beforeRead(null) == "configuration of <project> has not completed yet"
            state.toEvaluate()
            host.beforeRead(null) == "configuration of <project> has not completed yet"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Aug 28 21:50:20 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/configuration/project/LifecycleProjectEvaluatorTest.groovy

            then:
            state.executed
            0 * delegate._
    
            and:
            operations.empty
        }
    
        void "nothing happens if project is being configured now"() {
            given:
            state.toBeforeEvaluate()
    
            when:
            evaluate()
    
            then:
            state.configuring
            0 * delegate._
    
            and:
            operations.empty
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/configuration/project/LifecycleProjectEvaluator.java

                project.getOwner().applyToMutableState(p -> {
                    // Note: beforeEvaluate and afterEvaluate ops do not throw, instead mark state as failed
                    try {
                        state.toBeforeEvaluate();
                        buildOperationRunner.run(new NotifyBeforeEvaluate(project, state));
    
                        if (!state.hasFailure()) {
                            state.toEvaluate();
                            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top