[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    unit testing a freeze
From:       Dominik Haumann <dhaumann () kde ! org>
Date:       2012-03-21 21:29:53
Message-ID: 44427852.miyn9HsDH9 () eriador
[Download RAW message or body]

Moin,

is there a simple way to unit test a freeze?
Like if the test needs more than 5 seconds, fail?

One way would be to create a thread, start the freeze unit test, and if the 
thread does not finish in some time period, kill it and fail. But that's 
rather complicated for such a simple thing. Maybe QTest already provides some 
nice feature?

Thanks
Dominik

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic