'Register the app, run the reactor, make sure app was activated, and
that reactor was running, and that reactor can be stopped.'

def runReactor(self, app, reactor):

    if (not hasattr(app, 'quit')):
        raise SkipTest('Version    of    PyGObject    is    too    old.')
    result = []
    def stop():
        result.append('stopped')
        reactor.stop()
    def activate(widget):
        result.append('activated')
        reactor.callLater(0, stop)
    app.connect('activate', activate)
    app.hold()
    reactor.registerGApplication(app)
    ReactorBuilder.runReactor(self, reactor)
    self.assertEqual(result, ['activated', 'stopped'])
