Home
last modified time | relevance | path

Searched +defs:expected +defs:value (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/third_party/PyYAML/tests/lib/
Dtest_schema.py6 def check_bool(value, expected): argument
15 def check_int(value, expected): argument
22 def check_float(value, expected): argument
39 def check_str(value, expected): argument
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dlog_severity_test.cc38 std::string StreamHelper(absl::LogSeverity value) { in StreamHelper()
66 absl::LogSeverity value; in TEST_P() local
77 const auto expected = static_cast<absl::LogSeverity>(GetParam()); in TEST_P() local
79 absl::LogSeverity value; in TEST_P() local
102 const absl::LogSeverity expected = std::get<1>(GetParam()); in TEST_P() local
103 absl::LogSeverity value; in TEST_P() local
118 const auto expected = static_cast<absl::LogSeverity>(std::get<1>(GetParam())); in TEST_P() local
119 absl::LogSeverity value; in TEST_P() local
151 const absl::LogSeverity expected = std::get<1>(GetParam()); in TEST_P() local
152 absl::LogSeverity value; in TEST_P() local
[all …]
/third_party/cJSON/tests/json-patch-tests/
Dtests.json5 "expected": {} }, object
10 "expected": {"foo": 1} }, object
15 "expected": {"bar":2, "foo": 1} }, object
20 "expected": [{"bar":2, "foo": 1}] }, array
25 "expected": {"foo":{"bar":2, "foo": 1}} }, object
29 "patch": [{"op": "add", "path": "/foo", "value":1}], number
30 "expected": {"foo": 1} }, object
34 "patch": [{"op": "add", "path": "/0", "value": "foo"}], string
35 "expected": ["foo"] }, array
40 "expected": ["foo"] }, array
[all …]
Dspec_tests.json5 "patch": [ {"op": "add", "path": "/a/b", "value": 1} ], number
16 { "op": "add", "path": "/baz", "value": "qux" } string
18 "expected": { object
30 { "op": "add", "path": "/foo/1", "value": "qux" } string
32 "expected": { object
46 "expected": { object
59 "expected": { object
71 { "op": "replace", "path": "/baz", "value": "boo" } string
73 "expected": { object
93 "expected": { object
[all …]
Dcjson-utils-tests.json5 "patch": [{ "op": "add", "path": "/baz", "value": "qux" }], string
6 "expected": {"baz": "qux", "foo": "bar"} object
11 "patch": [{ "op": "add", "path": "/foo/1", "value": "qux" }], string
12 "expected": {"foo": [ "bar", "qux", "baz" ] } object
18 "expected": {"foo": "bar" } object
24 "expected": {"foo": [ "bar", "baz" ] } object
29 "patch": [{ "op": "replace", "path": "/baz", "value": "boo" }], string
30 "expected": {"baz": "boo","foo": "bar"} object
36 "expected": {"foo": {"bar": "baz"},"qux": {"corge": "grault","thud": "fred"}} object
42 "expected": { "foo": [ "all", "cows", "eat", "grass" ] } object
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsStateQueryUtil.cpp277 const glw::GLboolean value = gl.glIsEnabled(target); in queryState() local
291 StateQueryMemoryWriteGuard<glw::GLboolean> value; in queryState() local
308 StateQueryMemoryWriteGuard<glw::GLint> value; in queryState() local
323 StateQueryMemoryWriteGuard<glw::GLint64> value; in queryState() local
338 StateQueryMemoryWriteGuard<glw::GLfloat> value; in queryState() local
363 StateQueryMemoryWriteGuard<glw::GLboolean[4]> value; in queryIndexedState() local
389 StateQueryMemoryWriteGuard<glw::GLint[4]> value; in queryIndexedState() local
404 StateQueryMemoryWriteGuard<glw::GLint64[4]> value; in queryIndexedState() local
419 const glw::GLboolean value = gl.glIsEnabledi(target, index); in queryIndexedState() local
433 StateQueryMemoryWriteGuard<glw::GLboolean> value; in queryIndexedState() local
[all …]
/third_party/icu/vendor/double-conversion/upstream/test/cctest/
Dchecks.h74 const char* expected_source, int expected, in CheckEqualsHelper()
75 const char* value_source, int value) { in CheckEqualsHelper()
88 int64_t expected, in CheckEqualsHelper()
90 int64_t value) { in CheckEqualsHelper()
113 int value) { in CheckNonEqualsHelper()
126 const char* expected, in CheckEqualsHelper()
128 const char* value) { in CheckEqualsHelper()
142 const char* expected, in CheckNonEqualsHelper()
144 const char* value) { in CheckNonEqualsHelper()
158 const void* expected, in CheckEqualsHelper()
[all …]
Dcctest.h87 T1 expected, in CheckEqualsHelper()
89 T2 value) { in CheckEqualsHelper()
107 const char* expected, in CheckEqualsHelper()
109 const char* value) { in CheckEqualsHelper()
127 const char* expected, in CheckEqualsHelper()
129 char* value) { in CheckEqualsHelper()
/third_party/flatbuffers/tests/FlatBuffers.Test/
DAssert.cs30 public AssertFailedException(object expected, object actual) in AssertFailedException()
48 public AssertArrayFailedException(int index, object expected, object actual) in AssertArrayFailedException()
65 public AssertUnexpectedThrowException(object expected) in AssertUnexpectedThrowException()
78 public static void AreEqual<T>(T expected, T actual) in AreEqual()
86 public static void ArrayEqual<T>(T[] expected, T[] actual) in ArrayEqual()
102 public static void ArrayEqual<T>(ArraySegment<T> expected, T[] actual) in ArrayEqual()
122 public static void IsTrue(bool value) in IsTrue()
130 public static void IsFalse(bool value) in IsFalse()
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
Dmath_data_test.cpp3 uint64_t ConvertDoubleToBiased(const double& value) in ConvertDoubleToBiased()
15 bool DoubleUlpCmp(double expected, double actual, uint64_t ulp) in DoubleUlpCmp()
26 uint32_t ConvertFloatToBiased(const float& value) in ConvertFloatToBiased()
37 bool FloatUlpCmp(float expected, float actual, uint32_t ulp) in FloatUlpCmp()
Dmath_data_test.h10 double expected; member
15 float expected; member
20 int expected; member
25 int expected; member
30 long expected; member
35 long expected; member
40 long long expected; member
45 long long expected; member
51 double expected; member
57 float expected; member
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fApiCase.cpp67 void ApiCase::expectError (deUint32 expected) in expectError()
89 void ApiCase::checkBooleans (deUint8 value, deUint8 expected) in checkBooleans()
94 void ApiCase::checkBooleans (deInt32 value, deUint8 expected) in checkBooleans()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fApiCase.cpp65 void ApiCase::expectError (deUint32 expected) in expectError()
87 void ApiCase::checkBooleans (deUint8 value, deUint8 expected) in checkBooleans()
92 void ApiCase::checkBooleans (deInt32 value, deUint8 expected) in checkBooleans()
/third_party/ffmpeg/libavutil/tests/
Davstring.c72 #define TEST_APPEND_PATH_COMPONENT(path, component, expected) \ in main() argument
86 #define TEST_STRNSTR(haystack, needle, hay_length, expected) \ in main() argument
97 #define TEST_STRIREPLACE(haystack, needle, expected) \ in main() argument
115 #define TEST_D2STR(value, expected) \ in main() argument
/third_party/unity/test/tests/
Dtest_unity_parameterized.c130 static const char * const expected[] = in test_StringsArePreserved() local
155 static const char expected[] = in test_CharsArePreserved() local
174 void test_SingleRange(unsigned value) in test_SingleRange()
187 void test_SingleExclusiveRange(unsigned value) in test_SingleExclusiveRange()
230 void test_SingleMatix(unsigned value) in test_SingleMatix()
239 static const unsigned expected[] = in test_TwoMatrices() local
254 static const char* expected[] = in test_StringsAndNumbersMatrices() local
/third_party/musl/src/hook/linux/
Dmusl_fdtrack.c42 bool fdtrack_cas_hook(fdtrack_hook* expected, fdtrack_hook value) in fdtrack_cas_hook()
56 bool check_open_func(const char*expected, const char* key) in check_open_func()
59 const char *value = CachedParameterGet(handle); in check_open_func() local
/third_party/python/Lib/test/
Dtest_tcl.py278 def check(expr, expected): argument
312 def check(expr, expected): argument
343 def check(expr, expected): argument
374 def check(expr, expected): argument
412 def check(expr, expected): argument
441 def passValue(value): argument
496 def check(value, expected=None, *, eq=self.assertEqual): argument
506 def float_eq(actual, expected): argument
631 def check(value): argument
/third_party/musl/porting/linux/user/src/hook/
Dmusl_fdtrack.c13 bool fdtrack_cas_hook(fdtrack_hook* expected, fdtrack_hook value) in fdtrack_cas_hook()
/third_party/jerryscript/tests/unit-libm/
Dtest-libm.c28 check_int (const char *expr, int computed, int expected) in check_int()
40 double value; member
46 check_double (const char *expr, double computed, double expected) in check_double()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs255 public void DoubleRepresentations(double value, string expectedValueText) in DoubleRepresentations()
333 public void ToJsonName(string original, string expected) in ToJsonName()
436 public void TimestampStandalone(string expected, int nanos) in TimestampStandalone()
493 public void DurationStandalone(long seconds, int nanoseconds, string expected) in DurationStandalone()
628 public void Wrappers_Standalone(System.Type wrapperType, object value, string expectedJson) in Wrappers_Standalone()
646 public void WriteValue_Constant(object value, string expectedJson) in WriteValue_Constant()
679 private static void AssertWriteValue(object value, string expectedJson) in AssertWriteValue()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Datomic_hook.h154 FnPtr expected = default_fn_; in DoStore() local
170 const intptr_t value = hook_.load(std::memory_order_acquire); in DoLoad() local
179 const auto value = reinterpret_cast<intptr_t>(fn); in DoStore() local
180 intptr_t expected = kUninitialized; in DoStore() local
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DICUResourceBundleTest.java201 String expected = "abc\u0000def"; in TestBasicTypes() local
218 int expected = 123; in TestBasicTypes() local
230 int expected = 1; in TestBasicTypes() local
237 int expected = -1; in TestBasicTypes() local
250 int expected = 1; in TestBasicTypes() local
258 int[] expected = new int[]{ 1, 2, 3, -3, 4, 5, 6, 7 } ; in TestBasicTypes() local
315 String value = sub2.getString(); in TestBasicTypes() local
330 String expected; in TestBasicTypes() local
359 int value; field in ICUResourceBundleTest.TestCase
360 TestCase(String key, int value){ in TestCase()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DUniformTest.cpp47 GLfloat expected = 1.02f; in TEST_P() local
70 GLint expected = 4; in TEST_P() local
94 std::vector<GLfloat> expected = {{1.0f, 0.5f}}; in TEST_P() local
118 std::vector<GLfloat> expected = {{1.0f, 0.5f, 0.2f}}; in TEST_P() local
142 std::vector<GLfloat> expected = {{1.0f, 0.5f, 0.2f, -0.8f}}; in TEST_P() local
166 std::vector<GLfloat> expected = {{1.0f, 0.5f, 0.2f, -0.8f}}; in TEST_P() local
190 std::vector<GLfloat> expected = {{1.0f, 0.5f, 0.2f, -0.8f, -0.2f, 0.1f, 0.1f, 0.2f, 0.7f}}; in TEST_P() local
214 std::vector<GLfloat> expected = {{1.0f, 0.5f, 0.2f, -0.8f, -0.2f, 0.1f, 0.1f, 0.2f, 0.7f, 0.1f, in TEST_P() local
237 std::vector<GLfloat> expected = {{0.1f, 0.2f, 0.3f, 0.4f}}; in TEST_P() local
266 std::vector<std::vector<GLfloat>> expected = { in TEST_P() local
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUResourceBundleTest.java198 String expected = "abc\u0000def"; in TestBasicTypes() local
215 int expected = 123; in TestBasicTypes() local
227 int expected = 1; in TestBasicTypes() local
234 int expected = -1; in TestBasicTypes() local
247 int expected = 1; in TestBasicTypes() local
255 int[] expected = new int[]{ 1, 2, 3, -3, 4, 5, 6, 7 } ; in TestBasicTypes() local
312 String value = sub2.getString(); in TestBasicTypes() local
327 String expected; in TestBasicTypes() local
356 int value; field in ICUResourceBundleTest.TestCase
357 TestCase(String key, int value){ in TestCase()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dnumbers_test_common.h33 inline bool Itoa(IntType value, int base, std::string* destination) { in Itoa()
66 uint32_t expected; member
114 uint64_t expected; member

12345678910>>...14