Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for stopsAllElementsWhenOneFailsToStop (0.91 sec)

  1. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/CompositeStoppableTest.groovy

            stoppable.add(a)
            stoppable.add(b)
    
            when:
            stoppable.stop()
    
            then:
            1 * a.stop()
            1 * b.stop()
        }
    
        def stopsAllElementsWhenOneFailsToStop() {
            Stoppable a = Mock()
            Stoppable b = Mock()
            RuntimeException failure = new RuntimeException()
            stoppable.add(a)
            stoppable.add(b)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top