Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for broken2 (0.46 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ExecutionTimeTaskConfigurationIntegrationTest.groovy

                def anAction = {} as Action
    
                task broken1 {
                    doLast {
                        $config
                    }
                }
    
                task broken2 {
                    doLast {}
                }
    
                task broken3 {
                    dependsOn broken2
                    doLast {
                        broken2.configure { $config }
                    }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/BuildEventsErrorIntegrationTest.groovy

            throw new RuntimeException('broken closure')
        }
        task broken {
            doLast { throw new RuntimeException('broken task') }
        }
    """
    
            when:
            fails("broken")
    
            then:
            failure.assertHasFailures(2)
            failure.assertHasDescription("Execution failed for task ':broken'.")
                    .assertHasCause("broken task")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ProjectVariantResolutionIntegrationTest.groovy

                        broken b.flatMap { it.output }
                        broken b.flatMap { throw new RuntimeException("broken artifact") }
                    }
                }
    
                project(':a') {
                    dependencies {
                        implementation project(':b')
                    }
                }
            """
    
            when:
            run(":a:resolve")
    
            then:
            noExceptionThrown()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

        @Override
        protected void setUp() throws Exception {
            file1 = File.createTempFile("kuromoji_", ".txt");
            FileUtil.write(
                    file1.getAbsolutePath(),
                    "token1,seg1,reading1,pos1\ntoken2,seg2,reading2,pos2\ntoken3,seg3,reading3,pos3"
                            .getBytes(Constants.UTF_8));
        }
    
        @Override
        protected void tearDown() throws Exception {
            file1.delete();
        }
        */
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskFailureIntegrationTest.groovy

            """
            file("child/build.gradle") << """
                class Broken extends DefaultTask {
                    Broken() {
                        throw new RuntimeException("broken task")
                    }
                }
                tasks.register("broken", Broken)
            """
    
            expect:
            fails("broken")
            failure.assertHasDescription("A problem occurred configuring project ':child'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/metrics/metrics.go

    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    		[]string{"resource"},
    	)
    
    	TerminatedWatchersCounter = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    			Namespace:      namespace,
    			Name:           "terminated_watchers_total",
    			Help:           "Counter of watchers closed due to unresponsiveness broken by resource type.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 07:39:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildSrcProblemReportingIntegrationTest.groovy

            when:
            configurationCacheFails("broken")
    
            then:
            outputContains("Configuration cache entry discarded with 2 problems.")
            problems.assertFailureHasProblems(failure) {
                withProblem("Build file 'build.gradle': line 3: registration of listener on 'Gradle.addListener' is unsupported")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskActionIntegrationTest.groovy

                enableFeaturePreview 'STABLE_CONFIGURATION_CACHE'
            """
            buildFile """
                task broken {
                    doLast {
                        taskDependencies
                    }
                }
            """
    
            when:
            fails("broken")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/tool/tool.go

    			if !*brokenFlag && platform.Broken(p.GOOS, p.GOARCH) {
    				continue
    			}
    			fmt.Println(p)
    		}
    		return true
    	}
    
    	type jsonResult struct {
    		GOOS         string
    		GOARCH       string
    		CgoSupported bool
    		FirstClass   bool
    		Broken       bool `json:",omitempty"`
    	}
    
    	var results []jsonResult
    	for _, p := range platform.List {
    		broken := platform.Broken(p.GOOS, p.GOARCH)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. 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)
Back to top