Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,598 for fail2 (0.06 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/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)
  3. 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)
  4. test/bigalg.go

    	c string
    	d byte
    }
    
    var a = []int{1, 2, 3}
    var NIL []int
    
    func arraycmptest() {
    	if NIL != nil {
    		println("fail1:", NIL, "!= nil")
    		panic("bigalg")
    	}
    	if nil != NIL {
    		println("fail2: nil !=", NIL)
    		panic("bigalg")
    	}
    	if a == nil || nil == a {
    		println("fail3:", a, "== nil")
    		panic("bigalg")
    	}
    }
    
    func SameArray(a, b []int) bool {
    	if len(a) != len(b) || cap(a) != cap(b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 2.1K bytes
    - Viewed (0)
  5. test/interface/fail.go

    // run
    
    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that interface conversion fails when method is missing.
    
    package main
    
    type I interface {
    	Foo()
    }
    
    func main() {
    	shouldPanic(p1)
    }
    
    func p1() {
    	var s *S
    	var i I
    	var e interface{}
    	e = s
    	i = e.(I)
    	_ = i
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 15 16:55:13 UTC 2014
    - 544 bytes
    - Viewed (0)
  6. hack/boilerplate/test/fail.go

    /*
    Copyright 2014 The Kubernetes Authors.
    
    fail
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 03 01:32:50 UTC 2017
    - 590 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. hack/boilerplate/test/fail.py

    kidddddddddddddddddddddd <******@****.***> 1673408742 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 12 03:20:41 UTC 2023
    - 622 bytes
    - Viewed (0)
Back to top