Commit c7647a1
committed
test: Add comprehensive ClientServerMethodsSupportTest
refactor: move unwrapException helper to end of ClientExceptionFlowTest
- Relocated unwrapException() method from line 174 to end of class (line 295)
- Improves code organization by placing helper methods after test methods
- No functional changes, pure code reorganization
- Lines added: 14, lines removed: 14
test: Add comprehensive ClientServerMethodsSupportTest
- Created new test class to verify ClientRequestInfo and ServerRequestInfo method availability at different interception points
- Tests client-side interception points: send_request, receive_reply, receive_exception, and receive_other
- Tests server-side interception points: receive_request_service_contexts, receive_request, send_reply, and send_exception
- Uses Mockito to mock interceptors and capture method availability at each point
- Generates detailed reports showing which methods are fully supported, throw BAD_INV_ORDER, or are not supported at each interception point
- Includes helper methods to systematically test all RequestInfo, ClientRequestInfo, and ServerRequestInfo methods
- Lines added: 601, lines removed: 0
Co-authored-by-AI: IBM Bob <1.0.2> (GPT-5)1 parent 967dcc5 commit c7647a1
3 files changed
Lines changed: 621 additions & 21 deletions
File tree
- yoko-core/src/main/java/org/apache/yoko/orb/PortableInterceptor
- yoko-verify/src/test/java-testify/org/omg/PortableInterceptor
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
Lines changed: 13 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | 174 | | |
189 | 175 | | |
190 | 176 | | |
| |||
306 | 292 | | |
307 | 293 | | |
308 | 294 | | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
309 | 308 | | |
0 commit comments