Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for doIsLockedByCurrentThread (0.27 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/DefaultResourceLockCoordinationServiceTest.groovy

            then:
            lock1.lockedState == lock1Locked || (!lock1Locked && !lock2Locked)
            lock2.lockedState == lock2Locked || (!lock1Locked && !lock2Locked)
            result == (lock1.doIsLockedByCurrentThread() && lock2.doIsLockedByCurrentThread())
    
            where:
            lock1Locked | lock2Locked
            true        | true
            true        | false
            false       | true
            false       | false
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 17:16:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top