{"action":"created","comment":{"url":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/comments/57556873","id":57556873,"diff_hunk":"@@ -77,15 +78,15 @@ class SQLPTRepresentationTest : public SQLPTRepresentation,\n   static SQLPTRepresentation* reps;\n   static const std::string kDatabaseName;\n   //Gtest can show message that this object doesn't destroyed\n-  static utils::SharedPtr<policy_handler_test::MockPolicySettings> policy_settings_;\n+  static std::auto_ptr<policy_handler_test::MockPolicySettings> policy_settings_;\n \n   static void SetUpTestCase() {\n     const std::string kAppStorageFolder = \"storage1\";\n     reps = new SQLPTRepresentation;\n     dbms = new DBMS(kDatabaseName);\n-    policy_settings_ =\n-        utils::MakeShared<policy_handler_test::MockPolicySettings>();\n-    ON_CALL(*policy_settings_,\n+    policy_settings_ = std::auto_ptr<policy_handler_test::MockPolicySettings>(\n+          new policy_handler_test::MockPolicySettings());\n+    ON_CALL(*policy_settings_.get(),","path":"src/components/policy/test/sql_pt_representation_test.cc","position":null,"original_position":24,"commit_id":"d071b4182efed58402d56758871a30c9703743c0","original_commit_id":"fd333012efbf5c22aeaf898db0d313994b8b8fa3","user":{"login":"Kozoriz","id":8917619,"avatar_url":"https://avatars.githubusercontent.com/u/8917619?v=3","gravatar_id":"","url":"https://api.github.com/users/Kozoriz","html_url":"https://github.com/Kozoriz","followers_url":"https://api.github.com/users/Kozoriz/followers","following_url":"https://api.github.com/users/Kozoriz/following{/other_user}","gists_url":"https://api.github.com/users/Kozoriz/gists{/gist_id}","starred_url":"https://api.github.com/users/Kozoriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kozoriz/subscriptions","organizations_url":"https://api.github.com/users/Kozoriz/orgs","repos_url":"https://api.github.com/users/Kozoriz/repos","events_url":"https://api.github.com/users/Kozoriz/events{/privacy}","received_events_url":"https://api.github.com/users/Kozoriz/received_events","type":"User","site_admin":false},"body":"@AByzhynar , done d071b41","created_at":"2016-03-28T09:17:22Z","updated_at":"2016-03-28T09:17:22Z","html_url":"https://github.com/smartdevicelink/sdl_core/pull/435#discussion_r57556873","pull_request_url":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/435","_links":{"self":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/comments/57556873"},"html":{"href":"https://github.com/smartdevicelink/sdl_core/pull/435#discussion_r57556873"},"pull_request":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/435"}}},"pull_request":{"url":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/435","id":64001385,"html_url":"https://github.com/smartdevicelink/sdl_core/pull/435","diff_url":"https://github.com/smartdevicelink/sdl_core/pull/435.diff","patch_url":"https://github.com/smartdevicelink/sdl_core/pull/435.patch","issue_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/435","number":435,"state":"open","locked":false,"title":"LastSatet, PolicyHandler, MediaManager singletons removed","user":{"login":"Kozoriz","id":8917619,"avatar_url":"https://avatars.githubusercontent.com/u/8917619?v=3","gravatar_id":"","url":"https://api.github.com/users/Kozoriz","html_url":"https://github.com/Kozoriz","followers_url":"https://api.github.com/users/Kozoriz/followers","following_url":"https://api.github.com/users/Kozoriz/following{/other_user}","gists_url":"https://api.github.com/users/Kozoriz/gists{/gist_id}","starred_url":"https://api.github.com/users/Kozoriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kozoriz/subscriptions","organizations_url":"https://api.github.com/users/Kozoriz/orgs","repos_url":"https://api.github.com/users/Kozoriz/repos","events_url":"https://api.github.com/users/Kozoriz/events{/privacy}","received_events_url":"https://api.github.com/users/Kozoriz/received_events","type":"User","site_admin":false},"body":"- Removed singletons\r\n- Depended realizations and CMakeFiles corrected \r\n- Tests corrected \r\n\r\nRelated pull : https://github.com/CustomSDL/sdl_panasonic/pull/240","created_at":"2016-03-24T08:11:05Z","updated_at":"2016-03-28T09:17:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"859a31e71745c10a2bb5717a257a9cf16cb92209","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/435/commits","review_comments_url":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/435/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/435/comments","statuses_url":"https://api.github.com/repos/smartdevicelink/sdl_core/statuses/d071b4182efed58402d56758871a30c9703743c0","head":{"label":"Kozoriz:feature/LastState_MediaManager_PolicyHandler_Singleton_Removed","ref":"feature/LastState_MediaManager_PolicyHandler_Singleton_Removed","sha":"d071b4182efed58402d56758871a30c9703743c0","user":{"login":"Kozoriz","id":8917619,"avatar_url":"https://avatars.githubusercontent.com/u/8917619?v=3","gravatar_id":"","url":"https://api.github.com/users/Kozoriz","html_url":"https://github.com/Kozoriz","followers_url":"https://api.github.com/users/Kozoriz/followers","following_url":"https://api.github.com/users/Kozoriz/following{/other_user}","gists_url":"https://api.github.com/users/Kozoriz/gists{/gist_id}","starred_url":"https://api.github.com/users/Kozoriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kozoriz/subscriptions","organizations_url":"https://api.github.com/users/Kozoriz/orgs","repos_url":"https://api.github.com/users/Kozoriz/repos","events_url":"https://api.github.com/users/Kozoriz/events{/privacy}","received_events_url":"https://api.github.com/users/Kozoriz/received_events","type":"User","site_admin":false},"repo":{"id":54200684,"name":"sdl_core","full_name":"Kozoriz/sdl_core","owner":{"login":"Kozoriz","id":8917619,"avatar_url":"https://avatars.githubusercontent.com/u/8917619?v=3","gravatar_id":"","url":"https://api.github.com/users/Kozoriz","html_url":"https://github.com/Kozoriz","followers_url":"https://api.github.com/users/Kozoriz/followers","following_url":"https://api.github.com/users/Kozoriz/following{/other_user}","gists_url":"https://api.github.com/users/Kozoriz/gists{/gist_id}","starred_url":"https://api.github.com/users/Kozoriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kozoriz/subscriptions","organizations_url":"https://api.github.com/users/Kozoriz/orgs","repos_url":"https://api.github.com/users/Kozoriz/repos","events_url":"https://api.github.com/users/Kozoriz/events{/privacy}","received_events_url":"https://api.github.com/users/Kozoriz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kozoriz/sdl_core","description":"SmartDeviceLink In-Vehicle Software and Sample HMI","fork":true,"url":"https://api.github.com/repos/Kozoriz/sdl_core","forks_url":"https://api.github.com/repos/Kozoriz/sdl_core/forks","keys_url":"https://api.github.com/repos/Kozoriz/sdl_core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kozoriz/sdl_core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kozoriz/sdl_core/teams","hooks_url":"https://api.github.com/repos/Kozoriz/sdl_core/hooks","issue_events_url":"https://api.github.com/repos/Kozoriz/sdl_core/issues/events{/number}","events_url":"https://api.github.com/repos/Kozoriz/sdl_core/events","assignees_url":"https://api.github.com/repos/Kozoriz/sdl_core/assignees{/user}","branches_url":"https://api.github.com/repos/Kozoriz/sdl_core/branches{/branch}","tags_url":"https://api.github.com/repos/Kozoriz/sdl_core/tags","blobs_url":"https://api.github.com/repos/Kozoriz/sdl_core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kozoriz/sdl_core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kozoriz/sdl_core/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kozoriz/sdl_core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kozoriz/sdl_core/statuses/{sha}","languages_url":"https://api.github.com/repos/Kozoriz/sdl_core/languages","stargazers_url":"https://api.github.com/repos/Kozoriz/sdl_core/stargazers","contributors_url":"https://api.github.com/repos/Kozoriz/sdl_core/contributors","subscribers_url":"https://api.github.com/repos/Kozoriz/sdl_core/subscribers","subscription_url":"https://api.github.com/repos/Kozoriz/sdl_core/subscription","commits_url":"https://api.github.com/repos/Kozoriz/sdl_core/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kozoriz/sdl_core/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kozoriz/sdl_core/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kozoriz/sdl_core/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kozoriz/sdl_core/contents/{+path}","compare_url":"https://api.github.com/repos/Kozoriz/sdl_core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kozoriz/sdl_core/merges","archive_url":"https://api.github.com/repos/Kozoriz/sdl_core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kozoriz/sdl_core/downloads","issues_url":"https://api.github.com/repos/Kozoriz/sdl_core/issues{/number}","pulls_url":"https://api.github.com/repos/Kozoriz/sdl_core/pulls{/number}","milestones_url":"https://api.github.com/repos/Kozoriz/sdl_core/milestones{/number}","notifications_url":"https://api.github.com/repos/Kozoriz/sdl_core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kozoriz/sdl_core/labels{/name}","releases_url":"https://api.github.com/repos/Kozoriz/sdl_core/releases{/id}","deployments_url":"https://api.github.com/repos/Kozoriz/sdl_core/deployments","created_at":"2016-03-18T12:49:23Z","updated_at":"2016-03-18T12:49:31Z","pushed_at":"2016-03-28T09:16:46Z","git_url":"git://github.com/Kozoriz/sdl_core.git","ssh_url":"git@github.com:Kozoriz/sdl_core.git","clone_url":"https://github.com/Kozoriz/sdl_core.git","svn_url":"https://github.com/Kozoriz/sdl_core","homepage":"","size":168365,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"smartdevicelink:develop","ref":"develop","sha":"e84d3b5048e653c466f9daef301cb77578651d13","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-03-21T15:37:27Z","pushed_at":"2016-03-28T09:16:47Z","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":302037,"stargazers_count":61,"watchers_count":61,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":63,"forks":61,"open_issues":63,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/435"},"html":{"href":"https://github.com/smartdevicelink/sdl_core/pull/435"},"issue":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/435"},"comments":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/435/comments"},"review_comments":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/pulls/435/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/435/commits"},"statuses":{"href":"https://api.github.com/repos/smartdevicelink/sdl_core/statuses/d071b4182efed58402d56758871a30c9703743c0"}}}}