{"action":"created","comment":{"url":"https://api.github.com/repos/flutter/flutter/pulls/comments/53979000","id":53979000,"diff_hunk":"@@ -0,0 +1,75 @@\n+// Copyright 2016 The Chromium Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style license that can be\n+// found in the LICENSE file.\n+\n+import 'package:matcher/matcher.dart';\n+\n+/// Matches [value] against the [matcher].\n+MatchResult match(dynamic value, Matcher matcher) {\n+  if (matcher.matches(value, {})) {\n+    return new MatchResult._matched();\n+  } else {\n+    Description description =\n+        matcher.describeMismatch(value, new _TextDescription(), {}, false);\n+    return new MatchResult._mismatched(description.toString());\n+  }\n+}\n+\n+/// Result of matching a value against a matcher.\n+class MatchResult {\n+  /// Whether the match succeeded.\n+  final bool hasMatched;\n+\n+  /// If the match did not succeed, this field contains the explanation.\n+  final String mismatchDescription;\n+\n+  MatchResult._matched()","path":"packages/flutter_driver/lib/src/matcher_util.dart","position":26,"original_position":26,"commit_id":"464577df8f4ae8e91a60e1a9c248d8343902f0c9","original_commit_id":"464577df8f4ae8e91a60e1a9c248d8343902f0c9","user":{"login":"yjbanov","id":211513,"avatar_url":"https://avatars.githubusercontent.com/u/211513?v=3","gravatar_id":"","url":"https://api.github.com/users/yjbanov","html_url":"https://github.com/yjbanov","followers_url":"https://api.github.com/users/yjbanov/followers","following_url":"https://api.github.com/users/yjbanov/following{/other_user}","gists_url":"https://api.github.com/users/yjbanov/gists{/gist_id}","starred_url":"https://api.github.com/users/yjbanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yjbanov/subscriptions","organizations_url":"https://api.github.com/users/yjbanov/orgs","repos_url":"https://api.github.com/users/yjbanov/repos","events_url":"https://api.github.com/users/yjbanov/events{/privacy}","received_events_url":"https://api.github.com/users/yjbanov/received_events","type":"User","site_admin":false},"body":"done","created_at":"2016-02-24T18:01:32Z","updated_at":"2016-02-24T18:01:32Z","html_url":"https://github.com/flutter/flutter/pull/2120#discussion_r53979000","pull_request_url":"https://api.github.com/repos/flutter/flutter/pulls/2120","_links":{"self":{"href":"https://api.github.com/repos/flutter/flutter/pulls/comments/53979000"},"html":{"href":"https://github.com/flutter/flutter/pull/2120#discussion_r53979000"},"pull_request":{"href":"https://api.github.com/repos/flutter/flutter/pulls/2120"}}},"pull_request":{"url":"https://api.github.com/repos/flutter/flutter/pulls/2120","id":60443156,"html_url":"https://github.com/flutter/flutter/pull/2120","diff_url":"https://github.com/flutter/flutter/pull/2120.diff","patch_url":"https://github.com/flutter/flutter/pull/2120.patch","issue_url":"https://api.github.com/repos/flutter/flutter/issues/2120","number":2120,"state":"open","locked":false,"title":"support waiting for things to happen in Flutter Driver","user":{"login":"yjbanov","id":211513,"avatar_url":"https://avatars.githubusercontent.com/u/211513?v=3","gravatar_id":"","url":"https://api.github.com/users/yjbanov","html_url":"https://github.com/yjbanov","followers_url":"https://api.github.com/users/yjbanov/followers","following_url":"https://api.github.com/users/yjbanov/following{/other_user}","gists_url":"https://api.github.com/users/yjbanov/gists{/gist_id}","starred_url":"https://api.github.com/users/yjbanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yjbanov/subscriptions","organizations_url":"https://api.github.com/users/yjbanov/orgs","repos_url":"https://api.github.com/users/yjbanov/repos","events_url":"https://api.github.com/users/yjbanov/events{/privacy}","received_events_url":"https://api.github.com/users/yjbanov/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-24T01:47:37Z","updated_at":"2016-02-24T18:01:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"798803da92aabf178925228cd871262d88f2ff54","assignee":{"login":"devoncarew","id":1269969,"avatar_url":"https://avatars.githubusercontent.com/u/1269969?v=3","gravatar_id":"","url":"https://api.github.com/users/devoncarew","html_url":"https://github.com/devoncarew","followers_url":"https://api.github.com/users/devoncarew/followers","following_url":"https://api.github.com/users/devoncarew/following{/other_user}","gists_url":"https://api.github.com/users/devoncarew/gists{/gist_id}","starred_url":"https://api.github.com/users/devoncarew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devoncarew/subscriptions","organizations_url":"https://api.github.com/users/devoncarew/orgs","repos_url":"https://api.github.com/users/devoncarew/repos","events_url":"https://api.github.com/users/devoncarew/events{/privacy}","received_events_url":"https://api.github.com/users/devoncarew/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/flutter/flutter/pulls/2120/commits","review_comments_url":"https://api.github.com/repos/flutter/flutter/pulls/2120/comments","review_comment_url":"https://api.github.com/repos/flutter/flutter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/2120/comments","statuses_url":"https://api.github.com/repos/flutter/flutter/statuses/464577df8f4ae8e91a60e1a9c248d8343902f0c9","head":{"label":"yjbanov:driver-wait-on-reads","ref":"driver-wait-on-reads","sha":"464577df8f4ae8e91a60e1a9c248d8343902f0c9","user":{"login":"yjbanov","id":211513,"avatar_url":"https://avatars.githubusercontent.com/u/211513?v=3","gravatar_id":"","url":"https://api.github.com/users/yjbanov","html_url":"https://github.com/yjbanov","followers_url":"https://api.github.com/users/yjbanov/followers","following_url":"https://api.github.com/users/yjbanov/following{/other_user}","gists_url":"https://api.github.com/users/yjbanov/gists{/gist_id}","starred_url":"https://api.github.com/users/yjbanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yjbanov/subscriptions","organizations_url":"https://api.github.com/users/yjbanov/orgs","repos_url":"https://api.github.com/users/yjbanov/repos","events_url":"https://api.github.com/users/yjbanov/events{/privacy}","received_events_url":"https://api.github.com/users/yjbanov/received_events","type":"User","site_admin":false},"repo":{"id":50871415,"name":"flutter","full_name":"yjbanov/flutter","owner":{"login":"yjbanov","id":211513,"avatar_url":"https://avatars.githubusercontent.com/u/211513?v=3","gravatar_id":"","url":"https://api.github.com/users/yjbanov","html_url":"https://github.com/yjbanov","followers_url":"https://api.github.com/users/yjbanov/followers","following_url":"https://api.github.com/users/yjbanov/following{/other_user}","gists_url":"https://api.github.com/users/yjbanov/gists{/gist_id}","starred_url":"https://api.github.com/users/yjbanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yjbanov/subscriptions","organizations_url":"https://api.github.com/users/yjbanov/orgs","repos_url":"https://api.github.com/users/yjbanov/repos","events_url":"https://api.github.com/users/yjbanov/events{/privacy}","received_events_url":"https://api.github.com/users/yjbanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yjbanov/flutter","description":"Framework for building high-performance, high-fidelity iOS and Android apps","fork":true,"url":"https://api.github.com/repos/yjbanov/flutter","forks_url":"https://api.github.com/repos/yjbanov/flutter/forks","keys_url":"https://api.github.com/repos/yjbanov/flutter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yjbanov/flutter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yjbanov/flutter/teams","hooks_url":"https://api.github.com/repos/yjbanov/flutter/hooks","issue_events_url":"https://api.github.com/repos/yjbanov/flutter/issues/events{/number}","events_url":"https://api.github.com/repos/yjbanov/flutter/events","assignees_url":"https://api.github.com/repos/yjbanov/flutter/assignees{/user}","branches_url":"https://api.github.com/repos/yjbanov/flutter/branches{/branch}","tags_url":"https://api.github.com/repos/yjbanov/flutter/tags","blobs_url":"https://api.github.com/repos/yjbanov/flutter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yjbanov/flutter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yjbanov/flutter/git/refs{/sha}","trees_url":"https://api.github.com/repos/yjbanov/flutter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yjbanov/flutter/statuses/{sha}","languages_url":"https://api.github.com/repos/yjbanov/flutter/languages","stargazers_url":"https://api.github.com/repos/yjbanov/flutter/stargazers","contributors_url":"https://api.github.com/repos/yjbanov/flutter/contributors","subscribers_url":"https://api.github.com/repos/yjbanov/flutter/subscribers","subscription_url":"https://api.github.com/repos/yjbanov/flutter/subscription","commits_url":"https://api.github.com/repos/yjbanov/flutter/commits{/sha}","git_commits_url":"https://api.github.com/repos/yjbanov/flutter/git/commits{/sha}","comments_url":"https://api.github.com/repos/yjbanov/flutter/comments{/number}","issue_comment_url":"https://api.github.com/repos/yjbanov/flutter/issues/comments{/number}","contents_url":"https://api.github.com/repos/yjbanov/flutter/contents/{+path}","compare_url":"https://api.github.com/repos/yjbanov/flutter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yjbanov/flutter/merges","archive_url":"https://api.github.com/repos/yjbanov/flutter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yjbanov/flutter/downloads","issues_url":"https://api.github.com/repos/yjbanov/flutter/issues{/number}","pulls_url":"https://api.github.com/repos/yjbanov/flutter/pulls{/number}","milestones_url":"https://api.github.com/repos/yjbanov/flutter/milestones{/number}","notifications_url":"https://api.github.com/repos/yjbanov/flutter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yjbanov/flutter/labels{/name}","releases_url":"https://api.github.com/repos/yjbanov/flutter/releases{/id}","deployments_url":"https://api.github.com/repos/yjbanov/flutter/deployments","created_at":"2016-02-01T21:09:40Z","updated_at":"2016-02-01T21:09:42Z","pushed_at":"2016-02-24T17:53:40Z","git_url":"git://github.com/yjbanov/flutter.git","ssh_url":"git@github.com:yjbanov/flutter.git","clone_url":"https://github.com/yjbanov/flutter.git","svn_url":"https://github.com/yjbanov/flutter","homepage":"http://flutter.io","size":13109,"stargazers_count":0,"watchers_count":0,"language":"Dart","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"flutter:master","ref":"master","sha":"1062c44f4a2073dc151c84ac571a30c3c52d2b18","user":{"login":"flutter","id":14101776,"avatar_url":"https://avatars.githubusercontent.com/u/14101776?v=3","gravatar_id":"","url":"https://api.github.com/users/flutter","html_url":"https://github.com/flutter","followers_url":"https://api.github.com/users/flutter/followers","following_url":"https://api.github.com/users/flutter/following{/other_user}","gists_url":"https://api.github.com/users/flutter/gists{/gist_id}","starred_url":"https://api.github.com/users/flutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flutter/subscriptions","organizations_url":"https://api.github.com/users/flutter/orgs","repos_url":"https://api.github.com/users/flutter/repos","events_url":"https://api.github.com/users/flutter/events{/privacy}","received_events_url":"https://api.github.com/users/flutter/received_events","type":"Organization","site_admin":false},"repo":{"id":31792824,"name":"flutter","full_name":"flutter/flutter","owner":{"login":"flutter","id":14101776,"avatar_url":"https://avatars.githubusercontent.com/u/14101776?v=3","gravatar_id":"","url":"https://api.github.com/users/flutter","html_url":"https://github.com/flutter","followers_url":"https://api.github.com/users/flutter/followers","following_url":"https://api.github.com/users/flutter/following{/other_user}","gists_url":"https://api.github.com/users/flutter/gists{/gist_id}","starred_url":"https://api.github.com/users/flutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flutter/subscriptions","organizations_url":"https://api.github.com/users/flutter/orgs","repos_url":"https://api.github.com/users/flutter/repos","events_url":"https://api.github.com/users/flutter/events{/privacy}","received_events_url":"https://api.github.com/users/flutter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flutter/flutter","description":"Framework for building high-performance, high-fidelity iOS and Android apps","fork":false,"url":"https://api.github.com/repos/flutter/flutter","forks_url":"https://api.github.com/repos/flutter/flutter/forks","keys_url":"https://api.github.com/repos/flutter/flutter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flutter/flutter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flutter/flutter/teams","hooks_url":"https://api.github.com/repos/flutter/flutter/hooks","issue_events_url":"https://api.github.com/repos/flutter/flutter/issues/events{/number}","events_url":"https://api.github.com/repos/flutter/flutter/events","assignees_url":"https://api.github.com/repos/flutter/flutter/assignees{/user}","branches_url":"https://api.github.com/repos/flutter/flutter/branches{/branch}","tags_url":"https://api.github.com/repos/flutter/flutter/tags","blobs_url":"https://api.github.com/repos/flutter/flutter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flutter/flutter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flutter/flutter/git/refs{/sha}","trees_url":"https://api.github.com/repos/flutter/flutter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flutter/flutter/statuses/{sha}","languages_url":"https://api.github.com/repos/flutter/flutter/languages","stargazers_url":"https://api.github.com/repos/flutter/flutter/stargazers","contributors_url":"https://api.github.com/repos/flutter/flutter/contributors","subscribers_url":"https://api.github.com/repos/flutter/flutter/subscribers","subscription_url":"https://api.github.com/repos/flutter/flutter/subscription","commits_url":"https://api.github.com/repos/flutter/flutter/commits{/sha}","git_commits_url":"https://api.github.com/repos/flutter/flutter/git/commits{/sha}","comments_url":"https://api.github.com/repos/flutter/flutter/comments{/number}","issue_comment_url":"https://api.github.com/repos/flutter/flutter/issues/comments{/number}","contents_url":"https://api.github.com/repos/flutter/flutter/contents/{+path}","compare_url":"https://api.github.com/repos/flutter/flutter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flutter/flutter/merges","archive_url":"https://api.github.com/repos/flutter/flutter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flutter/flutter/downloads","issues_url":"https://api.github.com/repos/flutter/flutter/issues{/number}","pulls_url":"https://api.github.com/repos/flutter/flutter/pulls{/number}","milestones_url":"https://api.github.com/repos/flutter/flutter/milestones{/number}","notifications_url":"https://api.github.com/repos/flutter/flutter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flutter/flutter/labels{/name}","releases_url":"https://api.github.com/repos/flutter/flutter/releases{/id}","deployments_url":"https://api.github.com/repos/flutter/flutter/deployments","created_at":"2015-03-06T22:54:58Z","updated_at":"2016-02-24T09:51:44Z","pushed_at":"2016-02-24T16:37:38Z","git_url":"git://github.com/flutter/flutter.git","ssh_url":"git@github.com:flutter/flutter.git","clone_url":"https://github.com/flutter/flutter.git","svn_url":"https://github.com/flutter/flutter","homepage":"http://flutter.io","size":106062,"stargazers_count":2650,"watchers_count":2650,"language":"Dart","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":260,"mirror_url":null,"open_issues_count":628,"forks":260,"open_issues":628,"watchers":2650,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flutter/flutter/pulls/2120"},"html":{"href":"https://github.com/flutter/flutter/pull/2120"},"issue":{"href":"https://api.github.com/repos/flutter/flutter/issues/2120"},"comments":{"href":"https://api.github.com/repos/flutter/flutter/issues/2120/comments"},"review_comments":{"href":"https://api.github.com/repos/flutter/flutter/pulls/2120/comments"},"review_comment":{"href":"https://api.github.com/repos/flutter/flutter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flutter/flutter/pulls/2120/commits"},"statuses":{"href":"https://api.github.com/repos/flutter/flutter/statuses/464577df8f4ae8e91a60e1a9c248d8343902f0c9"}}}}