{"action":"created","comment":{"url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/pulls/comments/59043252","id":59043252,"diff_hunk":"@@ -0,0 +1,33 @@\n+﻿//-----------------------------------------------------------------------\n+// <copyright file=\"RuleSetInformationTests.cs\" company=\"SonarSource SA and Microsoft Corporation\">\n+//   Copyright (c) SonarSource SA and Microsoft Corporation.  All rights reserved.\n+//   Licensed under the MIT License. See License.txt in the project root for license information.\n+// </copyright>\n+//-----------------------------------------------------------------------\n+\n+using Microsoft.VisualStudio.TestTools.UnitTesting;\n+using SonarLint.VisualStudio.Integration.ProfileConflicts;\n+using System;\n+\n+namespace SonarLint.VisualStudio.Integration.UnitTests.ProfileConflicts\n+{\n+    [TestClass]\n+    public class RuleSetInformationTests\n+    {\n+        [TestMethod]\n+        public void RuleSetInformation_ArgChecks()\n+        {\n+            string projectFullName = \"p\";\n+            string baselineRuleSet = \"br\";\n+            string projectRuleSet = \"pr\";\n+\n+            Exceptions.Expect<ArgumentNullException>(() => new RuleSetInformation(null, baselineRuleSet, projectRuleSet, null));\n+            Exceptions.Expect<ArgumentNullException>(() => new RuleSetInformation(projectFullName, null, projectRuleSet, null));\n+            Exceptions.Expect<ArgumentNullException>(() => new RuleSetInformation(projectFullName, baselineRuleSet, null, null));\n+\n+            Assert.IsNotNull(new RuleSetInformation(projectFullName, baselineRuleSet, projectRuleSet, null), \"Not expecting this to fail, just to make the static analyzer happy\");","path":"src/Integration.UnitTests/ProfileConflicts/RuleSetInformationTests.cs","position":28,"original_position":28,"commit_id":"0acab8019d1dbcc81058d0077624b6938cc764e8","original_commit_id":"0acab8019d1dbcc81058d0077624b6938cc764e8","user":{"login":"eyalantzMS","id":16574964,"avatar_url":"https://avatars.githubusercontent.com/u/16574964?v=3","gravatar_id":"","url":"https://api.github.com/users/eyalantzMS","html_url":"https://github.com/eyalantzMS","followers_url":"https://api.github.com/users/eyalantzMS/followers","following_url":"https://api.github.com/users/eyalantzMS/following{/other_user}","gists_url":"https://api.github.com/users/eyalantzMS/gists{/gist_id}","starred_url":"https://api.github.com/users/eyalantzMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eyalantzMS/subscriptions","organizations_url":"https://api.github.com/users/eyalantzMS/orgs","repos_url":"https://api.github.com/users/eyalantzMS/repos","events_url":"https://api.github.com/users/eyalantzMS/events{/privacy}","received_events_url":"https://api.github.com/users/eyalantzMS/received_events","type":"User","site_admin":false},"body":"s1481, s1854 (there used to be one I recall, there are two now)","created_at":"2016-04-08T15:31:10Z","updated_at":"2016-04-08T15:31:10Z","html_url":"https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/pull/54#discussion_r59043252","pull_request_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/pulls/54","_links":{"self":{"href":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/pulls/comments/59043252"},"html":{"href":"https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/pull/54#discussion_r59043252"},"pull_request":{"href":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/pulls/54"}}},"pull_request":{"url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/pulls/54","id":65788300,"html_url":"https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/pull/54","diff_url":"https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/pull/54.diff","patch_url":"https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/pull/54.patch","issue_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/issues/54","number":54,"state":"open","locked":false,"title":"Fix test gaps for quality gate compliance","user":{"login":"eyalantzMS","id":16574964,"avatar_url":"https://avatars.githubusercontent.com/u/16574964?v=3","gravatar_id":"","url":"https://api.github.com/users/eyalantzMS","html_url":"https://github.com/eyalantzMS","followers_url":"https://api.github.com/users/eyalantzMS/followers","following_url":"https://api.github.com/users/eyalantzMS/following{/other_user}","gists_url":"https://api.github.com/users/eyalantzMS/gists{/gist_id}","starred_url":"https://api.github.com/users/eyalantzMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eyalantzMS/subscriptions","organizations_url":"https://api.github.com/users/eyalantzMS/orgs","repos_url":"https://api.github.com/users/eyalantzMS/repos","events_url":"https://api.github.com/users/eyalantzMS/events{/privacy}","received_events_url":"https://api.github.com/users/eyalantzMS/received_events","type":"User","site_admin":false},"body":"There were minor changes in product code, nothing that resets testing (I've raised explicit comments)","created_at":"2016-04-08T13:46:54Z","updated_at":"2016-04-08T15:31:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff99ec93296f79786371d8628e9c2f435208adfa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/pulls/54/commits","review_comments_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/pulls/54/comments","review_comment_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/issues/54/comments","statuses_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/statuses/0acab8019d1dbcc81058d0077624b6938cc764e8","head":{"label":"SonarSource-VisualStudio:Technical-AddTests","ref":"Technical-AddTests","sha":"0acab8019d1dbcc81058d0077624b6938cc764e8","user":{"login":"SonarSource-VisualStudio","id":16780579,"avatar_url":"https://avatars.githubusercontent.com/u/16780579?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource-VisualStudio","html_url":"https://github.com/SonarSource-VisualStudio","followers_url":"https://api.github.com/users/SonarSource-VisualStudio/followers","following_url":"https://api.github.com/users/SonarSource-VisualStudio/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource-VisualStudio/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource-VisualStudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource-VisualStudio/subscriptions","organizations_url":"https://api.github.com/users/SonarSource-VisualStudio/orgs","repos_url":"https://api.github.com/users/SonarSource-VisualStudio/repos","events_url":"https://api.github.com/users/SonarSource-VisualStudio/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource-VisualStudio/received_events","type":"Organization","site_admin":false},"repo":{"id":50510037,"name":"sonarlint-visualstudio","full_name":"SonarSource-VisualStudio/sonarlint-visualstudio","owner":{"login":"SonarSource-VisualStudio","id":16780579,"avatar_url":"https://avatars.githubusercontent.com/u/16780579?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource-VisualStudio","html_url":"https://github.com/SonarSource-VisualStudio","followers_url":"https://api.github.com/users/SonarSource-VisualStudio/followers","following_url":"https://api.github.com/users/SonarSource-VisualStudio/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource-VisualStudio/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource-VisualStudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource-VisualStudio/subscriptions","organizations_url":"https://api.github.com/users/SonarSource-VisualStudio/orgs","repos_url":"https://api.github.com/users/SonarSource-VisualStudio/repos","events_url":"https://api.github.com/users/SonarSource-VisualStudio/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource-VisualStudio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio","description":"","fork":false,"url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio","forks_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/forks","keys_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/teams","hooks_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/hooks","issue_events_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/events","assignees_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/tags","blobs_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/languages","stargazers_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/stargazers","contributors_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/contributors","subscribers_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/subscribers","subscription_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/subscription","commits_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/merges","archive_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/downloads","issues_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/releases{/id}","deployments_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/deployments","created_at":"2016-01-27T13:44:12Z","updated_at":"2016-04-05T16:51:17Z","pushed_at":"2016-04-08T14:53:20Z","git_url":"git://github.com/SonarSource-VisualStudio/sonarlint-visualstudio.git","ssh_url":"git@github.com:SonarSource-VisualStudio/sonarlint-visualstudio.git","clone_url":"https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio.git","svn_url":"https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio","homepage":null,"size":1464,"stargazers_count":5,"watchers_count":5,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":5,"default_branch":"master"}},"base":{"label":"SonarSource-VisualStudio:master","ref":"master","sha":"bc68c5ab15c3ed70cfa4c0170bb3a2891a003e47","user":{"login":"SonarSource-VisualStudio","id":16780579,"avatar_url":"https://avatars.githubusercontent.com/u/16780579?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource-VisualStudio","html_url":"https://github.com/SonarSource-VisualStudio","followers_url":"https://api.github.com/users/SonarSource-VisualStudio/followers","following_url":"https://api.github.com/users/SonarSource-VisualStudio/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource-VisualStudio/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource-VisualStudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource-VisualStudio/subscriptions","organizations_url":"https://api.github.com/users/SonarSource-VisualStudio/orgs","repos_url":"https://api.github.com/users/SonarSource-VisualStudio/repos","events_url":"https://api.github.com/users/SonarSource-VisualStudio/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource-VisualStudio/received_events","type":"Organization","site_admin":false},"repo":{"id":50510037,"name":"sonarlint-visualstudio","full_name":"SonarSource-VisualStudio/sonarlint-visualstudio","owner":{"login":"SonarSource-VisualStudio","id":16780579,"avatar_url":"https://avatars.githubusercontent.com/u/16780579?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource-VisualStudio","html_url":"https://github.com/SonarSource-VisualStudio","followers_url":"https://api.github.com/users/SonarSource-VisualStudio/followers","following_url":"https://api.github.com/users/SonarSource-VisualStudio/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource-VisualStudio/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource-VisualStudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource-VisualStudio/subscriptions","organizations_url":"https://api.github.com/users/SonarSource-VisualStudio/orgs","repos_url":"https://api.github.com/users/SonarSource-VisualStudio/repos","events_url":"https://api.github.com/users/SonarSource-VisualStudio/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource-VisualStudio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio","description":"","fork":false,"url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio","forks_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/forks","keys_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/teams","hooks_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/hooks","issue_events_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/events","assignees_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/tags","blobs_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/languages","stargazers_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/stargazers","contributors_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/contributors","subscribers_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/subscribers","subscription_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/subscription","commits_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/merges","archive_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/downloads","issues_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/releases{/id}","deployments_url":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/deployments","created_at":"2016-01-27T13:44:12Z","updated_at":"2016-04-05T16:51:17Z","pushed_at":"2016-04-08T14:53:20Z","git_url":"git://github.com/SonarSource-VisualStudio/sonarlint-visualstudio.git","ssh_url":"git@github.com:SonarSource-VisualStudio/sonarlint-visualstudio.git","clone_url":"https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio.git","svn_url":"https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio","homepage":null,"size":1464,"stargazers_count":5,"watchers_count":5,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/pulls/54"},"html":{"href":"https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/pull/54"},"issue":{"href":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/issues/54"},"comments":{"href":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/SonarSource-VisualStudio/sonarlint-visualstudio/statuses/0acab8019d1dbcc81058d0077624b6938cc764e8"}}}}