{"action":"created","comment":{"url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/pulls/comments/240617803","pull_request_review_id":183685830,"id":240617803,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDYxNzgwMw==","diff_hunk":"@@ -0,0 +1,155 @@\n+package com.sohu.cache.util;\n+\n+import com.sohu.cache.util.StringUtil;\n+import org.junit.Assert;\n+import org.junit.Test;\n+\n+public class StringUtilTest {\n+\n+  @Test\n+  public void convertToCamelCaseStringInputNotNullFalseOutputNotNull() {\n+    // Arrange\n+    final String inputString = \",\";\n+    final boolean firstCharacterUppercase = false;\n+    // Act\n+    final String retval = StringUtil.convertToCamelCaseString(inputString, firstCharacterUppercase);\n+    // Assert result\n+    Assert.assertEquals(\",\", retval);\n+  }\n+\n+  @Test\n+  public void convertToCamelCaseStringInputNotNullTrueOutputNotNull() {\n+    // Arrange\n+    final String inputString = \"\\u1020 \";\n+    final boolean firstCharacterUppercase = true;\n+    // Act\n+    final String retval = StringUtil.convertToCamelCaseString(inputString, firstCharacterUppercase);\n+    // Assert result\n+    Assert.assertEquals(\"\\u1020\", retval);\n+  }\n+","path":"cachecloud-open-web/src/test/java/com/sohu/cache/util/StringUtilTest.java","position":30,"original_position":30,"commit_id":"491998940bbdc7be851c6dcdc55930b60d9b6bf5","original_commit_id":"491998940bbdc7be851c6dcdc55930b60d9b6bf5","user":{"login":"paulkennethkent","id":2339925,"node_id":"MDQ6VXNlcjIzMzk5MjU=","avatar_url":"https://avatars3.githubusercontent.com/u/2339925?v=4","gravatar_id":"","url":"https://api.github.com/users/paulkennethkent","html_url":"https://github.com/paulkennethkent","followers_url":"https://api.github.com/users/paulkennethkent/followers","following_url":"https://api.github.com/users/paulkennethkent/following{/other_user}","gists_url":"https://api.github.com/users/paulkennethkent/gists{/gist_id}","starred_url":"https://api.github.com/users/paulkennethkent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulkennethkent/subscriptions","organizations_url":"https://api.github.com/users/paulkennethkent/orgs","repos_url":"https://api.github.com/users/paulkennethkent/repos","events_url":"https://api.github.com/users/paulkennethkent/events{/privacy}","received_events_url":"https://api.github.com/users/paulkennethkent/received_events","type":"User","site_admin":false},"body":"The tests above don't sit right with me. What are they are actually doing? Are they just showing a potential bug with their code? Can we encourage Diffblue Cover to give us better inputs?","created_at":"2018-12-11T13:53:59Z","updated_at":"2018-12-11T13:54:33Z","html_url":"https://github.com/Diffblue-benchmarks/cachecloud/pull/1#discussion_r240617803","pull_request_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/pulls/comments/240617803"},"html":{"href":"https://github.com/Diffblue-benchmarks/cachecloud/pull/1#discussion_r240617803"},"pull_request":{"href":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/pulls/1","id":236574067,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2NTc0MDY3","html_url":"https://github.com/Diffblue-benchmarks/cachecloud/pull/1","diff_url":"https://github.com/Diffblue-benchmarks/cachecloud/pull/1.diff","patch_url":"https://github.com/Diffblue-benchmarks/cachecloud/pull/1.patch","issue_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/issues/1","number":1,"state":"open","locked":false,"title":"Add unit tests for com.sohu.cache.util.StringUtilTest","user":{"login":"petersear","id":36772603,"node_id":"MDQ6VXNlcjM2NzcyNjAz","avatar_url":"https://avatars0.githubusercontent.com/u/36772603?v=4","gravatar_id":"","url":"https://api.github.com/users/petersear","html_url":"https://github.com/petersear","followers_url":"https://api.github.com/users/petersear/followers","following_url":"https://api.github.com/users/petersear/following{/other_user}","gists_url":"https://api.github.com/users/petersear/gists{/gist_id}","starred_url":"https://api.github.com/users/petersear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petersear/subscriptions","organizations_url":"https://api.github.com/users/petersear/orgs","repos_url":"https://api.github.com/users/petersear/repos","events_url":"https://api.github.com/users/petersear/events{/privacy}","received_events_url":"https://api.github.com/users/petersear/received_events","type":"User","site_admin":false},"body":"Hi\r\nI've analysed your codebase and added some unit tests for the following class:\r\n\r\ncom.sohu.cache.util.StringUtilTest\r\n\r\nI've written the tests for these functions with the help of [Diffblue](https://www.diffblue.com/) [Cover](https://www.diffblue.com/datasheet).\r\nHopefully, these tests should help you detect regressions caused by future code changes.\r\n","created_at":"2018-12-06T15:40:43Z","updated_at":"2018-12-11T13:54:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a5b0940e740f86716f5f9d89cb57e58d49fd0aa9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/issues/1/comments","statuses_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/statuses/491998940bbdc7be851c6dcdc55930b60d9b6bf5","head":{"label":"Diffblue-benchmarks:add-diffblue-tests","ref":"add-diffblue-tests","sha":"491998940bbdc7be851c6dcdc55930b60d9b6bf5","user":{"login":"Diffblue-benchmarks","id":24319837,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0MzE5ODM3","avatar_url":"https://avatars3.githubusercontent.com/u/24319837?v=4","gravatar_id":"","url":"https://api.github.com/users/Diffblue-benchmarks","html_url":"https://github.com/Diffblue-benchmarks","followers_url":"https://api.github.com/users/Diffblue-benchmarks/followers","following_url":"https://api.github.com/users/Diffblue-benchmarks/following{/other_user}","gists_url":"https://api.github.com/users/Diffblue-benchmarks/gists{/gist_id}","starred_url":"https://api.github.com/users/Diffblue-benchmarks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diffblue-benchmarks/subscriptions","organizations_url":"https://api.github.com/users/Diffblue-benchmarks/orgs","repos_url":"https://api.github.com/users/Diffblue-benchmarks/repos","events_url":"https://api.github.com/users/Diffblue-benchmarks/events{/privacy}","received_events_url":"https://api.github.com/users/Diffblue-benchmarks/received_events","type":"Organization","site_admin":false},"repo":{"id":160167271,"node_id":"MDEwOlJlcG9zaXRvcnkxNjAxNjcyNzE=","name":"cachecloud","full_name":"Diffblue-benchmarks/cachecloud","private":false,"owner":{"login":"Diffblue-benchmarks","id":24319837,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0MzE5ODM3","avatar_url":"https://avatars3.githubusercontent.com/u/24319837?v=4","gravatar_id":"","url":"https://api.github.com/users/Diffblue-benchmarks","html_url":"https://github.com/Diffblue-benchmarks","followers_url":"https://api.github.com/users/Diffblue-benchmarks/followers","following_url":"https://api.github.com/users/Diffblue-benchmarks/following{/other_user}","gists_url":"https://api.github.com/users/Diffblue-benchmarks/gists{/gist_id}","starred_url":"https://api.github.com/users/Diffblue-benchmarks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diffblue-benchmarks/subscriptions","organizations_url":"https://api.github.com/users/Diffblue-benchmarks/orgs","repos_url":"https://api.github.com/users/Diffblue-benchmarks/repos","events_url":"https://api.github.com/users/Diffblue-benchmarks/events{/privacy}","received_events_url":"https://api.github.com/users/Diffblue-benchmarks/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Diffblue-benchmarks/cachecloud","description":"搜狐视频(sohu tv)Redis私有云平台","fork":true,"url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud","forks_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/forks","keys_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/teams","hooks_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/hooks","issue_events_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/issues/events{/number}","events_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/events","assignees_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/assignees{/user}","branches_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/branches{/branch}","tags_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/tags","blobs_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/statuses/{sha}","languages_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/languages","stargazers_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/stargazers","contributors_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/contributors","subscribers_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/subscribers","subscription_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/subscription","commits_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/contents/{+path}","compare_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/merges","archive_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/downloads","issues_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/issues{/number}","pulls_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/pulls{/number}","milestones_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/milestones{/number}","notifications_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/labels{/name}","releases_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/releases{/id}","deployments_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/deployments","created_at":"2018-12-03T09:40:52Z","updated_at":"2018-12-03T09:40:57Z","pushed_at":"2018-12-06T15:40:44Z","git_url":"git://github.com/Diffblue-benchmarks/cachecloud.git","ssh_url":"git@github.com:Diffblue-benchmarks/cachecloud.git","clone_url":"https://github.com/Diffblue-benchmarks/cachecloud.git","svn_url":"https://github.com/Diffblue-benchmarks/cachecloud","homepage":"http://cachecloud.github.io/","size":18152,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Diffblue-benchmarks:master","ref":"master","sha":"12123e718dd18373d08cecaca961648927deefbd","user":{"login":"Diffblue-benchmarks","id":24319837,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0MzE5ODM3","avatar_url":"https://avatars3.githubusercontent.com/u/24319837?v=4","gravatar_id":"","url":"https://api.github.com/users/Diffblue-benchmarks","html_url":"https://github.com/Diffblue-benchmarks","followers_url":"https://api.github.com/users/Diffblue-benchmarks/followers","following_url":"https://api.github.com/users/Diffblue-benchmarks/following{/other_user}","gists_url":"https://api.github.com/users/Diffblue-benchmarks/gists{/gist_id}","starred_url":"https://api.github.com/users/Diffblue-benchmarks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diffblue-benchmarks/subscriptions","organizations_url":"https://api.github.com/users/Diffblue-benchmarks/orgs","repos_url":"https://api.github.com/users/Diffblue-benchmarks/repos","events_url":"https://api.github.com/users/Diffblue-benchmarks/events{/privacy}","received_events_url":"https://api.github.com/users/Diffblue-benchmarks/received_events","type":"Organization","site_admin":false},"repo":{"id":160167271,"node_id":"MDEwOlJlcG9zaXRvcnkxNjAxNjcyNzE=","name":"cachecloud","full_name":"Diffblue-benchmarks/cachecloud","private":false,"owner":{"login":"Diffblue-benchmarks","id":24319837,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0MzE5ODM3","avatar_url":"https://avatars3.githubusercontent.com/u/24319837?v=4","gravatar_id":"","url":"https://api.github.com/users/Diffblue-benchmarks","html_url":"https://github.com/Diffblue-benchmarks","followers_url":"https://api.github.com/users/Diffblue-benchmarks/followers","following_url":"https://api.github.com/users/Diffblue-benchmarks/following{/other_user}","gists_url":"https://api.github.com/users/Diffblue-benchmarks/gists{/gist_id}","starred_url":"https://api.github.com/users/Diffblue-benchmarks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diffblue-benchmarks/subscriptions","organizations_url":"https://api.github.com/users/Diffblue-benchmarks/orgs","repos_url":"https://api.github.com/users/Diffblue-benchmarks/repos","events_url":"https://api.github.com/users/Diffblue-benchmarks/events{/privacy}","received_events_url":"https://api.github.com/users/Diffblue-benchmarks/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Diffblue-benchmarks/cachecloud","description":"搜狐视频(sohu tv)Redis私有云平台","fork":true,"url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud","forks_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/forks","keys_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/teams","hooks_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/hooks","issue_events_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/issues/events{/number}","events_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/events","assignees_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/assignees{/user}","branches_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/branches{/branch}","tags_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/tags","blobs_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/statuses/{sha}","languages_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/languages","stargazers_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/stargazers","contributors_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/contributors","subscribers_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/subscribers","subscription_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/subscription","commits_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/contents/{+path}","compare_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/merges","archive_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/downloads","issues_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/issues{/number}","pulls_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/pulls{/number}","milestones_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/milestones{/number}","notifications_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/labels{/name}","releases_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/releases{/id}","deployments_url":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/deployments","created_at":"2018-12-03T09:40:52Z","updated_at":"2018-12-03T09:40:57Z","pushed_at":"2018-12-06T15:40:44Z","git_url":"git://github.com/Diffblue-benchmarks/cachecloud.git","ssh_url":"git@github.com:Diffblue-benchmarks/cachecloud.git","clone_url":"https://github.com/Diffblue-benchmarks/cachecloud.git","svn_url":"https://github.com/Diffblue-benchmarks/cachecloud","homepage":"http://cachecloud.github.io/","size":18152,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/pulls/1"},"html":{"href":"https://github.com/Diffblue-benchmarks/cachecloud/pull/1"},"issue":{"href":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/issues/1"},"comments":{"href":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Diffblue-benchmarks/cachecloud/statuses/491998940bbdc7be851c6dcdc55930b60d9b6bf5"}},"author_association":"NONE"}}
{"actor":{"display_login":"paulkennethkent"}}