Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DefaultDynamicCallProblemReporting (0.49 sec)

  1. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultDynamicCallProblemReportingTest.kt

            val reporting = DefaultDynamicCallProblemReporting()
            reporting.enterDynamicCall(Any())
            assertThrows(IllegalStateException::class.java) {
                reporting.leaveDynamicCall(Any())
            }
        }
    
        @Test
        fun `keeps state per thread`() {
            val reporting = DefaultDynamicCallProblemReporting()
    
            val latch = CountDownLatch(3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DynamicCallProblemReporting.kt

         *
         * @return a value saying whether this problem has not been reported yet in the current dynamic call.
         */
        fun unreportedProblemInCurrentCall(problemKey: Any): Boolean
    }
    
    
    class DefaultDynamicCallProblemReporting : DynamicCallProblemReporting {
        private
        class CallEntry(val entryPoint: Any) {
            val problemsReportedInCurrentCall: MutableSet<Any> = HashSet(1)
        }
    
        private
        class State {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultBuildModelControllerServices.kt

                )
            }
    
            @Provides
            fun createDynamicCallProjectIsolationProblemReporting(dynamicCallContextTracker: DynamicCallContextTracker): DynamicCallProblemReporting =
                DefaultDynamicCallProblemReporting().also { reporting ->
                    dynamicCallContextTracker.onEnter(reporting::enterDynamicCall)
                    dynamicCallContextTracker.onLeave(reporting::leaveDynamicCall)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top