{"action":"created","comment":{"url":"https://api.github.com/repos/Catrobat/Catroid/pulls/comments/37770345","id":37770345,"diff_hunk":"@@ -0,0 +1,179 @@\n+/*\n+ * Catroid: An on-device visual programming system for Android devices\n+ * Copyright (C) 2010-2015 The Catrobat Team\n+ * (<http://developer.catrobat.org/credits>)\n+ *\n+ * This program is free software: you can redistribute it and/or modify\n+ * it under the terms of the GNU Affero General Public License as\n+ * published by the Free Software Foundation, either version 3 of the\n+ * License, or (at your option) any later version.\n+ *\n+ * An additional term exception under section 7 of the GNU Affero\n+ * General Public License, version 3, is available at\n+ * http://developer.catrobat.org/license_additional_term\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n+ * GNU Affero General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU Affero General Public License\n+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.\n+ */\n+\n+package org.catrobat.catroid.uitest.content.brick;\n+\n+import android.widget.EditText;\n+import android.widget.TextView;\n+\n+import org.catrobat.catroid.ProjectManager;\n+import org.catrobat.catroid.R;\n+import org.catrobat.catroid.content.Project;\n+import org.catrobat.catroid.content.Script;\n+import org.catrobat.catroid.content.Sprite;\n+import org.catrobat.catroid.content.StartScript;\n+import org.catrobat.catroid.content.bricks.PhiroRGBLightBrick;\n+import org.catrobat.catroid.ui.ScriptActivity;\n+import org.catrobat.catroid.uitest.util.BaseActivityInstrumentationTestCase;\n+import org.catrobat.catroid.uitest.util.UiTestUtils;\n+\n+public class PhiroSeekbarColorBrickTest extends BaseActivityInstrumentationTestCase<ScriptActivity> {\n+\tprivate static final int SET_RED_COLOR_INITIALLY = 0;\n+\tprivate static final int SET_GREEN_COLOR_INITIALLY = 10;\n+\tprivate static final int SET_BLUE_COLOR_INITIALLY = 15;\n+\n+\tprivate Project project;\n+\tprivate PhiroRGBLightBrick colorBrick;\n+\n+\tpublic PhiroSeekbarColorBrickTest() {\n+\t\tsuper(ScriptActivity.class);\n+\t}\n+\n+\t@Override\n+\tpublic void setUp() throws Exception {\n+\t\t// normally super.setUp should be called first\n+\t\t// but kept the test failing due to view is null\n+\t\t// when starting in ScriptActivity\n+\t\tcreateProject();\n+\t\tsuper.setUp();\n+\t}\n+\n+\tpublic void testRedSeekBar() {\n+\t\t//click on the RED editText","path":"catroidTest/src/org/catrobat/catroid/uitest/content/brick/PhiroSeekbarColorBrickTest.java","position":62,"original_position":62,"commit_id":"20e9d0fdd9a298a51a9129ff69060e602c48d21f","original_commit_id":"1ad09c454d4fb5c6893f08a1744ce27d2385efcd","user":{"login":"robertpainsi","id":1794599,"avatar_url":"https://avatars.githubusercontent.com/u/1794599?v=3","gravatar_id":"","url":"https://api.github.com/users/robertpainsi","html_url":"https://github.com/robertpainsi","followers_url":"https://api.github.com/users/robertpainsi/followers","following_url":"https://api.github.com/users/robertpainsi/following{/other_user}","gists_url":"https://api.github.com/users/robertpainsi/gists{/gist_id}","starred_url":"https://api.github.com/users/robertpainsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertpainsi/subscriptions","organizations_url":"https://api.github.com/users/robertpainsi/orgs","repos_url":"https://api.github.com/users/robertpainsi/repos","events_url":"https://api.github.com/users/robertpainsi/events{/privacy}","received_events_url":"https://api.github.com/users/robertpainsi/received_events","type":"User","site_admin":false},"body":"Meaning, you should remove the comment. Remove all comments except the one in the setUp methods.","created_at":"2015-08-24T16:23:31Z","updated_at":"2015-08-24T16:23:31Z","html_url":"https://github.com/Catrobat/Catroid/pull/1313#discussion_r37770345","pull_request_url":"https://api.github.com/repos/Catrobat/Catroid/pulls/1313","_links":{"self":{"href":"https://api.github.com/repos/Catrobat/Catroid/pulls/comments/37770345"},"html":{"href":"https://github.com/Catrobat/Catroid/pull/1313#discussion_r37770345"},"pull_request":{"href":"https://api.github.com/repos/Catrobat/Catroid/pulls/1313"}}},"pull_request":{"url":"https://api.github.com/repos/Catrobat/Catroid/pulls/1313","id":41325774,"html_url":"https://github.com/Catrobat/Catroid/pull/1313","diff_url":"https://github.com/Catrobat/Catroid/pull/1313.diff","patch_url":"https://github.com/Catrobat/Catroid/pull/1313.patch","issue_url":"https://api.github.com/repos/Catrobat/Catroid/issues/1313","number":1313,"state":"closed","locked":false,"title":"CAT-1530 Implemented Phiro Seekbartest and bugfixes","user":{"login":"AdrianSch","id":5868333,"avatar_url":"https://avatars.githubusercontent.com/u/5868333?v=3","gravatar_id":"","url":"https://api.github.com/users/AdrianSch","html_url":"https://github.com/AdrianSch","followers_url":"https://api.github.com/users/AdrianSch/followers","following_url":"https://api.github.com/users/AdrianSch/following{/other_user}","gists_url":"https://api.github.com/users/AdrianSch/gists{/gist_id}","starred_url":"https://api.github.com/users/AdrianSch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdrianSch/subscriptions","organizations_url":"https://api.github.com/users/AdrianSch/orgs","repos_url":"https://api.github.com/users/AdrianSch/repos","events_url":"https://api.github.com/users/AdrianSch/events{/privacy}","received_events_url":"https://api.github.com/users/AdrianSch/received_events","type":"User","site_admin":false},"body":"Changed the LED Pins in the PhiroImpl.java\r\nAdded a delay action to the PhiroPlayToneBrick\r\nImplemented tests for PhiroRGBLightBrick Seekbars","created_at":"2015-07-31T10:16:35Z","updated_at":"2015-08-24T16:23:31Z","closed_at":"2015-08-24T08:24:16Z","merged_at":null,"merge_commit_sha":"039778179d357c1187adc458a62d12ebfe4f2773","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Catrobat/Catroid/pulls/1313/commits","review_comments_url":"https://api.github.com/repos/Catrobat/Catroid/pulls/1313/comments","review_comment_url":"https://api.github.com/repos/Catrobat/Catroid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Catrobat/Catroid/issues/1313/comments","statuses_url":"https://api.github.com/repos/Catrobat/Catroid/statuses/20e9d0fdd9a298a51a9129ff69060e602c48d21f","head":{"label":"AdrianSch:CAT-1530","ref":"CAT-1530","sha":"20e9d0fdd9a298a51a9129ff69060e602c48d21f","user":{"login":"AdrianSch","id":5868333,"avatar_url":"https://avatars.githubusercontent.com/u/5868333?v=3","gravatar_id":"","url":"https://api.github.com/users/AdrianSch","html_url":"https://github.com/AdrianSch","followers_url":"https://api.github.com/users/AdrianSch/followers","following_url":"https://api.github.com/users/AdrianSch/following{/other_user}","gists_url":"https://api.github.com/users/AdrianSch/gists{/gist_id}","starred_url":"https://api.github.com/users/AdrianSch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdrianSch/subscriptions","organizations_url":"https://api.github.com/users/AdrianSch/orgs","repos_url":"https://api.github.com/users/AdrianSch/repos","events_url":"https://api.github.com/users/AdrianSch/events{/privacy}","received_events_url":"https://api.github.com/users/AdrianSch/received_events","type":"User","site_admin":false},"repo":{"id":38870311,"name":"Catroid","full_name":"AdrianSch/Catroid","owner":{"login":"AdrianSch","id":5868333,"avatar_url":"https://avatars.githubusercontent.com/u/5868333?v=3","gravatar_id":"","url":"https://api.github.com/users/AdrianSch","html_url":"https://github.com/AdrianSch","followers_url":"https://api.github.com/users/AdrianSch/followers","following_url":"https://api.github.com/users/AdrianSch/following{/other_user}","gists_url":"https://api.github.com/users/AdrianSch/gists{/gist_id}","starred_url":"https://api.github.com/users/AdrianSch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdrianSch/subscriptions","organizations_url":"https://api.github.com/users/AdrianSch/orgs","repos_url":"https://api.github.com/users/AdrianSch/repos","events_url":"https://api.github.com/users/AdrianSch/events{/privacy}","received_events_url":"https://api.github.com/users/AdrianSch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AdrianSch/Catroid","description":"Writing programs on an Android device without prior knowledge.","fork":true,"url":"https://api.github.com/repos/AdrianSch/Catroid","forks_url":"https://api.github.com/repos/AdrianSch/Catroid/forks","keys_url":"https://api.github.com/repos/AdrianSch/Catroid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AdrianSch/Catroid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AdrianSch/Catroid/teams","hooks_url":"https://api.github.com/repos/AdrianSch/Catroid/hooks","issue_events_url":"https://api.github.com/repos/AdrianSch/Catroid/issues/events{/number}","events_url":"https://api.github.com/repos/AdrianSch/Catroid/events","assignees_url":"https://api.github.com/repos/AdrianSch/Catroid/assignees{/user}","branches_url":"https://api.github.com/repos/AdrianSch/Catroid/branches{/branch}","tags_url":"https://api.github.com/repos/AdrianSch/Catroid/tags","blobs_url":"https://api.github.com/repos/AdrianSch/Catroid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AdrianSch/Catroid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AdrianSch/Catroid/git/refs{/sha}","trees_url":"https://api.github.com/repos/AdrianSch/Catroid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AdrianSch/Catroid/statuses/{sha}","languages_url":"https://api.github.com/repos/AdrianSch/Catroid/languages","stargazers_url":"https://api.github.com/repos/AdrianSch/Catroid/stargazers","contributors_url":"https://api.github.com/repos/AdrianSch/Catroid/contributors","subscribers_url":"https://api.github.com/repos/AdrianSch/Catroid/subscribers","subscription_url":"https://api.github.com/repos/AdrianSch/Catroid/subscription","commits_url":"https://api.github.com/repos/AdrianSch/Catroid/commits{/sha}","git_commits_url":"https://api.github.com/repos/AdrianSch/Catroid/git/commits{/sha}","comments_url":"https://api.github.com/repos/AdrianSch/Catroid/comments{/number}","issue_comment_url":"https://api.github.com/repos/AdrianSch/Catroid/issues/comments{/number}","contents_url":"https://api.github.com/repos/AdrianSch/Catroid/contents/{+path}","compare_url":"https://api.github.com/repos/AdrianSch/Catroid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AdrianSch/Catroid/merges","archive_url":"https://api.github.com/repos/AdrianSch/Catroid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AdrianSch/Catroid/downloads","issues_url":"https://api.github.com/repos/AdrianSch/Catroid/issues{/number}","pulls_url":"https://api.github.com/repos/AdrianSch/Catroid/pulls{/number}","milestones_url":"https://api.github.com/repos/AdrianSch/Catroid/milestones{/number}","notifications_url":"https://api.github.com/repos/AdrianSch/Catroid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AdrianSch/Catroid/labels{/name}","releases_url":"https://api.github.com/repos/AdrianSch/Catroid/releases{/id}","created_at":"2015-07-10T08:39:31Z","updated_at":"2015-07-10T08:39:35Z","pushed_at":"2015-08-24T13:30:37Z","git_url":"git://github.com/AdrianSch/Catroid.git","ssh_url":"git@github.com:AdrianSch/Catroid.git","clone_url":"https://github.com/AdrianSch/Catroid.git","svn_url":"https://github.com/AdrianSch/Catroid","homepage":"https://share.catrob.at/pocketcode","size":90412,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Catrobat:develop","ref":"develop","sha":"ff2889020aba0252caca66ea72ffe1e6f7cacb7f","user":{"login":"Catrobat","id":1747223,"avatar_url":"https://avatars.githubusercontent.com/u/1747223?v=3","gravatar_id":"","url":"https://api.github.com/users/Catrobat","html_url":"https://github.com/Catrobat","followers_url":"https://api.github.com/users/Catrobat/followers","following_url":"https://api.github.com/users/Catrobat/following{/other_user}","gists_url":"https://api.github.com/users/Catrobat/gists{/gist_id}","starred_url":"https://api.github.com/users/Catrobat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Catrobat/subscriptions","organizations_url":"https://api.github.com/users/Catrobat/orgs","repos_url":"https://api.github.com/users/Catrobat/repos","events_url":"https://api.github.com/users/Catrobat/events{/privacy}","received_events_url":"https://api.github.com/users/Catrobat/received_events","type":"Organization","site_admin":false},"repo":{"id":4475999,"name":"Catroid","full_name":"Catrobat/Catroid","owner":{"login":"Catrobat","id":1747223,"avatar_url":"https://avatars.githubusercontent.com/u/1747223?v=3","gravatar_id":"","url":"https://api.github.com/users/Catrobat","html_url":"https://github.com/Catrobat","followers_url":"https://api.github.com/users/Catrobat/followers","following_url":"https://api.github.com/users/Catrobat/following{/other_user}","gists_url":"https://api.github.com/users/Catrobat/gists{/gist_id}","starred_url":"https://api.github.com/users/Catrobat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Catrobat/subscriptions","organizations_url":"https://api.github.com/users/Catrobat/orgs","repos_url":"https://api.github.com/users/Catrobat/repos","events_url":"https://api.github.com/users/Catrobat/events{/privacy}","received_events_url":"https://api.github.com/users/Catrobat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Catrobat/Catroid","description":"Writing programs on an Android device without prior knowledge.","fork":false,"url":"https://api.github.com/repos/Catrobat/Catroid","forks_url":"https://api.github.com/repos/Catrobat/Catroid/forks","keys_url":"https://api.github.com/repos/Catrobat/Catroid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Catrobat/Catroid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Catrobat/Catroid/teams","hooks_url":"https://api.github.com/repos/Catrobat/Catroid/hooks","issue_events_url":"https://api.github.com/repos/Catrobat/Catroid/issues/events{/number}","events_url":"https://api.github.com/repos/Catrobat/Catroid/events","assignees_url":"https://api.github.com/repos/Catrobat/Catroid/assignees{/user}","branches_url":"https://api.github.com/repos/Catrobat/Catroid/branches{/branch}","tags_url":"https://api.github.com/repos/Catrobat/Catroid/tags","blobs_url":"https://api.github.com/repos/Catrobat/Catroid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Catrobat/Catroid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Catrobat/Catroid/git/refs{/sha}","trees_url":"https://api.github.com/repos/Catrobat/Catroid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Catrobat/Catroid/statuses/{sha}","languages_url":"https://api.github.com/repos/Catrobat/Catroid/languages","stargazers_url":"https://api.github.com/repos/Catrobat/Catroid/stargazers","contributors_url":"https://api.github.com/repos/Catrobat/Catroid/contributors","subscribers_url":"https://api.github.com/repos/Catrobat/Catroid/subscribers","subscription_url":"https://api.github.com/repos/Catrobat/Catroid/subscription","commits_url":"https://api.github.com/repos/Catrobat/Catroid/commits{/sha}","git_commits_url":"https://api.github.com/repos/Catrobat/Catroid/git/commits{/sha}","comments_url":"https://api.github.com/repos/Catrobat/Catroid/comments{/number}","issue_comment_url":"https://api.github.com/repos/Catrobat/Catroid/issues/comments{/number}","contents_url":"https://api.github.com/repos/Catrobat/Catroid/contents/{+path}","compare_url":"https://api.github.com/repos/Catrobat/Catroid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Catrobat/Catroid/merges","archive_url":"https://api.github.com/repos/Catrobat/Catroid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Catrobat/Catroid/downloads","issues_url":"https://api.github.com/repos/Catrobat/Catroid/issues{/number}","pulls_url":"https://api.github.com/repos/Catrobat/Catroid/pulls{/number}","milestones_url":"https://api.github.com/repos/Catrobat/Catroid/milestones{/number}","notifications_url":"https://api.github.com/repos/Catrobat/Catroid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Catrobat/Catroid/labels{/name}","releases_url":"https://api.github.com/repos/Catrobat/Catroid/releases{/id}","created_at":"2012-05-29T00:18:04Z","updated_at":"2015-08-18T12:46:47Z","pushed_at":"2015-08-24T13:59:57Z","git_url":"git://github.com/Catrobat/Catroid.git","ssh_url":"git@github.com:Catrobat/Catroid.git","clone_url":"https://github.com/Catrobat/Catroid.git","svn_url":"https://github.com/Catrobat/Catroid","homepage":"https://share.catrob.at/pocketcode","size":221333,"stargazers_count":108,"watchers_count":108,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":118,"mirror_url":null,"open_issues_count":117,"forks":118,"open_issues":117,"watchers":108,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Catrobat/Catroid/pulls/1313"},"html":{"href":"https://github.com/Catrobat/Catroid/pull/1313"},"issue":{"href":"https://api.github.com/repos/Catrobat/Catroid/issues/1313"},"comments":{"href":"https://api.github.com/repos/Catrobat/Catroid/issues/1313/comments"},"review_comments":{"href":"https://api.github.com/repos/Catrobat/Catroid/pulls/1313/comments"},"review_comment":{"href":"https://api.github.com/repos/Catrobat/Catroid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Catrobat/Catroid/pulls/1313/commits"},"statuses":{"href":"https://api.github.com/repos/Catrobat/Catroid/statuses/20e9d0fdd9a298a51a9129ff69060e602c48d21f"}}}}