Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 337 for broken1 (0.13 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/PluginApplicationErrorIntegrationTest.groovy

            pluginBuilder.publishTo(executer, file('external.jar'))
    
            buildFile << '''
    buildscript {
        dependencies {
            classpath files('external.jar')
        }
    }
    apply plugin: 'broken'
    '''
    
            when:
            fails()
    
            then:
            failure.assertHasCause("Failed to apply plugin 'broken'")
            failure.assertHasCause("throwing plugin")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildAggregationIntegrationTest.groovy

            failure.assertThatDescription(CoreMatchers.startsWith("A problem occurred evaluating project ':other'"))
            failure.assertHasCause('broken')
        }
    
        def reportsBuildSrcFailure() {
            when:
            file('buildSrc/src/main/java/Broken.java') << 'broken!'
    
            then:
            fails()
    
            and:
            failure.assertHasDescription("Execution failed for task ':buildSrc:compileJava'.")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/buildlifecycle/taskExecutionEvents/groovy/build.gradle

    tasks.register('ok')
    
    tasks.register('broken') {
        dependsOn ok
        doLast {
            throw new RuntimeException('broken')
        }
    }
    
    gradle.taskGraph.beforeTask { Task task ->
        println "executing $task ..."
    }
    
    gradle.taskGraph.afterTask { Task task, TaskState state ->
        if (state.failure) {
            println "FAILED"
        }
        else {
            println "done"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 370 bytes
    - Viewed (0)
  4. src/internal/platform/zosarch_test.go

    // including known-broken ports.
    var List = []OSArch{
    {{range .}}	{ {{ printf "%q" .GOOS }}, {{ printf "%q" .GOARCH }} },
    {{end}}
    }
    
    var distInfo = map[OSArch]osArchInfo {
    {{range .}}	{ {{ printf "%q" .GOOS }}, {{ printf "%q" .GOARCH }} }:
    { {{if .CgoSupported}}CgoSupported: true, {{end}}{{if .FirstClass}}FirstClass: true, {{end}}{{if .Broken}} Broken: true, {{end}} },
    {{end}}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:44:52 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/build_test.go

    		in   []byte
    		want []string
    	}{
    		// broken quotation
    		{[]byte(`"     \r\n      `), nil},
    		{[]byte(`"-r:foo" "-L/usr/white space/lib "-lfoo bar" "-lbar baz"`), nil},
    		{[]byte(`"-lextra fun arg\\`), nil},
    		// broken char escaping
    		{[]byte(`broken flag\`), nil},
    		{[]byte(`extra broken flag \`), nil},
    		{[]byte(`\`), nil},
    		{[]byte(`"broken\"" "extra" \`), nil},
    	} {
    		got, err := splitPkgConfigOutput(test.in)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

        }
      }
    
      public void testBroken() {
        Iterator<Object> broken = new BrokenAbstractSequentialIterator();
        assertTrue(broken.hasNext());
        // We can't retrieve even the known first element:
        try {
          broken.next();
          fail();
        } catch (MyException expected) {
        }
        try {
          broken.next();
          fail();
        } catch (MyException expected) {
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 17:19:08 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableModuleComponentMetaDataResolveResultTest.groovy

            descriptor.authoritative
            descriptor.hasResult()
        }
    
        def "can mark as failed"() {
            org.gradle.internal.Factory<String> broken = { "too bad" }
            def failure = new ModuleVersionResolveException(newSelector(DefaultModuleIdentifier.newId("a", "b"), "c"), broken)
    
            when:
            descriptor.failed(failure)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. test/fixedbugs/issue5753.go

    // issue 5753: bad typecheck info causes escape analysis to
    // not run on method thunks.
    
    package main
    
    type Thing struct{}
    
    func (t *Thing) broken(s string) []string {
    	foo := [1]string{s}
    	return foo[:]
    }
    
    func main() {
    	t := &Thing{}
    
    	f := t.broken
    	s := f("foo")
    	_ = f("bar")
    	if s[0] != "foo" {
    		panic(`s[0] != "foo"`)
    	}
    	
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 02 15:12:08 UTC 2013
    - 502 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/buildlifecycle/taskExecutionEvents/tests-groovy/taskExecutionEvents.groovy.sample.conf

    # tag::cli[]
    # gradle --quiet broken
    # end::cli[]
    executable: gradle
    args: broken
    flags: --quiet
    expect-failure: true
    expected-output-file: taskExecutionEvents.groovy.out
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 201 bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/BuildScriptErrorIntegrationTest.groovy

    """
            buildFile << """
        evaluationDependsOn 'child'
        task t
    """
            final childBuildFile = file("child/build.gradle")
            childBuildFile << """
        def broken = { ->
            throw new RuntimeException('failure')
        }
        broken()
    """
    
            when:
            fails()
    
            then:
            failure.assertHasDescription("A problem occurred evaluating project ':child'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 17:01:37 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top