- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 238 for CaseName (0.16 sec)
-
src/encoding/json/decode_test.go
{CaseName: Name(""), in: `-5`, ptr: new(int16), out: int16(-5)}, {CaseName: Name(""), in: `2`, ptr: new(Number), out: Number("2"), useNumber: true}, {CaseName: Name(""), in: `2`, ptr: new(Number), out: Number("2")}, {CaseName: Name(""), in: `2`, ptr: new(any), out: float64(2.0)}, {CaseName: Name(""), in: `2`, ptr: new(any), out: Number("2"), useNumber: true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:40:14 UTC 2024 - 67.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-typed-test.h
// instance (e.g. Types<int>) # define TYPED_TEST_CASE(CaseName, Types) \ typedef ::testing::internal::TypeList< Types >::type \ GTEST_TYPE_PARAMS_(CaseName) # define TYPED_TEST(CaseName, TestName) \ template <typename gtest_TypeParam_> \ class GTEST_TEST_CLASS_NAME_(CaseName, TestName) \ : public CaseName<gtest_TypeParam_> { \ private: \ typedef CaseName<gtest_TypeParam_> TestFixture; \
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 10K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-typed-test.h
// instance (e.g. Types<int>) # define TYPED_TEST_CASE(CaseName, Types) \ typedef ::testing::internal::TypeList< Types >::type \ GTEST_TYPE_PARAMS_(CaseName) # define TYPED_TEST(CaseName, TestName) \ template <typename gtest_TypeParam_> \ class GTEST_TEST_CLASS_NAME_(CaseName, TestName) \ : public CaseName<gtest_TypeParam_> { \ private: \ typedef CaseName<gtest_TypeParam_> TestFixture; \
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10K bytes - Viewed (0) -
src/encoding/json/stream_test.go
v any } func TestDecodeInStream(t *testing.T) { tests := []struct { CaseName json string expTokens []any }{ // streaming token cases {CaseName: Name(""), json: `10`, expTokens: []any{float64(10)}}, {CaseName: Name(""), json: ` [10] `, expTokens: []any{ Delim('['), float64(10), Delim(']')}}, {CaseName: Name(""), json: ` [false,10,"b"] `, expTokens: []any{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 16:00:37 UTC 2023 - 12.9K bytes - Viewed (0) -
pkg/kubelet/util/format/pod_test.go
} for _, testCase := range testCases { realPod := Pod(testCase.pod) assert.Equalf(t, testCase.expectedValue, realPod, "Failed to test: %s", testCase.caseName) } } func TestPodAndPodDesc(t *testing.T) { testCases := []struct { caseName string podName string podNamespace string podUID types.UID expectedValue string }{ {"field_empty_case", "", "", "", "_()"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 13 08:27:42 UTC 2023 - 2.1K bytes - Viewed (0) -
src/encoding/json/encode_test.go
StrStr string `json:",string"` NumberStr Number `json:",string"` } func TestRoundtripStringTag(t *testing.T) { tests := []struct { CaseName in StringTag want string // empty to just test that we roundtrip }{{ CaseName: Name("AllTypes"), in: StringTag{ BoolStr: true, IntStr: 42, UintptrStr: 44, StrStr: "xzbit", NumberStr: "46", }, want: `{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 29.4K bytes - Viewed (0) -
src/encoding/json/scanner_test.go
return strings.Map(func(r rune) rune { if r == ' ' || r == '\n' || r == '\r' || r == '\t' { return -1 } return r }, s) } func TestValid(t *testing.T) { tests := []struct { CaseName data string ok bool }{ {Name(""), `foo`, false}, {Name(""), `}{`, false}, {Name(""), `{]`, false}, {Name(""), `{}`, true}, {Name(""), `{"foo":"bar"}`, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 16:00:37 UTC 2023 - 6.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/audit/policy/reader_test.go
require.NoError(t, err) defer os.Remove(f) _, err = LoadPolicyFromFile(f) require.NoError(t, err) } func TestPolicyCntCheck(t *testing.T) { var testCases = []struct { caseName, policy string }{ { "policyWithNoRule", `apiVersion: audit.k8s.io/v1 kind: Policy`, }, {"emptyPolicyFile", ""}, } for _, tc := range testCases {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 4.2K bytes - Viewed (0) -
src/encoding/json/tagkey_test.go
} type spaceTag struct { Q string `json:"With space"` } type unicodeTag struct { W string `json:"Ελλάδα"` } func TestStructTagObjectKey(t *testing.T) { tests := []struct { CaseName raw any value string key string }{ {Name(""), basicLatin2xTag{"2x"}, "2x", "$%-/"}, {Name(""), basicLatin3xTag{"3x"}, "3x", "0123456789"}, {Name(""), basicLatin4xTag{"4x"}, "4x", "ABCDEFGHIJKLMO"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 16:00:37 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_test.go
_, _, m, _ := createTestRuntimeManager() tests := []struct { caseName string pod *v1.Pod containerID kubecontainer.ContainerID containerName string reason string gracePeriodOverride int64 succeed bool }{ { caseName: "Failed to find container in pods, expect to return error", pod: &v1.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 28K bytes - Viewed (0)