Re: Unit testing a wayland client

2016-04-01 Thread Sam Spilsbury
On Fri, Apr 1, 2016 at 9:30 PM, Pekka Paalanen wrote: > > On Fri, 1 Apr 2016 12:57:18 + > "Wagner, Michael" wrote: > > > Hi, > > > > I am currently looking into possibilities for unit testing our > > client whether it calls wayland functions in

Re: Unit testing a wayland client

2016-04-01 Thread Pekka Paalanen
On Fri, 1 Apr 2016 12:57:18 + "Wagner, Michael" wrote: > Hi, > > I am currently looking into possibilities for unit testing our > client whether it calls wayland functions in the correct > form (order, content, etc.) > > So I wanted to use fake wl_* functions for

Unit testing a wayland client

2016-04-01 Thread Wagner, Michael
Hi, I am currently looking into possibilities for unit testing our client whether it calls wayland functions in the correct form (order, content, etc.) So I wanted to use fake wl_* functions for mocking purposes. This seems to be not possible as all the wayland-scanner generated protocol