{"action":"created","comment":{"url":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/comments/78178459","id":78178459,"diff_hunk":"@@ -64,55 +76,78 @@ class LastStateTest : public ::testing::Test {\n   const std::string empty_dictionary_;\n   const std::string app_info_dat_file_;\n \n-  resumption::LastState last_state_;\n+  ::utils::SharedPtr<resumption::LastState> last_state_;\n+\n+  void CompactJson(std::string& str) {\n+    Json::Value root;\n+    Json::Reader reader;\n+    reader.parse(str, root);\n+    Json::FastWriter writer;\n+    str = writer.write(root);\n+    if (str[str.size() - 1] == '\\n') {\n+      str.erase(str.size() - 1, 1);","path":"src/components/resumption/test/last_state_test.cc","position":null,"original_position":63,"commit_id":"97426d23f9bb5297d64abb356bdc3851bb9b2aed","original_commit_id":"ecfd05d0867ec048b6f97f5f24e11c6270825418","user":{"login":"okozlovlux","id":18533903,"avatar_url":"https://avatars.githubusercontent.com/u/18533903?v=3","gravatar_id":"","url":"https://api.github.com/users/okozlovlux","html_url":"https://github.com/okozlovlux","followers_url":"https://api.github.com/users/okozlovlux/followers","following_url":"https://api.github.com/users/okozlovlux/following{/other_user}","gists_url":"https://api.github.com/users/okozlovlux/gists{/gist_id}","starred_url":"https://api.github.com/users/okozlovlux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okozlovlux/subscriptions","organizations_url":"https://api.github.com/users/okozlovlux/orgs","repos_url":"https://api.github.com/users/okozlovlux/repos","events_url":"https://api.github.com/users/okozlovlux/events{/privacy}","received_events_url":"https://api.github.com/users/okozlovlux/received_events","type":"User","site_admin":false},"body":"@AByzhynar , done in 97426d2","created_at":"2016-09-09T13:22:59Z","updated_at":"2016-09-09T13:22:59Z","html_url":"https://github.com/smartdevicelink/sdl_core/pull/806#discussion_r78178459","pull_request_url":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/806","_links":{"self":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/comments/78178459"},"html":{"href":"https://github.com/smartdevicelink/sdl_core/pull/806#discussion_r78178459"},"pull_request":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/806"}}},"pull_request":{"url":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/806","id":84439450,"html_url":"https://github.com/smartdevicelink/sdl_core/pull/806","diff_url":"https://github.com/smartdevicelink/sdl_core/pull/806.diff","patch_url":"https://github.com/smartdevicelink/sdl_core/pull/806.patch","issue_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/806","number":806,"state":"open","locked":false,"title":"Fix defects found by resumption_test","user":{"login":"okozlovlux","id":18533903,"avatar_url":"https://avatars.githubusercontent.com/u/18533903?v=3","gravatar_id":"","url":"https://api.github.com/users/okozlovlux","html_url":"https://github.com/okozlovlux","followers_url":"https://api.github.com/users/okozlovlux/followers","following_url":"https://api.github.com/users/okozlovlux/following{/other_user}","gists_url":"https://api.github.com/users/okozlovlux/gists{/gist_id}","starred_url":"https://api.github.com/users/okozlovlux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okozlovlux/subscriptions","organizations_url":"https://api.github.com/users/okozlovlux/orgs","repos_url":"https://api.github.com/users/okozlovlux/repos","events_url":"https://api.github.com/users/okozlovlux/events{/privacy}","received_events_url":"https://api.github.com/users/okozlovlux/received_events","type":"User","site_admin":false},"body":"  - fixed defect in resumption unit tests\r\n\r\nRelated to APPLINK-27757, APPLINK-27153","created_at":"2016-09-08T09:03:26Z","updated_at":"2016-09-09T13:22:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa9ed3ca5659bdd785ec5353f0bebdea03230783","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/806/commits","review_comments_url":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/806/comments","review_comment_url":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/806/comments","statuses_url":"https://api.github.com/repos/smartdevicelink/sdl_core/statuses/97426d23f9bb5297d64abb356bdc3851bb9b2aed","head":{"label":"okozlovlux:fix/Fix_defects_found_by_resumption_test","ref":"fix/Fix_defects_found_by_resumption_test","sha":"97426d23f9bb5297d64abb356bdc3851bb9b2aed","user":{"login":"okozlovlux","id":18533903,"avatar_url":"https://avatars.githubusercontent.com/u/18533903?v=3","gravatar_id":"","url":"https://api.github.com/users/okozlovlux","html_url":"https://github.com/okozlovlux","followers_url":"https://api.github.com/users/okozlovlux/followers","following_url":"https://api.github.com/users/okozlovlux/following{/other_user}","gists_url":"https://api.github.com/users/okozlovlux/gists{/gist_id}","starred_url":"https://api.github.com/users/okozlovlux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okozlovlux/subscriptions","organizations_url":"https://api.github.com/users/okozlovlux/orgs","repos_url":"https://api.github.com/users/okozlovlux/repos","events_url":"https://api.github.com/users/okozlovlux/events{/privacy}","received_events_url":"https://api.github.com/users/okozlovlux/received_events","type":"User","site_admin":false},"repo":{"id":56666927,"name":"sdl_core","full_name":"okozlovlux/sdl_core","owner":{"login":"okozlovlux","id":18533903,"avatar_url":"https://avatars.githubusercontent.com/u/18533903?v=3","gravatar_id":"","url":"https://api.github.com/users/okozlovlux","html_url":"https://github.com/okozlovlux","followers_url":"https://api.github.com/users/okozlovlux/followers","following_url":"https://api.github.com/users/okozlovlux/following{/other_user}","gists_url":"https://api.github.com/users/okozlovlux/gists{/gist_id}","starred_url":"https://api.github.com/users/okozlovlux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okozlovlux/subscriptions","organizations_url":"https://api.github.com/users/okozlovlux/orgs","repos_url":"https://api.github.com/users/okozlovlux/repos","events_url":"https://api.github.com/users/okozlovlux/events{/privacy}","received_events_url":"https://api.github.com/users/okozlovlux/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/okozlovlux/sdl_core","description":"SmartDeviceLink Head Unit Emulator","fork":true,"url":"https://api.github.com/repos/okozlovlux/sdl_core","forks_url":"https://api.github.com/repos/okozlovlux/sdl_core/forks","keys_url":"https://api.github.com/repos/okozlovlux/sdl_core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okozlovlux/sdl_core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okozlovlux/sdl_core/teams","hooks_url":"https://api.github.com/repos/okozlovlux/sdl_core/hooks","issue_events_url":"https://api.github.com/repos/okozlovlux/sdl_core/issues/events{/number}","events_url":"https://api.github.com/repos/okozlovlux/sdl_core/events","assignees_url":"https://api.github.com/repos/okozlovlux/sdl_core/assignees{/user}","branches_url":"https://api.github.com/repos/okozlovlux/sdl_core/branches{/branch}","tags_url":"https://api.github.com/repos/okozlovlux/sdl_core/tags","blobs_url":"https://api.github.com/repos/okozlovlux/sdl_core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okozlovlux/sdl_core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okozlovlux/sdl_core/git/refs{/sha}","trees_url":"https://api.github.com/repos/okozlovlux/sdl_core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okozlovlux/sdl_core/statuses/{sha}","languages_url":"https://api.github.com/repos/okozlovlux/sdl_core/languages","stargazers_url":"https://api.github.com/repos/okozlovlux/sdl_core/stargazers","contributors_url":"https://api.github.com/repos/okozlovlux/sdl_core/contributors","subscribers_url":"https://api.github.com/repos/okozlovlux/sdl_core/subscribers","subscription_url":"https://api.github.com/repos/okozlovlux/sdl_core/subscription","commits_url":"https://api.github.com/repos/okozlovlux/sdl_core/commits{/sha}","git_commits_url":"https://api.github.com/repos/okozlovlux/sdl_core/git/commits{/sha}","comments_url":"https://api.github.com/repos/okozlovlux/sdl_core/comments{/number}","issue_comment_url":"https://api.github.com/repos/okozlovlux/sdl_core/issues/comments{/number}","contents_url":"https://api.github.com/repos/okozlovlux/sdl_core/contents/{+path}","compare_url":"https://api.github.com/repos/okozlovlux/sdl_core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okozlovlux/sdl_core/merges","archive_url":"https://api.github.com/repos/okozlovlux/sdl_core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okozlovlux/sdl_core/downloads","issues_url":"https://api.github.com/repos/okozlovlux/sdl_core/issues{/number}","pulls_url":"https://api.github.com/repos/okozlovlux/sdl_core/pulls{/number}","milestones_url":"https://api.github.com/repos/okozlovlux/sdl_core/milestones{/number}","notifications_url":"https://api.github.com/repos/okozlovlux/sdl_core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okozlovlux/sdl_core/labels{/name}","releases_url":"https://api.github.com/repos/okozlovlux/sdl_core/releases{/id}","deployments_url":"https://api.github.com/repos/okozlovlux/sdl_core/deployments","created_at":"2016-04-20T07:49:39Z","updated_at":"2016-04-20T07:49:47Z","pushed_at":"2016-09-09T13:22:13Z","git_url":"git://github.com/okozlovlux/sdl_core.git","ssh_url":"git@github.com:okozlovlux/sdl_core.git","clone_url":"https://github.com/okozlovlux/sdl_core.git","svn_url":"https://github.com/okozlovlux/sdl_core","homepage":"","size":323898,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"smartdevicelink:develop","ref":"develop","sha":"5c4c642642e85a00a78489a905aa2262fedace7f","user":{"login":"smartdevicelink","id":8671397,"avatar_url":"https://avatars.githubusercontent.com/u/8671397?v=3","gravatar_id":"","url":"https://api.github.com/users/smartdevicelink","html_url":"https://github.com/smartdevicelink","followers_url":"https://api.github.com/users/smartdevicelink/followers","following_url":"https://api.github.com/users/smartdevicelink/following{/other_user}","gists_url":"https://api.github.com/users/smartdevicelink/gists{/gist_id}","starred_url":"https://api.github.com/users/smartdevicelink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartdevicelink/subscriptions","organizations_url":"https://api.github.com/users/smartdevicelink/orgs","repos_url":"https://api.github.com/users/smartdevicelink/repos","events_url":"https://api.github.com/users/smartdevicelink/events{/privacy}","received_events_url":"https://api.github.com/users/smartdevicelink/received_events","type":"Organization","site_admin":false},"repo":{"id":24724170,"name":"sdl_core","full_name":"smartdevicelink/sdl_core","owner":{"login":"smartdevicelink","id":8671397,"avatar_url":"https://avatars.githubusercontent.com/u/8671397?v=3","gravatar_id":"","url":"https://api.github.com/users/smartdevicelink","html_url":"https://github.com/smartdevicelink","followers_url":"https://api.github.com/users/smartdevicelink/followers","following_url":"https://api.github.com/users/smartdevicelink/following{/other_user}","gists_url":"https://api.github.com/users/smartdevicelink/gists{/gist_id}","starred_url":"https://api.github.com/users/smartdevicelink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartdevicelink/subscriptions","organizations_url":"https://api.github.com/users/smartdevicelink/orgs","repos_url":"https://api.github.com/users/smartdevicelink/repos","events_url":"https://api.github.com/users/smartdevicelink/events{/privacy}","received_events_url":"https://api.github.com/users/smartdevicelink/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/smartdevicelink/sdl_core","description":"SmartDeviceLink In-Vehicle Software and Sample HMI","fork":false,"url":"https://api.github.com/repos/smartdevicelink/sdl_core","forks_url":"https://api.github.com/repos/smartdevicelink/sdl_core/forks","keys_url":"https://api.github.com/repos/smartdevicelink/sdl_core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smartdevicelink/sdl_core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smartdevicelink/sdl_core/teams","hooks_url":"https://api.github.com/repos/smartdevicelink/sdl_core/hooks","issue_events_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/events{/number}","events_url":"https://api.github.com/repos/smartdevicelink/sdl_core/events","assignees_url":"https://api.github.com/repos/smartdevicelink/sdl_core/assignees{/user}","branches_url":"https://api.github.com/repos/smartdevicelink/sdl_core/branches{/branch}","tags_url":"https://api.github.com/repos/smartdevicelink/sdl_core/tags","blobs_url":"https://api.github.com/repos/smartdevicelink/sdl_core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smartdevicelink/sdl_core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smartdevicelink/sdl_core/git/refs{/sha}","trees_url":"https://api.github.com/repos/smartdevicelink/sdl_core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smartdevicelink/sdl_core/statuses/{sha}","languages_url":"https://api.github.com/repos/smartdevicelink/sdl_core/languages","stargazers_url":"https://api.github.com/repos/smartdevicelink/sdl_core/stargazers","contributors_url":"https://api.github.com/repos/smartdevicelink/sdl_core/contributors","subscribers_url":"https://api.github.com/repos/smartdevicelink/sdl_core/subscribers","subscription_url":"https://api.github.com/repos/smartdevicelink/sdl_core/subscription","commits_url":"https://api.github.com/repos/smartdevicelink/sdl_core/commits{/sha}","git_commits_url":"https://api.github.com/repos/smartdevicelink/sdl_core/git/commits{/sha}","comments_url":"https://api.github.com/repos/smartdevicelink/sdl_core/comments{/number}","issue_comment_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/comments{/number}","contents_url":"https://api.github.com/repos/smartdevicelink/sdl_core/contents/{+path}","compare_url":"https://api.github.com/repos/smartdevicelink/sdl_core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smartdevicelink/sdl_core/merges","archive_url":"https://api.github.com/repos/smartdevicelink/sdl_core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smartdevicelink/sdl_core/downloads","issues_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues{/number}","pulls_url":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls{/number}","milestones_url":"https://api.github.com/repos/smartdevicelink/sdl_core/milestones{/number}","notifications_url":"https://api.github.com/repos/smartdevicelink/sdl_core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smartdevicelink/sdl_core/labels{/name}","releases_url":"https://api.github.com/repos/smartdevicelink/sdl_core/releases{/id}","deployments_url":"https://api.github.com/repos/smartdevicelink/sdl_core/deployments","created_at":"2014-10-02T15:16:26Z","updated_at":"2016-08-24T00:58:51Z","pushed_at":"2016-09-09T13:22:13Z","git_url":"git://github.com/smartdevicelink/sdl_core.git","ssh_url":"git@github.com:smartdevicelink/sdl_core.git","clone_url":"https://github.com/smartdevicelink/sdl_core.git","svn_url":"https://github.com/smartdevicelink/sdl_core","homepage":"","size":312359,"stargazers_count":75,"watchers_count":75,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":96,"forks":94,"open_issues":96,"watchers":75,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/806"},"html":{"href":"https://github.com/smartdevicelink/sdl_core/pull/806"},"issue":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/806"},"comments":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/806/comments"},"review_comments":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/806/comments"},"review_comment":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/806/commits"},"statuses":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/statuses/97426d23f9bb5297d64abb356bdc3851bb9b2aed"}}}}
{"actor":{"display_login":"okozlovlux"}}