Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 238 for broken2 (0.28 sec)

  1. 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)
  2. 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)
  3. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/TokenLookup.java

     */
    class TokenLookup {
        private Set<Expression> broken;
        private Multimap<Expression, Expression> tokensFor;
    
        boolean isUnresolved(Expression expression) {
            return broken != null && broken.contains(expression);
        }
    
        void unresolved(Expression expression) {
            if (broken == null) {
                broken = new HashSet<Expression>();
            }
            broken.add(expression);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/buildlifecycle/taskExecutionEvents/tests-groovy/taskExecutionEvents.groovy.out

    executing task ':ok' ...
    done
    executing task ':broken' ...
    FAILED
    
    FAILURE: Build failed with an exception.
    
    * Where:
    Build file '/home/user/gradle/samples/build.gradle' line: 6
    
    * What went wrong:
    Execution failed for task ':broken'.
    > broken
    
    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 471 bytes
    - Viewed (0)
  5. 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)
  6. platforms/documentation/docs/src/snippets/buildlifecycle/taskExecutionEvents/tests-kotlin/taskExecutionEvents.kotlin.out

    executing task ':ok' ...
    done
    executing task ':broken' ...
    FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':broken'.
    > broken
    
    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.
    > Get more help at https://help.gradle.org.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 401 bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/BuildActionCrossVersionSpec.groovy

            }
            l1 == ["not broken 1"]
            def l2 = withConnection {
                it.action(action2.getConstructor().newInstance())
                    .run()
            }
            l2 == ["not broken 2"]
        }
    
        def "can use multiple action implementations with different classpath roots and loaded from different ClassLoaders"() {
            settingsFile.text = 'rootProject.name = "not broken"'
    
            // Ensure daemon is reused
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. 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)
  9. subprojects/core/src/main/java/org/gradle/api/internal/model/InstantiatorBackedObjectFactory.java

        @Override
        public <T> SetProperty<T> setProperty(Class<T> elementType) {
            return broken();
        }
    
        @Override
        public <K, V> MapProperty<K, V> mapProperty(Class<K> keyType, Class<V> valueType) {
            return broken();
        }
    
        @Override
        public DirectoryProperty directoryProperty() {
            return broken();
        }
    
        @Override
        public RegularFileProperty fileProperty() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 14 18:56:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. 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)
Back to top