--
You received this message because you are subscribed to the Google Groups "cpputest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cpputest+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cpputest/250dd406-75aa-4d1d-acc6-d961d40a8d3fn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cpputest/54a04792-b32a-4f5b-85a9-fd42d47996a6n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cpputest/77a99a42-c0d2-4d60-8c17-6f55a1b195abn%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cpputest/4969e61b-cd7a-44a4-b18b-92c2fe3fe51en%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cpputest/0C66FCB9-09DB-48F9-9DFE-8D3FC7660FB6%40odd-e.com.
I would suggest a design change. Add an intention revealing interface for what the ioctl call is intended to do. Make an adaptor that implements the interface and does the needed ioctl. Use the adapter during production. During test, fake the intention revealing interface.
Cheers, James
To view this discussion visit https://groups.google.com/d/msgid/cpputest/0C66FCB9-09DB-48F9-9DFE-8D3FC7660FB6%40odd-e.com.
![]() |
wingman-sw.com blog.wingman-sw.com @jwgrenning facebook.com/wingman.sw |