Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 251 for buzz (0.1 sec)

  1. docs_src/app_testing/app_b_an_py39/test_main.py

        }
    
    
    def test_create_item_bad_token():
        response = client.post(
            "/items/",
            headers={"X-Token": "hailhydra"},
            json={"id": "bazz", "title": "Bazz", "description": "Drop the bazz"},
        )
        assert response.status_code == 400
        assert response.json() == {"detail": "Invalid X-Token header"}
    
    
    def test_create_existing_item():
        response = client.post(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go

    	roundTripTypes(t, scheme, codecFactory, fuzzer, nonRoundTrippableTypes, true)
    }
    
    func RoundTripTypes(t *testing.T, scheme *runtime.Scheme, codecFactory runtimeserializer.CodecFactory, fuzzer *fuzz.Fuzzer, nonRoundTrippableTypes map[schema.GroupVersionKind]bool) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  3. pkg/api/testing/copy_test.go

    				doDeepCopyTest(t, version.WithKind(kind), f)
    			}
    		}
    	}
    }
    
    func doDeepCopyTest(t *testing.T, kind schema.GroupVersionKind, f *fuzz.Fuzzer) {
    	item, err := legacyscheme.Scheme.New(kind)
    	if err != nil {
    		t.Fatalf("Could not create a %v: %s", kind, err)
    	}
    	f.Fuzz(item)
    	itemCopy := item.DeepCopyObject()
    	if !reflect.DeepEqual(item, itemCopy) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:45:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_fuzz_cleanup.txt

    [!fuzz] skip
    [short] skip
    env GOCACHE=$WORK/cache
    
    # Cleanup should run after F.Skip.
    go test -run=FuzzTargetSkip
    stdout cleanup
    
    # Cleanup should run after F.Fatal.
    ! go test -run=FuzzTargetFatal
    stdout cleanup
    
    # Cleanup should run after an unexpected runtime.Goexit.
    ! go test -run=FuzzTargetGoexit
    stdout cleanup
    
    # Cleanup should run after panic.
    ! go test -run=FuzzTargetPanic
    stdout cleanup
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. pilot/pkg/model/virtualservice_test.go

    			*r = networking.HTTPRewrite{}
    		},
    
    		func(r *durationpb.Duration, c fuzz.Continue) {
    			*r = durationpb.Duration{}
    		},
    		func(r *networking.HTTPRetry, c fuzz.Continue) {
    			*r = networking.HTTPRetry{}
    		},
    		func(r *networking.HTTPFaultInjection, c fuzz.Continue) {
    			*r = networking.HTTPFaultInjection{}
    		},
    		func(r *networking.Destination, c fuzz.Continue) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  6. pkg/kubelet/stats/provider_test.go

    	}
    	return statsapi.VolumeStats{
    		FsStats: fsStats,
    		Name:    volumeName,
    	}
    }
    
    func generateCustomMetricSpec() []cadvisorapiv1.MetricSpec {
    	f := fuzz.New().NilChance(0).Funcs(
    		func(e *cadvisorapiv1.MetricSpec, c fuzz.Continue) {
    			c.Fuzz(&e.Name)
    			switch c.Intn(3) {
    			case 0:
    				e.Type = cadvisorapiv1.MetricGauge
    			case 1:
    				e.Type = cadvisorapiv1.MetricCumulative
    			case 2:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. src/internal/fuzz/mem.go

    // Copyright 2020 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 fuzz
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    	"unsafe"
    )
    
    // sharedMem manages access to a region of virtual memory mapped from a file,
    // shared between multiple processes. The region includes space for a header and
    // a value of variable length.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:44:27 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/test/test.go

    	    fuzz tests should be executed. The default is the current value
    	    of GOMAXPROCS. -cpu does not apply to fuzz tests matched by -fuzz.
    
    	-failfast
    	    Do not start new tests after the first test failure.
    
    	-fullpath
    	    Show full file names in the error messages.
    
    	-fuzz regexp
    	    Run the fuzz test matching the regular expression. When specified,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  9. src/cmd/internal/pgo/testdata/fuzz/FuzzRoundTrip/2055d314024c8d6c

    go test fuzz v1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 48 bytes
    - Viewed (0)
  10. src/runtime/debug/testdata/fuzz/FuzzParseBuildInfoRoundTrip/c73dce23c1f2494c

    go test fuzz v1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 23:37:45 UTC 2023
    - 44 bytes
    - Viewed (0)
Back to top