Home
last modified time | relevance | path

Searched refs:ExpectSuccess (Results 1 – 25 of 25) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dop_def_builder_test.cc43 void ExpectSuccess(const OpDefBuilder& builder, StringPiece proto, in ExpectSuccess() function in tensorflow::__anon964609d70111::OpDefBuilderTest
88 ExpectSuccess(b().Attr("a:string"), "attr: { name: 'a' type: 'string' }"); in TEST_F()
89 ExpectSuccess(b().Attr("A: int"), "attr: { name: 'A' type: 'int' }"); in TEST_F()
90 ExpectSuccess(b().Attr("a1 :float"), "attr: { name: 'a1' type: 'float' }"); in TEST_F()
91 ExpectSuccess(b().Attr("a_a : bool"), "attr: { name: 'a_a' type: 'bool' }"); in TEST_F()
92 ExpectSuccess(b().Attr("aB : type"), "attr: { name: 'aB' type: 'type' }"); in TEST_F()
93 ExpectSuccess(b().Attr("aB_3\t: shape"), in TEST_F()
95 ExpectSuccess(b().Attr("t: tensor"), "attr: { name: 't' type: 'tensor' }"); in TEST_F()
96 ExpectSuccess(b().Attr("XYZ\t:\tlist(type)"), in TEST_F()
98 ExpectSuccess(b().Attr("f: func"), "attr { name: 'f' type: 'func'}"); in TEST_F()
[all …]
Dnode_def_builder_test.cc51 void ExpectSuccess(NodeDefBuilder& builder, // NOLINT in ExpectSuccess() function in tensorflow::__anoneb56bbfe0111::NodeDefBuilderTest
121 ExpectSuccess(Builder().Input("x", 0, DT_INT32), {DT_INT32}, {DT_FLOAT}, in TEST_F()
125 ExpectSuccess(Builder().Input("y", 2, DT_INT32), {DT_INT32}, {DT_FLOAT}, in TEST_F()
129 ExpectSuccess(Builder().Input(FakeInput()), {DT_INT32}, {DT_FLOAT}, R"proto( in TEST_F()
132 ExpectSuccess(Builder().Input(FakeInput(DT_INT32)), {DT_INT32}, {DT_FLOAT}, in TEST_F()
136 ExpectSuccess(Builder().Input(FakeInput(DT_INT32_REF)), {DT_INT32}, in TEST_F()
140 ExpectSuccess( in TEST_F()
146 ExpectSuccess(Builder().Input(FakeInput()).Device("ddd"), {DT_INT32}, in TEST_F()
164 ExpectSuccess(builder, {DT_INT32}, {DT_FLOAT}, R"proto( in TEST_F()
174 ExpectSuccess(builder, {DT_INT32}, {DT_FLOAT}, R"proto( in TEST_F()
[all …]
Dop_compatibility_test.cc51 void ExpectSuccess(const OpDef& old_op_def) { in ExpectSuccess() function in tensorflow::__anon1231ea3c0111::OpCompatibilityTest
210 ExpectSuccess(*RegisteredOpDef()); in TEST_F()
226 ExpectSuccess(old_op.op_def); in TEST_F()
243 ExpectSuccess(old_op.op_def); in TEST_F()
261 ExpectSuccess(old_op.op_def); in TEST_F()
281 ExpectSuccess(old_op.op_def); in TEST_F()
302 ExpectSuccess(old_op.op_def); in TEST_F()
324 ExpectSuccess(old_op.op_def); in TEST_F()
347 ExpectSuccess(old_op.op_def); in TEST_F()
369 ExpectSuccess(old_op.op_def); in TEST_F()
[all …]
Dop_kernel_test.cc164 void ExpectSuccess(const string& op_type, DeviceType device_type, in ExpectSuccess() function in tensorflow::__anonc25ee1c30111::OpKernelTest
200 ExpectSuccess("Test1", DEVICE_CPU, {DT_FLOAT, DT_INT32}, {DT_UINT8}); in TEST_F()
201 ExpectSuccess("Test1", DEVICE_CPU, {DT_FLOAT_REF, DT_INT32}, {DT_UINT8}); in TEST_F()
206 ExpectSuccess("Test2", DEVICE_GPU, {DT_INT32}, {DT_INT32}); in TEST_F()
211 ExpectSuccess("Test3", DEVICE_CPU, {DT_INT8, DT_INT8}, {}); in TEST_F()
212 ExpectSuccess("Test3", DEVICE_GPU, {DT_FLOAT, DT_FLOAT}, {}); in TEST_F()
498 std::unique_ptr<OpKernel> ExpectSuccess(const string& op_type, in ExpectSuccess() function in tensorflow::__anonc25ee1c30111::OpKernelBuilderTest
597 ExpectSuccess("BuildCPU", DEVICE_CPU, {}); in TEST_F()
608 ExpectSuccess("BuildGPU", DEVICE_GPU, {}); in TEST_F()
616 ExpectSuccess("BuildBoth", DEVICE_CPU, {}); in TEST_F()
[all …]
Dnode_def_util_test.cc52 void ExpectSuccess(const NodeDef& good, const OpDef& op_def) { in ExpectSuccess() function
82 ExpectSuccess(node_def, op); in TEST()
126 ExpectSuccess(node_def, op); in TEST()
147 ExpectSuccess(node_def, op); in TEST()
167 ExpectSuccess(node_def, op); in TEST()
174 ExpectSuccess(good, op); in TEST()
194 ExpectSuccess(node_def, op); in TEST()
224 ExpectSuccess(node_def, op); in TEST()
248 ExpectSuccess(node_def1, op_def1); in TEST()
255 ExpectSuccess(node_def2, op_def2); in TEST()
/external/skia/tests/
DPathOpsExtendedTest.cpp74 enum class ExpectSuccess { enum
393 static void json_status(ExpectSuccess expectSuccess, ExpectMatch expectMatch, bool opSucceeded) { in json_status()
395 ExpectSuccess::kNo == expectSuccess ? "no" : in json_status()
396 ExpectSuccess::kYes == expectSuccess ? "yes" : "flaky"); in json_status()
462 ExpectSuccess expectSuccess, SkipAssert skipAssert, ExpectMatch expectMatch) { in inner_simplify()
477 if (ExpectSuccess::kYes == expectSuccess) { in inner_simplify()
487 if (ExpectSuccess::kNo == expectSuccess) { in inner_simplify()
512 return inner_simplify(reporter, path, filename, ExpectSuccess::kYes, SkipAssert::kNo, in testSimplify()
517 return inner_simplify(reporter, path, filename, ExpectSuccess::kFlaky, SkipAssert::kYes, in testSimplifyFuzz()
524 ExpectSuccess::kYes : ExpectSuccess::kNo, SkipAssert::kNo, ExpectMatch::kNo); in testSimplifyCheck()
[all …]
/external/skqp/tests/
DPathOpsExtendedTest.cpp73 enum class ExpectSuccess { enum
487 static void json_status(ExpectSuccess expectSuccess, ExpectMatch expectMatch, bool opSucceeded) { in json_status()
489 ExpectSuccess::kNo == expectSuccess ? "no" : in json_status()
490 ExpectSuccess::kYes == expectSuccess ? "yes" : "flaky"); in json_status()
563 ExpectSuccess expectSuccess, SkipAssert skipAssert, ExpectMatch expectMatch) { in inner_simplify()
581 if (ExpectSuccess::kYes == expectSuccess) { in inner_simplify()
591 if (ExpectSuccess::kNo == expectSuccess) { in inner_simplify()
616 return inner_simplify(reporter, path, filename, ExpectSuccess::kYes, SkipAssert::kNo, in testSimplify()
621 return inner_simplify(reporter, path, filename, ExpectSuccess::kFlaky, SkipAssert::kYes, in testSimplifyFuzz()
628 ExpectSuccess::kYes : ExpectSuccess::kNo, SkipAssert::kNo, ExpectMatch::kNo); in testSimplifyCheck()
[all …]
/external/vulkan-validation-layers/tests/
Dvkpositivelayertests.cpp49 m_errorMonitor->ExpectSuccess(); in TEST_F()
62 m_errorMonitor->ExpectSuccess(); in TEST_F()
173 m_errorMonitor->ExpectSuccess(); in TEST_F()
184 m_errorMonitor->ExpectSuccess(); in TEST_F()
257 m_errorMonitor->ExpectSuccess(); in TEST_F()
303 m_errorMonitor->ExpectSuccess(); in TEST_F()
373 m_errorMonitor->ExpectSuccess(); in TEST_F()
551 m_errorMonitor->ExpectSuccess(); in TEST_F()
561 m_errorMonitor->ExpectSuccess(); in TEST_F()
599 m_errorMonitor->ExpectSuccess(); in TEST_F()
[all …]
Dlayer_validation_tests.cpp210 error_monitor->ExpectSuccess(); in PositiveTestRenderPassCreate()
221 error_monitor->ExpectSuccess(); in PositiveTestRenderPassCreate()
268 monitor->ExpectSuccess(); in ValidOwnershipTransferOp()
448 test.Monitor()->ExpectSuccess(); in CreateSamplerTest()
467 test.Monitor()->ExpectSuccess(); in CreateBufferTest()
486 test.Monitor()->ExpectSuccess(); in CreateImageTest()
506 test.Monitor()->ExpectSuccess(); in CreateBufferViewTest()
525 test.Monitor()->ExpectSuccess(); in CreateImageViewTest()
715 void ErrorMonitor::ExpectSuccess(VkDebugReportFlagsEXT const message_flag_mask) { in ExpectSuccess() function in ErrorMonitor
Dvklayertests_command.cpp539 m_errorMonitor->ExpectSuccess(); in TEST_F()
542 m_errorMonitor->ExpectSuccess(); in TEST_F()
545 m_errorMonitor->ExpectSuccess(); in TEST_F()
1315 m_errorMonitor->ExpectSuccess(); in TEST_F()
1410 m_errorMonitor->ExpectSuccess(); in TEST_F()
1544 m_errorMonitor->ExpectSuccess(); in TEST_F()
1701 m_errorMonitor->ExpectSuccess(); // Extract 4b depth per texel, pack into 256k buffer in TEST_F()
1706 … m_errorMonitor->ExpectSuccess(); // Extract 3b depth per texel, pack (loose) into 256k buffer in TEST_F()
1711 m_errorMonitor->ExpectSuccess(); // Copy 2b depth per texel, into 128k buffer in TEST_F()
1742 m_errorMonitor->ExpectSuccess(); // Extract 1b stencil per texel, pack into 64k buffer in TEST_F()
[all …]
Dlayer_validation_tests.h275 … void ExpectSuccess(VkDebugReportFlagsEXT const message_flag_mask = VK_DEBUG_REPORT_ERROR_BIT_EXT);
628 test.Monitor()->ExpectSuccess(message_flag_mask);
Dvklayertests_others.cpp1865 m_errorMonitor->ExpectSuccess(); in TEST_F()
3268 m_errorMonitor->ExpectSuccess(); in TEST_F()
4060 m_errorMonitor->ExpectSuccess(); in TEST_F()
4065 m_errorMonitor->ExpectSuccess(); in TEST_F()
4091 m_errorMonitor->ExpectSuccess(); in TEST_F()
4095 m_errorMonitor->ExpectSuccess(); in TEST_F()
4112 m_errorMonitor->ExpectSuccess(); in TEST_F()
4122 m_errorMonitor->ExpectSuccess(); in TEST_F()
Dvklayertests_descriptor_renderpass_framebuffer.cpp2554 m_errorMonitor->ExpectSuccess(); in TEST_F()
3158 m_errorMonitor->ExpectSuccess(); in TEST_F()
4609 m_errorMonitor->ExpectSuccess(); in TEST_F()
4622 m_errorMonitor->ExpectSuccess(); in TEST_F()
4629 m_errorMonitor->ExpectSuccess(); in TEST_F()
6121 m_errorMonitor->ExpectSuccess(); in TEST_F()
Dvklayertests_buffer_image_memory_sampler.cpp3804 m_errorMonitor->ExpectSuccess(); in TEST_F()
6564 m_errorMonitor->ExpectSuccess(); in TEST_F()
6600 m_errorMonitor->ExpectSuccess(); in TEST_F()
Dvklayertests_pipeline_shader.cpp4717 m_errorMonitor->ExpectSuccess(); in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_extensions_test.cpp47 ExpectSuccess, ValidateKnownExtensions,
72 TEST_P(ValidateKnownExtensions, ExpectSuccess) { in TEST_P() argument
219 TEST_P(ValidateAMDShaderBallotCapabilities, ExpectSuccess) { in TEST_P() argument
231 INSTANTIATE_TEST_SUITE_P(ExpectSuccess, ValidateAMDShaderBallotCapabilities,
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_extensions_test.cpp47 ExpectSuccess, ValidateKnownExtensions,
72 TEST_P(ValidateKnownExtensions, ExpectSuccess) { in TEST_P() argument
219 TEST_P(ValidateAMDShaderBallotCapabilities, ExpectSuccess) { in TEST_P() argument
231 INSTANTIATE_TEST_SUITE_P(ExpectSuccess, ValidateAMDShaderBallotCapabilities,
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/
Dval_extensions_test.cpp47 ExpectSuccess, ValidateKnownExtensions,
72 TEST_P(ValidateKnownExtensions, ExpectSuccess) { in TEST_P() argument
219 TEST_P(ValidateAMDShaderBallotCapabilities, ExpectSuccess) { in TEST_P() argument
231 INSTANTIATE_TEST_SUITE_P(ExpectSuccess, ValidateAMDShaderBallotCapabilities,
/external/libbrillo/brillo/streams/
Dstream_utils_test.cc186 void ExpectSuccess() { in ExpectSuccess() function in brillo::CopyStreamDataTest
210 ExpectSuccess(); in TEST_F()
230 ExpectSuccess(); in TEST_F()
248 ExpectSuccess(); in TEST_F()
268 ExpectSuccess(); in TEST_F()
/external/openscreen/third_party/abseil/src/absl/types/internal/
Dconformance_testing.h1150 template <bool ExpectSuccess, class T, class... EqClasses>
1162 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...,
1172 absl::enable_if_t<!ExpectSuccess && sizeof...(EqClasses) == 0 &&
1176 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...>
1185 absl::enable_if_t<ExpectSuccess && sizeof...(EqClasses) == 0 &&
1189 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...>
1193 static_assert(!ExpectSuccess,
1208 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...,
1223 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...,
1244 return ExpectSuccess ? test_result.assertionResult()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/internal/
Dconformance_testing.h1150 template <bool ExpectSuccess, class T, class... EqClasses>
1162 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...,
1172 absl::enable_if_t<!ExpectSuccess && sizeof...(EqClasses) == 0 &&
1176 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...>
1185 absl::enable_if_t<ExpectSuccess && sizeof...(EqClasses) == 0 &&
1189 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...>
1193 static_assert(!ExpectSuccess,
1208 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...,
1223 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...,
1244 return ExpectSuccess ? test_result.assertionResult()
[all …]
/external/libtextclassifier/abseil-cpp/absl/types/internal/
Dconformance_testing.h1150 template <bool ExpectSuccess, class T, class... EqClasses>
1162 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...,
1172 absl::enable_if_t<!ExpectSuccess && sizeof...(EqClasses) == 0 &&
1176 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...>
1185 absl::enable_if_t<ExpectSuccess && sizeof...(EqClasses) == 0 &&
1189 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...>
1193 static_assert(!ExpectSuccess,
1208 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...,
1223 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...,
1244 return ExpectSuccess ? test_result.assertionResult()
[all …]
/external/angle/third_party/abseil-cpp/absl/types/internal/
Dconformance_testing.h1150 template <bool ExpectSuccess, class T, class... EqClasses>
1162 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...,
1172 absl::enable_if_t<!ExpectSuccess && sizeof...(EqClasses) == 0 &&
1176 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...>
1185 absl::enable_if_t<ExpectSuccess && sizeof...(EqClasses) == 0 &&
1189 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...>
1193 static_assert(!ExpectSuccess,
1208 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...,
1223 ABSL_MUST_USE_RESULT ExpectConformanceOf<ExpectSuccess, T, EqClasses...,
1244 return ExpectSuccess ? test_result.assertionResult()
[all …]
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/
Dincrement.pass.cpp371 bool ExpectSuccess; in TEST_CASE() member
388 if (TC.ExpectSuccess) { in TEST_CASE()
454 bool ExpectSuccess; in TEST_CASE() member
476 if (TC.ExpectSuccess) { in TEST_CASE()
/external/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/
Dincrement.pass.cpp370 bool ExpectSuccess; in TEST_CASE() member
387 if (TC.ExpectSuccess) { in TEST_CASE()
454 bool ExpectSuccess; in TEST_CASE() member
476 if (TC.ExpectSuccess) { in TEST_CASE()