Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 676 for testB (0.06 sec)

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

    # This test makes sure workspace mode's handling of the module graph
    # is compatible with module pruning. The graph we load from either of
    # the workspace modules should be the same, even if their graphs
    # don't overlap.
    #
    # This is the module graph in the test:
    #
    #  example.com/a -> example.com/b v1.0.0 -> example.com/q v1.1.0
    #  example.com/p -> example.com/q v1.0.0
    #
    # If we didn't load the whole graph and didn't load the dependencies of b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 14:30:53 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/work_vendor_prune.txt

    # This test exercises that vendoring works properly using the workspace in the
    # the work_prune test case.
    
    go work vendor
    cmp vendor/modules.txt modules.txt.want
    cmp vendor/example.com/b/b.go b/b.go
    cmp vendor/example.com/q/q.go q1_1_0/q.go
    go list -m -f '{{.Version}}' example.com/q
    stdout '^v1.1.0$'
    
    go list -f '{{.Dir}}' example.com/q
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]q
    go list -f '{{.Dir}}' example.com/b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fail_fast.txt

    [short] skip
    
    # test fail fast
    ! go test ./failfast_test.go -run='TestFailingA' -failfast=true
    stdout -count=1 'FAIL - '
    ! go test ./failfast_test.go -run='TestFailing[AB]' -failfast=true
    stdout -count=1 'FAIL - '
    ! go test ./failfast_test.go -run='TestFailing[AB]' -failfast=false
    stdout -count=2 'FAIL - '
    
    # mix with non-failing tests
    ! go test ./failfast_test.go -run='TestA|TestFailing[AB]' -failfast=true
    stdout -count=1 'FAIL - '
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. 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'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 30 12:33:44 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cover_coverprofile_multipkg.txt

    # run for a collection of packages, mostly independent (hence tests can
    # be done in parallel) and in the original bug, temp coverage profile
    # files were not being properly qualified and were colliding, resulting
    # in a corrupted final profile. Actual content of the packages doesn't
    # especially matter as long as we have a mix of packages with tests and
    # multiple packages without tests.
    
    [short] skip
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 17:02:36 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    // Fold boolean tests into blocks
    (NE (TESTB (SETL  cmp) (SETL  cmp)) yes no) => (LT  cmp yes no)
    (NE (TESTB (SETLE cmp) (SETLE cmp)) yes no) => (LE  cmp yes no)
    (NE (TESTB (SETG  cmp) (SETG  cmp)) yes no) => (GT  cmp yes no)
    (NE (TESTB (SETGE cmp) (SETGE cmp)) yes no) => (GE  cmp yes no)
    (NE (TESTB (SETEQ cmp) (SETEQ cmp)) yes no) => (EQ  cmp yes no)
    (NE (TESTB (SETNE cmp) (SETNE cmp)) yes no) => (NE  cmp yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_pgo_auto_multi.txt

    import _ "test/dep2"
    func main() {}
    -- a/a_test.go --
    package main
    import "testing"
    import _ "test/testdep"
    func TestA(*testing.T) {}
    -- a/default.pgo --
    -- b/b.go --
    package main
    import _ "test/dep"
    import _ "test/dep2"
    func main() {}
    -- b/b_test.go --
    package main
    import "testing"
    import _ "test/testdep"
    func TestB(*testing.T) {}
    -- b/default.pgo --
    -- nopgo/nopgo.go --
    package main
    import _ "test/dep"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:38:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/CustomVersionListerIntegrationTest.groovy

                }
            }
            listerInteractions.expectRefresh('testA')
            succeeds 'checkDeps', '--refresh-dependencies'
    
            then:
            outputContains("Listing versions for module testA")
    
            where:
            lister               | modules
            'simple'             | [testA: [1, 2, 3]]
            'file on repository' | [testA: [1, 2, 3]]
        }
    
        void "can recover from broken lister"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. test/codegen/shift.go

    //  signed shifts  //
    // --------------- //
    
    // We do want to generate a test + panicshift for these cases.
    func lshSigned(v8 int8, v16 int16, v32 int32, v64 int64, x int) {
    	// amd64:"TESTB"
    	_ = x << v8
    	// amd64:"TESTW"
    	_ = x << v16
    	// amd64:"TESTL"
    	_ = x << v32
    	// amd64:"TESTQ"
    	_ = x << v64
    }
    
    // We want to avoid generating a test + panicshift for these cases.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top