Searched refs:ExpectErrorContains (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/compiler/aot/ |
D | codegen_test.cc | 39 void ExpectErrorContains(const Status& status, absl::string_view str) { in ExpectErrorContains() function 64 ExpectErrorContains(ValidateCppIdent("", ""), "empty identifier"); in TEST() 65 ExpectErrorContains(ValidateCppIdent(" ", ""), "illegal leading char"); in TEST() 66 ExpectErrorContains(ValidateCppIdent("0", ""), "illegal leading char"); in TEST() 67 ExpectErrorContains(ValidateCppIdent(".", ""), "illegal leading char"); in TEST() 68 ExpectErrorContains(ValidateCppIdent(":", ""), "illegal leading char"); in TEST() 69 ExpectErrorContains(ValidateCppIdent("a.", ""), "illegal char"); in TEST() 70 ExpectErrorContains(ValidateCppIdent("a:", ""), "illegal char"); in TEST() 71 ExpectErrorContains(ValidateCppIdent("a:", ""), "illegal char"); in TEST()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | tf2xla_util_test.cc | 41 void ExpectErrorContains(const Status& status, absl::string_view str) { in ExpectErrorContains() function 68 ExpectErrorContains(ValidateConfig(config), "fetches must be specified"); in TEST() 75 ExpectErrorContains(ValidateConfig(config), "fetches must be specified"); in TEST() 81 ExpectErrorContains(ValidateConfig(config), "node_name must be non-empty"); in TEST() 89 ExpectErrorContains(ValidateConfig(config), "output_index must be positive"); in TEST() 97 ExpectErrorContains(ValidateConfig(config), "node_name must be non-empty"); in TEST() 107 ExpectErrorContains(ValidateConfig(config), "output_index must be positive"); in TEST() 118 ExpectErrorContains(ValidateConfig(config), "duplicate feed name"); in TEST() 131 ExpectErrorContains(ValidateConfig(config), "duplicate fetch name"); in TEST() 142 ExpectErrorContains(ValidateConfig(config), "conflicting feed name"); in TEST() [all …]
|