Exemple #1
0
def main():
    inbox = createInboxWithManyMessages()
    screen = InboxScreen(inbox)

    start()
    for i in xrange(N_LOOKUPS):
        for v in VIEWS:
            screen.changeView(v)
            screen.getLastMessage()
    stop()
def main():
    inbox = createInboxWithManyMessages()
    screen = InboxScreen(inbox)

    start()
    for i in xrange(N_LOOKUPS):
        for v in VIEWS:
            screen.changeView(v)
            screen.getFirstMessage()
    stop()
def main():
    inbox = createInboxWithManyMessages()
    screen = InboxScreen(inbox)

    when = screen.getMessageAfter(screen.getFirstMessage())

    start()
    for i in xrange(N_LOOKUPS):
        for v in VIEWS:
            screen.changeView(v)
            screen.getMessageBefore(when)
    stop()
def main():
    inbox = createInboxWithManyMessages()
    screen = InboxScreen(inbox)

    when = screen.getMessageBefore(screen.getLastMessage())

    start()
    for i in xrange(N_LOOKUPS):
        for v in VIEWS:
            screen.changeView(v)
            screen.getMessageAfter(when)
    stop()