Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 4,620 for Jest (0.26 sec)

  1. istioctl/pkg/internaldebug/internal-debug_test.go

    	"k8s.io/cli-runtime/pkg/resource"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/multixds"
    	"istio.io/istio/istioctl/pkg/xds"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    type execTestCase struct {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 4.5K 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  3. internal/crypto/metadata_test.go

    			if err.Error() != test.ExpectedErr.Error() {
    				t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr)
    			}
    		}
    		if !bytes.Equal(dataKey, test.DataKey) {
    			t.Errorf("Test %d: got data key '%v' - want data key '%v'", i, dataKey, test.DataKey)
    		}
    		if keyID != test.KeyID {
    			t.Errorf("Test %d: got key-ID '%v' - want key-ID '%v'", i, keyID, test.KeyID)
    		}
    		if sealedKey.Algorithm != test.SealedKey.Algorithm {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. 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 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. 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 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 117 bytes
    - Viewed (0)
  6. 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)
  7. .teamcity/test-buckets.json

    					"plugins",
    					"plugins-application",
    					"plugins-distribution",
    					"plugins-groovy",
    					"plugins-java-base",
    					"plugins-java-library",
    					"plugins-jvm-test-fixtures",
    					"plugins-jvm-test-suite",
    					"plugins-test-report-aggregation",
    					"plugins-version-catalog",
    					"precondition-tester",
    					"problems"
    				]
    			}
    		],
    		"testCoverageUuid":33
    	},
    	{
    Json
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Apr 01 00:30:22 GMT 2024
    - 49.5K bytes
    - Viewed (0)
  8. 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)
  9. internal/bucket/versioning/versioning_test.go

    			excluded: false,
    		},
    	}
    
    	for i, test := range tests {
    		if v.PrefixSuspended(test.prefix) != test.excluded {
    			if test.excluded {
    				t.Fatalf("Test %d: Expected prefix %s to be excluded from versioning", i+1, test.prefix)
    			} else {
    				t.Fatalf("Test %d: Expected prefix %s to have versioning enabled", i+1, test.prefix)
    			}
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun May 08 05:06:44 GMT 2022
    - 8.8K bytes
    - Viewed (0)
  10. 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 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top