{"action":"created","comment":{"url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/pulls/comments/88237247","pull_request_review_id":8815537,"id":88237247,"diff_hunk":"@@ -342,6 +341,24 @@ public void testGetRenameView() {\n         assertTrue( view instanceof RenamePopUpPresenter.View );\n     }\n \n+    @Test\n+    public void testOnLibraryContextSwitchEvent() {\n+\n+        LibraryContextSwitchEvent event = mock( LibraryContextSwitchEvent.class );\n+        BaseViewPresenter spy = spy( presenter );\n+\n+        when( event.isProjectSelected() ).thenReturn( true );\n+        when( event.getUri() ).thenReturn( \"uri\" );\n+        doNothing().when( spy ).setupActiveContextFor( any() );\n+\n+        spy.onLibraryContextSwitchEvent( event );\n+\n+        verify( placeManager ).goTo( BaseViewPresenter.PROJECT_SCREEN );\n+        verify( placeManager ).goTo( BaseViewPresenter.PROJECT_SCREEN );","path":"kie-wb-common-screens/kie-wb-common-project-explorer/kie-wb-common-project-explorer-client/src/test/java/org/kie/workbench/common/screens/explorer/client/widgets/BaseViewPresenterTest.java","position":69,"original_position":69,"commit_id":"db9f47d5b3222aaae05a987ffc58ea99d1410fc4","original_commit_id":"db9f47d5b3222aaae05a987ffc58ea99d1410fc4","user":{"login":"ederign","id":531351,"avatar_url":"https://avatars.githubusercontent.com/u/531351?v=3","gravatar_id":"","url":"https://api.github.com/users/ederign","html_url":"https://github.com/ederign","followers_url":"https://api.github.com/users/ederign/followers","following_url":"https://api.github.com/users/ederign/following{/other_user}","gists_url":"https://api.github.com/users/ederign/gists{/gist_id}","starred_url":"https://api.github.com/users/ederign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ederign/subscriptions","organizations_url":"https://api.github.com/users/ederign/orgs","repos_url":"https://api.github.com/users/ederign/repos","events_url":"https://api.github.com/users/ederign/events{/privacy}","received_events_url":"https://api.github.com/users/ederign/received_events","type":"User","site_admin":false},"body":"fixed.","created_at":"2016-11-16T13:39:38Z","updated_at":"2016-11-16T13:39:38Z","html_url":"https://github.com/droolsjbpm/kie-wb-common/pull/561#discussion_r88237247","pull_request_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/pulls/561","_links":{"self":{"href":"https://api.github.com/repos/droolsjbpm/kie-wb-common/pulls/comments/88237247"},"html":{"href":"https://github.com/droolsjbpm/kie-wb-common/pull/561#discussion_r88237247"},"pull_request":{"href":"https://api.github.com/repos/droolsjbpm/kie-wb-common/pulls/561"}}},"pull_request":{"url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/pulls/561","id":93477320,"html_url":"https://github.com/droolsjbpm/kie-wb-common/pull/561","diff_url":"https://github.com/droolsjbpm/kie-wb-common/pull/561.diff","patch_url":"https://github.com/droolsjbpm/kie-wb-common/pull/561.patch","issue_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/issues/561","number":561,"state":"open","locked":false,"title":"New Library Perspective (new authoring)","user":{"login":"ederign","id":531351,"avatar_url":"https://avatars.githubusercontent.com/u/531351?v=3","gravatar_id":"","url":"https://api.github.com/users/ederign","html_url":"https://github.com/ederign","followers_url":"https://api.github.com/users/ederign/followers","following_url":"https://api.github.com/users/ederign/following{/other_user}","gists_url":"https://api.github.com/users/ederign/gists{/gist_id}","starred_url":"https://api.github.com/users/ederign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ederign/subscriptions","organizations_url":"https://api.github.com/users/ederign/orgs","repos_url":"https://api.github.com/users/ederign/repos","events_url":"https://api.github.com/users/ederign/events{/privacy}","received_events_url":"https://api.github.com/users/ederign/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-13T16:07:55Z","updated_at":"2016-11-16T13:39:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37f53532b56e2e703503af1144a48e80ed1e3e4b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/pulls/561/commits","review_comments_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/pulls/561/comments","review_comment_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/pulls/comments{/number}","comments_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/issues/561/comments","statuses_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/statuses/db9f47d5b3222aaae05a987ffc58ea99d1410fc4","head":{"label":"ederign:library_final","ref":"library_final","sha":"db9f47d5b3222aaae05a987ffc58ea99d1410fc4","user":{"login":"ederign","id":531351,"avatar_url":"https://avatars.githubusercontent.com/u/531351?v=3","gravatar_id":"","url":"https://api.github.com/users/ederign","html_url":"https://github.com/ederign","followers_url":"https://api.github.com/users/ederign/followers","following_url":"https://api.github.com/users/ederign/following{/other_user}","gists_url":"https://api.github.com/users/ederign/gists{/gist_id}","starred_url":"https://api.github.com/users/ederign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ederign/subscriptions","organizations_url":"https://api.github.com/users/ederign/orgs","repos_url":"https://api.github.com/users/ederign/repos","events_url":"https://api.github.com/users/ederign/events{/privacy}","received_events_url":"https://api.github.com/users/ederign/received_events","type":"User","site_admin":false},"repo":{"id":53429437,"name":"kie-wb-common","full_name":"ederign/kie-wb-common","owner":{"login":"ederign","id":531351,"avatar_url":"https://avatars.githubusercontent.com/u/531351?v=3","gravatar_id":"","url":"https://api.github.com/users/ederign","html_url":"https://github.com/ederign","followers_url":"https://api.github.com/users/ederign/followers","following_url":"https://api.github.com/users/ederign/following{/other_user}","gists_url":"https://api.github.com/users/ederign/gists{/gist_id}","starred_url":"https://api.github.com/users/ederign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ederign/subscriptions","organizations_url":"https://api.github.com/users/ederign/orgs","repos_url":"https://api.github.com/users/ederign/repos","events_url":"https://api.github.com/users/ederign/events{/privacy}","received_events_url":"https://api.github.com/users/ederign/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ederign/kie-wb-common","description":"Shared screens, widgets and services for KIE workbenches.","fork":true,"url":"https://api.github.com/repos/ederign/kie-wb-common","forks_url":"https://api.github.com/repos/ederign/kie-wb-common/forks","keys_url":"https://api.github.com/repos/ederign/kie-wb-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ederign/kie-wb-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ederign/kie-wb-common/teams","hooks_url":"https://api.github.com/repos/ederign/kie-wb-common/hooks","issue_events_url":"https://api.github.com/repos/ederign/kie-wb-common/issues/events{/number}","events_url":"https://api.github.com/repos/ederign/kie-wb-common/events","assignees_url":"https://api.github.com/repos/ederign/kie-wb-common/assignees{/user}","branches_url":"https://api.github.com/repos/ederign/kie-wb-common/branches{/branch}","tags_url":"https://api.github.com/repos/ederign/kie-wb-common/tags","blobs_url":"https://api.github.com/repos/ederign/kie-wb-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ederign/kie-wb-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ederign/kie-wb-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/ederign/kie-wb-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ederign/kie-wb-common/statuses/{sha}","languages_url":"https://api.github.com/repos/ederign/kie-wb-common/languages","stargazers_url":"https://api.github.com/repos/ederign/kie-wb-common/stargazers","contributors_url":"https://api.github.com/repos/ederign/kie-wb-common/contributors","subscribers_url":"https://api.github.com/repos/ederign/kie-wb-common/subscribers","subscription_url":"https://api.github.com/repos/ederign/kie-wb-common/subscription","commits_url":"https://api.github.com/repos/ederign/kie-wb-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/ederign/kie-wb-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/ederign/kie-wb-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/ederign/kie-wb-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/ederign/kie-wb-common/contents/{+path}","compare_url":"https://api.github.com/repos/ederign/kie-wb-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ederign/kie-wb-common/merges","archive_url":"https://api.github.com/repos/ederign/kie-wb-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ederign/kie-wb-common/downloads","issues_url":"https://api.github.com/repos/ederign/kie-wb-common/issues{/number}","pulls_url":"https://api.github.com/repos/ederign/kie-wb-common/pulls{/number}","milestones_url":"https://api.github.com/repos/ederign/kie-wb-common/milestones{/number}","notifications_url":"https://api.github.com/repos/ederign/kie-wb-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ederign/kie-wb-common/labels{/name}","releases_url":"https://api.github.com/repos/ederign/kie-wb-common/releases{/id}","deployments_url":"https://api.github.com/repos/ederign/kie-wb-common/deployments","created_at":"2016-03-08T16:57:13Z","updated_at":"2016-03-08T16:57:20Z","pushed_at":"2016-11-13T16:07:01Z","git_url":"git://github.com/ederign/kie-wb-common.git","ssh_url":"git@github.com:ederign/kie-wb-common.git","clone_url":"https://github.com/ederign/kie-wb-common.git","svn_url":"https://github.com/ederign/kie-wb-common","homepage":"","size":17769,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"droolsjbpm:master","ref":"master","sha":"9d37113b6865613348686305f1ab8ec62e1420f0","user":{"login":"droolsjbpm","id":517980,"avatar_url":"https://avatars.githubusercontent.com/u/517980?v=3","gravatar_id":"","url":"https://api.github.com/users/droolsjbpm","html_url":"https://github.com/droolsjbpm","followers_url":"https://api.github.com/users/droolsjbpm/followers","following_url":"https://api.github.com/users/droolsjbpm/following{/other_user}","gists_url":"https://api.github.com/users/droolsjbpm/gists{/gist_id}","starred_url":"https://api.github.com/users/droolsjbpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droolsjbpm/subscriptions","organizations_url":"https://api.github.com/users/droolsjbpm/orgs","repos_url":"https://api.github.com/users/droolsjbpm/repos","events_url":"https://api.github.com/users/droolsjbpm/events{/privacy}","received_events_url":"https://api.github.com/users/droolsjbpm/received_events","type":"Organization","site_admin":false},"repo":{"id":10522120,"name":"kie-wb-common","full_name":"droolsjbpm/kie-wb-common","owner":{"login":"droolsjbpm","id":517980,"avatar_url":"https://avatars.githubusercontent.com/u/517980?v=3","gravatar_id":"","url":"https://api.github.com/users/droolsjbpm","html_url":"https://github.com/droolsjbpm","followers_url":"https://api.github.com/users/droolsjbpm/followers","following_url":"https://api.github.com/users/droolsjbpm/following{/other_user}","gists_url":"https://api.github.com/users/droolsjbpm/gists{/gist_id}","starred_url":"https://api.github.com/users/droolsjbpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droolsjbpm/subscriptions","organizations_url":"https://api.github.com/users/droolsjbpm/orgs","repos_url":"https://api.github.com/users/droolsjbpm/repos","events_url":"https://api.github.com/users/droolsjbpm/events{/privacy}","received_events_url":"https://api.github.com/users/droolsjbpm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/droolsjbpm/kie-wb-common","description":"Shared screens, widgets and services for KIE workbenches.","fork":false,"url":"https://api.github.com/repos/droolsjbpm/kie-wb-common","forks_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/forks","keys_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/teams","hooks_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/hooks","issue_events_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/issues/events{/number}","events_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/events","assignees_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/assignees{/user}","branches_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/branches{/branch}","tags_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/tags","blobs_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/statuses/{sha}","languages_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/languages","stargazers_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/stargazers","contributors_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/contributors","subscribers_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/subscribers","subscription_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/subscription","commits_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/contents/{+path}","compare_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/merges","archive_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/downloads","issues_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/issues{/number}","pulls_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/pulls{/number}","milestones_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/milestones{/number}","notifications_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/labels{/name}","releases_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/releases{/id}","deployments_url":"https://api.github.com/repos/droolsjbpm/kie-wb-common/deployments","created_at":"2013-06-06T08:32:03Z","updated_at":"2016-10-24T14:30:36Z","pushed_at":"2016-11-16T12:43:20Z","git_url":"git://github.com/droolsjbpm/kie-wb-common.git","ssh_url":"git@github.com:droolsjbpm/kie-wb-common.git","clone_url":"https://github.com/droolsjbpm/kie-wb-common.git","svn_url":"https://github.com/droolsjbpm/kie-wb-common","homepage":"","size":19887,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":100,"mirror_url":null,"open_issues_count":7,"forks":100,"open_issues":7,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/droolsjbpm/kie-wb-common/pulls/561"},"html":{"href":"https://github.com/droolsjbpm/kie-wb-common/pull/561"},"issue":{"href":"https://api.github.com/repos/droolsjbpm/kie-wb-common/issues/561"},"comments":{"href":"https://api.github.com/repos/droolsjbpm/kie-wb-common/issues/561/comments"},"review_comments":{"href":"https://api.github.com/repos/droolsjbpm/kie-wb-common/pulls/561/comments"},"review_comment":{"href":"https://api.github.com/repos/droolsjbpm/kie-wb-common/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/droolsjbpm/kie-wb-common/pulls/561/commits"},"statuses":{"href":"https://api.github.com/repos/droolsjbpm/kie-wb-common/statuses/db9f47d5b3222aaae05a987ffc58ea99d1410fc4"}}}}
{"actor":{"display_login":"ederign"}}