{"action":"created","comment":{"url":"https://api.github.com/repos/paypal/Illuminator/pulls/comments/93466202","pull_request_review_id":13994487,"id":93466202,"diff_hunk":"@@ -9,6 +9,42 @@\n import Foundation\n import XCTest\n \n+/*\n+ * This protocol allows custom handling of results.  For example, screenshots of failure states or desktop notifications\n+ * isPass and isFail can both be false -- it indicates a \"Flagging\" state.  They are guaranteed to not both be true\n+ */\n+public protocol IlluminatorTestResultHandler {\n+    associatedtype AbstractStateType","path":"Pod/Illuminator/IlluminatorTestProgress.swift","position":9,"original_position":9,"commit_id":"510930b68f7399a794c01aa29aa3372122a160b3","original_commit_id":"510930b68f7399a794c01aa29aa3372122a160b3","user":{"login":"kviksilver","id":427685,"avatar_url":"https://avatars.githubusercontent.com/u/427685?v=3","gravatar_id":"","url":"https://api.github.com/users/kviksilver","html_url":"https://github.com/kviksilver","followers_url":"https://api.github.com/users/kviksilver/followers","following_url":"https://api.github.com/users/kviksilver/following{/other_user}","gists_url":"https://api.github.com/users/kviksilver/gists{/gist_id}","starred_url":"https://api.github.com/users/kviksilver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kviksilver/subscriptions","organizations_url":"https://api.github.com/users/kviksilver/orgs","repos_url":"https://api.github.com/users/kviksilver/repos","events_url":"https://api.github.com/users/kviksilver/events{/privacy}","received_events_url":"https://api.github.com/users/kviksilver/received_events","type":"User","site_admin":false},"body":"We dont need to bind to associatedtype AbstractStateType because there is no requirement for any AbstractStateType functionality...  method should be enough","created_at":"2016-12-21T16:04:24Z","updated_at":"2016-12-21T16:04:24Z","html_url":"https://github.com/paypal/Illuminator/pull/102#discussion_r93466202","pull_request_url":"https://api.github.com/repos/paypal/Illuminator/pulls/102","_links":{"self":{"href":"https://api.github.com/repos/paypal/Illuminator/pulls/comments/93466202"},"html":{"href":"https://github.com/paypal/Illuminator/pull/102#discussion_r93466202"},"pull_request":{"href":"https://api.github.com/repos/paypal/Illuminator/pulls/102"}}},"pull_request":{"url":"https://api.github.com/repos/paypal/Illuminator/pulls/102","id":98842861,"html_url":"https://github.com/paypal/Illuminator/pull/102","diff_url":"https://github.com/paypal/Illuminator/pull/102.diff","patch_url":"https://github.com/paypal/Illuminator/pull/102.patch","issue_url":"https://api.github.com/repos/paypal/Illuminator/issues/102","number":102,"state":"open","locked":false,"title":"Allow custom result handler function in IlluminatorTestProgress.finish()","user":{"login":"ifreecarve","id":583459,"avatar_url":"https://avatars.githubusercontent.com/u/583459?v=3","gravatar_id":"","url":"https://api.github.com/users/ifreecarve","html_url":"https://github.com/ifreecarve","followers_url":"https://api.github.com/users/ifreecarve/followers","following_url":"https://api.github.com/users/ifreecarve/following{/other_user}","gists_url":"https://api.github.com/users/ifreecarve/gists{/gist_id}","starred_url":"https://api.github.com/users/ifreecarve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifreecarve/subscriptions","organizations_url":"https://api.github.com/users/ifreecarve/orgs","repos_url":"https://api.github.com/users/ifreecarve/repos","events_url":"https://api.github.com/users/ifreecarve/events{/privacy}","received_events_url":"https://api.github.com/users/ifreecarve/received_events","type":"User","site_admin":false},"body":"Implement a protocol, handle your own results. \r\n\r\nThis allows a straightforward way to implement app-specific functionality in handling test passes or failures.  ","created_at":"2016-12-20T23:07:08Z","updated_at":"2016-12-21T16:12:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b76915624f8aec55839599c926314d5d8ab7efd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/paypal/Illuminator/pulls/102/commits","review_comments_url":"https://api.github.com/repos/paypal/Illuminator/pulls/102/comments","review_comment_url":"https://api.github.com/repos/paypal/Illuminator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/paypal/Illuminator/issues/102/comments","statuses_url":"https://api.github.com/repos/paypal/Illuminator/statuses/510930b68f7399a794c01aa29aa3372122a160b3","head":{"label":"ifreecarve:2016-12-20_result_handler","ref":"2016-12-20_result_handler","sha":"510930b68f7399a794c01aa29aa3372122a160b3","user":{"login":"ifreecarve","id":583459,"avatar_url":"https://avatars.githubusercontent.com/u/583459?v=3","gravatar_id":"","url":"https://api.github.com/users/ifreecarve","html_url":"https://github.com/ifreecarve","followers_url":"https://api.github.com/users/ifreecarve/followers","following_url":"https://api.github.com/users/ifreecarve/following{/other_user}","gists_url":"https://api.github.com/users/ifreecarve/gists{/gist_id}","starred_url":"https://api.github.com/users/ifreecarve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifreecarve/subscriptions","organizations_url":"https://api.github.com/users/ifreecarve/orgs","repos_url":"https://api.github.com/users/ifreecarve/repos","events_url":"https://api.github.com/users/ifreecarve/events{/privacy}","received_events_url":"https://api.github.com/users/ifreecarve/received_events","type":"User","site_admin":false},"repo":{"id":30280451,"name":"Illuminator","full_name":"ifreecarve/Illuminator","owner":{"login":"ifreecarve","id":583459,"avatar_url":"https://avatars.githubusercontent.com/u/583459?v=3","gravatar_id":"","url":"https://api.github.com/users/ifreecarve","html_url":"https://github.com/ifreecarve","followers_url":"https://api.github.com/users/ifreecarve/followers","following_url":"https://api.github.com/users/ifreecarve/following{/other_user}","gists_url":"https://api.github.com/users/ifreecarve/gists{/gist_id}","starred_url":"https://api.github.com/users/ifreecarve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifreecarve/subscriptions","organizations_url":"https://api.github.com/users/ifreecarve/orgs","repos_url":"https://api.github.com/users/ifreecarve/repos","events_url":"https://api.github.com/users/ifreecarve/events{/privacy}","received_events_url":"https://api.github.com/users/ifreecarve/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ifreecarve/Illuminator","description":null,"fork":true,"url":"https://api.github.com/repos/ifreecarve/Illuminator","forks_url":"https://api.github.com/repos/ifreecarve/Illuminator/forks","keys_url":"https://api.github.com/repos/ifreecarve/Illuminator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ifreecarve/Illuminator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ifreecarve/Illuminator/teams","hooks_url":"https://api.github.com/repos/ifreecarve/Illuminator/hooks","issue_events_url":"https://api.github.com/repos/ifreecarve/Illuminator/issues/events{/number}","events_url":"https://api.github.com/repos/ifreecarve/Illuminator/events","assignees_url":"https://api.github.com/repos/ifreecarve/Illuminator/assignees{/user}","branches_url":"https://api.github.com/repos/ifreecarve/Illuminator/branches{/branch}","tags_url":"https://api.github.com/repos/ifreecarve/Illuminator/tags","blobs_url":"https://api.github.com/repos/ifreecarve/Illuminator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ifreecarve/Illuminator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ifreecarve/Illuminator/git/refs{/sha}","trees_url":"https://api.github.com/repos/ifreecarve/Illuminator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ifreecarve/Illuminator/statuses/{sha}","languages_url":"https://api.github.com/repos/ifreecarve/Illuminator/languages","stargazers_url":"https://api.github.com/repos/ifreecarve/Illuminator/stargazers","contributors_url":"https://api.github.com/repos/ifreecarve/Illuminator/contributors","subscribers_url":"https://api.github.com/repos/ifreecarve/Illuminator/subscribers","subscription_url":"https://api.github.com/repos/ifreecarve/Illuminator/subscription","commits_url":"https://api.github.com/repos/ifreecarve/Illuminator/commits{/sha}","git_commits_url":"https://api.github.com/repos/ifreecarve/Illuminator/git/commits{/sha}","comments_url":"https://api.github.com/repos/ifreecarve/Illuminator/comments{/number}","issue_comment_url":"https://api.github.com/repos/ifreecarve/Illuminator/issues/comments{/number}","contents_url":"https://api.github.com/repos/ifreecarve/Illuminator/contents/{+path}","compare_url":"https://api.github.com/repos/ifreecarve/Illuminator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ifreecarve/Illuminator/merges","archive_url":"https://api.github.com/repos/ifreecarve/Illuminator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ifreecarve/Illuminator/downloads","issues_url":"https://api.github.com/repos/ifreecarve/Illuminator/issues{/number}","pulls_url":"https://api.github.com/repos/ifreecarve/Illuminator/pulls{/number}","milestones_url":"https://api.github.com/repos/ifreecarve/Illuminator/milestones{/number}","notifications_url":"https://api.github.com/repos/ifreecarve/Illuminator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ifreecarve/Illuminator/labels{/name}","releases_url":"https://api.github.com/repos/ifreecarve/Illuminator/releases{/id}","deployments_url":"https://api.github.com/repos/ifreecarve/Illuminator/deployments","created_at":"2015-02-04T03:58:40Z","updated_at":"2015-04-07T00:49:38Z","pushed_at":"2016-12-21T13:30:48Z","git_url":"git://github.com/ifreecarve/Illuminator.git","ssh_url":"git@github.com:ifreecarve/Illuminator.git","clone_url":"https://github.com/ifreecarve/Illuminator.git","svn_url":"https://github.com/ifreecarve/Illuminator","homepage":null,"size":1031,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"paypal:V2","ref":"V2","sha":"c97b69ebe0638c2f39eca5de818ba84f41f6bc28","user":{"login":"paypal","id":476675,"avatar_url":"https://avatars.githubusercontent.com/u/476675?v=3","gravatar_id":"","url":"https://api.github.com/users/paypal","html_url":"https://github.com/paypal","followers_url":"https://api.github.com/users/paypal/followers","following_url":"https://api.github.com/users/paypal/following{/other_user}","gists_url":"https://api.github.com/users/paypal/gists{/gist_id}","starred_url":"https://api.github.com/users/paypal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paypal/subscriptions","organizations_url":"https://api.github.com/users/paypal/orgs","repos_url":"https://api.github.com/users/paypal/repos","events_url":"https://api.github.com/users/paypal/events{/privacy}","received_events_url":"https://api.github.com/users/paypal/received_events","type":"Organization","site_admin":false},"repo":{"id":29603811,"name":"Illuminator","full_name":"paypal/Illuminator","owner":{"login":"paypal","id":476675,"avatar_url":"https://avatars.githubusercontent.com/u/476675?v=3","gravatar_id":"","url":"https://api.github.com/users/paypal","html_url":"https://github.com/paypal","followers_url":"https://api.github.com/users/paypal/followers","following_url":"https://api.github.com/users/paypal/following{/other_user}","gists_url":"https://api.github.com/users/paypal/gists{/gist_id}","starred_url":"https://api.github.com/users/paypal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paypal/subscriptions","organizations_url":"https://api.github.com/users/paypal/orgs","repos_url":"https://api.github.com/users/paypal/repos","events_url":"https://api.github.com/users/paypal/events{/privacy}","received_events_url":"https://api.github.com/users/paypal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/paypal/Illuminator","description":"iOS Automator","fork":false,"url":"https://api.github.com/repos/paypal/Illuminator","forks_url":"https://api.github.com/repos/paypal/Illuminator/forks","keys_url":"https://api.github.com/repos/paypal/Illuminator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paypal/Illuminator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paypal/Illuminator/teams","hooks_url":"https://api.github.com/repos/paypal/Illuminator/hooks","issue_events_url":"https://api.github.com/repos/paypal/Illuminator/issues/events{/number}","events_url":"https://api.github.com/repos/paypal/Illuminator/events","assignees_url":"https://api.github.com/repos/paypal/Illuminator/assignees{/user}","branches_url":"https://api.github.com/repos/paypal/Illuminator/branches{/branch}","tags_url":"https://api.github.com/repos/paypal/Illuminator/tags","blobs_url":"https://api.github.com/repos/paypal/Illuminator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paypal/Illuminator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paypal/Illuminator/git/refs{/sha}","trees_url":"https://api.github.com/repos/paypal/Illuminator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paypal/Illuminator/statuses/{sha}","languages_url":"https://api.github.com/repos/paypal/Illuminator/languages","stargazers_url":"https://api.github.com/repos/paypal/Illuminator/stargazers","contributors_url":"https://api.github.com/repos/paypal/Illuminator/contributors","subscribers_url":"https://api.github.com/repos/paypal/Illuminator/subscribers","subscription_url":"https://api.github.com/repos/paypal/Illuminator/subscription","commits_url":"https://api.github.com/repos/paypal/Illuminator/commits{/sha}","git_commits_url":"https://api.github.com/repos/paypal/Illuminator/git/commits{/sha}","comments_url":"https://api.github.com/repos/paypal/Illuminator/comments{/number}","issue_comment_url":"https://api.github.com/repos/paypal/Illuminator/issues/comments{/number}","contents_url":"https://api.github.com/repos/paypal/Illuminator/contents/{+path}","compare_url":"https://api.github.com/repos/paypal/Illuminator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paypal/Illuminator/merges","archive_url":"https://api.github.com/repos/paypal/Illuminator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paypal/Illuminator/downloads","issues_url":"https://api.github.com/repos/paypal/Illuminator/issues{/number}","pulls_url":"https://api.github.com/repos/paypal/Illuminator/pulls{/number}","milestones_url":"https://api.github.com/repos/paypal/Illuminator/milestones{/number}","notifications_url":"https://api.github.com/repos/paypal/Illuminator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paypal/Illuminator/labels{/name}","releases_url":"https://api.github.com/repos/paypal/Illuminator/releases{/id}","deployments_url":"https://api.github.com/repos/paypal/Illuminator/deployments","created_at":"2015-01-21T18:11:05Z","updated_at":"2016-12-16T20:09:35Z","pushed_at":"2016-12-21T13:30:50Z","git_url":"git://github.com/paypal/Illuminator.git","ssh_url":"git@github.com:paypal/Illuminator.git","clone_url":"https://github.com/paypal/Illuminator.git","svn_url":"https://github.com/paypal/Illuminator","homepage":"","size":1020,"stargazers_count":29,"watchers_count":29,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":8,"forks":11,"open_issues":8,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/paypal/Illuminator/pulls/102"},"html":{"href":"https://github.com/paypal/Illuminator/pull/102"},"issue":{"href":"https://api.github.com/repos/paypal/Illuminator/issues/102"},"comments":{"href":"https://api.github.com/repos/paypal/Illuminator/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/paypal/Illuminator/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/paypal/Illuminator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/paypal/Illuminator/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/paypal/Illuminator/statuses/510930b68f7399a794c01aa29aa3372122a160b3"}}}}
{"actor":{"display_login":"kviksilver"}}