Amitha Perera wrote:
> On Thu 17 Feb 2005, Ian Scott wrote:
>>This is one of the problems of not having any decent regression tests
>>for vgui. Memory leaks in the other libraries are picked up (if not
>>always fixed) by the dashboard. It would be really very useful if
>>someone could write an automatic test for vgui.
> I too keep thinking this would be great, but then I keep running into
> the issue about how to place decent, automated regression tests for
> UI code?
> One issue is that it may not be possible to use vgui without access
> to a display.
> Does anyone have ideas about this?
It is possible to insert events directly into Qt's event loop - I'll ask
a colleague here for some details. There must be a way to spawn a
headless X-server. However, I don't imagine that any of this would be
trivial to get working. Is anyone willing to put the effort into doing it?