Repository navigation
Commit f2fb39f
committed
test(QueryResult): remove redundant QueryResultFailure
PR #789 in ladybug/ladybug wraps every C API entry point with
LBUG_C_API_GUARD_BEGIN/END, catching C++ exceptions at the C ABI
boundary and surfacing them as a non-success QueryResult instead of
letting them propagate. Connection.query() no longer throws on binder
errors; the only way to observe them is via QueryResult.isSuccess()
and QueryResult.getErrorMessage().
QueryResultFailure was written for the old throwing contract and
broke under the new one. QueryResultGetErrorMessage in the same file
already asserts the failed-result contract (same query, same expected
message), so the duplicate can go.1 parent 9adfa99 commit f2fb39f
1 file changed
Lines changed: 0 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 52 | | |
73 | 53 | | |
74 | 54 | | |
| |||
0 commit comments