Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,111 for fail2 (0.17 sec)

  1. platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/exceptions/DefaultMultiCauseExceptionIntegrationTest.groovy

                    doLast {
                        def fail1 = new TestResolutionProviderException('resolution1')
                        def fail2 = new TestResolutionProviderException('resolution2')
                        throw new org.gradle.internal.exceptions.DefaultMultiCauseException('failure', fail1, fail2)
                    }
                }
            """
    
            when:
            fails 'myTask'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy

        Failed tests:
            Test example.MyFailingTest#fail (Task: :secondTest)
            Test example.MyFailingTest#fail2 (Task: :secondTest)
            Test example.MyFailingTest#fail (Task: :test)
            Test example.MyFailingTest#fail2 (Task: :test)"""
    
            when:
            launchTests { TestLauncher testLauncher ->
                testLauncher.withJvmTestMethods("example.MyFailingTest", "fail")
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGXmlResultAndHtmlReportIntegrationTest.groovy

            System.out.println("out.fail");
            System.err.println("err.fail");
            fail("failing!");
        }
        @Test public void passing2() {
            System.out.println("out.pass2");
            System.err.println("err.pass2");
        }
        @Test public void failing2() {
            System.out.println("out.fail2");
            System.err.println("err.fail2");
            fail("failing2!");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 21:27:42 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestClassResultSpec.groovy

            result.add(new TestMethodResult(2, "fail").completed(new DefaultTestResult(TestResult.ResultType.FAILURE, 250, 300, 1, 0, 1, [new RuntimeException("bar")])))
            result.add(new TestMethodResult(3, "fail2").completed(new DefaultTestResult(TestResult.ResultType.FAILURE, 300, 450, 1, 0, 1, [new RuntimeException("foo")])))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/exceptions/DefaultMultiCauseExceptionTest.groovy

        }
    
        def "when causes include ResolutionProviders, their resolutions are included"() {
            given:
            def fail1 = new TestResolutionProviderException('resolution1')
            def fail2 = new TestResolutionProviderException('resolution2')
            def multiFail = new DefaultMultiCauseException('failure', fail1, fail2)
    
            expect:multiFail.getResolutions() == ['resolution1', 'resolution2']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/op.go

    // boundsABI determines which register arguments a bounds check call should use. For an [a:b:c] slice, we do:
    //
    //	CMPQ c, cap
    //	JA   fail1
    //	CMPQ b, c
    //	JA   fail2
    //	CMPQ a, b
    //	JA   fail3
    //
    // fail1: CALL panicSlice3Acap (c, cap)
    // fail2: CALL panicSlice3B (b, c)
    // fail3: CALL panicSlice3C (a, b)
    //
    // When we register allocate that code, we want the same register to be used for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

                package example;
                public class MyFailingTest {
                    @org.junit.Test public void fail() throws Exception {
                         org.junit.Assert.assertEquals(1, 2);
                    }
    
                    @org.junit.Test public void fail2() throws Exception {
                         org.junit.Assert.assertEquals(1, 2);
                    }
                }"""
    
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/configurationCache/problemsKotlin/tests/fail.out

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 845 bytes
    - Viewed (0)
  9. releasenotes/notes/wasm-fail-open.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: extensibility
    issue: []
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 02 21:32:02 UTC 2023
    - 169 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/configurationCache/problemsGroovy/tests/fail.out

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 825 bytes
    - Viewed (0)
Back to top