Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for notThrown (0.1 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

            given:
            unlockUncleanly()
    
            when:
            createLock(Exclusive).writeFile {}
    
            then:
            notThrown FileIntegrityViolationException
        }
    
        def "can lock a file"() {
            when:
            def lock = createLock(lockMode)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DefaultDaemonConnectionTest.groovy

            connection.disconnect()
            daemonConnection.stop()
    
            then:
            notThrown()
        }
    
        def "handles case where cannot receive from connection"() {
            when:
            connection.queueBroken()
            daemonConnection.stop()
    
            then:
            notThrown()
        }
    
        def "handles failure to notify stdin handler"() {
            StdinHandler handler = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

        }
    
        def "disconnect before build starts"() {
            when:
            def connector = toolingApi.connector()
            connector.connect()
            connector.disconnect()
    
            then:
            notThrown(Exception)
            assertNoRunningDaemons()
        }
    
        def "can call disconnect after the build was cancelled"() {
            buildFile.text = """
                task hang {
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top