Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for notThrown (0.28 sec)

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

        }
    
        def "open does nothing when directory already exists"() {
            given:
            cacheDir.createDir()
    
            when:
            store.open()
    
            then:
            notThrown(RuntimeException)
        }
    
        def "open locks cache directory with requested mode"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:40:49 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/ForkingTestClassProcessorTest.groovy

            processor.stopNow()
            processor.stop()
    
            then:
            1 * workerProcess.stopNow()
            _ * workerProcess.waitForStop() >> { throw new ExecException("waitForStop can throw") }
            notThrown(ExecException)
        }
    
        def "captures and rethrows unrecoverable exceptions thrown by the connection"() {
            def handler
            def processor = newProcessor()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/DependencyLockingGraphVisitorTest.groovy

            given:
            def id = newId(mid, '1.1')
            startWithState([id])
            addVisitedNode(id)
    
            when:
            visitor.finish(rootNode)
    
            then:
            notThrown(LockOutOfDateException)
        }
    
        def 'generates failures when extra modules visited'() {
            given:
            startWithState([])
            addVisitedNode(newId(mid, '1.0'))
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 9.1K 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