{"action":"created","comment":{"url":"https://api.github.com/repos/liquid-mind/inflection/pulls/comments/48005806","id":48005806,"diff_hunk":"@@ -0,0 +1,77 @@\n+package ch.liquidmind.inflection.grammar;\n+\n+import java.util.Arrays;\n+import java.util.Collection;\n+\n+import org.junit.Test;\n+import org.junit.runner.RunWith;\n+import org.junit.runners.Parameterized;\n+import org.junit.runners.Parameterized.Parameters;\n+\n+import ch.liquidmind.inflection.compiler.util.InflectionCompilerTestUtility;\n+import ch.liquidmind.inflection.test.AbstractInflectionTest;\n+\n+@RunWith( Parameterized.class )\n+public class CommentTest extends AbstractInflectionTest\n+{\n+\n+\t@Parameters( name = \"{index}: File content: {0}, expected compilation: {1}\" )\n+\tpublic static Collection< Object[] > data()\n+\t{\n+\t\treturn Arrays.asList( new Object[][] { { \"// comment\", true },\n+\n+\t\t\t\t{ \"/* comment */\", true },\n+\n+\t\t\t\t{ \"/* comment\", true }, // TODO <inflection-error/> missing comment end, should not compile: true -> false\n+\n+\t\t\t\t{ \"/* comment begin\" + System.lineSeparator() + \" comment end */\", true },\n+\n+\t\t\t\t{ \"/* comment begin\" + System.lineSeparator() + \" comment end\", true }, // TODO <inflection-error/> missing comment end, should not compile: true -> false\n+\n+\t\t\t\t{ \"/* // */\", true },\n+\n+\t\t\t\t{ \"/* //\", true }, // TODO <inflection-error/> missing comment end, should not compile: true -> false\n+\n+\t\t\t\t{ \"// /*\", true },\n+\n+\t\t\t\t{ \"// */\", true },\n+\n+\t\t\t\t{ \"taxonomy A { /* }\", false },","path":"src/test/java/ch/liquidmind/inflection/grammar/CommentTest.java","position":null,"original_position":39,"commit_id":"2a8375091eee88ed751a8a79e1dbe27f743d28c7","original_commit_id":"42a37fd8084ade9eadbba3cd6600fd2f0036c129","user":{"login":"innovad","id":3089993,"avatar_url":"https://avatars.githubusercontent.com/u/3089993?v=3","gravatar_id":"","url":"https://api.github.com/users/innovad","html_url":"https://github.com/innovad","followers_url":"https://api.github.com/users/innovad/followers","following_url":"https://api.github.com/users/innovad/following{/other_user}","gists_url":"https://api.github.com/users/innovad/gists{/gist_id}","starred_url":"https://api.github.com/users/innovad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/innovad/subscriptions","organizations_url":"https://api.github.com/users/innovad/orgs","repos_url":"https://api.github.com/users/innovad/repos","events_url":"https://api.github.com/users/innovad/events{/privacy}","received_events_url":"https://api.github.com/users/innovad/received_events","type":"User","site_admin":false},"body":"Repeated tests removed, some more comment test cases added: https://github.com/innovad/inflection/commit/2a8375091eee88ed751a8a79e1dbe27f743d28c7","created_at":"2015-12-18T08:59:29Z","updated_at":"2015-12-18T08:59:29Z","html_url":"https://github.com/liquid-mind/inflection/pull/14#discussion_r48005806","pull_request_url":"https://api.github.com/repos/liquid-mind/inflection/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/liquid-mind/inflection/pulls/comments/48005806"},"html":{"href":"https://github.com/liquid-mind/inflection/pull/14#discussion_r48005806"},"pull_request":{"href":"https://api.github.com/repos/liquid-mind/inflection/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/liquid-mind/inflection/pulls/14","id":51974780,"html_url":"https://github.com/liquid-mind/inflection/pull/14","diff_url":"https://github.com/liquid-mind/inflection/pull/14.diff","patch_url":"https://github.com/liquid-mind/inflection/pull/14.patch","issue_url":"https://api.github.com/repos/liquid-mind/inflection/issues/14","number":14,"state":"open","locked":false,"title":"Feature/blackboxtests","user":{"login":"johnbrush","id":10075314,"avatar_url":"https://avatars.githubusercontent.com/u/10075314?v=3","gravatar_id":"","url":"https://api.github.com/users/johnbrush","html_url":"https://github.com/johnbrush","followers_url":"https://api.github.com/users/johnbrush/followers","following_url":"https://api.github.com/users/johnbrush/following{/other_user}","gists_url":"https://api.github.com/users/johnbrush/gists{/gist_id}","starred_url":"https://api.github.com/users/johnbrush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnbrush/subscriptions","organizations_url":"https://api.github.com/users/johnbrush/orgs","repos_url":"https://api.github.com/users/johnbrush/repos","events_url":"https://api.github.com/users/johnbrush/events{/privacy}","received_events_url":"https://api.github.com/users/johnbrush/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-27T09:31:40Z","updated_at":"2015-12-18T08:59:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3353ac872d9ef5dd1259c46f7841add2a8c760a","assignee":{"login":"johnbrush","id":10075314,"avatar_url":"https://avatars.githubusercontent.com/u/10075314?v=3","gravatar_id":"","url":"https://api.github.com/users/johnbrush","html_url":"https://github.com/johnbrush","followers_url":"https://api.github.com/users/johnbrush/followers","following_url":"https://api.github.com/users/johnbrush/following{/other_user}","gists_url":"https://api.github.com/users/johnbrush/gists{/gist_id}","starred_url":"https://api.github.com/users/johnbrush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnbrush/subscriptions","organizations_url":"https://api.github.com/users/johnbrush/orgs","repos_url":"https://api.github.com/users/johnbrush/repos","events_url":"https://api.github.com/users/johnbrush/events{/privacy}","received_events_url":"https://api.github.com/users/johnbrush/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/liquid-mind/inflection/pulls/14/commits","review_comments_url":"https://api.github.com/repos/liquid-mind/inflection/pulls/14/comments","review_comment_url":"https://api.github.com/repos/liquid-mind/inflection/pulls/comments{/number}","comments_url":"https://api.github.com/repos/liquid-mind/inflection/issues/14/comments","statuses_url":"https://api.github.com/repos/liquid-mind/inflection/statuses/2a8375091eee88ed751a8a79e1dbe27f743d28c7","head":{"label":"innovad:feature/blackboxtests","ref":"feature/blackboxtests","sha":"2a8375091eee88ed751a8a79e1dbe27f743d28c7","user":{"login":"innovad","id":3089993,"avatar_url":"https://avatars.githubusercontent.com/u/3089993?v=3","gravatar_id":"","url":"https://api.github.com/users/innovad","html_url":"https://github.com/innovad","followers_url":"https://api.github.com/users/innovad/followers","following_url":"https://api.github.com/users/innovad/following{/other_user}","gists_url":"https://api.github.com/users/innovad/gists{/gist_id}","starred_url":"https://api.github.com/users/innovad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/innovad/subscriptions","organizations_url":"https://api.github.com/users/innovad/orgs","repos_url":"https://api.github.com/users/innovad/repos","events_url":"https://api.github.com/users/innovad/events{/privacy}","received_events_url":"https://api.github.com/users/innovad/received_events","type":"User","site_admin":false},"repo":{"id":45902569,"name":"inflection","full_name":"innovad/inflection","owner":{"login":"innovad","id":3089993,"avatar_url":"https://avatars.githubusercontent.com/u/3089993?v=3","gravatar_id":"","url":"https://api.github.com/users/innovad","html_url":"https://github.com/innovad","followers_url":"https://api.github.com/users/innovad/followers","following_url":"https://api.github.com/users/innovad/following{/other_user}","gists_url":"https://api.github.com/users/innovad/gists{/gist_id}","starred_url":"https://api.github.com/users/innovad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/innovad/subscriptions","organizations_url":"https://api.github.com/users/innovad/orgs","repos_url":"https://api.github.com/users/innovad/repos","events_url":"https://api.github.com/users/innovad/events{/privacy}","received_events_url":"https://api.github.com/users/innovad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/innovad/inflection","description":"Java Inflection API","fork":true,"url":"https://api.github.com/repos/innovad/inflection","forks_url":"https://api.github.com/repos/innovad/inflection/forks","keys_url":"https://api.github.com/repos/innovad/inflection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/innovad/inflection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/innovad/inflection/teams","hooks_url":"https://api.github.com/repos/innovad/inflection/hooks","issue_events_url":"https://api.github.com/repos/innovad/inflection/issues/events{/number}","events_url":"https://api.github.com/repos/innovad/inflection/events","assignees_url":"https://api.github.com/repos/innovad/inflection/assignees{/user}","branches_url":"https://api.github.com/repos/innovad/inflection/branches{/branch}","tags_url":"https://api.github.com/repos/innovad/inflection/tags","blobs_url":"https://api.github.com/repos/innovad/inflection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/innovad/inflection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/innovad/inflection/git/refs{/sha}","trees_url":"https://api.github.com/repos/innovad/inflection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/innovad/inflection/statuses/{sha}","languages_url":"https://api.github.com/repos/innovad/inflection/languages","stargazers_url":"https://api.github.com/repos/innovad/inflection/stargazers","contributors_url":"https://api.github.com/repos/innovad/inflection/contributors","subscribers_url":"https://api.github.com/repos/innovad/inflection/subscribers","subscription_url":"https://api.github.com/repos/innovad/inflection/subscription","commits_url":"https://api.github.com/repos/innovad/inflection/commits{/sha}","git_commits_url":"https://api.github.com/repos/innovad/inflection/git/commits{/sha}","comments_url":"https://api.github.com/repos/innovad/inflection/comments{/number}","issue_comment_url":"https://api.github.com/repos/innovad/inflection/issues/comments{/number}","contents_url":"https://api.github.com/repos/innovad/inflection/contents/{+path}","compare_url":"https://api.github.com/repos/innovad/inflection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/innovad/inflection/merges","archive_url":"https://api.github.com/repos/innovad/inflection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/innovad/inflection/downloads","issues_url":"https://api.github.com/repos/innovad/inflection/issues{/number}","pulls_url":"https://api.github.com/repos/innovad/inflection/pulls{/number}","milestones_url":"https://api.github.com/repos/innovad/inflection/milestones{/number}","notifications_url":"https://api.github.com/repos/innovad/inflection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/innovad/inflection/labels{/name}","releases_url":"https://api.github.com/repos/innovad/inflection/releases{/id}","created_at":"2015-11-10T09:47:25Z","updated_at":"2015-11-10T09:47:26Z","pushed_at":"2015-12-18T08:58:45Z","git_url":"git://github.com/innovad/inflection.git","ssh_url":"git@github.com:innovad/inflection.git","clone_url":"https://github.com/innovad/inflection.git","svn_url":"https://github.com/innovad/inflection","homepage":null,"size":1081,"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":"liquid-mind:master","ref":"master","sha":"2dd34f00b31fa7a5a7dd6f3469b18d42df5d3099","user":{"login":"liquid-mind","id":10075293,"avatar_url":"https://avatars.githubusercontent.com/u/10075293?v=3","gravatar_id":"","url":"https://api.github.com/users/liquid-mind","html_url":"https://github.com/liquid-mind","followers_url":"https://api.github.com/users/liquid-mind/followers","following_url":"https://api.github.com/users/liquid-mind/following{/other_user}","gists_url":"https://api.github.com/users/liquid-mind/gists{/gist_id}","starred_url":"https://api.github.com/users/liquid-mind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liquid-mind/subscriptions","organizations_url":"https://api.github.com/users/liquid-mind/orgs","repos_url":"https://api.github.com/users/liquid-mind/repos","events_url":"https://api.github.com/users/liquid-mind/events{/privacy}","received_events_url":"https://api.github.com/users/liquid-mind/received_events","type":"Organization","site_admin":false},"repo":{"id":28344035,"name":"inflection","full_name":"liquid-mind/inflection","owner":{"login":"liquid-mind","id":10075293,"avatar_url":"https://avatars.githubusercontent.com/u/10075293?v=3","gravatar_id":"","url":"https://api.github.com/users/liquid-mind","html_url":"https://github.com/liquid-mind","followers_url":"https://api.github.com/users/liquid-mind/followers","following_url":"https://api.github.com/users/liquid-mind/following{/other_user}","gists_url":"https://api.github.com/users/liquid-mind/gists{/gist_id}","starred_url":"https://api.github.com/users/liquid-mind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liquid-mind/subscriptions","organizations_url":"https://api.github.com/users/liquid-mind/orgs","repos_url":"https://api.github.com/users/liquid-mind/repos","events_url":"https://api.github.com/users/liquid-mind/events{/privacy}","received_events_url":"https://api.github.com/users/liquid-mind/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/liquid-mind/inflection","description":"Java Inflection API","fork":false,"url":"https://api.github.com/repos/liquid-mind/inflection","forks_url":"https://api.github.com/repos/liquid-mind/inflection/forks","keys_url":"https://api.github.com/repos/liquid-mind/inflection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liquid-mind/inflection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liquid-mind/inflection/teams","hooks_url":"https://api.github.com/repos/liquid-mind/inflection/hooks","issue_events_url":"https://api.github.com/repos/liquid-mind/inflection/issues/events{/number}","events_url":"https://api.github.com/repos/liquid-mind/inflection/events","assignees_url":"https://api.github.com/repos/liquid-mind/inflection/assignees{/user}","branches_url":"https://api.github.com/repos/liquid-mind/inflection/branches{/branch}","tags_url":"https://api.github.com/repos/liquid-mind/inflection/tags","blobs_url":"https://api.github.com/repos/liquid-mind/inflection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liquid-mind/inflection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liquid-mind/inflection/git/refs{/sha}","trees_url":"https://api.github.com/repos/liquid-mind/inflection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liquid-mind/inflection/statuses/{sha}","languages_url":"https://api.github.com/repos/liquid-mind/inflection/languages","stargazers_url":"https://api.github.com/repos/liquid-mind/inflection/stargazers","contributors_url":"https://api.github.com/repos/liquid-mind/inflection/contributors","subscribers_url":"https://api.github.com/repos/liquid-mind/inflection/subscribers","subscription_url":"https://api.github.com/repos/liquid-mind/inflection/subscription","commits_url":"https://api.github.com/repos/liquid-mind/inflection/commits{/sha}","git_commits_url":"https://api.github.com/repos/liquid-mind/inflection/git/commits{/sha}","comments_url":"https://api.github.com/repos/liquid-mind/inflection/comments{/number}","issue_comment_url":"https://api.github.com/repos/liquid-mind/inflection/issues/comments{/number}","contents_url":"https://api.github.com/repos/liquid-mind/inflection/contents/{+path}","compare_url":"https://api.github.com/repos/liquid-mind/inflection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liquid-mind/inflection/merges","archive_url":"https://api.github.com/repos/liquid-mind/inflection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liquid-mind/inflection/downloads","issues_url":"https://api.github.com/repos/liquid-mind/inflection/issues{/number}","pulls_url":"https://api.github.com/repos/liquid-mind/inflection/pulls{/number}","milestones_url":"https://api.github.com/repos/liquid-mind/inflection/milestones{/number}","notifications_url":"https://api.github.com/repos/liquid-mind/inflection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liquid-mind/inflection/labels{/name}","releases_url":"https://api.github.com/repos/liquid-mind/inflection/releases{/id}","created_at":"2014-12-22T15:24:35Z","updated_at":"2015-11-05T09:18:15Z","pushed_at":"2015-12-18T08:58:45Z","git_url":"git://github.com/liquid-mind/inflection.git","ssh_url":"git@github.com:liquid-mind/inflection.git","clone_url":"https://github.com/liquid-mind/inflection.git","svn_url":"https://github.com/liquid-mind/inflection","homepage":null,"size":1087,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/liquid-mind/inflection/pulls/14"},"html":{"href":"https://github.com/liquid-mind/inflection/pull/14"},"issue":{"href":"https://api.github.com/repos/liquid-mind/inflection/issues/14"},"comments":{"href":"https://api.github.com/repos/liquid-mind/inflection/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/liquid-mind/inflection/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/liquid-mind/inflection/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/liquid-mind/inflection/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/liquid-mind/inflection/statuses/2a8375091eee88ed751a8a79e1dbe27f743d28c7"}}}}