Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 238 for broken2 (0.16 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaCompileAvoidanceWithIncrementalCompilationIntegrationTest.groovy

            buildFile << """
                apply plugin: '${language.name}'
                dependencies {
                    implementation files("broken.jar")
                }
            """
            file("broken.jar").text = "this is not a jar"
            file("src/main/${language.name}/Main.${language.name}") << "public class Main {}"
    
            expect:
            fails(language.compileTaskName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. pkg/config/analysis/local/context.go

    		cfgs := store.List(colschema.GroupVersionKind(), "")
    		broken := false
    		for _, cfg := range cfgs {
    			k := key{
    				col, resource.FullName{
    					Name:      resource.LocalName(cfg.Name),
    					Namespace: resource.Namespace(cfg.Namespace),
    				}, id,
    			}
    			if res, ok := i.found[k]; ok {
    				if !broken && !fn(res) {
    					broken = true
    				}
    				cache[k] = res
    				continue
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/build-organization/cross-project-output-sharing/README.adoc

    This would lead to builds that are either totally broken, or worse, broken is a way that is subtle, flaky, and difficult to debug.
    
    [source,groovy]
    dependencies {
      // This publication model can make your build flaky and broken!
      implementation project(":other").tasks.someOtherJar
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/queue/AbstractQueueTest.groovy

    import java.util.concurrent.locks.Lock
    
    abstract class AbstractQueueTest extends Specification {
        final Condition broken = Stub() {
            await() >> { throw new UnsupportedOperationException("should not be waiting") }
        }
        final Lock lock = Stub() {
            newCondition() >> broken
        }
    
        def unicast() {
            InterHubMessage message = Stub() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r18/BuildActionCrossVersionSpec.groovy

        }
    
        @TargetGradleVersion(">=3.0 <7.3")
        def "does not run action when configuration fails"() {
            given:
            buildFile << 'throw new RuntimeException("broken")'
    
            when:
            withConnection {
                it.action(new ActionShouldNotBeCalled()).run()
            }
    
            then:
            BuildException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLanguageIntegrationTest.groovy

            given:
            buildFile << """
    model {
        components {
            main(NativeExecutableSpec)
        }
    }
             """
    
            and:
            file("src/main/cpp/broken.cpp") << """
            #include <iostream>
    
            'broken
    """
    
            expect:
            fails "mainExecutable"
            failure.assertHasDescription("Execution failed for task ':compileMainExecutableMainCpp'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. src/runtime/netpoll_stub.go

    var netpollBrokenLock mutex
    var netpollBroken bool
    
    func netpollGenericInit() {
    	netpollInited.Store(1)
    }
    
    func netpollBreak() {
    	lock(&netpollBrokenLock)
    	broken := netpollBroken
    	netpollBroken = true
    	if !broken {
    		notewakeup(&netpollNote)
    	}
    	unlock(&netpollBrokenLock)
    }
    
    // Polls for ready network connections.
    // Returns list of goroutines that become runnable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_vendor_embed.txt

    embedded file of xtest in subdirectory of package
    -- broken_no_matching_files/go.mod --
    module example.com/broken
    go 1.16
    
    require (
    	example.com/brokendep v0.1.0
    )
    
    replace (
    	example.com/brokendep v0.1.0 => ./brokendep
    )
    -- broken_no_matching_files/f.go --
    package broken
    
    import _ "example.com/brokendep"
    
    func F() {}
    -- broken_no_matching_files/brokendep/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:14:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/SourceDependencyBuildLookupIntegrationTest.groovy

            buildFile << """
                assert gradle.includedBuilds.empty
    
                task broken {
                    dependsOn classes
                    doLast {
                        assert gradle.includedBuilds.empty
                        gradle.includedBuild("buildB")
                    }
                }
            """
    
            when:
            fails("broken")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableComponentIdResolveResultTest.groovy

            result.graphState == graphState
            result.failure == null
        }
    
        def "can mark as failed"() {
            org.gradle.internal.Factory<String> broken = { "too bad" }
            def failure = new ModuleVersionResolveException(Stub(ModuleVersionSelector), broken)
    
            when:
            result.failed(failure)
    
            then:
            result.hasResult()
            result.failure == failure
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top