Home
last modified time | relevance | path

Searched refs:ExpectFailure (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dop_def_util_test.cc59 void ExpectFailure(const Status& status, const string& message) { in ExpectFailure() function
86 ExpectFailure(TestBuilder(OpDefBuilder("lower").Attr("a: int")), in TEST_F()
88 ExpectFailure(TestBuilder(OpDefBuilder("BadSuffix 7%")), "Invalid name"); in TEST_F()
89 ExpectFailure(TestBuilder(OpDefBuilder(">OpName").Attr("a: int")), in TEST_F()
92 ExpectFailure(TestBuilder(OpDefBuilder("OpName>").Attr("a: int")), in TEST_F()
95 ExpectFailure(TestBuilder(OpDefBuilder("OpName>b").Attr("a: int")), in TEST_F()
98 ExpectFailure(TestBuilder(OpDefBuilder("OpName>A>>B").Attr("a: int")), in TEST_F()
103 ExpectFailure( in TEST_F()
106 ExpectFailure( in TEST_F()
110 ExpectFailure( in TEST_F()
[all …]
Dop_def_builder_test.cc77 void ExpectFailure(const OpDefBuilder& builder, const string& error) { in ExpectFailure() function in tensorflow::__anon964609d70111::OpDefBuilderTest
102 ExpectFailure( in TEST_F()
105 ExpectFailure( in TEST_F()
108 ExpectFailure(b().Attr(":string"), in TEST_F()
110 ExpectFailure(b().Attr("string"), in TEST_F()
112 ExpectFailure(b().Attr("a:invalid"), in TEST_F()
115 ExpectFailure( in TEST_F()
178 ExpectFailure( in TEST_F()
181 ExpectFailure( in TEST_F()
184 ExpectFailure(b().Attr("a:{invalid}"), in TEST_F()
[all …]
Dnode_def_builder_test.cc93 void ExpectFailure(NodeDefBuilder& builder, // NOLINT in ExpectFailure() function in tensorflow::__anoneb56bbfe0111::NodeDefBuilderTest
151 ExpectFailure(Builder().Input("x", 0, DT_INT32).Input("y", 0, DT_INT32), in TEST_F()
157 ExpectFailure(Builder(), "0 inputs specified of 1 inputs in Op while"); in TEST_F()
171 ExpectFailure(builder, "0 inputs specified of 1 inputs in Op while"); in TEST_F()
178 ExpectFailure(builder, "More Input() calls than the 1 input_args while"); in TEST_F()
182 ExpectFailure(Builder().Input("x", 0, DT_FLOAT), in TEST_F()
185 ExpectFailure(Builder().Input("x", 0, DT_FLOAT_REF), in TEST_F()
189 ExpectFailure(Builder().Input(FakeInput(3, DT_FLOAT)), in TEST_F()
192 ExpectFailure(Builder().Input(FakeInput(3)), in TEST_F()
200 ExpectFailure(Builder().Input("", 0, DT_INT32), in TEST_F()
[all …]
Dnode_def_util_test.cc58 void ExpectFailure(const NodeDef& bad, const OpDef& op_def, in ExpectFailure() function
89 ExpectFailure(bad, op, "NodeDef op 'Wrong' does not match Op<name=In;"); in TEST()
94 ExpectFailure(bad, op, "NodeDef missing attr 'T' from Op<name=In;"); in TEST()
99 ExpectFailure(bad, op, "NodeDef mentions attr 'EXTRA' not in Op<name=In;"); in TEST()
105 ExpectFailure( in TEST()
113 ExpectFailure( in TEST()
119 ExpectFailure( in TEST()
132 ExpectFailure(bad, op, in TEST()
138 ExpectFailure(bad, op, "Control input '^b:0' must not have ':' in NodeDef:"); in TEST()
155 ExpectFailure(bad, op, in TEST()
[all …]
Dop_kernel_test.cc179 void ExpectFailure(const string& ascii_node_def, DeviceType device_type, in ExpectFailure() function in tensorflow::__anonc25ee1c30111::OpKernelTest
309 ExpectFailure(CreateNodeDef("Test1", {DT_FLOAT, DT_INT32}).DebugString(), in TEST_F()
311 ExpectFailure(CreateNodeDef("Test3", {DT_INT8, DT_INT8}).DebugString(), in TEST_F()
313 ExpectFailure(CreateNodeDef("Test3", {DT_FLOAT, DT_FLOAT}).DebugString(), in TEST_F()
317 ExpectFailure(CreateNodeDef("Test3", {DT_INT32, DT_INT32}).DebugString(), in TEST_F()
321 ExpectFailure("name: 'NF' op: 'Testnotfound'", DEVICE_CPU, not_found); in TEST_F()
322 ExpectFailure("name: 'NF' op: 'Testnotfound'", DEVICE_GPU, not_found); in TEST_F()
329 ExpectFailure(node_def.DebugString(), DEVICE_CPU, invalid); in TEST_F()
331 ExpectFailure(node_def.DebugString(), DEVICE_CPU, invalid); in TEST_F()
338 ExpectFailure(node_def.DebugString(), DEVICE_CPU, invalid); in TEST_F()
[all …]
/external/protobuf/src/google/protobuf/
Dtext_format_unittest.cc1310 void ExpectFailure(const std::string& input, const std::string& message, in ExpectFailure() function in google::protobuf::text_format_unittest::TextFormatParserTest
1313 ExpectFailure(input, message, line, col, proto.get()); in ExpectFailure()
1316 void ExpectFailure(const std::string& input, const std::string& message, in ExpectFailure() function in google::protobuf::text_format_unittest::TextFormatParserTest
1572 ExpectFailure("optional_bool: true\n-5\n", "Expected identifier, got: -", 2, in TEST_F()
1575 ExpectFailure("optional_bool: true!\n", "Expected identifier, got: !", 1, 20); in TEST_F()
1576 ExpectFailure("\"some string\"", "Expected identifier, got: \"some string\"", in TEST_F()
1581 ExpectFailure( in TEST_F()
1590 ExpectFailure( in TEST_F()
1595 ExpectFailure( in TEST_F()
1600 ExpectFailure( in TEST_F()
[all …]
/external/guice/extensions/testlib/test/com/google/inject/testing/throwingproviders/
DCheckedProviderSubjectTest.java6 import com.google.common.truth.ExpectFailure;
22 public @Rule ExpectFailure expect = new ExpectFailure();
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_extensions_test.cpp234 TEST_P(ValidateAMDShaderBallotCapabilities, ExpectFailure) { in TEST_P() argument
255 INSTANTIATE_TEST_SUITE_P(ExpectFailure, ValidateAMDShaderBallotCapabilities,
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_extensions_test.cpp234 TEST_P(ValidateAMDShaderBallotCapabilities, ExpectFailure) { in TEST_P() argument
255 INSTANTIATE_TEST_SUITE_P(ExpectFailure, ValidateAMDShaderBallotCapabilities,
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/
Dval_extensions_test.cpp234 TEST_P(ValidateAMDShaderBallotCapabilities, ExpectFailure) { in TEST_P() argument
255 INSTANTIATE_TEST_SUITE_P(ExpectFailure, ValidateAMDShaderBallotCapabilities,
/external/libbrillo/brillo/streams/
Dstream_utils_test.cc191 void ExpectFailure() { in ExpectFailure() function in brillo::CopyStreamDataTest
282 ExpectFailure(); in TEST_F()
299 ExpectFailure(); in TEST_F()
/external/tensorflow/tensorflow/core/profiler/internal/gpu/
Ddevice_tracer_test.cc106 void ExpectFailure(const Status& status, error::Code code) { in ExpectFailure() function in tensorflow::profiler::__anonac2fae700111::DeviceTracerTest
148 ExpectFailure(status, tensorflow::error::FAILED_PRECONDITION); in TEST_F()
159 ExpectFailure(status, tensorflow::error::UNAVAILABLE); in TEST_F()
/external/exoplayer/tree/testutils/src/test/java/com/google/android/exoplayer2/testutil/truth/
DSpannedSubjectTest.java21 import static com.google.common.truth.ExpectFailure.assertThat;
22 import static com.google.common.truth.ExpectFailure.expectFailureAbout;
44 import com.google.common.truth.ExpectFailure;
798 ExpectFailure.SimpleSubjectBuilderCallback<SpannedSubject, Spanned> callback) { in expectFailure()