Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 337 for broken2 (0.23 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/process/internal/WorkerProcessIntegrationTest.groovy

            stdout.stdOut == ""
            stdout.stdErr.contains("java.io.IOException: Broken")
        }
    
        def handlesWorkerProcessWhenJvmFailsToStart() {
            when:
            execute(worker(Actions.doNothing()).jvmArgs("--broken").expectStartFailure())
    
            then:
            stdout.stdOut == ""
            stdout.stdErr.contains("--broken")
        }
    
        def "handles output after worker messaging services are stopped"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenDynamicResolveIntegrationTest.groovy

            server.resetExpectations()
            and:
            run 'retrieve'
    
            then:
            file('libs/projectA-1.5.jar').assertHasNotChangedSince(snapshot)
        }
    
        def "reports and recovers from broken maven-metadata.xml and directory listing"() {
            given:
            mavenHttpRepo.module('group', 'projectA', '1.0').publish()
            def projectA = mavenHttpRepo.module('group', 'projectA', '1.5').publish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/RepositoryChainComponentMetaDataResolverTest.groovy

    import org.gradle.internal.service.ServiceRegistry
    import spock.lang.Specification
    
    class RepositoryChainComponentMetaDataResolverTest extends Specification {
        final org.gradle.internal.Factory<String> broken = { "broken" }
        final metaData = metaData("1.2")
        final componentState = Stub(ModuleComponentGraphResolveState) {
            getLegacyMetadata() >> metaData
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingFailureIntegrationTest.groovy

            throw new RuntimeException("broken")
        }
    
        @Validate
        void checkName(@Path("person.parent.parent") Person grandParent, @Path("person.parent.parent.parent.parent") Person ancestor) {
            throw new RuntimeException("broken")
        }
    }
    
    apply plugin: MyPlugin
    
    model {
        person.parent.name {
            throw new RuntimeException("broken")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedConfigurationIntegrationTest.groovy

            settingsFile << "include 'child'"
            def m1 = mavenHttpRepo.module('org.foo', 'hiphop').publish()
            def m2 = mavenHttpRepo.module('org.foo', 'unknown')
            def m3 = mavenHttpRepo.module('org.foo', 'broken')
            def m4 = mavenHttpRepo.module('org.foo', 'rock').dependsOn(m3).publish()
    
            buildFile << """
                dependencies {
                    implementation 'org.foo:hiphop:1.0'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskTimeoutIntegrationTest.groovy

            given:
            buildFile << """
                task broken() {
                    doLast {
                        println "Hello"
                    }
                    timeout = Duration.ofMillis(-1)
                }
                """
    
            expect:
            2.times {
                fails "broken"
                failure.assertHasDescription("Execution failed for task ':broken'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

            given:
            app.writeToProject(testDirectory)
            file("src/main/cpp/ignore.swift") << 'broken!'
            file("src/main/cpp/ignore.c") << 'broken!'
            file("src/main/cpp/ignore.m") << 'broken!'
            file("src/main/cpp/ignore.h") << 'broken!'
            file("src/main/cpp/ignore.java") << 'broken!'
    
            and:
            buildFile << """
                apply plugin: 'cpp-application'
             """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 19:11:01 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryIntegrationTest.groovy

        }
    
        def "build fails when compilation fails"() {
            given:
            buildFile << """
                apply plugin: 'swift-library'
             """
    
            and:
            file("src/main/swift/broken.swift") << "broken!"
    
            expect:
            fails "assemble"
            failure.assertHasDescription("Execution failed for task ':compileDebugSwift'.")
            failure.assertHasCause("A build operation failed.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/DefaultSourceIncludesResolverTest.groovy

            def header1 = includeDir.createFile("test.h")
            includePaths << includeDir
    
            macros << macro("TEST", '"test.h"')
            macros << macro("IGNORE", "'broken'")
            macros << unresolvableMacro("IGNORE")
    
            expect:
            def result = resolve(include('TEST'))
            result.complete
            result.files.file as List == [header1]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/cmd/bisect/main.go

    	// If "no changes" succeeds and "all changes" fails,
    	// we're looking for a minimal set of changes to enable to provoke the failure
    	// (broken = runY, b.Negate = false)
    	// If "no changes" fails and "all changes" succeeds,
    	// we're looking for a minimal set of changes to disable to provoke the failure
    	// (broken = runN, b.Negate = true).
    
    	b.Logf("checking target with all changes disabled")
    	runN := b.Run("n")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 23.9K bytes
    - Viewed (0)
Back to top