Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of about 10,000 for then (0.14 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/SortedSetElementSourceTest.groovy

            source.add("fizz")
    
            when:
            def iterator = source.iteratorNoFlush()
            iterator.remove()
    
            then:
            thrown(IllegalStateException)
    
            when:
            def next = iterator.next()
    
            then:
            next == "fizz"
    
            when:
            iterator.remove()
    
            then:
            source.iteratorNoFlush().collect() == iterationOrder("foo")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 15:12:14 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputHistoryLossIntegrationTest.groovy

    /*
     * Copyright 2016 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AbstractSpockTaskTest.groovy

            when:
            task.setEnabled(false)
    
            then:
            assertFalse(task.getOnlyIf().isSatisfiedBy(task))
    
            when:
            task.setEnabled(true)
            condition1.set(false)
    
            then:
            assertFalse(task.getOnlyIf().isSatisfiedBy(task))
    
            when:
            condition1.set(true)
    
            then:
            task.getOnlyIf().isSatisfiedBy(task)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 23 14:27:55 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/RestartEveryNTestClassProcessorTest.groovy

            when:
            processor.startProcessing(resultProcessor)
            processor.processTestClass(test1)
            processor.processTestClass(test2)
    
            then:
            1 * factory.create() >> delegate
            1 * delegate.startProcessing(resultProcessor)
            then:
            1 * delegate.processTestClass(test1)
            then:
            1 * delegate.processTestClass(test2)
            then:
            1 * delegate.stop()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy

            e.message == "Cannot wait as the server is not running."
    
            when:
            handle2.waitForAllPendingCalls()
    
            then:
            def e2 = thrown(IllegalStateException)
            e2.message == "Cannot wait as the server is not running."
    
            when:
            request1.waitUntilBlocked()
    
            then:
            def e3 = thrown(IllegalStateException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  6. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy

    /*
     * Copyright 2020 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

            when:
            container.whenObjectAdded(action)
    
            then:
            // Does not fire for existing elements
            0 * action._
    
            when:
            addToContainer(a)
    
            then:
            1 * action.execute(a)
            0 * action._
    
            when:
            addToContainer(a)
    
            then:
            0 * action._
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy

    /*
     * Copyright 2021 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyBrokenRemoteResolveIntegrationTest.groovy

            when:
            module.ivy.expectGet()
            module.jar.expectGetMissing()
    
            then:
            fails "retrieve"
    
            failure.assertHasCause("""Could not find projectA-1.2.jar (group:projectA:1.2).
    Searched in the following locations:
        ${module.jar.uri}""")
    
            when:
            server.resetExpectations()
    
            then:
            fails "retrieve"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMultiProjectIntegrationTest.groovy

            then:
            result.assertTasksExecuted(':b:ok')
            configurationCache.assertStateStored()
    
            when:
            inDirectory a
            configurationCacheRun 'ok'
    
            then:
            result.assertTasksExecuted(':a:ok')
            configurationCache.assertStateLoaded()
    
            when:
            inDirectory b
            configurationCacheRun 'ok'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top