Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 443 for checkMin (0.33 sec)

  1. tests/util/leak/check.go

    	t.Cleanup(func() {
    		if err := check(filter); err != nil {
    			t.Errorf("goroutine leak: %v", err)
    		}
    	})
    }
    
    // CheckMain asserts that no goroutines are leaked after a test package exits.
    // This can be used with the following code:
    //
    //	func TestMain(m *testing.M) {
    //	    leak.CheckMain(m)
    //	}
    //
    // Failures here are scoped to the package, not a specific test. To determine the source of the failure,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 10:22:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ConfigurableFileTreeIntegrationTest.groovy

            file("src/ignore-2.txt").createFile()
    
            run("generate")
    
            then:
            result.assertTaskSkipped(":generate")
            output.count("checking") == 8
            outputContains("checking a/a.txt")
            outputContains("checking ignore-2.txt")
            file("out.txt").text == "a.txt,c.txt"
    
            when:
            file("src/d/d.txt").createFile()
            file("src/ignore-3.txt").createFile()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. pkg/test/echo/server/forwarder/dns.go

    	return doForward(ctx, cfg, c.e, c.makeRequest)
    }
    
    type dnsRequest struct {
    	hostname  string
    	dnsServer string
    	query     string
    	protocol  string
    }
    
    func checkIn(got string, want ...string) error {
    	for _, w := range want {
    		if w == got {
    			return nil
    		}
    	}
    	return fmt.Errorf("got value %q, wanted one of %v", got, want)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 10 18:09:08 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileTreeIntegrationTest.groovy

                    println("checking \${it.name}")
                    !it.name.contains('ignore')
                }
                task copy(type: Copy) {
                    from files
                    into 'dest'
                }
            """
    
            when:
            run 'copy'
    
            then:
            outputContains("checking one.txt")
            outputContains("checking ignore.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginCheckInIntegrationTest.groovy

            applyPlugin()
    
            when:
            succeeds "t", "-D${UNSUPPORTED_TOGGLE}=true"
    
            then:
            plugin.assertUnsupportedMessage(output, UNSUPPORTED_TOGGLE_MESSAGE)
        }
    
        def "checkin happens once for build with buildSrc"() {
            given:
            applyPlugin()
            file("buildSrc/src/main/groovy/Thing.groovy") << "class Thing {}"
    
            when:
            succeeds "t"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/AbstractPropertySpec.groovy

            return propertyWithNoValue().value(value)
        }
    
        def "finalization checking works empty providers"() {
            given:
            def property = propertyWithNoValue()
    
            expect:
            !property.isPresent()
            !property.isFinalized()
        }
    
        def "finalization checking works with simple values"() {
            given:
            def property = propertyWithValue(someValue())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 12:47:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. test/fixedbugs/bug468.go

    // rundir
    
    // Copyright 2012 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.
    
    // The reflect package was not correctly checking field names
    // when checking for struct assignability.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 293 bytes
    - Viewed (0)
  8. test/method5.go

    	
    	t4 := T4{}
    	t3 := T3{&t4}
    	t2 := T2{&t3}
    	t1 := T1{t2}
    	CheckI("t4", t4, 40)
    	CheckI("&t4", &t4, 40)
    	CheckI("t3", t3, 40)
    	CheckI("&t3", &t3, 40)
    	CheckI("t2", t2, 40)
    	CheckI("&t2", &t2, 40)
    	CheckI("t1", t1, 40)
    	CheckI("&t1", &t1, 40)
    	
    	// x.M panics if x is an interface type and is nil,
    	// or if x.M expands to (*x).M where x is nil,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 6.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileAccess.groovy

        }
    
        static class FileCheck extends UndeclaredFileAccess {
            private final String checkKind
    
            FileCheck(String filePath, String checkKind) {
                super(filePath)
                this.checkKind = checkKind
            }
    
            @Override
            String getKotlinExpression() {
                "File(\"${filePath}\").$checkKind()"
            }
    
            @Override
            String getGroovyExpression() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. pilot/pkg/bootstrap/leak_test.go

    // limitations under the License.
    
    package bootstrap
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 14 19:26:09 UTC 2021
    - 794 bytes
    - Viewed (0)
Back to top