Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of about 10,000 for wren (0.1 sec)

  1. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/ListenerBroadcastTest.groovy

            expect:
            broadcast.type == TestListener
        }
    
        def 'source object does nothing when no listeners are added'() {
            expect:
            broadcast.source.event1("param")
        }
    
        def 'visit listeners does nothing when no listeners are added'() {
            def visitor = Mock(Action)
    
            when:
            broadcast.visitListeners(visitor)
    
            then:
            0 * visitor._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/DefaultListenerManagerInServiceRegistryTest.groovy

            then:
            0 * _
    
            when:
            broadcast.something("12")
    
            then:
            1 * created.run()
            1 * listener.something("12")
            0 * _
        }
    
        def "automatically registers stateful listener when first event is broadcast from child"() {
            def created = Mock(Runnable)
            def listener = Mock(TestListener)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultJavaForkOptionsTest.groovy

        }
    
        def "minHeapSize is updated when set using jvmArgs"() {
            when:
            options.minHeapSize = '64m'
            options.jvmArgs('-Xms128m')
    
            then:
            options.minHeapSize == '128m'
    
            when:
            options.allJvmArgs = []
    
            then:
            options.minHeapSize == null
    
            when:
            options.allJvmArgs = ['-Xms92m']
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformInputArtifactIntegrationTest.groovy

        // Documents existing behaviour. The absolute path of the input artifact is baked into the workspace identity
        // for incremental transforms, and so when the path changes the outputs are invalidated
        def "can attach #description to input artifact property with incrementally transformed artifact but it has no effect when not caching"() {
            createDirs("a", "b", "c")
            settingsFile << "include 'a', 'b', 'c'"
            setupBuildWithColorTransform()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 27 19:15:32 UTC 2023
    - 51.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/AbstractStyledTextOutputTest.groovy

        def onOutputWritesText() {
            when:
            output.onOutput('some message')
    
            then:
            output.value == 'some message'
        }
    
        def writesNullText() {
            when:
            output.text(null)
    
            then:
            output.value == 'null'
        }
    
        def writesEndOfLine() {
            when:
            output.println()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoCachingIntegrationTest.groovy

                }
            """
            when:
            withBuildCache().run "jacocoTestReport"
            then:
            executedAndNotSkipped ":test", ":jacocoTestReport"
            reportFile.assertIsFile()
    
            when:
            succeeds "clean"
            then:
            reportFile.assertDoesNotExist()
    
            when:
            withBuildCache().run("integrationTest", "jacocoIntegrationTestReport")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/transfer/AccessorBackedExternalResourceTest.groovy

            when:
            expectResourceRead(name, "12345")
            def result = resource.writeToIfPresent(file)
    
            then:
            result.bytesRead == 5
            file.text == "12345"
            0 * _
    
            when:
            expectResourceRead(name, "hi")
            result = resource.writeTo(file)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/ProjectConfigureEventsErrorIntegrationTest.groovy

        def "setup"() {
            settingsFile << "rootProject.name = 'projectConfigure'"
        }
    
        def "produces reasonable error message when Gradle.beforeProject closure fails"() {
            when:
            settingsFile << """
        gradle.beforeProject {
            throw new RuntimeException("beforeProject failure")
        }
    """
            buildFile << """
        task test
    """
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  9. pilot/pkg/security/authz/model/model.go

    	basePrincipal := ruleList{}
    
    	// Each condition in the when needs to be consolidated into either permission or principal.
    	for _, when := range r.When {
    		k := when.Key
    		switch {
    		case k == attrDestIP:
    			basePermission.appendLast(destIPGenerator{}, k, when.Values, when.NotValues)
    		case k == attrDestPort:
    			basePermission.appendLast(destPortGenerator{}, k, when.Values, when.NotValues)
    		case k == attrConnSNI:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/test/groovy/org/gradle/language/internal/DefaultBinaryCollectionTest.groovy

            container.add(binary)
            container.configureEach { container.whenElementFinalized(action) }
    
            when:
            container.realizeNow()
    
            then:
            1 * action.execute(binary)
            0 * action._
        }
    
        def "executes when finalized actions eagerly when collection is finalized"() {
            given:
            def action = Mock(Action)
            def binary = Stub(SwiftBinary)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top