{"action":"created","comment":{"url":"https://api.github.com/repos/opencv/opencv/pulls/comments/84261566","pull_request_review_id":5049007,"id":84261566,"diff_hunk":"@@ -28,7 +27,7 @@ private Mat getTestImg() {\n     @Override\n     protected void setUp() throws Exception {\n         super.setUp();\n-        extractor = DescriptorExtractor.create(DescriptorExtractor.BRIEF);\n+        extractor = createAlgorythmInstance(XFEATURES2D_PACKAGE_NAME+\"BriefDescriptorExtractor\", ALGORITHM_FACTORY_NAME, null, null);","path":"modules/features2d/misc/java/test/BRIEFDescriptorExtractorTest.java","position":null,"original_position":28,"commit_id":"965312a6aa44e11a6276a3956ea42f9a50f13316","original_commit_id":"486f78e711f0e77a8938b5f64d1264f6eaf6f2f5","user":{"login":"abratchik","id":6899165,"avatar_url":"https://avatars.githubusercontent.com/u/6899165?v=3","gravatar_id":"","url":"https://api.github.com/users/abratchik","html_url":"https://github.com/abratchik","followers_url":"https://api.github.com/users/abratchik/followers","following_url":"https://api.github.com/users/abratchik/following{/other_user}","gists_url":"https://api.github.com/users/abratchik/gists{/gist_id}","starred_url":"https://api.github.com/users/abratchik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abratchik/subscriptions","organizations_url":"https://api.github.com/users/abratchik/orgs","repos_url":"https://api.github.com/users/abratchik/repos","events_url":"https://api.github.com/users/abratchik/events{/privacy}","received_events_url":"https://api.github.com/users/abratchik/received_events","type":"User","site_admin":false},"body":"I decided to drop \"Algorythm\" as well and call it \"createClassInstance\" as this method is  generic and can actually instantiate any class both using \"new\" operator and factory method technique. I thought it may be useful for other tests as well. ","created_at":"2016-10-20T11:22:23Z","updated_at":"2016-10-20T11:22:23Z","html_url":"https://github.com/opencv/opencv/pull/7497#discussion_r84261566","pull_request_url":"https://api.github.com/repos/opencv/opencv/pulls/7497","_links":{"self":{"href":"https://api.github.com/repos/opencv/opencv/pulls/comments/84261566"},"html":{"href":"https://github.com/opencv/opencv/pull/7497#discussion_r84261566"},"pull_request":{"href":"https://api.github.com/repos/opencv/opencv/pulls/7497"}}},"pull_request":{"url":"https://api.github.com/repos/opencv/opencv/pulls/7497","id":89535458,"html_url":"https://github.com/opencv/opencv/pull/7497","diff_url":"https://github.com/opencv/opencv/pull/7497.diff","patch_url":"https://github.com/opencv/opencv/pull/7497.patch","issue_url":"https://api.github.com/repos/opencv/opencv/issues/7497","number":7497,"state":"open","locked":false,"title":"Java autotests fix for OpenCV 3.1","user":{"login":"abratchik","id":6899165,"avatar_url":"https://avatars.githubusercontent.com/u/6899165?v=3","gravatar_id":"","url":"https://api.github.com/users/abratchik","html_url":"https://github.com/abratchik","followers_url":"https://api.github.com/users/abratchik/followers","following_url":"https://api.github.com/users/abratchik/following{/other_user}","gists_url":"https://api.github.com/users/abratchik/gists{/gist_id}","starred_url":"https://api.github.com/users/abratchik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abratchik/subscriptions","organizations_url":"https://api.github.com/users/abratchik/orgs","repos_url":"https://api.github.com/users/abratchik/repos","events_url":"https://api.github.com/users/abratchik/events{/privacy}","received_events_url":"https://api.github.com/users/abratchik/received_events","type":"User","site_admin":false},"body":"resolves #7510\r\nresolves #7511\r\nresolves #7512\r\n\r\n### This pullrequest changes\r\n\r\nUpdates autotests for OpenCV 3.1 release.\r\n\r\n<!-- Please describe what your pullrequest is changing -->\r\n\r\n- many auto tests were dependent on non-free/experimental algorithms, which are currently moved to contrib module. For this reason autotests should be compiled and used with contrib/non-free modules. \r\n- YAML format in test samples was inconsistent with generated one and with YAML specs. \r\n- feature detectors/descriptor extractors/matchers' parameters were loaded from YAML but the read method is not implemented in the corresponding class.  This fix will use corresponding parameter setters for algorithm initiation.\r\n- removed 'empty' Feature2D tests, which seem to be obsolete.\r\n\r\nrunning auto-tests can be done from the OpenCV build folder  using the following command:\r\n`python ../modules/ts/misc/run.py . -t java`.\r\n","created_at":"2016-10-16T19:04:43Z","updated_at":"2016-10-20T11:22:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7fc1dc856592566a23897061fe20d33666a3ca92","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/opencv/opencv/pulls/7497/commits","review_comments_url":"https://api.github.com/repos/opencv/opencv/pulls/7497/comments","review_comment_url":"https://api.github.com/repos/opencv/opencv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencv/opencv/issues/7497/comments","statuses_url":"https://api.github.com/repos/opencv/opencv/statuses/965312a6aa44e11a6276a3956ea42f9a50f13316","head":{"label":"abratchik:java.wrapper.fix.3.1","ref":"java.wrapper.fix.3.1","sha":"965312a6aa44e11a6276a3956ea42f9a50f13316","user":{"login":"abratchik","id":6899165,"avatar_url":"https://avatars.githubusercontent.com/u/6899165?v=3","gravatar_id":"","url":"https://api.github.com/users/abratchik","html_url":"https://github.com/abratchik","followers_url":"https://api.github.com/users/abratchik/followers","following_url":"https://api.github.com/users/abratchik/following{/other_user}","gists_url":"https://api.github.com/users/abratchik/gists{/gist_id}","starred_url":"https://api.github.com/users/abratchik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abratchik/subscriptions","organizations_url":"https://api.github.com/users/abratchik/orgs","repos_url":"https://api.github.com/users/abratchik/repos","events_url":"https://api.github.com/users/abratchik/events{/privacy}","received_events_url":"https://api.github.com/users/abratchik/received_events","type":"User","site_admin":false},"repo":{"id":68524500,"name":"opencv","full_name":"abratchik/opencv","owner":{"login":"abratchik","id":6899165,"avatar_url":"https://avatars.githubusercontent.com/u/6899165?v=3","gravatar_id":"","url":"https://api.github.com/users/abratchik","html_url":"https://github.com/abratchik","followers_url":"https://api.github.com/users/abratchik/followers","following_url":"https://api.github.com/users/abratchik/following{/other_user}","gists_url":"https://api.github.com/users/abratchik/gists{/gist_id}","starred_url":"https://api.github.com/users/abratchik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abratchik/subscriptions","organizations_url":"https://api.github.com/users/abratchik/orgs","repos_url":"https://api.github.com/users/abratchik/repos","events_url":"https://api.github.com/users/abratchik/events{/privacy}","received_events_url":"https://api.github.com/users/abratchik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abratchik/opencv","description":"Open Source Computer Vision Library","fork":true,"url":"https://api.github.com/repos/abratchik/opencv","forks_url":"https://api.github.com/repos/abratchik/opencv/forks","keys_url":"https://api.github.com/repos/abratchik/opencv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abratchik/opencv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abratchik/opencv/teams","hooks_url":"https://api.github.com/repos/abratchik/opencv/hooks","issue_events_url":"https://api.github.com/repos/abratchik/opencv/issues/events{/number}","events_url":"https://api.github.com/repos/abratchik/opencv/events","assignees_url":"https://api.github.com/repos/abratchik/opencv/assignees{/user}","branches_url":"https://api.github.com/repos/abratchik/opencv/branches{/branch}","tags_url":"https://api.github.com/repos/abratchik/opencv/tags","blobs_url":"https://api.github.com/repos/abratchik/opencv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abratchik/opencv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abratchik/opencv/git/refs{/sha}","trees_url":"https://api.github.com/repos/abratchik/opencv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abratchik/opencv/statuses/{sha}","languages_url":"https://api.github.com/repos/abratchik/opencv/languages","stargazers_url":"https://api.github.com/repos/abratchik/opencv/stargazers","contributors_url":"https://api.github.com/repos/abratchik/opencv/contributors","subscribers_url":"https://api.github.com/repos/abratchik/opencv/subscribers","subscription_url":"https://api.github.com/repos/abratchik/opencv/subscription","commits_url":"https://api.github.com/repos/abratchik/opencv/commits{/sha}","git_commits_url":"https://api.github.com/repos/abratchik/opencv/git/commits{/sha}","comments_url":"https://api.github.com/repos/abratchik/opencv/comments{/number}","issue_comment_url":"https://api.github.com/repos/abratchik/opencv/issues/comments{/number}","contents_url":"https://api.github.com/repos/abratchik/opencv/contents/{+path}","compare_url":"https://api.github.com/repos/abratchik/opencv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abratchik/opencv/merges","archive_url":"https://api.github.com/repos/abratchik/opencv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abratchik/opencv/downloads","issues_url":"https://api.github.com/repos/abratchik/opencv/issues{/number}","pulls_url":"https://api.github.com/repos/abratchik/opencv/pulls{/number}","milestones_url":"https://api.github.com/repos/abratchik/opencv/milestones{/number}","notifications_url":"https://api.github.com/repos/abratchik/opencv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abratchik/opencv/labels{/name}","releases_url":"https://api.github.com/repos/abratchik/opencv/releases{/id}","deployments_url":"https://api.github.com/repos/abratchik/opencv/deployments","created_at":"2016-09-18T13:51:15Z","updated_at":"2016-09-18T13:51:28Z","pushed_at":"2016-10-20T10:52:35Z","git_url":"git://github.com/abratchik/opencv.git","ssh_url":"git@github.com:abratchik/opencv.git","clone_url":"https://github.com/abratchik/opencv.git","svn_url":"https://github.com/abratchik/opencv","homepage":"opencv.org","size":428393,"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":"opencv:master","ref":"master","sha":"d18e45b442c8cf630648f2cf00c85a803b3c94dd","user":{"login":"opencv","id":5009934,"avatar_url":"https://avatars.githubusercontent.com/u/5009934?v=3","gravatar_id":"","url":"https://api.github.com/users/opencv","html_url":"https://github.com/opencv","followers_url":"https://api.github.com/users/opencv/followers","following_url":"https://api.github.com/users/opencv/following{/other_user}","gists_url":"https://api.github.com/users/opencv/gists{/gist_id}","starred_url":"https://api.github.com/users/opencv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencv/subscriptions","organizations_url":"https://api.github.com/users/opencv/orgs","repos_url":"https://api.github.com/users/opencv/repos","events_url":"https://api.github.com/users/opencv/events{/privacy}","received_events_url":"https://api.github.com/users/opencv/received_events","type":"Organization","site_admin":false},"repo":{"id":5108051,"name":"opencv","full_name":"opencv/opencv","owner":{"login":"opencv","id":5009934,"avatar_url":"https://avatars.githubusercontent.com/u/5009934?v=3","gravatar_id":"","url":"https://api.github.com/users/opencv","html_url":"https://github.com/opencv","followers_url":"https://api.github.com/users/opencv/followers","following_url":"https://api.github.com/users/opencv/following{/other_user}","gists_url":"https://api.github.com/users/opencv/gists{/gist_id}","starred_url":"https://api.github.com/users/opencv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencv/subscriptions","organizations_url":"https://api.github.com/users/opencv/orgs","repos_url":"https://api.github.com/users/opencv/repos","events_url":"https://api.github.com/users/opencv/events{/privacy}","received_events_url":"https://api.github.com/users/opencv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opencv/opencv","description":"Open Source Computer Vision Library","fork":false,"url":"https://api.github.com/repos/opencv/opencv","forks_url":"https://api.github.com/repos/opencv/opencv/forks","keys_url":"https://api.github.com/repos/opencv/opencv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencv/opencv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencv/opencv/teams","hooks_url":"https://api.github.com/repos/opencv/opencv/hooks","issue_events_url":"https://api.github.com/repos/opencv/opencv/issues/events{/number}","events_url":"https://api.github.com/repos/opencv/opencv/events","assignees_url":"https://api.github.com/repos/opencv/opencv/assignees{/user}","branches_url":"https://api.github.com/repos/opencv/opencv/branches{/branch}","tags_url":"https://api.github.com/repos/opencv/opencv/tags","blobs_url":"https://api.github.com/repos/opencv/opencv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencv/opencv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencv/opencv/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencv/opencv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencv/opencv/statuses/{sha}","languages_url":"https://api.github.com/repos/opencv/opencv/languages","stargazers_url":"https://api.github.com/repos/opencv/opencv/stargazers","contributors_url":"https://api.github.com/repos/opencv/opencv/contributors","subscribers_url":"https://api.github.com/repos/opencv/opencv/subscribers","subscription_url":"https://api.github.com/repos/opencv/opencv/subscription","commits_url":"https://api.github.com/repos/opencv/opencv/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencv/opencv/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencv/opencv/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencv/opencv/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencv/opencv/contents/{+path}","compare_url":"https://api.github.com/repos/opencv/opencv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencv/opencv/merges","archive_url":"https://api.github.com/repos/opencv/opencv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencv/opencv/downloads","issues_url":"https://api.github.com/repos/opencv/opencv/issues{/number}","pulls_url":"https://api.github.com/repos/opencv/opencv/pulls{/number}","milestones_url":"https://api.github.com/repos/opencv/opencv/milestones{/number}","notifications_url":"https://api.github.com/repos/opencv/opencv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencv/opencv/labels{/name}","releases_url":"https://api.github.com/repos/opencv/opencv/releases{/id}","deployments_url":"https://api.github.com/repos/opencv/opencv/deployments","created_at":"2012-07-19T09:40:17Z","updated_at":"2016-10-20T11:07:42Z","pushed_at":"2016-10-20T10:52:42Z","git_url":"git://github.com/opencv/opencv.git","ssh_url":"git@github.com:opencv/opencv.git","clone_url":"https://github.com/opencv/opencv.git","svn_url":"https://github.com/opencv/opencv","homepage":"opencv.org","size":1086455,"stargazers_count":11654,"watchers_count":11654,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9491,"mirror_url":null,"open_issues_count":1004,"forks":9491,"open_issues":1004,"watchers":11654,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencv/opencv/pulls/7497"},"html":{"href":"https://github.com/opencv/opencv/pull/7497"},"issue":{"href":"https://api.github.com/repos/opencv/opencv/issues/7497"},"comments":{"href":"https://api.github.com/repos/opencv/opencv/issues/7497/comments"},"review_comments":{"href":"https://api.github.com/repos/opencv/opencv/pulls/7497/comments"},"review_comment":{"href":"https://api.github.com/repos/opencv/opencv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencv/opencv/pulls/7497/commits"},"statuses":{"href":"https://api.github.com/repos/opencv/opencv/statuses/965312a6aa44e11a6276a3956ea42f9a50f13316"}}}}
{"actor":{"display_login":"abratchik"}}