{"action":"created","comment":{"url":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/comments/229306642","pull_request_review_id":169772967,"id":229306642,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTMwNjY0Mg==","diff_hunk":"@@ -832,6 +832,57 @@ public void testSelectRow() {\n         assertThat(domainObjectSelectionEvent.getDomainObject()).isInstanceOf(NOPDomainObject.class);\n     }\n \n+    @Test\n+    @SuppressWarnings(\"unchecked\")\n+    public void testSelectMultipleCells() {\n+        setupGrid(0);\n+        addRow(0);\n+        addColumn(1);\n+\n+        //DomainObject selected when row added, so reset for this test\n+        reset(domainObjectSelectionEvent);\n+\n+        grid.selectCell(0, 1, false, false);\n+\n+        verify(domainObjectSelectionEvent).fire(domainObjectSelectionEventCaptor.capture());\n+\n+        final DomainObjectSelectionEvent event1 = domainObjectSelectionEventCaptor.getValue();\n+        assertThat(event1.getDomainObject()).isEqualTo(expression.get().getRow().get(0).getExpression().get(0));\n+\n+        //Reset DomainObjectSelectionEvent tested above.\n+        reset(domainObjectSelectionEvent);\n+\n+        grid.selectCell(0, 2, false, true);\n+\n+        verify(domainObjectSelectionEvent).fire(domainObjectSelectionEventCaptor.capture());\n+\n+        final DomainObjectSelectionEvent event2 = domainObjectSelectionEventCaptor.getValue();\n+        assertThat(event2.getDomainObject()).isInstanceOf(NOPDomainObject.class);\n+    }\n+\n+    @Test\n+    @SuppressWarnings(\"unchecked\")\n+    public void testSelectSingleCellWithHeaderSelected() {\n+        setupGrid(0);\n+\n+        grid.selectHeaderCell(0, RelationUIModelMapperHelper.ROW_INDEX_COLUMN_COUNT, false, false);\n+\n+        verify(domainObjectSelectionEvent).fire(domainObjectSelectionEventCaptor.capture());\n+\n+        final DomainObjectSelectionEvent event1 = domainObjectSelectionEventCaptor.getValue();\n+        assertThat(event1.getDomainObject()).isEqualTo(expression.get().getColumn().get(0));\n+\n+        //Reset DomainObjectSelectionEvent tested above.\n+        reset(domainObjectSelectionEvent);","path":"kie-wb-common-dmn/kie-wb-common-dmn-client/src/test/java/org/kie/workbench/common/dmn/client/editors/expressions/types/relation/RelationGridTest.java","position":75,"original_position":75,"commit_id":"a202e4d47e5e37135cd18db68f4d444ffff84022","original_commit_id":"a202e4d47e5e37135cd18db68f4d444ffff84022","user":{"login":"karreiro","id":1079279,"node_id":"MDQ6VXNlcjEwNzkyNzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1079279?v=4","gravatar_id":"","url":"https://api.github.com/users/karreiro","html_url":"https://github.com/karreiro","followers_url":"https://api.github.com/users/karreiro/followers","following_url":"https://api.github.com/users/karreiro/following{/other_user}","gists_url":"https://api.github.com/users/karreiro/gists{/gist_id}","starred_url":"https://api.github.com/users/karreiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karreiro/subscriptions","organizations_url":"https://api.github.com/users/karreiro/orgs","repos_url":"https://api.github.com/users/karreiro/repos","events_url":"https://api.github.com/users/karreiro/events{/privacy}","received_events_url":"https://api.github.com/users/karreiro/received_events","type":"User","site_admin":false},"body":"..the same comment above.","created_at":"2018-10-30T13:34:45Z","updated_at":"2018-10-30T13:47:17Z","html_url":"https://github.com/kiegroup/kie-wb-common/pull/2216#discussion_r229306642","pull_request_url":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2216","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/comments/229306642"},"html":{"href":"https://github.com/kiegroup/kie-wb-common/pull/2216#discussion_r229306642"},"pull_request":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2216"}}},"pull_request":{"url":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2216","id":226886831,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2ODg2ODMx","html_url":"https://github.com/kiegroup/kie-wb-common/pull/2216","diff_url":"https://github.com/kiegroup/kie-wb-common/pull/2216.diff","patch_url":"https://github.com/kiegroup/kie-wb-common/pull/2216.patch","issue_url":"https://api.github.com/repos/kiegroup/kie-wb-common/issues/2216","number":2216,"state":"open","locked":false,"title":"DROOLS-3199: [DMN Designer] Clear properties panel when multiple cells are selected","user":{"login":"manstis","id":497544,"node_id":"MDQ6VXNlcjQ5NzU0NA==","avatar_url":"https://avatars2.githubusercontent.com/u/497544?v=4","gravatar_id":"","url":"https://api.github.com/users/manstis","html_url":"https://github.com/manstis","followers_url":"https://api.github.com/users/manstis/followers","following_url":"https://api.github.com/users/manstis/following{/other_user}","gists_url":"https://api.github.com/users/manstis/gists{/gist_id}","starred_url":"https://api.github.com/users/manstis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manstis/subscriptions","organizations_url":"https://api.github.com/users/manstis/orgs","repos_url":"https://api.github.com/users/manstis/repos","events_url":"https://api.github.com/users/manstis/events{/privacy}","received_events_url":"https://api.github.com/users/manstis/received_events","type":"User","site_admin":false},"body":"See https://issues.jboss.org/browse/DROOLS-3199","created_at":"2018-10-30T11:36:47Z","updated_at":"2018-10-30T13:47:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1ac8754fd2b5954714def1d2a5cce9cd6fd4bda","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jomarko","id":8044780,"node_id":"MDQ6VXNlcjgwNDQ3ODA=","avatar_url":"https://avatars3.githubusercontent.com/u/8044780?v=4","gravatar_id":"","url":"https://api.github.com/users/jomarko","html_url":"https://github.com/jomarko","followers_url":"https://api.github.com/users/jomarko/followers","following_url":"https://api.github.com/users/jomarko/following{/other_user}","gists_url":"https://api.github.com/users/jomarko/gists{/gist_id}","starred_url":"https://api.github.com/users/jomarko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jomarko/subscriptions","organizations_url":"https://api.github.com/users/jomarko/orgs","repos_url":"https://api.github.com/users/jomarko/repos","events_url":"https://api.github.com/users/jomarko/events{/privacy}","received_events_url":"https://api.github.com/users/jomarko/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2216/commits","review_comments_url":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2216/comments","review_comment_url":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kiegroup/kie-wb-common/issues/2216/comments","statuses_url":"https://api.github.com/repos/kiegroup/kie-wb-common/statuses/a202e4d47e5e37135cd18db68f4d444ffff84022","head":{"label":"manstis:DROOLS-3199","ref":"DROOLS-3199","sha":"a202e4d47e5e37135cd18db68f4d444ffff84022","user":{"login":"manstis","id":497544,"node_id":"MDQ6VXNlcjQ5NzU0NA==","avatar_url":"https://avatars2.githubusercontent.com/u/497544?v=4","gravatar_id":"","url":"https://api.github.com/users/manstis","html_url":"https://github.com/manstis","followers_url":"https://api.github.com/users/manstis/followers","following_url":"https://api.github.com/users/manstis/following{/other_user}","gists_url":"https://api.github.com/users/manstis/gists{/gist_id}","starred_url":"https://api.github.com/users/manstis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manstis/subscriptions","organizations_url":"https://api.github.com/users/manstis/orgs","repos_url":"https://api.github.com/users/manstis/repos","events_url":"https://api.github.com/users/manstis/events{/privacy}","received_events_url":"https://api.github.com/users/manstis/received_events","type":"User","site_admin":false},"repo":{"id":35999201,"node_id":"MDEwOlJlcG9zaXRvcnkzNTk5OTIwMQ==","name":"kie-wb-common","full_name":"manstis/kie-wb-common","private":false,"owner":{"login":"manstis","id":497544,"node_id":"MDQ6VXNlcjQ5NzU0NA==","avatar_url":"https://avatars2.githubusercontent.com/u/497544?v=4","gravatar_id":"","url":"https://api.github.com/users/manstis","html_url":"https://github.com/manstis","followers_url":"https://api.github.com/users/manstis/followers","following_url":"https://api.github.com/users/manstis/following{/other_user}","gists_url":"https://api.github.com/users/manstis/gists{/gist_id}","starred_url":"https://api.github.com/users/manstis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manstis/subscriptions","organizations_url":"https://api.github.com/users/manstis/orgs","repos_url":"https://api.github.com/users/manstis/repos","events_url":"https://api.github.com/users/manstis/events{/privacy}","received_events_url":"https://api.github.com/users/manstis/received_events","type":"User","site_admin":false},"html_url":"https://github.com/manstis/kie-wb-common","description":"Shared screens, widgets and services for KIE workbenches.","fork":true,"url":"https://api.github.com/repos/manstis/kie-wb-common","forks_url":"https://api.github.com/repos/manstis/kie-wb-common/forks","keys_url":"https://api.github.com/repos/manstis/kie-wb-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/manstis/kie-wb-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/manstis/kie-wb-common/teams","hooks_url":"https://api.github.com/repos/manstis/kie-wb-common/hooks","issue_events_url":"https://api.github.com/repos/manstis/kie-wb-common/issues/events{/number}","events_url":"https://api.github.com/repos/manstis/kie-wb-common/events","assignees_url":"https://api.github.com/repos/manstis/kie-wb-common/assignees{/user}","branches_url":"https://api.github.com/repos/manstis/kie-wb-common/branches{/branch}","tags_url":"https://api.github.com/repos/manstis/kie-wb-common/tags","blobs_url":"https://api.github.com/repos/manstis/kie-wb-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/manstis/kie-wb-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/manstis/kie-wb-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/manstis/kie-wb-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/manstis/kie-wb-common/statuses/{sha}","languages_url":"https://api.github.com/repos/manstis/kie-wb-common/languages","stargazers_url":"https://api.github.com/repos/manstis/kie-wb-common/stargazers","contributors_url":"https://api.github.com/repos/manstis/kie-wb-common/contributors","subscribers_url":"https://api.github.com/repos/manstis/kie-wb-common/subscribers","subscription_url":"https://api.github.com/repos/manstis/kie-wb-common/subscription","commits_url":"https://api.github.com/repos/manstis/kie-wb-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/manstis/kie-wb-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/manstis/kie-wb-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/manstis/kie-wb-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/manstis/kie-wb-common/contents/{+path}","compare_url":"https://api.github.com/repos/manstis/kie-wb-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/manstis/kie-wb-common/merges","archive_url":"https://api.github.com/repos/manstis/kie-wb-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/manstis/kie-wb-common/downloads","issues_url":"https://api.github.com/repos/manstis/kie-wb-common/issues{/number}","pulls_url":"https://api.github.com/repos/manstis/kie-wb-common/pulls{/number}","milestones_url":"https://api.github.com/repos/manstis/kie-wb-common/milestones{/number}","notifications_url":"https://api.github.com/repos/manstis/kie-wb-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/manstis/kie-wb-common/labels{/name}","releases_url":"https://api.github.com/repos/manstis/kie-wb-common/releases{/id}","deployments_url":"https://api.github.com/repos/manstis/kie-wb-common/deployments","created_at":"2015-05-21T07:56:00Z","updated_at":"2018-10-30T13:02:08Z","pushed_at":"2018-10-30T13:36:03Z","git_url":"git://github.com/manstis/kie-wb-common.git","ssh_url":"git@github.com:manstis/kie-wb-common.git","clone_url":"https://github.com/manstis/kie-wb-common.git","svn_url":"https://github.com/manstis/kie-wb-common","homepage":"","size":47889,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kiegroup:master","ref":"master","sha":"43e341dac9b15e36e5a63585dbad43d8cf87fa77","user":{"login":"kiegroup","id":517980,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNzk4MA==","avatar_url":"https://avatars3.githubusercontent.com/u/517980?v=4","gravatar_id":"","url":"https://api.github.com/users/kiegroup","html_url":"https://github.com/kiegroup","followers_url":"https://api.github.com/users/kiegroup/followers","following_url":"https://api.github.com/users/kiegroup/following{/other_user}","gists_url":"https://api.github.com/users/kiegroup/gists{/gist_id}","starred_url":"https://api.github.com/users/kiegroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiegroup/subscriptions","organizations_url":"https://api.github.com/users/kiegroup/orgs","repos_url":"https://api.github.com/users/kiegroup/repos","events_url":"https://api.github.com/users/kiegroup/events{/privacy}","received_events_url":"https://api.github.com/users/kiegroup/received_events","type":"Organization","site_admin":false},"repo":{"id":10522120,"node_id":"MDEwOlJlcG9zaXRvcnkxMDUyMjEyMA==","name":"kie-wb-common","full_name":"kiegroup/kie-wb-common","private":false,"owner":{"login":"kiegroup","id":517980,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNzk4MA==","avatar_url":"https://avatars3.githubusercontent.com/u/517980?v=4","gravatar_id":"","url":"https://api.github.com/users/kiegroup","html_url":"https://github.com/kiegroup","followers_url":"https://api.github.com/users/kiegroup/followers","following_url":"https://api.github.com/users/kiegroup/following{/other_user}","gists_url":"https://api.github.com/users/kiegroup/gists{/gist_id}","starred_url":"https://api.github.com/users/kiegroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiegroup/subscriptions","organizations_url":"https://api.github.com/users/kiegroup/orgs","repos_url":"https://api.github.com/users/kiegroup/repos","events_url":"https://api.github.com/users/kiegroup/events{/privacy}","received_events_url":"https://api.github.com/users/kiegroup/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kiegroup/kie-wb-common","description":"Shared screens, widgets and services for KIE workbenches.","fork":false,"url":"https://api.github.com/repos/kiegroup/kie-wb-common","forks_url":"https://api.github.com/repos/kiegroup/kie-wb-common/forks","keys_url":"https://api.github.com/repos/kiegroup/kie-wb-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kiegroup/kie-wb-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kiegroup/kie-wb-common/teams","hooks_url":"https://api.github.com/repos/kiegroup/kie-wb-common/hooks","issue_events_url":"https://api.github.com/repos/kiegroup/kie-wb-common/issues/events{/number}","events_url":"https://api.github.com/repos/kiegroup/kie-wb-common/events","assignees_url":"https://api.github.com/repos/kiegroup/kie-wb-common/assignees{/user}","branches_url":"https://api.github.com/repos/kiegroup/kie-wb-common/branches{/branch}","tags_url":"https://api.github.com/repos/kiegroup/kie-wb-common/tags","blobs_url":"https://api.github.com/repos/kiegroup/kie-wb-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kiegroup/kie-wb-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kiegroup/kie-wb-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/kiegroup/kie-wb-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kiegroup/kie-wb-common/statuses/{sha}","languages_url":"https://api.github.com/repos/kiegroup/kie-wb-common/languages","stargazers_url":"https://api.github.com/repos/kiegroup/kie-wb-common/stargazers","contributors_url":"https://api.github.com/repos/kiegroup/kie-wb-common/contributors","subscribers_url":"https://api.github.com/repos/kiegroup/kie-wb-common/subscribers","subscription_url":"https://api.github.com/repos/kiegroup/kie-wb-common/subscription","commits_url":"https://api.github.com/repos/kiegroup/kie-wb-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/kiegroup/kie-wb-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/kiegroup/kie-wb-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/kiegroup/kie-wb-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/kiegroup/kie-wb-common/contents/{+path}","compare_url":"https://api.github.com/repos/kiegroup/kie-wb-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kiegroup/kie-wb-common/merges","archive_url":"https://api.github.com/repos/kiegroup/kie-wb-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kiegroup/kie-wb-common/downloads","issues_url":"https://api.github.com/repos/kiegroup/kie-wb-common/issues{/number}","pulls_url":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls{/number}","milestones_url":"https://api.github.com/repos/kiegroup/kie-wb-common/milestones{/number}","notifications_url":"https://api.github.com/repos/kiegroup/kie-wb-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kiegroup/kie-wb-common/labels{/name}","releases_url":"https://api.github.com/repos/kiegroup/kie-wb-common/releases{/id}","deployments_url":"https://api.github.com/repos/kiegroup/kie-wb-common/deployments","created_at":"2013-06-06T08:32:03Z","updated_at":"2018-10-30T13:01:14Z","pushed_at":"2018-10-30T13:37:51Z","git_url":"git://github.com/kiegroup/kie-wb-common.git","ssh_url":"git@github.com:kiegroup/kie-wb-common.git","clone_url":"https://github.com/kiegroup/kie-wb-common.git","svn_url":"https://github.com/kiegroup/kie-wb-common","homepage":"","size":50376,"stargazers_count":20,"watchers_count":20,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":168,"mirror_url":null,"archived":false,"open_issues_count":30,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":168,"open_issues":30,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2216"},"html":{"href":"https://github.com/kiegroup/kie-wb-common/pull/2216"},"issue":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/issues/2216"},"comments":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/issues/2216/comments"},"review_comments":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2216/comments"},"review_comment":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2216/commits"},"statuses":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/statuses/a202e4d47e5e37135cd18db68f4d444ffff84022"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"karreiro"}}