{"action":"created","comment":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments/91571838","pull_request_review_id":12081893,"id":91571838,"diff_hunk":"@@ -0,0 +1,39 @@\n+# SUSE's openQA tests\n+#\n+# Copyright © 2016 SUSE LLC\n+#\n+# Copying and distribution of this file, with or without modification,\n+# are permitted in any medium without royalty provided the copyright\n+# notice and this notice are preserved.  This file is offered as-is,\n+# without any warranty.\n+\n+# Description: Basic Java test\n+# Summary: It installs every Java version which is available into\n+#\t   the repositories and then it performs a series of basic\n+#          tests, such as verifying the version, compile and run\n+#          the Hello World program\n+# Maintainer: Panos Georgiadis <pgeorgiadis@suse.com>\n+# Maintainer: Andrej Semen <asemen@suse.com>\n+\n+use base \"opensusebasetest\";\n+use base \"x11test\";","path":"tests/console/java.pm","position":19,"original_position":19,"commit_id":"2d4d82763dbea88c8a93b60d4c9762b83aed69d6","original_commit_id":"2d4d82763dbea88c8a93b60d4c9762b83aed69d6","user":{"login":"foursixnine","id":229240,"avatar_url":"https://avatars.githubusercontent.com/u/229240?v=3","gravatar_id":"","url":"https://api.github.com/users/foursixnine","html_url":"https://github.com/foursixnine","followers_url":"https://api.github.com/users/foursixnine/followers","following_url":"https://api.github.com/users/foursixnine/following{/other_user}","gists_url":"https://api.github.com/users/foursixnine/gists{/gist_id}","starred_url":"https://api.github.com/users/foursixnine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foursixnine/subscriptions","organizations_url":"https://api.github.com/users/foursixnine/orgs","repos_url":"https://api.github.com/users/foursixnine/repos","events_url":"https://api.github.com/users/foursixnine/events{/privacy}","received_events_url":"https://api.github.com/users/foursixnine/received_events","type":"User","site_admin":false},"body":"Is this really needed?. ","created_at":"2016-12-08T18:11:43Z","updated_at":"2016-12-08T18:11:43Z","html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/2204#discussion_r91571838","pull_request_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/2204","_links":{"self":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments/91571838"},"html":{"href":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/2204#discussion_r91571838"},"pull_request":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/2204"}}},"pull_request":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/2204","id":97169575,"html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/2204","diff_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/2204.diff","patch_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/2204.patch","issue_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/2204","number":2204,"state":"open","locked":false,"title":"Add Java test for SLE and openSUSE","user":{"login":"drpaneas","id":2141732,"avatar_url":"https://avatars.githubusercontent.com/u/2141732?v=3","gravatar_id":"","url":"https://api.github.com/users/drpaneas","html_url":"https://github.com/drpaneas","followers_url":"https://api.github.com/users/drpaneas/followers","following_url":"https://api.github.com/users/drpaneas/following{/other_user}","gists_url":"https://api.github.com/users/drpaneas/gists{/gist_id}","starred_url":"https://api.github.com/users/drpaneas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drpaneas/subscriptions","organizations_url":"https://api.github.com/users/drpaneas/orgs","repos_url":"https://api.github.com/users/drpaneas/repos","events_url":"https://api.github.com/users/drpaneas/events{/privacy}","received_events_url":"https://api.github.com/users/drpaneas/received_events","type":"User","site_admin":false},"body":"If applied, this commit will:\r\n\r\n**add** a new test for java along with its required asset\r\n- _tests/console/java.pm_\r\n- _data/console/test_java.sh_\r\n\r\n**modify** the existing main files, based on the IRC testing channel discussion\r\n- _products/sle/main.pm_\r\n- _products/opensuse/main.pm_\r\n\r\n**Summary**\r\n\r\n   Installs every possible java version that is available in the\r\n   currently enabled repositories of the SUT.\r\n\r\n   Make sure that there is at least one Java version\r\n   installed, otherwise quite testing.\r\n\r\n\r\n**Testing Coverage**\r\n\r\nFor every installed Java version, it implements the following scenarios:\r\n\r\n   Test if the number of `java alternatives`\r\n   is equal with the number of the installed _java versions_.\r\n\r\n   Test if the number of `javac alternatives`\r\n   is equal with the number of the installed _java-devel versions_.\r\n\r\n   Test if the number of `javaplugin alternatives`\r\n   is equal with the number of the installed _java-ibm versions_.\r\n\r\n   Test the `update-alternatives` functionality for both\r\n   _java_ and _javac_.\r\n\r\n   Test the `update-alternatives` functionality for _javaplugin_\r\n   only for j_ava-ibm_.\r\n\r\n   Make sure that the `java -version` corresponds to the currently\r\n   active version of java.\r\n\r\n   Compile and run a basic _helloworld_ program.\r\n\r\nAlso, it detects abnormal behavior in `java -version` (_see_ bnc#[1014602](https://bugzilla.suse.com/show_bug.cgi?id=1014602))\r\n\r\n**Testing Environment**\r\n\r\nWherever there are _java_ and _java-devel (javac)_ packages. It has been tested in _SLES-12-{SP1,2}_.","created_at":"2016-12-08T17:52:29Z","updated_at":"2016-12-08T18:11:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d004565adb903fcc8f1f0e7782c182e60062736f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/2204/commits","review_comments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/2204/comments","review_comment_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/2204/comments","statuses_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/statuses/2d4d82763dbea88c8a93b60d4c9762b83aed69d6","head":{"label":"drpaneas:java_test","ref":"java_test","sha":"2d4d82763dbea88c8a93b60d4c9762b83aed69d6","user":{"login":"drpaneas","id":2141732,"avatar_url":"https://avatars.githubusercontent.com/u/2141732?v=3","gravatar_id":"","url":"https://api.github.com/users/drpaneas","html_url":"https://github.com/drpaneas","followers_url":"https://api.github.com/users/drpaneas/followers","following_url":"https://api.github.com/users/drpaneas/following{/other_user}","gists_url":"https://api.github.com/users/drpaneas/gists{/gist_id}","starred_url":"https://api.github.com/users/drpaneas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drpaneas/subscriptions","organizations_url":"https://api.github.com/users/drpaneas/orgs","repos_url":"https://api.github.com/users/drpaneas/repos","events_url":"https://api.github.com/users/drpaneas/events{/privacy}","received_events_url":"https://api.github.com/users/drpaneas/received_events","type":"User","site_admin":false},"repo":{"id":74769394,"name":"os-autoinst-distri-opensuse","full_name":"drpaneas/os-autoinst-distri-opensuse","owner":{"login":"drpaneas","id":2141732,"avatar_url":"https://avatars.githubusercontent.com/u/2141732?v=3","gravatar_id":"","url":"https://api.github.com/users/drpaneas","html_url":"https://github.com/drpaneas","followers_url":"https://api.github.com/users/drpaneas/followers","following_url":"https://api.github.com/users/drpaneas/following{/other_user}","gists_url":"https://api.github.com/users/drpaneas/gists{/gist_id}","starred_url":"https://api.github.com/users/drpaneas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drpaneas/subscriptions","organizations_url":"https://api.github.com/users/drpaneas/orgs","repos_url":"https://api.github.com/users/drpaneas/repos","events_url":"https://api.github.com/users/drpaneas/events{/privacy}","received_events_url":"https://api.github.com/users/drpaneas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/drpaneas/os-autoinst-distri-opensuse","description":"os-autoinst test cases for openSUSE","fork":true,"url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse","forks_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/forks","keys_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/teams","hooks_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/hooks","issue_events_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/issues/events{/number}","events_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/events","assignees_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/assignees{/user}","branches_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/branches{/branch}","tags_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/tags","blobs_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/git/refs{/sha}","trees_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/statuses/{sha}","languages_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/languages","stargazers_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/stargazers","contributors_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/contributors","subscribers_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/subscribers","subscription_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/subscription","commits_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/commits{/sha}","git_commits_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/git/commits{/sha}","comments_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/comments{/number}","issue_comment_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/issues/comments{/number}","contents_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/contents/{+path}","compare_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/merges","archive_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/downloads","issues_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/issues{/number}","pulls_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/pulls{/number}","milestones_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/milestones{/number}","notifications_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/labels{/name}","releases_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/releases{/id}","deployments_url":"https://api.github.com/repos/drpaneas/os-autoinst-distri-opensuse/deployments","created_at":"2016-11-25T15:28:53Z","updated_at":"2016-11-25T15:28:56Z","pushed_at":"2016-12-08T17:03:33Z","git_url":"git://github.com/drpaneas/os-autoinst-distri-opensuse.git","ssh_url":"git@github.com:drpaneas/os-autoinst-distri-opensuse.git","clone_url":"https://github.com/drpaneas/os-autoinst-distri-opensuse.git","svn_url":"https://github.com/drpaneas/os-autoinst-distri-opensuse","homepage":"https://progress.opensuse.org/projects/openqatests/issues","size":67086,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"os-autoinst:master","ref":"master","sha":"521c8a480fd348b9912ad3db4ce75bfe52b5084e","user":{"login":"os-autoinst","id":6918706,"avatar_url":"https://avatars.githubusercontent.com/u/6918706?v=3","gravatar_id":"","url":"https://api.github.com/users/os-autoinst","html_url":"https://github.com/os-autoinst","followers_url":"https://api.github.com/users/os-autoinst/followers","following_url":"https://api.github.com/users/os-autoinst/following{/other_user}","gists_url":"https://api.github.com/users/os-autoinst/gists{/gist_id}","starred_url":"https://api.github.com/users/os-autoinst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/os-autoinst/subscriptions","organizations_url":"https://api.github.com/users/os-autoinst/orgs","repos_url":"https://api.github.com/users/os-autoinst/repos","events_url":"https://api.github.com/users/os-autoinst/events{/privacy}","received_events_url":"https://api.github.com/users/os-autoinst/received_events","type":"Organization","site_admin":false},"repo":{"id":17630288,"name":"os-autoinst-distri-opensuse","full_name":"os-autoinst/os-autoinst-distri-opensuse","owner":{"login":"os-autoinst","id":6918706,"avatar_url":"https://avatars.githubusercontent.com/u/6918706?v=3","gravatar_id":"","url":"https://api.github.com/users/os-autoinst","html_url":"https://github.com/os-autoinst","followers_url":"https://api.github.com/users/os-autoinst/followers","following_url":"https://api.github.com/users/os-autoinst/following{/other_user}","gists_url":"https://api.github.com/users/os-autoinst/gists{/gist_id}","starred_url":"https://api.github.com/users/os-autoinst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/os-autoinst/subscriptions","organizations_url":"https://api.github.com/users/os-autoinst/orgs","repos_url":"https://api.github.com/users/os-autoinst/repos","events_url":"https://api.github.com/users/os-autoinst/events{/privacy}","received_events_url":"https://api.github.com/users/os-autoinst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse","description":"os-autoinst test cases for openSUSE","fork":false,"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse","forks_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/forks","keys_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/teams","hooks_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/hooks","issue_events_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/events{/number}","events_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/events","assignees_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/assignees{/user}","branches_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/branches{/branch}","tags_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/tags","blobs_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/git/refs{/sha}","trees_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/statuses/{sha}","languages_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/languages","stargazers_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/stargazers","contributors_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/contributors","subscribers_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/subscribers","subscription_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/subscription","commits_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/commits{/sha}","git_commits_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/git/commits{/sha}","comments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/comments{/number}","issue_comment_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/comments{/number}","contents_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/contents/{+path}","compare_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/merges","archive_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/downloads","issues_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues{/number}","pulls_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls{/number}","milestones_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/milestones{/number}","notifications_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/labels{/name}","releases_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/releases{/id}","deployments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/deployments","created_at":"2014-03-11T12:54:42Z","updated_at":"2016-10-22T05:00:17Z","pushed_at":"2016-12-08T17:52:29Z","git_url":"git://github.com/os-autoinst/os-autoinst-distri-opensuse.git","ssh_url":"git@github.com:os-autoinst/os-autoinst-distri-opensuse.git","clone_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse.git","svn_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse","homepage":"https://progress.opensuse.org/projects/openqatests/issues","size":69624,"stargazers_count":13,"watchers_count":13,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":78,"mirror_url":null,"open_issues_count":13,"forks":78,"open_issues":13,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/2204"},"html":{"href":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/2204"},"issue":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/2204"},"comments":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/2204/comments"},"review_comments":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/2204/comments"},"review_comment":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/2204/commits"},"statuses":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/statuses/2d4d82763dbea88c8a93b60d4c9762b83aed69d6"}}}}
{"actor":{"display_login":"foursixnine"}}