Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 260 for checkMin (0.15 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pilot/pkg/networking/core/route/leak_test.go

    // limitations under the License.
    
    package route
    
    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: Thu Mar 28 17:09:02 UTC 2024
    - 790 bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/aggregate/leak_test.go

    // limitations under the License.
    
    package aggregate
    
    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: Sun Apr 28 04:22:19 UTC 2024
    - 794 bytes
    - Viewed (0)
  9. pkg/kube/kclient/leak_test.go

    // limitations under the License.
    
    package kclient
    
    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: Sun Apr 28 04:22:19 UTC 2024
    - 792 bytes
    - Viewed (0)
  10. pkg/kube/krt/leak_test.go

    // limitations under the License.
    
    package krt
    
    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: Sun Apr 28 04:22:19 UTC 2024
    - 788 bytes
    - Viewed (0)
Back to top