Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,619 for Test (0.21 sec)

  1. ci/official/containers/linux_arm64/devel.usertools/test.requirements.txt

    # Test dependencies for pip tests
    grpcio ~= 1.42.0
    portpicker ~= 1.5.2
    scipy ~= 1.7.3
    jax ~= 0.2.26
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 117 bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/server_test.go

    	"k8s.io/client-go/kubernetes/fake"
    
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestMeshDataplaneAddsAnnotationOnAdd(t *testing.T) {
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    			UID:       types.UID("test"),
    		},
    	}
    
    	fakeCtx := context.Background()
    	fakeClientSet := fake.NewSimpleClientset(pod)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/expr_test.go

    	for i, test := range exprTests {
    		p.start(lex.Tokenize(test.input))
    		result := int64(p.expr())
    		if result != test.output {
    			t.Errorf("%d: %q evaluated to %d; expected %d", i, test.input, result, test.output)
    		}
    		tok := p.next()
    		if test.atEOF && tok.ScanToken != scanner.EOF {
    			t.Errorf("%d: %q: at EOF got %s", i, test.input, tok)
    		} else if !test.atEOF && tok.ScanToken == scanner.EOF {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  4. internal/kms/dek_test.go

    }
    
    func TestEncodeDecodeDEK(t *testing.T) {
    	for i, test := range dekEncodeDecodeTests {
    		text, err := test.Key.MarshalText()
    		if err != nil {
    			t.Fatalf("Test %d: failed to marshal DEK: %v", i, err)
    		}
    
    		var key DEK
    		if err = key.UnmarshalText(text); err != nil {
    			t.Fatalf("Test %d: failed to unmarshal DEK: %v", i, err)
    		}
    		if key.Plaintext != nil {
    			t.Fatalf("Test %d: unmarshaled DEK contains non-nil plaintext", i)
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  5. .teamcity/test-buckets.json

    				"subprojects":[
    					"composite-builds",
    					"declarative-dsl-core",
    					"problems",
    					"plugins-test-report-aggregation",
    					"resources-sftp",
    					"build-cache-http",
    					"testing-base",
    					"model-groovy",
    					"plugins-jvm-test-suite",
    					"plugins-version-catalog",
    					"plugins-jvm-test-fixtures"
    				]
    			},
    			{
    				"parallelizationMethod":{
    					"name":"TestDistribution"
    				},
    Json
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed May 01 00:36:47 GMT 2024
    - 50.1K bytes
    - Viewed (0)
  6. internal/crypto/sse_test.go

    		},
    		ExpectedErr: ErrMissingCustomerKeyMD5,
    	},
    }
    
    func TestSSECUnsealObjectKey(t *testing.T) {
    	for i, test := range ssecUnsealObjectKeyTests {
    		if _, err := SSEC.UnsealObjectKey(test.Headers, test.Metadata, test.Bucket, test.Object); err != test.ExpectedErr {
    			t.Errorf("Test %d: got: %v - want: %v", i, err, test.ExpectedErr)
    		}
    	}
    }
    
    var sseCopyUnsealObjectKeyTests = []struct {
    	Headers        http.Header
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  7. istioctl/pkg/util/handlers/handlers_test.go

    			wantPodName:   "foo-abc",
    			wantNamespace: "test",
    		},
    		{
    			name:          "Deployment/foo.istio-system",
    			wantPodName:   "foo-abc",
    			wantNamespace: "istio-system",
    		},
    		{
    			name:          "Deployment/foo",
    			wantPodName:   "foo-abc",
    			wantNamespace: "test",
    		},
    	}
    	factory := cmdtesting.NewTestFactory().WithNamespace("test")
    	ns := scheme.Codecs.WithoutConversion()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  8. src/cmd/addr2line/addr2line_test.go

    	out, err := testenv.Command(t, testenv.GoToolPath(t), "test", "-c", "-o", exepath, "cmd/addr2line").CombinedOutput()
    	if err != nil {
    		t.Fatalf("go test -c -o %v cmd/addr2line: %v\n%s", exepath, err, string(out))
    	}
    
    	syms := loadSyms(t, exepath)
    
    	testAddr2Line(t, exepath, syms[symName])
    	testAddr2Line(t, exepath, "0x"+syms[symName])
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. internal/dsync/dsync_test.go

    	os.Exit(code)
    }
    
    func TestSimpleLock(t *testing.T) {
    	dm := NewDRWMutex(ds, "test")
    
    	dm.Lock(id, source)
    
    	// fmt.Println("Lock acquired, waiting...")
    	time.Sleep(testDrwMutexRefreshCallTimeout)
    
    	dm.Unlock(context.Background())
    }
    
    func TestSimpleLockUnlockMultipleTimes(t *testing.T) {
    	dm := NewDRWMutex(ds, "test")
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_custom_response/test_tutorial009.py

    from docs_src.custom_response.tutorial009 import app
    
    client = TestClient(app)
    
    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial009.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jul 03 19:51:28 GMT 2021
    - 487 bytes
    - Viewed (0)
Back to top