{"action":"created","comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/26357496","id":26357496,"diff_hunk":"@@ -0,0 +1,102 @@\n+/*\n+ * COPYRIGHT AND PERMISSION NOTICE\n+ *\n+ * Copyright (c) 2003 Embedded Unit Project\n+ *\n+ * All rights reserved.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining\n+ * a copy of this software and associated documentation files (the\n+ * \"Software\"), to deal in the Software without restriction, including\n+ * without limitation the rights to use, copy, modify, merge, publish,\n+ * distribute, and/or sell copies of the Software, and to permit persons\n+ * to whom the Software is furnished to do so, provided that the above\n+ * copyright notice(s) and this permission notice appear in all copies\n+ * of the Software and that both the above copyright notice(s) and this\n+ * permission notice appear in supporting documentation.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\n+ * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR\n+ * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY\n+ * SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER\n+ * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF\n+ * CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN\n+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n+ *\n+ * Except as contained in this notice, the name of a copyright holder\n+ * shall not be used in advertising or otherwise to promote the sale,\n+ * use or other dealings in this Software without prior written\n+ * authorization of the copyright holder.\n+ *\n+ * $Id: ColorOutputter.c,v 1.4 2003/09/06 13:28:27 arms22 Exp $\n+ */\n+#include <stdio.h>\n+#include \"ColorOutputter.h\"\n+\n+static void ColorOutputter_printHeader(OutputterRef self)\n+{\n+    (void) self;\n+}\n+\n+static void ColorOutputter_printStartTest(OutputterRef self, TestRef test)\n+{\n+    (void) self;\n+    (void) test;\n+}\n+\n+static void ColorOutputter_printEndTest(OutputterRef self, TestRef test)\n+{\n+    (void) self;\n+    (void) test;\n+}\n+\n+static void ColorOutputter_printSuccessful(OutputterRef self, TestRef test, int runCount)\n+{\n+    (void) self;\n+    (void) test;\n+    (void) runCount;\n+}\n+\n+static void ColorOutputter_printFailure(OutputterRef self, TestRef test, char *msg, int line,\n+        char *file, int runCount)\n+{\n+    (void) self;\n+    (void) test;\n+    (void) msg;\n+    (void) line;\n+    (void) file;\n+    (void) runCount;","path":"sys/embunit/ColorOutputter.c","position":70,"original_position":70,"commit_id":"c5e61d44825e6dfeafcd5e815cc52d74ce8507d8","original_commit_id":"c5e61d44825e6dfeafcd5e815cc52d74ce8507d8","user":{"login":"authmillenon","id":675644,"avatar_url":"https://avatars.githubusercontent.com/u/675644?v=3","gravatar_id":"","url":"https://api.github.com/users/authmillenon","html_url":"https://github.com/authmillenon","followers_url":"https://api.github.com/users/authmillenon/followers","following_url":"https://api.github.com/users/authmillenon/following{/other_user}","gists_url":"https://api.github.com/users/authmillenon/gists{/gist_id}","starred_url":"https://api.github.com/users/authmillenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/authmillenon/subscriptions","organizations_url":"https://api.github.com/users/authmillenon/orgs","repos_url":"https://api.github.com/users/authmillenon/repos","events_url":"https://api.github.com/users/authmillenon/events{/privacy}","received_events_url":"https://api.github.com/users/authmillenon/received_events","type":"User","site_admin":false},"body":"The standard outputter prints the test case and the line of code on failure. Also the failed assertion. ","created_at":"2015-03-13T00:34:40Z","updated_at":"2015-03-13T00:34:40Z","html_url":"https://github.com/RIOT-OS/RIOT/pull/2556#discussion_r26357496","pull_request_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2556","_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/26357496"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/2556#discussion_r26357496"},"pull_request":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2556"}}},"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2556","id":30708848,"html_url":"https://github.com/RIOT-OS/RIOT/pull/2556","diff_url":"https://github.com/RIOT-OS/RIOT/pull/2556.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/2556.patch","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2556","number":2556,"state":"open","locked":false,"title":"Added color to the output of the embUnit \"standard\" and of the \"text\" outputters","user":{"login":"noshky","id":6383129,"avatar_url":"https://avatars.githubusercontent.com/u/6383129?v=3","gravatar_id":"","url":"https://api.github.com/users/noshky","html_url":"https://github.com/noshky","followers_url":"https://api.github.com/users/noshky/followers","following_url":"https://api.github.com/users/noshky/following{/other_user}","gists_url":"https://api.github.com/users/noshky/gists{/gist_id}","starred_url":"https://api.github.com/users/noshky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noshky/subscriptions","organizations_url":"https://api.github.com/users/noshky/orgs","repos_url":"https://api.github.com/users/noshky/repos","events_url":"https://api.github.com/users/noshky/events{/privacy}","received_events_url":"https://api.github.com/users/noshky/received_events","type":"User","site_admin":false},"body":"This change prints succesful test runs in GREEN, and failed runs in RED.\r\n\r\nThe failed message was slightly adjusted to a more meaningful message:\r\nBefore: run 10 failures 3\r\nNow: FAILED (3 of 10 failed)\r\n\r\n(It has to be checked that no external tools rely on this output message. If that would be the case, this change should be discarded.)","created_at":"2015-03-07T20:31:13Z","updated_at":"2015-03-13T00:34:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"578945df6c6eb12d9e263115db8aa98b42cd8985","assignee":{"login":"authmillenon","id":675644,"avatar_url":"https://avatars.githubusercontent.com/u/675644?v=3","gravatar_id":"","url":"https://api.github.com/users/authmillenon","html_url":"https://github.com/authmillenon","followers_url":"https://api.github.com/users/authmillenon/followers","following_url":"https://api.github.com/users/authmillenon/following{/other_user}","gists_url":"https://api.github.com/users/authmillenon/gists{/gist_id}","starred_url":"https://api.github.com/users/authmillenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/authmillenon/subscriptions","organizations_url":"https://api.github.com/users/authmillenon/orgs","repos_url":"https://api.github.com/users/authmillenon/repos","events_url":"https://api.github.com/users/authmillenon/events{/privacy}","received_events_url":"https://api.github.com/users/authmillenon/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2556/commits","review_comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2556/comments","review_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2556/comments","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/c5e61d44825e6dfeafcd5e815cc52d74ce8507d8","head":{"label":"noshky:unittest-color-output","ref":"unittest-color-output","sha":"c5e61d44825e6dfeafcd5e815cc52d74ce8507d8","user":{"login":"noshky","id":6383129,"avatar_url":"https://avatars.githubusercontent.com/u/6383129?v=3","gravatar_id":"","url":"https://api.github.com/users/noshky","html_url":"https://github.com/noshky","followers_url":"https://api.github.com/users/noshky/followers","following_url":"https://api.github.com/users/noshky/following{/other_user}","gists_url":"https://api.github.com/users/noshky/gists{/gist_id}","starred_url":"https://api.github.com/users/noshky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noshky/subscriptions","organizations_url":"https://api.github.com/users/noshky/orgs","repos_url":"https://api.github.com/users/noshky/repos","events_url":"https://api.github.com/users/noshky/events{/privacy}","received_events_url":"https://api.github.com/users/noshky/received_events","type":"User","site_admin":false},"repo":{"id":31427278,"name":"RIOT","full_name":"noshky/RIOT","owner":{"login":"noshky","id":6383129,"avatar_url":"https://avatars.githubusercontent.com/u/6383129?v=3","gravatar_id":"","url":"https://api.github.com/users/noshky","html_url":"https://github.com/noshky","followers_url":"https://api.github.com/users/noshky/followers","following_url":"https://api.github.com/users/noshky/following{/other_user}","gists_url":"https://api.github.com/users/noshky/gists{/gist_id}","starred_url":"https://api.github.com/users/noshky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noshky/subscriptions","organizations_url":"https://api.github.com/users/noshky/orgs","repos_url":"https://api.github.com/users/noshky/repos","events_url":"https://api.github.com/users/noshky/events{/privacy}","received_events_url":"https://api.github.com/users/noshky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/noshky/RIOT","description":"RIOT -  The friendly OS for IoT","fork":true,"url":"https://api.github.com/repos/noshky/RIOT","forks_url":"https://api.github.com/repos/noshky/RIOT/forks","keys_url":"https://api.github.com/repos/noshky/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noshky/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noshky/RIOT/teams","hooks_url":"https://api.github.com/repos/noshky/RIOT/hooks","issue_events_url":"https://api.github.com/repos/noshky/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/noshky/RIOT/events","assignees_url":"https://api.github.com/repos/noshky/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/noshky/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/noshky/RIOT/tags","blobs_url":"https://api.github.com/repos/noshky/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noshky/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noshky/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/noshky/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noshky/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/noshky/RIOT/languages","stargazers_url":"https://api.github.com/repos/noshky/RIOT/stargazers","contributors_url":"https://api.github.com/repos/noshky/RIOT/contributors","subscribers_url":"https://api.github.com/repos/noshky/RIOT/subscribers","subscription_url":"https://api.github.com/repos/noshky/RIOT/subscription","commits_url":"https://api.github.com/repos/noshky/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/noshky/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/noshky/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/noshky/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/noshky/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/noshky/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noshky/RIOT/merges","archive_url":"https://api.github.com/repos/noshky/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noshky/RIOT/downloads","issues_url":"https://api.github.com/repos/noshky/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/noshky/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/noshky/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/noshky/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noshky/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/noshky/RIOT/releases{/id}","created_at":"2015-02-27T16:04:55Z","updated_at":"2015-02-27T16:05:03Z","pushed_at":"2015-03-13T00:20:32Z","git_url":"git://github.com/noshky/RIOT.git","ssh_url":"git@github.com:noshky/RIOT.git","clone_url":"https://github.com/noshky/RIOT.git","svn_url":"https://github.com/noshky/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":14406,"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":"RIOT-OS:master","ref":"master","sha":"d67d9837732aace76a795f4cbe319c8bfff50761","user":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"repo":{"id":7370241,"name":"RIOT","full_name":"RIOT-OS/RIOT","owner":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RIOT-OS/RIOT","description":"RIOT -  The friendly OS for IoT","fork":false,"url":"https://api.github.com/repos/RIOT-OS/RIOT","forks_url":"https://api.github.com/repos/RIOT-OS/RIOT/forks","keys_url":"https://api.github.com/repos/RIOT-OS/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RIOT-OS/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RIOT-OS/RIOT/teams","hooks_url":"https://api.github.com/repos/RIOT-OS/RIOT/hooks","issue_events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/events","assignees_url":"https://api.github.com/repos/RIOT-OS/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/RIOT-OS/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/tags","blobs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/RIOT-OS/RIOT/languages","stargazers_url":"https://api.github.com/repos/RIOT-OS/RIOT/stargazers","contributors_url":"https://api.github.com/repos/RIOT-OS/RIOT/contributors","subscribers_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscribers","subscription_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscription","commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/RIOT-OS/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/RIOT-OS/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RIOT-OS/RIOT/merges","archive_url":"https://api.github.com/repos/RIOT-OS/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RIOT-OS/RIOT/downloads","issues_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/RIOT-OS/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/RIOT-OS/RIOT/releases{/id}","created_at":"2012-12-29T20:38:40Z","updated_at":"2015-03-12T20:09:50Z","pushed_at":"2015-03-12T20:09:49Z","git_url":"git://github.com/RIOT-OS/RIOT.git","ssh_url":"git@github.com:RIOT-OS/RIOT.git","clone_url":"https://github.com/RIOT-OS/RIOT.git","svn_url":"https://github.com/RIOT-OS/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":87154,"stargazers_count":286,"watchers_count":286,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":232,"mirror_url":null,"open_issues_count":291,"forks":232,"open_issues":291,"watchers":286,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2556"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/2556"},"issue":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2556"},"comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2556/comments"},"review_comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2556/comments"},"review_comment":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2556/commits"},"statuses":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/c5e61d44825e6dfeafcd5e815cc52d74ce8507d8"}}}}