{"action":"created","comment":{"url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/pulls/comments/66049332","id":66049332,"diff_hunk":"@@ -0,0 +1,71 @@\n+package com.github.bogdanlivadariu.reporting.junit.builder;\n+\n+import static org.junit.Assert.assertEquals;\n+\n+import java.io.FileNotFoundException;\n+import java.util.ArrayList;\n+import java.util.List;\n+\n+import javax.xml.bind.JAXBException;\n+\n+import org.junit.Before;\n+import org.junit.Test;\n+\n+public class AllJunitReportsTest {\n+    List<String> xmlReports;\n+\n+    String reportPath = this.getClass().getClassLoader().getResource(\"valid-report-2.xml\").getPath();","path":"junit-reporting-handlebars/src/test/java/com/github/bogdanlivadariu/reporting/junit/builder/AllJunitReportsTestWithSuites.java","position":17,"original_position":17,"commit_id":"6ad05bd3cd38936005374bba31ec5dbf2398f58e","original_commit_id":"6ad05bd3cd38936005374bba31ec5dbf2398f58e","user":{"login":"BogdanLivadariu","id":8307102,"avatar_url":"https://avatars.githubusercontent.com/u/8307102?v=3","gravatar_id":"","url":"https://api.github.com/users/BogdanLivadariu","html_url":"https://github.com/BogdanLivadariu","followers_url":"https://api.github.com/users/BogdanLivadariu/followers","following_url":"https://api.github.com/users/BogdanLivadariu/following{/other_user}","gists_url":"https://api.github.com/users/BogdanLivadariu/gists{/gist_id}","starred_url":"https://api.github.com/users/BogdanLivadariu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BogdanLivadariu/subscriptions","organizations_url":"https://api.github.com/users/BogdanLivadariu/orgs","repos_url":"https://api.github.com/users/BogdanLivadariu/repos","events_url":"https://api.github.com/users/BogdanLivadariu/events{/privacy}","received_events_url":"https://api.github.com/users/BogdanLivadariu/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Use explicit scoping instead of the default package private level](https://www.codacy.com/app/bogdan-livadariu/bootstraped-multi-test-results-report/file/2702641254/issues/source?bid=3293946&fileBranchId=3342323#l17)","created_at":"2016-06-07T10:57:10Z","updated_at":"2016-06-07T10:57:10Z","html_url":"https://github.com/web-innovate/bootstraped-multi-test-results-report/pull/38#discussion_r66049332","pull_request_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/pulls/comments/66049332"},"html":{"href":"https://github.com/web-innovate/bootstraped-multi-test-results-report/pull/38#discussion_r66049332"},"pull_request":{"href":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/pulls/38","id":72848056,"html_url":"https://github.com/web-innovate/bootstraped-multi-test-results-report/pull/38","diff_url":"https://github.com/web-innovate/bootstraped-multi-test-results-report/pull/38.diff","patch_url":"https://github.com/web-innovate/bootstraped-multi-test-results-report/pull/38.patch","issue_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/issues/38","number":38,"state":"open","locked":false,"title":"junit: compute missing attributes when missing","user":{"login":"bagage","id":1451988,"avatar_url":"https://avatars.githubusercontent.com/u/1451988?v=3","gravatar_id":"","url":"https://api.github.com/users/bagage","html_url":"https://github.com/bagage","followers_url":"https://api.github.com/users/bagage/followers","following_url":"https://api.github.com/users/bagage/following{/other_user}","gists_url":"https://api.github.com/users/bagage/gists{/gist_id}","starred_url":"https://api.github.com/users/bagage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bagage/subscriptions","organizations_url":"https://api.github.com/users/bagage/orgs","repos_url":"https://api.github.com/users/bagage/repos","events_url":"https://api.github.com/users/bagage/events{/privacy}","received_events_url":"https://api.github.com/users/bagage/received_events","type":"User","site_admin":false},"body":"`total time, failures & errors count`, etc. are postProcessed if not set in XML.\r\nInstead of returning `0` default value, we may compute them directly from the list of test cases.\r\n\r\nIn my case, I am using an old&dead C unit-test framework that write the junit XML report sequentially while executing tests, so it does not know how much failures will there be in advance; it's a pain to write file in C, so we do not modify it afterward. \r\nHowever, the framework fills `testcase` properties properly (including duration, failures, etc.), so these informations can be rised up to the `testsuite` afterward (which is the aim of this PR). ","created_at":"2016-06-07T10:07:16Z","updated_at":"2016-06-07T10:57:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d0bd6a5002b57e6b9a090a2c26fd14c2ca403028","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/pulls/38/commits","review_comments_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/pulls/38/comments","review_comment_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/pulls/comments{/number}","comments_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/issues/38/comments","statuses_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/statuses/6ad05bd3cd38936005374bba31ec5dbf2398f58e","head":{"label":"bagage:master","ref":"master","sha":"6ad05bd3cd38936005374bba31ec5dbf2398f58e","user":{"login":"bagage","id":1451988,"avatar_url":"https://avatars.githubusercontent.com/u/1451988?v=3","gravatar_id":"","url":"https://api.github.com/users/bagage","html_url":"https://github.com/bagage","followers_url":"https://api.github.com/users/bagage/followers","following_url":"https://api.github.com/users/bagage/following{/other_user}","gists_url":"https://api.github.com/users/bagage/gists{/gist_id}","starred_url":"https://api.github.com/users/bagage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bagage/subscriptions","organizations_url":"https://api.github.com/users/bagage/orgs","repos_url":"https://api.github.com/users/bagage/repos","events_url":"https://api.github.com/users/bagage/events{/privacy}","received_events_url":"https://api.github.com/users/bagage/received_events","type":"User","site_admin":false},"repo":{"id":59467753,"name":"bootstraped-multi-test-results-report","full_name":"bagage/bootstraped-multi-test-results-report","owner":{"login":"bagage","id":1451988,"avatar_url":"https://avatars.githubusercontent.com/u/1451988?v=3","gravatar_id":"","url":"https://api.github.com/users/bagage","html_url":"https://github.com/bagage","followers_url":"https://api.github.com/users/bagage/followers","following_url":"https://api.github.com/users/bagage/following{/other_user}","gists_url":"https://api.github.com/users/bagage/gists{/gist_id}","starred_url":"https://api.github.com/users/bagage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bagage/subscriptions","organizations_url":"https://api.github.com/users/bagage/orgs","repos_url":"https://api.github.com/users/bagage/repos","events_url":"https://api.github.com/users/bagage/events{/privacy}","received_events_url":"https://api.github.com/users/bagage/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bagage/bootstraped-multi-test-results-report","description":"The project offers the possibility to build test reports using a bootstrap components, offering rendering support on a wide range of devices.","fork":true,"url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report","forks_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/forks","keys_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/teams","hooks_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/hooks","issue_events_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/issues/events{/number}","events_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/events","assignees_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/assignees{/user}","branches_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/branches{/branch}","tags_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/tags","blobs_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/git/refs{/sha}","trees_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/statuses/{sha}","languages_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/languages","stargazers_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/stargazers","contributors_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/contributors","subscribers_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/subscribers","subscription_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/subscription","commits_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/commits{/sha}","git_commits_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/git/commits{/sha}","comments_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/comments{/number}","issue_comment_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/issues/comments{/number}","contents_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/contents/{+path}","compare_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/merges","archive_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/downloads","issues_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/issues{/number}","pulls_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/pulls{/number}","milestones_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/milestones{/number}","notifications_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/labels{/name}","releases_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/releases{/id}","deployments_url":"https://api.github.com/repos/bagage/bootstraped-multi-test-results-report/deployments","created_at":"2016-05-23T09:00:07Z","updated_at":"2016-05-23T09:00:08Z","pushed_at":"2016-06-07T10:55:40Z","git_url":"git://github.com/bagage/bootstraped-multi-test-results-report.git","ssh_url":"git@github.com:bagage/bootstraped-multi-test-results-report.git","clone_url":"https://github.com/bagage/bootstraped-multi-test-results-report.git","svn_url":"https://github.com/bagage/bootstraped-multi-test-results-report","homepage":"http://web-innovate.github.io/bootstraped-multi-test-results-report/","size":895,"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":"web-innovate:master","ref":"master","sha":"336bbe4ef7656a0b1520bff0906862c090174a91","user":{"login":"web-innovate","id":16544580,"avatar_url":"https://avatars.githubusercontent.com/u/16544580?v=3","gravatar_id":"","url":"https://api.github.com/users/web-innovate","html_url":"https://github.com/web-innovate","followers_url":"https://api.github.com/users/web-innovate/followers","following_url":"https://api.github.com/users/web-innovate/following{/other_user}","gists_url":"https://api.github.com/users/web-innovate/gists{/gist_id}","starred_url":"https://api.github.com/users/web-innovate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-innovate/subscriptions","organizations_url":"https://api.github.com/users/web-innovate/orgs","repos_url":"https://api.github.com/users/web-innovate/repos","events_url":"https://api.github.com/users/web-innovate/events{/privacy}","received_events_url":"https://api.github.com/users/web-innovate/received_events","type":"Organization","site_admin":false},"repo":{"id":36819131,"name":"bootstraped-multi-test-results-report","full_name":"web-innovate/bootstraped-multi-test-results-report","owner":{"login":"web-innovate","id":16544580,"avatar_url":"https://avatars.githubusercontent.com/u/16544580?v=3","gravatar_id":"","url":"https://api.github.com/users/web-innovate","html_url":"https://github.com/web-innovate","followers_url":"https://api.github.com/users/web-innovate/followers","following_url":"https://api.github.com/users/web-innovate/following{/other_user}","gists_url":"https://api.github.com/users/web-innovate/gists{/gist_id}","starred_url":"https://api.github.com/users/web-innovate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-innovate/subscriptions","organizations_url":"https://api.github.com/users/web-innovate/orgs","repos_url":"https://api.github.com/users/web-innovate/repos","events_url":"https://api.github.com/users/web-innovate/events{/privacy}","received_events_url":"https://api.github.com/users/web-innovate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/web-innovate/bootstraped-multi-test-results-report","description":"The project offers the possibility to build test reports using a bootstrap components, offering rendering support on a wide range of devices.","fork":false,"url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report","forks_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/forks","keys_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/keys{/key_id}","collaborators_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/teams","hooks_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/hooks","issue_events_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/issues/events{/number}","events_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/events","assignees_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/assignees{/user}","branches_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/branches{/branch}","tags_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/tags","blobs_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/git/refs{/sha}","trees_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/git/trees{/sha}","statuses_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/statuses/{sha}","languages_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/languages","stargazers_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/stargazers","contributors_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/contributors","subscribers_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/subscribers","subscription_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/subscription","commits_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/commits{/sha}","git_commits_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/git/commits{/sha}","comments_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/comments{/number}","issue_comment_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/issues/comments{/number}","contents_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/contents/{+path}","compare_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/compare/{base}...{head}","merges_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/merges","archive_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/downloads","issues_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/issues{/number}","pulls_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/pulls{/number}","milestones_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/milestones{/number}","notifications_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/labels{/name}","releases_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/releases{/id}","deployments_url":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/deployments","created_at":"2015-06-03T17:25:20Z","updated_at":"2016-05-27T16:56:13Z","pushed_at":"2016-06-07T10:55:41Z","git_url":"git://github.com/web-innovate/bootstraped-multi-test-results-report.git","ssh_url":"git@github.com:web-innovate/bootstraped-multi-test-results-report.git","clone_url":"https://github.com/web-innovate/bootstraped-multi-test-results-report.git","svn_url":"https://github.com/web-innovate/bootstraped-multi-test-results-report","homepage":"http://web-innovate.github.io/bootstraped-multi-test-results-report/","size":895,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":6,"forks":8,"open_issues":6,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/pulls/38"},"html":{"href":"https://github.com/web-innovate/bootstraped-multi-test-results-report/pull/38"},"issue":{"href":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/issues/38"},"comments":{"href":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/web-innovate/bootstraped-multi-test-results-report/statuses/6ad05bd3cd38936005374bba31ec5dbf2398f58e"}}}}
{"actor":{"display_login":"BogdanLivadariu"}}