{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/comments/41578706","id":41578706,"diff_hunk":"@@ -0,0 +1,66 @@\n+﻿namespace Microsoft.ApplicationInsights\n+{\n+    using System;\n+    using System.Collections.Generic;\n+    using System.ComponentModel;\n+#if CORE_PCL || NET45 || WINRT || NET46\n+    using System.Diagnostics.Tracing;\n+#endif\n+    using System.Linq;\n+    using System.Reflection;\n+    using Microsoft.ApplicationInsights.Channel;\n+    using Microsoft.ApplicationInsights.DataContracts;\n+    using Microsoft.ApplicationInsights.Extensibility;\n+    using Microsoft.ApplicationInsights.Extensibility.Implementation;\n+    using Microsoft.ApplicationInsights.Extensibility.Implementation.Platform;\n+    using Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing;\n+    using Microsoft.ApplicationInsights.TestFramework;\n+#if NET35 || NET40\n+    using Microsoft.Diagnostics.Tracing;\n+#endif\n+#if NET40 || NET45 || NET35 || NET46\n+    using Microsoft.VisualStudio.TestTools.UnitTesting;\n+#else\n+    using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;\n+#endif\n+    using Assert = Xunit.Assert;\n+    using AssertEx = Xunit.AssertEx;\n+\n+    [TestClass]\n+    public class TransmissionProcessorTest\n+    {\n+        \n+        #region Tests\n+        \n+        [TestMethod]\n+        public void TransmissionProcessorTranmitsAllDataWhenNoOtherProcessorPresent()\n+        {\n+            var sentTelemetry = new List<ITelemetry>();\n+            var channel = new StubTelemetryChannel { OnSend = t => sentTelemetry.Add(t) };\n+            var configuration = new TelemetryConfiguration { InstrumentationKey = \"Test key\", TelemetryChannel = channel };\n+\n+            var client = new TelemetryClient(configuration);\n+\n+            var transmissionProcessor = new TransmissionProcessor(configuration);\n+\n+            const int ItemsToGenerate = 100;\n+\n+            for (int i = 0; i < ItemsToGenerate; i++)\n+            {                \n+                transmissionProcessor.Process(new RequestTelemetry());\n+            }\n+\n+            Assert.Equal(ItemsToGenerate, sentTelemetry.Count);\n+        }\n+        \n+        #endregion\n+\n+        private TelemetryClient InitializeTelemetryClient(ICollection<ITelemetry> sentTelemetry)\n+        {","path":"Test/CoreSDK.Test/Shared/TransmissionProcessorTest.cs","position":59,"original_position":59,"commit_id":"8954e14ad293d410593611fcbe29c9dabd25c4a2","original_commit_id":"8954e14ad293d410593611fcbe29c9dabd25c4a2","user":{"login":"cijothomas","id":5232798,"avatar_url":"https://avatars.githubusercontent.com/u/5232798?v=3","gravatar_id":"","url":"https://api.github.com/users/cijothomas","html_url":"https://github.com/cijothomas","followers_url":"https://api.github.com/users/cijothomas/followers","following_url":"https://api.github.com/users/cijothomas/following{/other_user}","gists_url":"https://api.github.com/users/cijothomas/gists{/gist_id}","starred_url":"https://api.github.com/users/cijothomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cijothomas/subscriptions","organizations_url":"https://api.github.com/users/cijothomas/orgs","repos_url":"https://api.github.com/users/cijothomas/repos","events_url":"https://api.github.com/users/cijothomas/events{/privacy}","received_events_url":"https://api.github.com/users/cijothomas/received_events","type":"User","site_admin":false},"body":"nowhere - removed it now.","created_at":"2015-10-08T22:38:50Z","updated_at":"2015-10-08T22:38:50Z","html_url":"https://github.com/Microsoft/ApplicationInsights-dotnet/pull/59#discussion_r41578706","pull_request_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/59","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/comments/41578706"},"html":{"href":"https://github.com/Microsoft/ApplicationInsights-dotnet/pull/59#discussion_r41578706"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/59"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/59","id":47059426,"html_url":"https://github.com/Microsoft/ApplicationInsights-dotnet/pull/59","diff_url":"https://github.com/Microsoft/ApplicationInsights-dotnet/pull/59.diff","patch_url":"https://github.com/Microsoft/ApplicationInsights-dotnet/pull/59.patch","issue_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/59","number":59,"state":"open","locked":false,"title":"Cithomas/telemetryprocessors","user":{"login":"cijothomas","id":5232798,"avatar_url":"https://avatars.githubusercontent.com/u/5232798?v=3","gravatar_id":"","url":"https://api.github.com/users/cijothomas","html_url":"https://github.com/cijothomas","followers_url":"https://api.github.com/users/cijothomas/followers","following_url":"https://api.github.com/users/cijothomas/following{/other_user}","gists_url":"https://api.github.com/users/cijothomas/gists{/gist_id}","starred_url":"https://api.github.com/users/cijothomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cijothomas/subscriptions","organizations_url":"https://api.github.com/users/cijothomas/orgs","repos_url":"https://api.github.com/users/cijothomas/repos","events_url":"https://api.github.com/users/cijothomas/events{/privacy}","received_events_url":"https://api.github.com/users/cijothomas/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-07T17:50:04Z","updated_at":"2015-10-08T22:38:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26d08cd3fbde1f8ffd92b5521e01dc749ef74af6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/59/commits","review_comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/59/comments","review_comment_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/59/comments","statuses_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/statuses/8954e14ad293d410593611fcbe29c9dabd25c4a2","head":{"label":"cijothomas:cithomas/telemetryprocessors","ref":"cithomas/telemetryprocessors","sha":"8954e14ad293d410593611fcbe29c9dabd25c4a2","user":{"login":"cijothomas","id":5232798,"avatar_url":"https://avatars.githubusercontent.com/u/5232798?v=3","gravatar_id":"","url":"https://api.github.com/users/cijothomas","html_url":"https://github.com/cijothomas","followers_url":"https://api.github.com/users/cijothomas/followers","following_url":"https://api.github.com/users/cijothomas/following{/other_user}","gists_url":"https://api.github.com/users/cijothomas/gists{/gist_id}","starred_url":"https://api.github.com/users/cijothomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cijothomas/subscriptions","organizations_url":"https://api.github.com/users/cijothomas/orgs","repos_url":"https://api.github.com/users/cijothomas/repos","events_url":"https://api.github.com/users/cijothomas/events{/privacy}","received_events_url":"https://api.github.com/users/cijothomas/received_events","type":"User","site_admin":false},"repo":{"id":43337539,"name":"ApplicationInsights-dotnet","full_name":"cijothomas/ApplicationInsights-dotnet","owner":{"login":"cijothomas","id":5232798,"avatar_url":"https://avatars.githubusercontent.com/u/5232798?v=3","gravatar_id":"","url":"https://api.github.com/users/cijothomas","html_url":"https://github.com/cijothomas","followers_url":"https://api.github.com/users/cijothomas/followers","following_url":"https://api.github.com/users/cijothomas/following{/other_user}","gists_url":"https://api.github.com/users/cijothomas/gists{/gist_id}","starred_url":"https://api.github.com/users/cijothomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cijothomas/subscriptions","organizations_url":"https://api.github.com/users/cijothomas/orgs","repos_url":"https://api.github.com/users/cijothomas/repos","events_url":"https://api.github.com/users/cijothomas/events{/privacy}","received_events_url":"https://api.github.com/users/cijothomas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cijothomas/ApplicationInsights-dotnet","description":"ApplicationInsights-dotnet","fork":true,"url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet","forks_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/forks","keys_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/teams","hooks_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/hooks","issue_events_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/issues/events{/number}","events_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/events","assignees_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/assignees{/user}","branches_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/branches{/branch}","tags_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/tags","blobs_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/statuses/{sha}","languages_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/languages","stargazers_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/stargazers","contributors_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/contributors","subscribers_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/subscribers","subscription_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/subscription","commits_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/contents/{+path}","compare_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/merges","archive_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/downloads","issues_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/issues{/number}","pulls_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/pulls{/number}","milestones_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/milestones{/number}","notifications_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/labels{/name}","releases_url":"https://api.github.com/repos/cijothomas/ApplicationInsights-dotnet/releases{/id}","created_at":"2015-09-29T01:31:49Z","updated_at":"2015-09-29T01:31:51Z","pushed_at":"2015-10-07T20:10:14Z","git_url":"git://github.com/cijothomas/ApplicationInsights-dotnet.git","ssh_url":"git@github.com:cijothomas/ApplicationInsights-dotnet.git","clone_url":"https://github.com/cijothomas/ApplicationInsights-dotnet.git","svn_url":"https://github.com/cijothomas/ApplicationInsights-dotnet","homepage":null,"size":2678,"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":"Microsoft:develop","ref":"develop","sha":"215bb072317df7b536f635b62cf47c6610851105","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":37284654,"name":"ApplicationInsights-dotnet","full_name":"Microsoft/ApplicationInsights-dotnet","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/ApplicationInsights-dotnet","description":"ApplicationInsights-dotnet","fork":false,"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet","forks_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/forks","keys_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/teams","hooks_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/events","assignees_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/tags","blobs_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/languages","stargazers_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/subscription","commits_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/merges","archive_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/downloads","issues_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/releases{/id}","created_at":"2015-06-11T20:34:21Z","updated_at":"2015-10-08T07:35:25Z","pushed_at":"2015-10-07T22:00:17Z","git_url":"git://github.com/Microsoft/ApplicationInsights-dotnet.git","ssh_url":"git@github.com:Microsoft/ApplicationInsights-dotnet.git","clone_url":"https://github.com/Microsoft/ApplicationInsights-dotnet.git","svn_url":"https://github.com/Microsoft/ApplicationInsights-dotnet","homepage":null,"size":3318,"stargazers_count":16,"watchers_count":16,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":7,"forks":13,"open_issues":7,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/59"},"html":{"href":"https://github.com/Microsoft/ApplicationInsights-dotnet/pull/59"},"issue":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/59"},"comments":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/statuses/8954e14ad293d410593611fcbe29c9dabd25c4a2"}}}}