Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 866 for broken2 (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/go/testdata/script/mod_std_vendor.txt

    -- 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/http2/hpack"
    )
    
    -- importcmd/go.mod --
    module importcmd
    -- importcmd/x.go --
    package importcmd
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 16:11:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. 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)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestFailureIntegrationTest.groovy

            result.testClass('org.gradle.BrokenTest')
                .assertTestCount(2, 2, 0)
                .assertTestFailed('failure', equalTo(failureAssertionError('failed')))
                .assertTestFailed('broken', equalTo('java.lang.IllegalStateException: html: <> cdata: ]]>'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 18K bytes
    - Viewed (0)
  9. src/go/doc/comment_test.go

    		wantOldText     = "[T] and [U] are types, and [T.M] is a method, but [V] is a broken link.\n[rand.Int] and [crand.Reader] are things. [G.M1] and [G.M2] are generic methods.\n"
    		wantSynopsis    = "T and U are types, and T.M is a method, but [V] is a broken link."
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 06:33:18 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

                task other
                task broken(type: SomeTask)
            """
    
            when:
            configurationCacheRunLenient "broken"
    
            then:
            problems.assertResultHasProblems(result) {
                withTotalProblemsCount(6)
                withUniqueProblems(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
Back to top