Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 493 for u8test (0.09 sec)

  1. src/cmd/go/testdata/script/mod_lazy_downgrade.txt

    module example.com/a
    
    go 1.17
    
    require example.com/b v0.1.0
    -- a/a.go --
    package a
    -- a/a_test.go --
    package a_test
    
    import _ "example.com/b"
    
    -- b1/go.mod --
    module example.com/b
    
    go 1.17
    
    require example.com/c v0.1.0
    -- b1/b.go --
    package b
    -- b1/b_test.go --
    package b_test
    import _ "example.com/c"
    
    -- b2/go.mod --
    module example.com/b
    
    go 1.17
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_get_issue65363.txt

    require example.net/c v0.2.0
    -- b2/b.go --
    package b
    -- b2/b_test.go --
    package b_test
    
    import _ "example.net/c"
    -- c1/go.mod --
    module example.net/c
    
    go 1.18
    -- c1/c.go --
    package c
    -- c2/go.mod --
    module example.net/c
    
    go 1.18
    
    require example.net/d v0.1.0
    -- c2/c.go --
    package c
    -- c2/c_test.go --
    package c_test
    
    import _ "example.net/d"
    -- d/go.mod --
    module example.net/d
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_coverpkg_partial.txt

    go test -coverpkg=./a ./...
    stdout '^ok\s+M/a\s+\S+\s+coverage: 100.0% of statements in ./a'
    stdout '^\s*\?\s+M/f\s+\[no test files\]'
    
    -- a/a.go --
    package a
    
    import "M/f"
    
    var G int
    
    func AFunc() int {
    	G = 1
    	return f.Id()
    }
    -- a/a_test.go --
    package a
    
    import "testing"
    
    func TestA(t *testing.T) {
    	if AFunc() != 42 {
    		t.Fatalf("bad!")
    	}
    }
    -- b/b.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:12:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/ProjectHierarchyCustomizationIntegrationTest.groovy

                    task test { }
                }
                // should be 'project-a', not 'projectA'
                project(":modules:projectA:project-b") {
                    task test { }
                }
            """
    
            when:
            run("test")
    
            then:
            result.assertTasksExecuted(":modules:project-a:test", ":modules:projectA:project-b:test")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. src/cmd/cover/testdata/pkgcfg/a/a_test.go

    package a_test
    
    import (
    	"cfg/a"
    	"testing"
    )
    
    func TestA(t *testing.T) {
    	a.A(0)
    	var aat a.Atyp
    	at := &aat
    	at.Set(42)
    	println(at.Get())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:48:40 UTC 2022
    - 144 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cover_coverpkg_with_init.txt

    # packages); prior to the fix for #58770 Go 1.20 would show 100%
    # coverage. For packages "x" and "f" (which have no tests), check for
    # 0% stmts covered (as opposed to "no test files").
    
    go test -count=1 -coverprofile=cov.dat -coverpkg=./... ./...
    stdout '^\s*\?\s+M/n\s+\[no test files\]'
    stdout '^\s*M/x\s+coverage: 0.0% of statements'
    stdout '^\s*M/f\s+coverage: 0.0% of statements'
    stdout '^ok\s+M/a\s+\S+\s+coverage: 30.0% of statements in ./...'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 30 12:33:44 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. src/cmd/internal/test2json/testdata/panic.test

    goroutine 7 [running]:
    testing.tRunner.func1(0xc000092100)
    	/go/src/testing/testing.go:874 +0x3a3
    panic(0x1110ea0, 0x116aea0)
    	/go/src/runtime/panic.go:679 +0x1b2
    command-line-arguments.TestPanic(0xc000092100)
    	a_test.go:6 +0x39
    testing.tRunner(0xc000092100, 0x114f500)
    	go/src/testing/testing.go:909 +0xc9
    created by testing.(*T).Run
    	go/src/testing/testing.go:960 +0x350
    FAIL	command-line-arguments	0.042s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 30 20:46:44 UTC 2019
    - 479 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_lazy_test_of_test_dep.txt

    [!short] go test -c -o $devnull example.com/b
    
    # The update should bring the version required by b, not the latest version of c.
    
    go list -m example.com/c
    stdout '^example.com/c v0.1.0 '
    
    cmp go.mod go.mod.b
    
    
    # We should reach the same state if we arrive at it via `go test -mod=mod`.
    
    cp go.mod.117 go.mod
    
    [short] go list -mod=mod -test -deps example.com/a
    [!short] go test -mod=mod -c -o $devnull example.com/a
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 08 19:32:28 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  9. src/cmd/link/internal/dwtest/dwtest.go

    // Copyright 2021 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.
    
    package dwtest
    
    import (
    	"debug/dwarf"
    	"errors"
    	"fmt"
    	"os"
    )
    
    // Helper type for supporting queries on DIEs within a DWARF
    // .debug_info section. Invoke the populate() method below passing in
    // a dwarf.Reader, which will read in all DIEs and keep track of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 15:22:18 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cover_coverprofile_multipkg.txt

    [short] skip
    
    # Kick off test.
    go test -p=10 -vet=off -count=1 -coverprofile=cov.p ./...
    
    # Make sure resulting profile is digestible.
    go tool cover -func=cov.p
    
    # No extraneous extra files please.
    ! exists _cover_.out
    
    -- a/a.go --
    package a
    
    func init() {
    	println("package 'a' init: launch the missiles!")
    }
    
    func AFunc() int {
    	return 42
    }
    -- a/a_test.go --
    package a
    
    import "testing"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 17:02:36 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top