jiridanek commented on pull request #880: URL: https://github.com/apache/qpid-dispatch/pull/880#issuecomment-744303424
It looks like it's necessary to use `qdr_connection_opened` to create a new `qdr_connection_t`, `qdr_create_link_CT` to get a `qdr_link_t`, and so on. These functions set things in the `qdr_router_t` struct and it is pointless trying to duplicate all the side-effects in the test code. I'm not sure what the next step in the test should be, but hopefully I'll make some sense of it later. If there is to be multiple tests like this, I'll need some helper methods to create the links, etc; instead of using the all those methods with 10+ arguments directly. I am still not sure that what I am now trying is the correct level on which to write such a test. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
