commit | e3d4b3cde7c8f4c3f27a88014b64de814dc9acb7 | [log] [tgz] |
---|---|---|
author | mukesh agrawal <quiche@chromium.org> | Wed Jul 31 18:38:55 2013 -0700 |
committer | ChromeBot <chrome-bot@google.com> | Mon Aug 05 13:38:45 2013 -0700 |
tree | 780c5ee34c3568cc8c3a966ee369f138779751b6 | |
parent | b26347a48e976a890210bb5fcc28892ac7df42e9 [diff] |
shill: add unit test for ExternalTask::DestroyLater The new test verifies that DestroyLater defers actual destruction of the ExternalTask to the event loop. While there: refactor some code, to reduce duplication across test cases. BUG=chromium:246826 TEST=unit tests (old+new) Change-Id: Idd3ad4e447f2f59132742d6daca5699328e950df Reviewed-on: https://gerrit.chromium.org/gerrit/64018 Commit-Queue: mukesh agrawal <quiche@chromium.org> Reviewed-by: mukesh agrawal <quiche@chromium.org> Tested-by: mukesh agrawal <quiche@chromium.org>