Operand i of a generated chain compares f.name with this value. Two fixture * names sit deep in the chain (the middle and the very last operand); every * other operand names a function that does not exist. */
| 5223 | * names sit deep in the chain (the middle and the very last operand); every |
| 5224 | * other operand names a function that does not exist. */ |
| 5225 | static const char *chain_operand_value(int i, char *buf, size_t n) { |
| 5226 | if (i == CYPHER_CHAIN_OPERANDS / 2) { |
| 5227 | return "ValidateOrder"; |
| 5228 | } |
| 5229 | if (i == CYPHER_CHAIN_OPERANDS - 1) { |
| 5230 | return "LogError"; |
| 5231 | } |
| 5232 | snprintf(buf, n, "no_such_function_%d", i); |
| 5233 | return buf; |
| 5234 | } |
| 5235 | |
| 5236 | /* The test's own reading of the chain: does any operand name `name`? */ |
| 5237 | static bool chain_names(const char *name) { |
no outgoing calls
no test coverage detected