Renamed the Driver API waitUntilFrameSync to waitUntilNoPendingFrame. (#36512)

This commit is contained in:
adazh
2019-07-18 22:16:57 -07:00
committed by GitHub
parent 430644912f
commit 4e4b9bd0b1
3 changed files with 11 additions and 11 deletions

View File

@@ -120,16 +120,16 @@ class WaitUntilNoTransientCallbacks extends Command {
}
/// A Flutter Driver command that waits until the frame is synced.
class WaitUntilFrameSync extends Command {
class WaitUntilNoPendingFrame extends Command {
/// Creates a command that waits until there's no pending frame scheduled.
const WaitUntilFrameSync({ Duration timeout }) : super(timeout: timeout);
const WaitUntilNoPendingFrame({ Duration timeout }) : super(timeout: timeout);
/// Deserializes this command from the value generated by [serialize].
WaitUntilFrameSync.deserialize(Map<String, String> json)
WaitUntilNoPendingFrame.deserialize(Map<String, String> json)
: super.deserialize(json);
@override
String get kind => 'waitUntilFrameSync';
String get kind => 'waitUntilNoPendingFrame';
}
/// Base class for Flutter Driver finders, objects that describe how the driver