Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 852 for broke (0.56 sec)

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

            builder.baseName = 'broken worker'
            builder.javaCommand.jvmArgs("-broken")
            def worker = builder.build()
            worker.start()
    
            then:
            def e = thrown(WorkerProcessException)
            e.message == 'Failed to run broken worker'
            e.cause instanceof ExecException
            e.cause.message.matches("Process 'broken worker 1' finished with non-zero exit value \\d+")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 15 22:51:06 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableComponentResolveResultTest.groovy

            e.message == 'No result has been specified.'
        }
    
        def "cannot get id when resolve failed"() {
            org.gradle.internal.Factory<String> broken = { "too bad" }
            def failure = new ModuleVersionResolveException(newSelector(DefaultModuleIdentifier.newId("a", "b"), "c"), broken)
    
            when:
            result.failed(failure)
            result.moduleVersionId
    
            then:
            ModuleVersionResolveException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncompatibleTasksIntegrationTest.groovy

                withProblem("Task `:declared` of type `Broken`: cannot deserialize object of type 'org.gradle.api.artifacts.ConfigurationContainer' as these are not supported with the configuration cache.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/std_vendor.txt

    cd broken
    ! go build
    stderr 'cannot find package'
    
    -- go.mod --
    module m
    
    -- x.go --
    package x
    
    -- x_test.go --
    package x
    import "testing"
    import _ "net/http"
    func Test(t *testing.T) {}
    
    -- broken/go.mod --
    module broken
    -- broken/http.go --
    package broken
    
    import (
    	_ "net/http"
    	_ "golang.org/x/net/http/httpproxy"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 975 bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/process/internal/SingleRequestWorkerProcessIntegrationTest.groovy

            builder.baseName = 'broken worker'
            builder.javaCommand.jvmArgs("-broken")
            def worker = builder.build()
            worker.run(12.toLong())
    
            then:
            def e = thrown(WorkerProcessException)
            e.message == 'Failed to run broken worker'
            e.cause instanceof ExecException
            e.cause.message.matches("Process 'broken worker 1' finished with non-zero exit value \\d+")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 15 22:51:06 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  6. subprojects/core-api/src/test/groovy/org/gradle/internal/typeconversion/ErrorHandlingNotationParserTest.groovy

      - format 1
      - format 2
    
    <broken>''')
    
            1 * target.describe(!null) >> { DiagnosticsVisitor visitor -> visitor.candidate("format 1"); visitor.candidate("format 2") }
            0 * target._  //no parsing
        }
    
        def "reports unable to parse non-null"() {
            given:
            target.parseNotation("bad") >> { throw new UnsupportedNotationException("broken-part") }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/initialization/exception/DefaultExceptionAnalyserTest.groovy

            given:
            def scriptFailure = new GradleScriptException("broken", new RuntimeException())
            def otherFailure1 = new RuntimeException("broken")
            def otherFailure2 = new RuntimeException("broken")
            def failure = new ProjectConfigurationException("broken", [scriptFailure, otherFailure1, otherFailure2])
            def analyser = analyser()
            def result = []
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

                include "child"
            """
            file("child/build.gradle") << """
                class Broken extends DefaultTask {
                    Broken() {
                        throw new RuntimeException("broken task")
                    }
                }
                tasks.create("broken", Broken)
            """
    
            expect:
            fails()
            failure.assertHasLineNumber(4)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailureTest.groovy

    Expected: A failure description which is a string starting with "broken!"
         but: failure descriptions were []''')
    
            when:
            failure.assertHasCause("broken!")
    
            then:
            def e3 = thrown(AssertionError)
            e3.message.trim().startsWith('''No matching cause found
    Expected: A cause which is a string starting with "broken!"
         but: causes were []''')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. test/fixedbugs/issue4585.go

    	if a != b {
    		panic("broken equality: a != b")
    	}
    
    	m[a] = 1
    	m[b] = 2
    	if len(m) == 2 {
    		panic("broken hash: len(m) == 2")
    	}
    	if m[a] != 2 {
    		panic("m[a] != 2")
    	}
    }
    
    func test3() {
    	var a, b USmall
    	copy((*[12]byte)(unsafe.Pointer(&a))[:], "hello world!")
    	a.A, a.B = 1, 2
    	b.A, b.B = 1, 2
    	if a != b {
    		panic("broken equality: a != b")
    	}
    }
    
    func test4() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.5K bytes
    - Viewed (0)
Back to top