Improve incomingDiagConnection interfacing#383
Improve incomingDiagConnection interfacing#383guillaumeaub-ctw wants to merge 6 commits intoeclipse-openbsw:mainfrom
Conversation
…endency to uds, which caused all of uds's dependencies being included in the udsMock. This was a problem for other modules which wanted to use the udsMock. Make udsMock only depend on the interface of uds.
…ctly resolved if the destructor is not explicitely defined
christian-schilling
left a comment
There was a problem hiding this comment.
I'm currently working on a big refactoring of UDS and as part of that refactoring aim to remove the use of interfaces, virtual and mocks as much as possible. This change is in direct conflict with those goals.
What is the underlying need/problem you are trying to address? I'm sure we can find a better solution.
|
The goal of this POC is to make JOB implementation and later UDS independent of transport. At least the parts that users need to integrate. Here is our problem :
So, I was trying to see how we could decouple a maximum Uds from transport by introducing an interface that could be mocked. Using that PR we could limit the dependencies of our jobs uts to :
How could we unit test our code if you remove mocks and interfaces ? |
|
Thanks @guillaumeaub-ctw for the clarification. |
|
Good morning @christian-schilling, Do you have a PR I can look at so I can see the direction it will take and how we should adapt ? |
No description provided.