SyscallIterator: cleanup tests too
commit5e894e695b9fa55e238c306d49b57096f8fed405
authormdempsky <mdempsky@chromium.org>
Tue, 14 Oct 2014 23:58:17 +0000 (14 16:58 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 14 Oct 2014 23:59:36 +0000 (14 23:59 +0000)
treeb697de64a0bfa82510c433a3055077e98ca8a36f
parent19601fb96b5ccde36e914b90615d6658e04544f5
SyscallIterator: cleanup tests too

This CL converts all of SyscallIterator's tests to consistently use
the recommended

    for (SyscallIterator iter(xxx); !iter.Done();) {
      uint32_t sysnum : iter.Next();
      ...
    }

pattern so that it will be easier to subsequently replace with

    for (uint32_t sysnum : SyscallSet::xxx) {
      ...
    }

BUG=414363

Review URL: https://codereview.chromium.org/636903004

Cr-Commit-Position: refs/heads/master@{#299588}
sandbox/linux/seccomp-bpf/syscall_iterator_unittest.cc