Menu

modeless QtTestRunner

Anonymous
2004-06-03
2004-06-18
  • Anonymous

    Anonymous - 2004-06-03

    I am trying to use QtTestRunner as a modeless dialog so that I may run user-level tests, simulating user input and unsing CppUnit as a testing toolkit.  The problem I am currently having is that the test objects seem to be allocated in a manner that does not give them scope beyond the execution of QtTestRunner's run() method.

    Has anyone run QtTestRunner as a modeless dialog and if so, could you advise me as to the underlying changes I would need to make in order to do this effectively?

    Thanks in advance for help,
    Ryan Smart

     
    • Baptiste Lepilleur

      Look into the QtTestRunner class. I believe it is the one which delete the test uppon destruction. You might be able to get away bypassing this class and using the TestRunnerDlg class directly.

      Baptiste.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.