Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of about 10,000 for then (0.14 sec)

  1. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/maven/MavenLocalModuleTest.groovy

            when:
            String type = mavenLocalModule.hasType('war').type
    
            then:
            type != null
            type == 'war'
        }
    
        def "Check type for no set type"() {
            when:
            String type = mavenLocalModule.type
    
            then:
            type != null
            type == 'jar'
        }
    
        def "Sets non-unique snapshots"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccessTest.groovy

            1 * action.get() >> "result"
            0 * _
    
            when:
            def release1 = cacheAccess.acquireFileLock()
    
            then:
            0 * _
    
            when:
            def release2 = cacheAccess.acquireFileLock()
            release1.run()
            contendedAction.accept(signal)
    
            then:
            0 * _
    
            when:
            release2.run()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/maven/MavenFileModuleTest.groovy

            when:
            String type = mavenFileModule.hasType('war').type
    
            then:
            type != null
            type == 'war'
        }
    
        def "Check type for no set type"() {
            when:
            String type = mavenFileModule.type
    
            then:
            type != null
            type == 'jar'
        }
    
        def "Provides unique snapshots by default"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultRepositoryContentDescriptorTest.groovy

            when:
            descriptor.includeModule("foo", null)
    
            then:
            ex = thrown()
            ex.message == "Module name cannot be null"
    
            when:
            descriptor.includeModule(null, "foo")
    
            then:
            ex = thrown()
            ex.message == "Group cannot be null"
    
            when:
            descriptor.includeVersion("foo", "bar", null)
    
            then:
            ex = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  5. docs/site-replication/run-multi-site-minio-idp.sh

    sleep 10
    
    ./mc admin policy info minio1 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin policy info minio2 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin policy info minio3 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy

            container.configureEach(action5)
    
            when:
            container.all(action6)
    
            then:
            1 * taskFactory.create(_ as TaskIdentity) >> task
    
            then:
            1 * action1.execute(task)
    
            then:
            1 * action2.execute(task)
    
            then:
            1 * action3.execute(task)
    
            then:
            1 * action4.execute(task)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 14:36:44 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FixedExclusiveModeCrossProcessCacheAccessTest.groovy

            cacheAccess.open()
    
            when:
            cacheAccess.close()
    
            then:
            1 * onCloseAction.accept(lock)
    
            then:
            1 * lock.close()
            0 * _
        }
    
        def "does not run handler on close when not open"() {
            when:
            cacheAccess.close()
    
            then:
            0 * _
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectTest.groovy

        }
    
        def defaultTasks() {
            when:
            project.defaultTasks("a", "b")
            then:
            project.defaultTasks == ["a", "b"]
            when:
            project.defaultTasks("c")
            then:
            project.defaultTasks == ["c"]
        }
    
        def defaultTasksWithNull() {
            when:
            project.defaultTasks(null)
            then:
            thrown(InvalidUserDataException)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/ThrottlingOutputEventListenerTest.groovy

            when:
            executor.runFixedScheduledActionsNow()
    
            then:
            1 * listener.onOutput(_ as UpdateNowEvent)
            0 * _
        }
    
        def "shuts down executor when receiving end output event"() {
            expect:
            !executor.isShutdown()
    
            when:
            renderer.onOutput(new EndOutputEvent())
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationBridgeTest.groovy

            // operation with no details
            when:
            broadcast.started(d2, new OperationStartEvent(20))
    
            then:
            0 * listener.started(_)
    
            when:
            broadcast.finished(d2, new OperationFinishEvent(20, 30, null, 10))
    
            then:
            0 * listener.finished(_)
    
            // operation with details and null result
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top