{"action":"created","comment":{"url":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/comments/87426961","pull_request_review_id":8040490,"id":87426961,"diff_hunk":"@@ -0,0 +1,58 @@\n+package org.glucosio.android.tools;\r\n+\r\n+import org.junit.Test;\r\n+import org.mockito.Mock;\r\n+\r\n+import static org.assertj.core.api.Assertions.assertThat;\r\n+\r\n+public class GlucosioConverterTest {\r\n+    @Test\r\n+    public void ShouldRoundToFloor_WhenLowerValueOfExactPointIsGiven(){\r\n+        assertThat(GlucosioConverter.round(10.123, 2)).isEqualTo(10.12);\r\n+    }\r\n+\r\n+    @Test\r\n+    public void ShouldRoundToCeil_WhenHigherValueOfExactPointIsGiven(){\r","path":"app/src/test/java/org/glucosio/android/tools/GlucosioConverterTest.java","position":15,"original_position":15,"commit_id":"4651b81fded78d6cf554463d08cc8613a30be1ae","original_commit_id":"4651b81fded78d6cf554463d08cc8613a30be1ae","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Method names should not start with capital letters](https://www.codacy.com/app/eugenemartynov/glucosio-android/file/4417640826/issues/source?bid=3462931&fileBranchId=3898415#l15)","created_at":"2016-11-10T16:11:15Z","updated_at":"2016-11-10T16:11:15Z","html_url":"https://github.com/Glucosio/glucosio-android/pull/338#discussion_r87426961","pull_request_url":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/338","_links":{"self":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/comments/87426961"},"html":{"href":"https://github.com/Glucosio/glucosio-android/pull/338#discussion_r87426961"},"pull_request":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/338"}}},"pull_request":{"url":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/338","id":93171374,"html_url":"https://github.com/Glucosio/glucosio-android/pull/338","diff_url":"https://github.com/Glucosio/glucosio-android/pull/338.diff","patch_url":"https://github.com/Glucosio/glucosio-android/pull/338.patch","issue_url":"https://api.github.com/repos/Glucosio/glucosio-android/issues/338","number":338,"state":"open","locked":false,"title":"Add fully testcase of GlucosioConverter","user":{"login":"raacker","id":12020398,"avatar_url":"https://avatars.githubusercontent.com/u/12020398?v=3","gravatar_id":"","url":"https://api.github.com/users/raacker","html_url":"https://github.com/raacker","followers_url":"https://api.github.com/users/raacker/followers","following_url":"https://api.github.com/users/raacker/following{/other_user}","gists_url":"https://api.github.com/users/raacker/gists{/gist_id}","starred_url":"https://api.github.com/users/raacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raacker/subscriptions","organizations_url":"https://api.github.com/users/raacker/orgs","repos_url":"https://api.github.com/users/raacker/repos","events_url":"https://api.github.com/users/raacker/events{/privacy}","received_events_url":"https://api.github.com/users/raacker/received_events","type":"User","site_admin":false},"body":"Now, GlucosioConverter changed to static method and it doesn't have testcases. \r\n\r\nI tried to calculate values with other formulas. So It would be correct.","created_at":"2016-11-10T15:26:50Z","updated_at":"2016-11-10T16:11:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e554b99664988403048eb3b60e01a299c492f43","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/338/commits","review_comments_url":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/338/comments","review_comment_url":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Glucosio/glucosio-android/issues/338/comments","statuses_url":"https://api.github.com/repos/Glucosio/glucosio-android/statuses/4651b81fded78d6cf554463d08cc8613a30be1ae","head":{"label":"raacker:converter_test","ref":"converter_test","sha":"4651b81fded78d6cf554463d08cc8613a30be1ae","user":{"login":"raacker","id":12020398,"avatar_url":"https://avatars.githubusercontent.com/u/12020398?v=3","gravatar_id":"","url":"https://api.github.com/users/raacker","html_url":"https://github.com/raacker","followers_url":"https://api.github.com/users/raacker/followers","following_url":"https://api.github.com/users/raacker/following{/other_user}","gists_url":"https://api.github.com/users/raacker/gists{/gist_id}","starred_url":"https://api.github.com/users/raacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raacker/subscriptions","organizations_url":"https://api.github.com/users/raacker/orgs","repos_url":"https://api.github.com/users/raacker/repos","events_url":"https://api.github.com/users/raacker/events{/privacy}","received_events_url":"https://api.github.com/users/raacker/received_events","type":"User","site_admin":false},"repo":{"id":70777611,"name":"glucosio-android","full_name":"raacker/glucosio-android","owner":{"login":"raacker","id":12020398,"avatar_url":"https://avatars.githubusercontent.com/u/12020398?v=3","gravatar_id":"","url":"https://api.github.com/users/raacker","html_url":"https://github.com/raacker","followers_url":"https://api.github.com/users/raacker/followers","following_url":"https://api.github.com/users/raacker/following{/other_user}","gists_url":"https://api.github.com/users/raacker/gists{/gist_id}","starred_url":"https://api.github.com/users/raacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raacker/subscriptions","organizations_url":"https://api.github.com/users/raacker/orgs","repos_url":"https://api.github.com/users/raacker/repos","events_url":"https://api.github.com/users/raacker/events{/privacy}","received_events_url":"https://api.github.com/users/raacker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raacker/glucosio-android","description":"Glucosio Android App","fork":true,"url":"https://api.github.com/repos/raacker/glucosio-android","forks_url":"https://api.github.com/repos/raacker/glucosio-android/forks","keys_url":"https://api.github.com/repos/raacker/glucosio-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raacker/glucosio-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raacker/glucosio-android/teams","hooks_url":"https://api.github.com/repos/raacker/glucosio-android/hooks","issue_events_url":"https://api.github.com/repos/raacker/glucosio-android/issues/events{/number}","events_url":"https://api.github.com/repos/raacker/glucosio-android/events","assignees_url":"https://api.github.com/repos/raacker/glucosio-android/assignees{/user}","branches_url":"https://api.github.com/repos/raacker/glucosio-android/branches{/branch}","tags_url":"https://api.github.com/repos/raacker/glucosio-android/tags","blobs_url":"https://api.github.com/repos/raacker/glucosio-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raacker/glucosio-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raacker/glucosio-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/raacker/glucosio-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raacker/glucosio-android/statuses/{sha}","languages_url":"https://api.github.com/repos/raacker/glucosio-android/languages","stargazers_url":"https://api.github.com/repos/raacker/glucosio-android/stargazers","contributors_url":"https://api.github.com/repos/raacker/glucosio-android/contributors","subscribers_url":"https://api.github.com/repos/raacker/glucosio-android/subscribers","subscription_url":"https://api.github.com/repos/raacker/glucosio-android/subscription","commits_url":"https://api.github.com/repos/raacker/glucosio-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/raacker/glucosio-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/raacker/glucosio-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/raacker/glucosio-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/raacker/glucosio-android/contents/{+path}","compare_url":"https://api.github.com/repos/raacker/glucosio-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raacker/glucosio-android/merges","archive_url":"https://api.github.com/repos/raacker/glucosio-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raacker/glucosio-android/downloads","issues_url":"https://api.github.com/repos/raacker/glucosio-android/issues{/number}","pulls_url":"https://api.github.com/repos/raacker/glucosio-android/pulls{/number}","milestones_url":"https://api.github.com/repos/raacker/glucosio-android/milestones{/number}","notifications_url":"https://api.github.com/repos/raacker/glucosio-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raacker/glucosio-android/labels{/name}","releases_url":"https://api.github.com/repos/raacker/glucosio-android/releases{/id}","deployments_url":"https://api.github.com/repos/raacker/glucosio-android/deployments","created_at":"2016-10-13T06:51:05Z","updated_at":"2016-10-13T06:51:10Z","pushed_at":"2016-11-10T15:51:54Z","git_url":"git://github.com/raacker/glucosio-android.git","ssh_url":"git@github.com:raacker/glucosio-android.git","clone_url":"https://github.com/raacker/glucosio-android.git","svn_url":"https://github.com/raacker/glucosio-android","homepage":"","size":21157,"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":"develop"}},"base":{"label":"Glucosio:develop","ref":"develop","sha":"8e8e5b679a7bd83cd6f4ae0bd2209e45b3115214","user":{"login":"Glucosio","id":12890580,"avatar_url":"https://avatars.githubusercontent.com/u/12890580?v=3","gravatar_id":"","url":"https://api.github.com/users/Glucosio","html_url":"https://github.com/Glucosio","followers_url":"https://api.github.com/users/Glucosio/followers","following_url":"https://api.github.com/users/Glucosio/following{/other_user}","gists_url":"https://api.github.com/users/Glucosio/gists{/gist_id}","starred_url":"https://api.github.com/users/Glucosio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glucosio/subscriptions","organizations_url":"https://api.github.com/users/Glucosio/orgs","repos_url":"https://api.github.com/users/Glucosio/repos","events_url":"https://api.github.com/users/Glucosio/events{/privacy}","received_events_url":"https://api.github.com/users/Glucosio/received_events","type":"Organization","site_admin":false},"repo":{"id":37447498,"name":"glucosio-android","full_name":"Glucosio/glucosio-android","owner":{"login":"Glucosio","id":12890580,"avatar_url":"https://avatars.githubusercontent.com/u/12890580?v=3","gravatar_id":"","url":"https://api.github.com/users/Glucosio","html_url":"https://github.com/Glucosio","followers_url":"https://api.github.com/users/Glucosio/followers","following_url":"https://api.github.com/users/Glucosio/following{/other_user}","gists_url":"https://api.github.com/users/Glucosio/gists{/gist_id}","starred_url":"https://api.github.com/users/Glucosio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glucosio/subscriptions","organizations_url":"https://api.github.com/users/Glucosio/orgs","repos_url":"https://api.github.com/users/Glucosio/repos","events_url":"https://api.github.com/users/Glucosio/events{/privacy}","received_events_url":"https://api.github.com/users/Glucosio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Glucosio/glucosio-android","description":"Glucosio Android App","fork":false,"url":"https://api.github.com/repos/Glucosio/glucosio-android","forks_url":"https://api.github.com/repos/Glucosio/glucosio-android/forks","keys_url":"https://api.github.com/repos/Glucosio/glucosio-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Glucosio/glucosio-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Glucosio/glucosio-android/teams","hooks_url":"https://api.github.com/repos/Glucosio/glucosio-android/hooks","issue_events_url":"https://api.github.com/repos/Glucosio/glucosio-android/issues/events{/number}","events_url":"https://api.github.com/repos/Glucosio/glucosio-android/events","assignees_url":"https://api.github.com/repos/Glucosio/glucosio-android/assignees{/user}","branches_url":"https://api.github.com/repos/Glucosio/glucosio-android/branches{/branch}","tags_url":"https://api.github.com/repos/Glucosio/glucosio-android/tags","blobs_url":"https://api.github.com/repos/Glucosio/glucosio-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Glucosio/glucosio-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Glucosio/glucosio-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/Glucosio/glucosio-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Glucosio/glucosio-android/statuses/{sha}","languages_url":"https://api.github.com/repos/Glucosio/glucosio-android/languages","stargazers_url":"https://api.github.com/repos/Glucosio/glucosio-android/stargazers","contributors_url":"https://api.github.com/repos/Glucosio/glucosio-android/contributors","subscribers_url":"https://api.github.com/repos/Glucosio/glucosio-android/subscribers","subscription_url":"https://api.github.com/repos/Glucosio/glucosio-android/subscription","commits_url":"https://api.github.com/repos/Glucosio/glucosio-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/Glucosio/glucosio-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/Glucosio/glucosio-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/Glucosio/glucosio-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/Glucosio/glucosio-android/contents/{+path}","compare_url":"https://api.github.com/repos/Glucosio/glucosio-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Glucosio/glucosio-android/merges","archive_url":"https://api.github.com/repos/Glucosio/glucosio-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Glucosio/glucosio-android/downloads","issues_url":"https://api.github.com/repos/Glucosio/glucosio-android/issues{/number}","pulls_url":"https://api.github.com/repos/Glucosio/glucosio-android/pulls{/number}","milestones_url":"https://api.github.com/repos/Glucosio/glucosio-android/milestones{/number}","notifications_url":"https://api.github.com/repos/Glucosio/glucosio-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Glucosio/glucosio-android/labels{/name}","releases_url":"https://api.github.com/repos/Glucosio/glucosio-android/releases{/id}","deployments_url":"https://api.github.com/repos/Glucosio/glucosio-android/deployments","created_at":"2015-06-15T06:28:27Z","updated_at":"2016-11-08T13:43:53Z","pushed_at":"2016-11-10T15:51:55Z","git_url":"git://github.com/Glucosio/glucosio-android.git","ssh_url":"git@github.com:Glucosio/glucosio-android.git","clone_url":"https://github.com/Glucosio/glucosio-android.git","svn_url":"https://github.com/Glucosio/glucosio-android","homepage":"","size":21735,"stargazers_count":203,"watchers_count":203,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":101,"mirror_url":null,"open_issues_count":51,"forks":101,"open_issues":51,"watchers":203,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/338"},"html":{"href":"https://github.com/Glucosio/glucosio-android/pull/338"},"issue":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/issues/338"},"comments":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/issues/338/comments"},"review_comments":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/338/comments"},"review_comment":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/338/commits"},"statuses":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/statuses/4651b81fded78d6cf554463d08cc8613a30be1ae"}}}}
{"actor":{"display_login":"codacy-bot"}}