Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for testcover (0.26 sec)

  1. src/cmd/cover/cover_test.go

    		t.Fatal(err)
    	}
    
    	// testcover -mode=count -var=thisNameMustBeVeryLongToCauseOverflowOfCounterIncrementStatementOntoNextLineForTest -o ./testdata/test_cover.go testdata/test_line.go
    	coverOutput := filepath.Join(dir, "test_cover.go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/test.go

    	"cmd/go/internal/str"
    	"cmd/go/internal/trace"
    )
    
    var TestMainDeps = []string{
    	// Dependencies for testmain.
    	"os",
    	"reflect",
    	"testing",
    	"testing/internal/testdeps",
    }
    
    type TestCover struct {
    	Mode  string
    	Local bool
    	Pkgs  []*Package
    	Paths []string
    	Vars  []coverInfo
    }
    
    // TestPackagesFor is like TestPackagesAndErrors but it returns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  3. src/cmd/cover/cfg_test.go

    	outfiles, outfilelist := writeOutFileList(t, infiles, outdir, tag)
    	args := []string{"-pkgcfg", incfg, "-mode=" + mode, "-var=var" + tag, "-outfilelist", outfilelist}
    	args = append(args, infiles...)
    	cmd := testenv.Command(t, testcover(t), args...)
    	if errExpected {
    		errmsg := runExpectingError(cmd, t)
    		return nil, "", errmsg
    	} else {
    		run(cmd, t)
    		return outfiles, outcfg, ""
    	}
    }
    
    func TestCoverWithCfg(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/test.go

    	}
    
    	// Build Package structs describing:
    	//	pmain - pkg.test binary
    	//	ptest - package + test files
    	//	pxtest - package of external test files
    	var cover *load.TestCover
    	if cfg.BuildCover {
    		cover = &load.TestCover{
    			Mode:  cfg.BuildCoverMode,
    			Local: cfg.BuildCoverPkg == nil,
    			Pkgs:  testCoverPkgs,
    			Paths: cfg.BuildCoverPkg,
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  5. cmd/testdata/decryptObjectInfo.json.zst

    cryption-S3-Sealed-Key":"IAAfAJFjkv47m6jqwAH4+C801YIZvNZ6ZQvicRrf4==","X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm":"DAREv2-HMAC-SHA256","content-type":"application/octet-stream"}},{"Bucket":"buck1","Name":"go_113/src/cmd/go/testdata/testcover/pkg2/a_test.go","UserDef":{"X-Minio-Internal-Server-Side-Encryption-Iv":"Rynr8dGqK2OAeK09TGoR=","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Key-Id":"my-minio-key","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Sealed-Key":"IAAfAMq/QJI59JqcX...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Oct 29 16:34:20 UTC 2020
    - 164K bytes
    - Viewed (0)
  6. test/fixedbugs/issue51839.go

    // Copyright 2022 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 main
    
    func main() {
    	testRecover()
    
    }
    
    func testRecover() {
    	if false {
    		func() {
    			defer func() {
    				_ = recover()
    			}()
    		}()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 21 17:27:41 UTC 2022
    - 317 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/test/runtime_unversioned_test.go

    	status := &metav1.Status{
    		Status:  metav1.StatusFailure,
    		Code:    200,
    		Reason:  metav1.StatusReasonUnknown,
    		Message: "",
    	}
    
    	_, codecs := TestScheme()
    	codec := apitesting.TestCodec(codecs, schema.GroupVersion{Group: "", Version: runtime.APIVersionInternal})
    
    	encoded, err := runtime.Encode(codec, status)
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    	typeMeta := metav1.TypeMeta{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 13 16:56:29 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/ResolvedGeneratedJarsIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache(because = "testkit jar generated eagerly")
        def "gradle testkit jar is generated only when requested"() {
            setup:
            testCode()
    
            def version = distribution.version.version
            def generatedJarsDirectory = "user-home/caches/$version/generated-gradle-jars"
    
            when:
            succeeds("classes")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. pkg/api/testing/fuzzer.go

    			obj := types[c.Rand.Intn(len(types))]
    			c.Fuzz(obj)
    
    			var codec runtime.Codec
    			switch obj.(type) {
    			case *apps.Deployment:
    				codec = apitesting.TestCodec(codecs, appsv1.SchemeGroupVersion)
    			default:
    				codec = apitesting.TestCodec(codecs, v1.SchemeGroupVersion)
    			}
    
    			// Convert the object to raw bytes
    			bytes, err := runtime.Encode(codec, obj)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:08:24 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/api/apitesting/codec.go

    	"k8s.io/apimachinery/pkg/runtime/serializer/recognizer"
    )
    
    var (
    	testCodecMediaType        string
    	testStorageCodecMediaType string
    )
    
    // TestCodec returns the codec for the API version to test against, as set by the
    // KUBE_TEST_API_TYPE env var.
    func TestCodec(codecs runtimeserializer.CodecFactory, gvs ...schema.GroupVersion) runtime.Codec {
    	if len(testCodecMediaType) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 01 19:31:12 UTC 2018
    - 3.9K bytes
    - Viewed (0)
Back to top