Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,013 for test (0.16 sec)

  1. cmd/test-utils_test.go

    type objAPITestType func(obj ObjectLayer, instanceType string, bucketName string,
    	apiRouter http.Handler, credentials auth.Credentials, t *testing.T)
    
    // Regular object test type.
    type objTestType func(obj ObjectLayer, instanceType string, t TestErrHandler)
    
    // Special test type for test with directories
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  2. operator/cmd/mesh/test-util_test.go

    }
    
    func mustSelect(t test.Failer, selector map[string]string, labels map[string]string) {
    	t.Helper()
    	kselector := labels2.Set(selector).AsSelectorPreValidated()
    	if !kselector.Matches(labels2.Set(labels)) {
    		t.Fatalf("%v does not select %v", selector, labels)
    	}
    }
    
    func mustNotSelect(t test.Failer, selector map[string]string, labels map[string]string) {
    	t.Helper()
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  3. .github/workflows/test.yml

          - name: Install Dependencies
            if: steps.cache.outputs.cache-hit != 'true'
            run: pip install -r requirements-tests.txt
          - name: Install Pydantic v2
            run: pip install "pydantic>=2.0.2,<3.0.0"
          - name: Lint
            run: bash scripts/lint.sh
    
      test:
        runs-on: ubuntu-latest
        strategy:
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.4K bytes
    - Viewed (1)
  4. 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)
  5. .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)
  6. 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)
  7. 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)
  8. istioctl/pkg/workload/workload_test.go

    	"github.com/spf13/cobra"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    var fakeCACert = []byte("fake-CA-cert")
    
    var (
    	defaultYAML = `apiVersion: networking.istio.io/v1alpha3
    kind: WorkloadGroup
    metadata:
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  9. tests/test_annotated.py

            ("/unrelated", 422, foo_is_missing),
        ],
    )
    def test_get(path, expected_status, expected_response):
        response = client.get(path)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    def test_multiple_path():
        app = FastAPI()
    
        @app.get("/test1")
        @app.get("/test2")
        async def test(var: Annotated[str, Query()] = "bar"):
            return {"foo": var}
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. internal/event/rulesmap_test.go

    		result := testCase.rulesMap.Clone()
    
    		if !reflect.DeepEqual(result, testCase.rulesMap) {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.rulesMap, result)
    		}
    
    		result.Add(testCase.rulesMapToAdd)
    		if reflect.DeepEqual(result, testCase.rulesMap) {
    			t.Fatalf("test %v: result: expected: not equal, got: equal", i+1)
    		}
    	}
    }
    
    func TestRulesMapAdd(t *testing.T) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Jan 05 18:43:06 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top