Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for notThrown (0.14 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/integTest/groovy/org/gradle/integtests/tooling/ToolingApiIntegrationTest.groovy

                connector.useBuildDistribution()
            }
            toolingApi.withConnection { connection -> connection.newBuild().forTasks('check').run() }
    
            then:
            notThrown(Throwable)
        }
    
        def "tooling api searches up from the project directory to find the wrapper properties"() {
            settingsFile << "include 'child'"
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  4. 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)
  5. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapterForBuildOperationsTest.groovy

            _ * childEvent.getEventTime() >> 999
            _ * childEvent.getDescriptor() >> childTaskDescriptor
    
            adapter.onEvent(parentEvent)
            adapter.onEvent(childEvent)
    
            then:
            notThrown(IllegalStateException)
        }
    
        def "convert all InternalBuildDescriptor attributes"() {
            given:
            def listener = Mock(ProgressListener)
            def adapter = createAdapter(listener)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapterForTestOperationsTest.groovy

            _ * childEvent.getEventTime() >> 999
            _ * childEvent.getDescriptor() >> childTestDescriptor
    
            adapter.onEvent(parentEvent)
            adapter.onEvent(childEvent)
    
            then:
            notThrown(IllegalStateException)
        }
    
        def "convert all InternalJvmTestDescriptor attributes"() {
            given:
            def listener = Mock(ProgressListener)
            def adapter = createAdapter(listener)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapterForTaskOperationsTest.groovy

            _ * childEvent.getEventTime() >> 999
            _ * childEvent.getDescriptor() >> childTaskDescriptor
    
            adapter.onEvent(parentEvent)
            adapter.onEvent(childEvent)
    
            then:
            notThrown(IllegalStateException)
        }
    
        def "convert all InternalTaskDescriptor attributes"() {
            given:
            def listener = Mock(ProgressListener)
            def adapter = createAdapter(listener)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 21.3K bytes
    - Viewed (0)
Back to top