Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2031)

Side by Side Diff: ios/testing/earl_grey/wait_util.mm

Issue 2458833002: Remove ios/testing/earl_grey/wait_util. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/testing/earl_grey/wait_util.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ios/testing/earl_grey/wait_util.h"
6
7 #import <EarlGrey/EarlGrey.h>
8
9 #include "base/test/ios/wait_util.h"
10 #include "ios/testing/wait_util.h"
11
12 namespace testing {
13
14 void WaitUntilCondition(NSTimeInterval timeout,
15 NSString* timeoutDescription,
16 bool (^condition)(void)) {
17 GREYAssert(testing::WaitUntilConditionOrTimeout(timeout, condition),
18 timeoutDescription);
19 }
20
21 void WaitUntilCondition(NSTimeInterval timeout, bool (^condition)(void)) {
22 WaitUntilCondition(timeout, @"Timeout waiting for condition.", condition);
23 }
24
25 } // namespace testing
OLDNEW
« no previous file with comments | « ios/testing/earl_grey/wait_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698