Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ConcurrentSpecification (0.35 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/util/ConcurrentSpecification.groovy

     * limitations under the License.
     */
    package org.gradle.util
    
    import org.gradle.test.fixtures.ConcurrentTestUtil
    import org.junit.Rule
    import spock.lang.Specification
    
    class ConcurrentSpecification extends Specification {
        @Rule @Delegate ConcurrentTestUtil concurrent = new ConcurrentTestUtil()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 22 14:16:41 UTC 2013
    - 880 bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonCancelForwarderTest.groovy

    import org.gradle.launcher.daemon.protocol.Cancel
    import org.gradle.internal.dispatch.Dispatch
    import org.gradle.util.ConcurrentSpecification
    
    import java.util.concurrent.LinkedBlockingQueue
    import java.util.concurrent.TimeUnit
    
    class DaemonCancelForwarderTest extends ConcurrentSpecification {
    
        def cancellationToken = new DefaultBuildCancellationToken()
    
        def received = new LinkedBlockingQueue()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerAwaitableFileLockReleasedSignalTest.groovy

     */
    
    package org.gradle.cache.internal
    
    import org.gradle.util.ConcurrentSpecification
    import spock.lang.Subject
    
    import java.util.concurrent.atomic.AtomicInteger
    
    import static org.gradle.test.fixtures.ConcurrentTestUtil.poll
    
    class DefaultFileLockManagerAwaitableFileLockReleasedSignalTest extends ConcurrentSpecification {
    
        @Subject def signal = new DefaultFileLockManager.AwaitableFileLockReleasedSignal()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/cacheops/CacheAccessOperationsStackTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.cache.internal.cacheops
    
    import org.gradle.util.ConcurrentSpecification
    
    class CacheAccessOperationsStackTest extends ConcurrentSpecification {
    
        def stack = new CacheAccessOperationsStack()
    
        def "maintains operations per thread #count"() {
            expect:
            start {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/FileLockCommunicatorTest.groovy

    
    package org.gradle.cache.internal.locklistener
    
    import org.gradle.internal.remote.internal.inet.InetAddressFactory
    import org.gradle.util.ConcurrentSpecification
    
    import static org.gradle.test.fixtures.ConcurrentTestUtil.poll
    
    class FileLockCommunicatorTest extends ConcurrentSpecification {
    
        def addressFactory = new InetAddressFactory()
        def communicator = new FileLockCommunicator(new InetAddressProvider() {
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:49 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. platforms/software/resources-http/src/integTest/groovy/org/gradle/internal/resource/transport/http/HttpResourceAccessorIntegrationTest.groovy

     */
    
    package org.gradle.internal.resource.transport.http
    
    import org.gradle.internal.resource.ExternalResourceName
    import org.gradle.util.ConcurrentSpecification
    import spock.lang.Issue
    
    class HttpResourceAccessorIntegrationTest extends ConcurrentSpecification {
        def uri = new URI("http://somewhere")
        def name = new ExternalResourceName(uri)
    
        @Issue("GRADLE-3574")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonStopClientTest.groovy

    import org.gradle.launcher.daemon.protocol.Stop
    import org.gradle.launcher.daemon.protocol.StopWhenIdle
    import org.gradle.launcher.daemon.protocol.Success
    import org.gradle.util.ConcurrentSpecification
    
    class DaemonStopClientTest extends ConcurrentSpecification {
        final DaemonConnector connector = Mock()
        final DaemonClientConnection connection = Mock()
        final def idGenerator = new UUIDGenerator()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/client-services/build.gradle.kts

        implementation(libs.asm)
        implementation(libs.slf4jApi)
        implementation(project(":stdlib-java-extensions"))
    
        testImplementation(testFixtures(project(":core"))) {
            because("ConcurrentSpecification")
        }
        testImplementation(project(":tooling-api")) {
            because("Unit tests verify serialization works with TAPI types")
        }
        testImplementation(testFixtures(project(":daemon-protocol")))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarderTest.groovy

    import org.gradle.launcher.daemon.protocol.UserResponse
    import org.gradle.util.ConcurrentSpecification
    
    import java.util.concurrent.LinkedBlockingQueue
    import java.util.concurrent.TimeUnit
    
    import static org.gradle.util.internal.TextUtil.toPlatformLineSeparators
    
    class DaemonClientInputForwarderTest extends ConcurrentSpecification {
        def source = new PipedOutputStream()
        def inputStream = new PipedInputStream(source)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandlerTest.groovy

    import org.gradle.internal.remote.internal.inet.InetAddressFactory
    import org.gradle.util.ConcurrentSpecification
    
    import java.util.concurrent.atomic.AtomicBoolean
    
    import static org.gradle.test.fixtures.ConcurrentTestUtil.poll
    
    class DefaultFileLockContentionHandlerTest extends ConcurrentSpecification {
        def addressFactory = new InetAddressFactory()
        def addressProvider = new InetAddressProvider() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top