Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 312 for testOk (0.28 sec)

  1. src/cmd/go/internal/test/test.go

    test ./...', and even 'go test .'). In this mode, go test compiles
    and tests each of the packages listed on the command line. If a
    package test passes, go test prints only the final 'ok' summary
    line. If a package test fails, go test prints the full test output.
    If invoked with the -bench or -v flag, go test prints the full
    output even for passing package tests, in order to display the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/build_cwd_newline.txt

    stdout '^ok$'  # 'go test' combines the test's stdout into stderr
    
    go test -v .
    ! stdout panic
    ! stderr panic
    stdout '^ok$'  # 'go test' combines the test's stdout into stderr
    
    [cgo] go tool cgo main.go
    [cgo] grep '//line .*'${/}'link'${/}'main\.go:1:1' _obj/main.cgo1.go
    [cgo] ! grep 'uh-oh' _obj/main.cgo1.go
    
    -- $WORK/go.mod --
    module example
    go 1.19
    -- $WORK/main.go --
    package main
    
    import "C"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. src/internal/testenv/exec.go

    //     in its Cancel function
    //   - if the test has a deadline, adds a Context timeout and WaitDelay
    //     for an arbitrary grace period before the test's deadline expires,
    //   - fails the test if the command does not complete before the test's deadline, and
    //   - sets a Cleanup function that verifies that the test did not leak a subprocess.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 27 17:53:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. src/testing/fstest/testfs.go

    // The contents of fsys must not change concurrently with TestFS.
    //
    // If TestFS finds any misbehaviors, it returns either the first error or a
    // list of errors. Use [errors.Is] or [errors.As] to inspect.
    //
    // Typical usage inside a test is:
    //
    //	if err := fstest.TestFS(myFS, "file/that/should/be/present"); err != nil {
    //		t.Fatal(err)
    //	}
    func TestFS(fsys fs.FS, expected ...string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/AbstractIvyDescriptorExcludeResolveIntegrationTest.groovy

        def setup() {
            buildFile << """
    repositories {
        ivy {
            url '${ivyRepo.uri}'
        }
    }
    
    configurations {
        compile
    }
    
    dependencies {
        compile 'org.gradle.test:a:1.0'
    }
    
    task check(type: Sync) {
        from configurations.compile
        into 'libs'
    }
    """
        }
    
        protected void succeedsDependencyResolution() {
            succeeds 'check'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. docs/tr/docs/python-types.md

    Bunu yaparak, düzenleyicinizin listedeki öğeleri işlerken bile destek sağlamasını sağlayabilirsiniz:
    
    <img src="/img/python-types/image05.png">
    
    Tip belirteçleri olmadan, bunu başarmak neredeyse imkansızdır.
    
    `item` değişkeninin `items` listesindeki öğelerden biri olduğuna dikkat edin.
    
    Ve yine, editör bunun bir `str` ​​olduğunu biliyor ve bunun için destek sağlıyor.
    
    #### `Tuple` ve `Set`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. .github/workflows/tests.yml

            with:
              path: ~/go/pkg/mod
              key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }}
    
          - name: Tests
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/testx.c

    Austin Clements <******@****.***> 1683224724 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 582 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/testx.go

    	issue7978sync = 0
    	go issue7978go()
    	// test in c code, before callback
    	issue7978wait(0, 1)
    	issue7978check(t, "_Cfunc_issue7978c(", "", 1)
    	// test in go code, during callback
    	issue7978wait(2, 3)
    	issue7978check(t, "test.issue7978cb(", "test.issue7978go", 3)
    	// test in c code, after callback
    	issue7978wait(4, 5)
    	issue7978check(t, "_Cfunc_issue7978c(", "_cgoexpwrap", 1)
    	// test in go code, after return from cgo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. tests/integration/tests.mk

    # Generate integration test targets for kubernetes environment.
    test.integration.%.kube: | $(JUNIT_REPORT) check-go-tag
    	$(call run-test,./tests/integration/$(subst .,/,$*)/...)
    
    # Generate integration fuzz test targets for kubernetes environment.
    test.integration-fuzz.%.kube: | $(JUNIT_REPORT) check-go-tag
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top