Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/tensorflow/tensorflow/core/framework/
H A Dnode_def_builder_test.cc52 void ExpectSuccess(NodeDefBuilder& builder, // NOLINT in ExpectSuccess() function in tensorflow::__anone529998d0111::NodeDefBuilderTest
122 ExpectSuccess(Builder().Input("x", 0, DT_INT32), {DT_INT32}, {DT_FLOAT}, in TEST_F()
126 ExpectSuccess(Builder().Input("y", 2, DT_INT32), {DT_INT32}, {DT_FLOAT}, in TEST_F()
130 ExpectSuccess(Builder().Input(FakeInput()), {DT_INT32}, {DT_FLOAT}, R"proto( in TEST_F()
134 ExpectSuccess(Builder().Input(FakeInput(DT_INT32)), {DT_INT32}, {DT_FLOAT}, in TEST_F()
138 ExpectSuccess(Builder().Input(FakeInput(DT_INT32_REF)), {DT_INT32}, in TEST_F()
142 ExpectSuccess( in TEST_F()
149 ExpectSuccess(Builder().Input(FakeInput()).Device("ddd"), {DT_INT32}, in TEST_F()
167 ExpectSuccess(builder, {DT_INT32}, {DT_FLOAT}, R"proto( in TEST_F()
178 ExpectSuccess(builder, {DT_INT32}, {DT_FLOAT}, R"proto( in TEST_F()
[all …]
H A Dop_def_builder_test.cc43 void ExpectSuccess(const OpDefBuilder& builder, StringPiece proto, in ExpectSuccess() function in tensorflow::__anon0b5637a60111::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 …]
H A Dop_compatibility_test.cc51 void ExpectSuccess(const OpDef& old_op_def) { in ExpectSuccess() function in tensorflow::__anon0c04c7cb0111::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 …]
H A Dop_kernel_test.cc167 void ExpectSuccess(const string& op_type, DeviceType device_type, in ExpectSuccess() function in tensorflow::__anondc0872320111::OpKernelTest
203 ExpectSuccess("Test1", DEVICE_CPU, {DT_FLOAT, DT_INT32}, {DT_UINT8}); in TEST_F()
204 ExpectSuccess("Test1", DEVICE_CPU, {DT_FLOAT_REF, DT_INT32}, {DT_UINT8}); in TEST_F()
209 ExpectSuccess("Test2", DEVICE_GPU, {DT_INT32}, {DT_INT32}); in TEST_F()
214 ExpectSuccess("Test3", DEVICE_CPU, {DT_INT8, DT_INT8}, {}); in TEST_F()
215 ExpectSuccess("Test3", DEVICE_GPU, {DT_FLOAT, DT_FLOAT}, {}); in TEST_F()
486 ExpectSuccess("BuildCPU", DEVICE_CPU, {}); in TEST_F()
497 ExpectSuccess("BuildGPU", DEVICE_GPU, {}); in TEST_F()
505 ExpectSuccess("BuildBoth", DEVICE_CPU, {}); in TEST_F()
506 ExpectSuccess("BuildBoth", DEVICE_GPU, {}); in TEST_F()
[all …]
H A Dnode_def_util_test.cc52 void ExpectSuccess(const NodeDef& good, const OpDef& op_def) { in ExpectSuccess() function
88 ExpectSuccess(node_def, op); in TEST()
127 ExpectSuccess(node_def, op); in TEST()
153 ExpectSuccess(node_def, op); in TEST()
178 ExpectSuccess(node_def, op); in TEST()
185 ExpectSuccess(good, op); in TEST()
215 ExpectSuccess(node_def, op); in TEST()
271 ExpectSuccess(node_def, op); in TEST()
307 ExpectSuccess(node_def1, op_def1); in TEST()
314 ExpectSuccess(node_def2, op_def2); in TEST()
H A Dop_kernel_test_base.h72 std::unique_ptr<OpKernel> ExpectSuccess(const string& op_type,
/aosp_15_r20/external/skia/tests/
H A DPathOpsExtendedTest.cpp90 enum class ExpectSuccess { enum
409 static void json_status(ExpectSuccess expectSuccess, ExpectMatch expectMatch, bool opSucceeded) { in json_status()
411 ExpectSuccess::kNo == expectSuccess ? "no" : in json_status()
412 ExpectSuccess::kYes == expectSuccess ? "yes" : "flaky"); in json_status()
477 ExpectSuccess expectSuccess, SkipAssert skipAssert, ExpectMatch expectMatch) { in inner_simplify()
492 if (ExpectSuccess::kYes == expectSuccess) { in inner_simplify()
502 if (ExpectSuccess::kNo == expectSuccess) { in inner_simplify()
527 return inner_simplify(reporter, path, filename, ExpectSuccess::kYes, SkipAssert::kNo, in testSimplify()
532 return inner_simplify(reporter, path, filename, ExpectSuccess::kFlaky, SkipAssert::kYes, in testSimplifyFuzz()
539 ExpectSuccess::kYes : ExpectSuccess::kNo, SkipAssert::kNo, ExpectMatch::kNo); in testSimplifyCheck()
[all …]
/aosp_15_r20/external/vulkan-validation-layers/tests/
H A 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 …]
H A 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
H A 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 …]
H A Dlayer_validation_tests.h275 … void ExpectSuccess(VkDebugReportFlagsEXT const message_flag_mask = VK_DEBUG_REPORT_ERROR_BIT_EXT);
628 test.Monitor()->ExpectSuccess(message_flag_mask);
H A 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()
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/test/val/
Dval_extensions_test.cpp45 ExpectSuccess, ValidateKnownExtensions,
70 TEST_P(ValidateKnownExtensions, ExpectSuccess) { in TEST_P() argument
217 TEST_P(ValidateAMDShaderBallotCapabilities, ExpectSuccess) { in TEST_P() argument
229 INSTANTIATE_TEST_SUITE_P(ExpectSuccess, ValidateAMDShaderBallotCapabilities,
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/test/val/
H A Dval_extensions_test.cpp45 ExpectSuccess, ValidateKnownExtensions,
70 TEST_P(ValidateKnownExtensions, ExpectSuccess) { in TEST_P() argument
425 TEST_P(ValidateAMDShaderBallotCapabilities, ExpectSuccess) { in TEST_P() argument
437 INSTANTIATE_TEST_SUITE_P(ExpectSuccess, ValidateAMDShaderBallotCapabilities,
/aosp_15_r20/external/angle/third_party/spirv-tools/src/test/val/
H A Dval_extensions_test.cpp45 ExpectSuccess, ValidateKnownExtensions,
71 TEST_P(ValidateKnownExtensions, ExpectSuccess) { in TEST_P() argument
426 TEST_P(ValidateAMDShaderBallotCapabilities, ExpectSuccess) { in TEST_P() argument
438 INSTANTIATE_TEST_SUITE_P(ExpectSuccess, ValidateAMDShaderBallotCapabilities,
/aosp_15_r20/external/rust/android-crates-io/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 …]
/aosp_15_r20/external/webrtc/third_party/abseil-cpp/absl/types/internal/
H A 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 …]
/aosp_15_r20/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/types/internal/
H A 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 …]
/aosp_15_r20/external/openscreen/third_party/abseil/src/absl/types/internal/
H A 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 …]
/aosp_15_r20/external/libbrillo/brillo/streams/
H A 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()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/
H A Dincrement.pass.cpp379 bool ExpectSuccess; in test_PR35078_with_symlink() member
396 if (TC.ExpectSuccess) { in test_PR35078_with_symlink()
462 bool ExpectSuccess; in test_PR35078_with_symlink_file() member
484 if (TC.ExpectSuccess) { in test_PR35078_with_symlink_file()
/aosp_15_r20/external/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/
H A 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()
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/trace/testtrace/
Dexpectation.go23 func ExpectSuccess() *Expectation { func
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/trace/internal/testgen/go122/
Dtrace.go83 func (t *Trace) ExpectSuccess() { func
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/trace/
Dtrace_test.go584 testReader(t, bytes.NewReader(tb), testtrace.ExpectSuccess())

12