{"action":"created","comment":{"url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/comments/58286877","id":58286877,"diff_hunk":"@@ -0,0 +1,40 @@\n+package com.roboclub.robobuggy.ui;\n+\n+/**\n+ * commenting this out until gui tests work on travis\n+ */\n+public class BuggyStatusPanelTest {\n+//\n+//    @Before\n+//    public void setup() {\n+//\n+//        Gui.getInstance();\n+//\n+//    }\n+//\n+//    @After\n+//    public void tearDown() {\n+//        Gui.close();\n+//    }\n+//\n+//    @Test\n+//    public void test_GuiBrakesToggle() throws InterruptedException {\n+//        Publisher p = new Publisher(NodeChannel.BRAKE_STATE.getMsgPath());\n+//        for (int i = 0; i < 10; i++) {\n+//            Thread.sleep(1000);\n+//            p.publish(new BrakeStateMessage(false));\n+//            Thread.sleep(1000);\n+//            p.publish(new BrakeStateMessage(true));\n+//        }\n+//    }\n+//\n+//    @Test\n+//    public void test_GuiBatteryLevelIncrease() throws InterruptedException {\n+//        Publisher p2 = new Publisher(NodeChannel.BATTERY.getMsgPath());\n+//        Thread.sleep(1000);\n+//        for (int i = 0; i < 10; i++) {\n+//            p2.publish(new BatteryLevelMessage(i * 1000));\n+//        }\n+//    }\n+\n+}","path":"real_time/surface_src/java_src/Alice/src/test/java/com/roboclub/robobuggy/ui/BuggyStatusPanelTest.java","position":40,"original_position":40,"commit_id":"4b661c966d1c103e2a50b8d40bf181495e99ae79","original_commit_id":"4b661c966d1c103e2a50b8d40bf181495e99ae79","user":{"login":"TrevorDecker","id":3860985,"avatar_url":"https://avatars.githubusercontent.com/u/3860985?v=3","gravatar_id":"","url":"https://api.github.com/users/TrevorDecker","html_url":"https://github.com/TrevorDecker","followers_url":"https://api.github.com/users/TrevorDecker/followers","following_url":"https://api.github.com/users/TrevorDecker/following{/other_user}","gists_url":"https://api.github.com/users/TrevorDecker/gists{/gist_id}","starred_url":"https://api.github.com/users/TrevorDecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrevorDecker/subscriptions","organizations_url":"https://api.github.com/users/TrevorDecker/orgs","repos_url":"https://api.github.com/users/TrevorDecker/repos","events_url":"https://api.github.com/users/TrevorDecker/events{/privacy}","received_events_url":"https://api.github.com/users/TrevorDecker/received_events","type":"User","site_admin":false},"body":"should check if computer is a mac instead of commenting out code ","created_at":"2016-04-02T02:20:09Z","updated_at":"2016-04-02T02:20:09Z","html_url":"https://github.com/CMU-Robotics-Club/RoboBuggy/pull/397#discussion_r58286877","pull_request_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/397","_links":{"self":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/comments/58286877"},"html":{"href":"https://github.com/CMU-Robotics-Club/RoboBuggy/pull/397#discussion_r58286877"},"pull_request":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/397"}}},"pull_request":{"url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/397","id":65017014,"html_url":"https://github.com/CMU-Robotics-Club/RoboBuggy/pull/397","diff_url":"https://github.com/CMU-Robotics-Club/RoboBuggy/pull/397.diff","patch_url":"https://github.com/CMU-Robotics-Club/RoboBuggy/pull/397.patch","issue_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/397","number":397,"state":"open","locked":false,"title":"GUI status of brake and battery level","user":{"login":"VivaanBahl","id":8837619,"avatar_url":"https://avatars.githubusercontent.com/u/8837619?v=3","gravatar_id":"","url":"https://api.github.com/users/VivaanBahl","html_url":"https://github.com/VivaanBahl","followers_url":"https://api.github.com/users/VivaanBahl/followers","following_url":"https://api.github.com/users/VivaanBahl/following{/other_user}","gists_url":"https://api.github.com/users/VivaanBahl/gists{/gist_id}","starred_url":"https://api.github.com/users/VivaanBahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VivaanBahl/subscriptions","organizations_url":"https://api.github.com/users/VivaanBahl/orgs","repos_url":"https://api.github.com/users/VivaanBahl/repos","events_url":"https://api.github.com/users/VivaanBahl/events{/privacy}","received_events_url":"https://api.github.com/users/VivaanBahl/received_events","type":"User","site_admin":false},"body":"Will add in support for reasons of braking soon","created_at":"2016-04-01T23:11:29Z","updated_at":"2016-04-02T02:20:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/397/commits","review_comments_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/397/comments","review_comment_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/397/comments","statuses_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/statuses/4b661c966d1c103e2a50b8d40bf181495e99ae79","head":{"label":"CMU-Robotics-Club:vivaan-guiStatuses","ref":"vivaan-guiStatuses","sha":"4b661c966d1c103e2a50b8d40bf181495e99ae79","user":{"login":"CMU-Robotics-Club","id":5898082,"avatar_url":"https://avatars.githubusercontent.com/u/5898082?v=3","gravatar_id":"","url":"https://api.github.com/users/CMU-Robotics-Club","html_url":"https://github.com/CMU-Robotics-Club","followers_url":"https://api.github.com/users/CMU-Robotics-Club/followers","following_url":"https://api.github.com/users/CMU-Robotics-Club/following{/other_user}","gists_url":"https://api.github.com/users/CMU-Robotics-Club/gists{/gist_id}","starred_url":"https://api.github.com/users/CMU-Robotics-Club/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMU-Robotics-Club/subscriptions","organizations_url":"https://api.github.com/users/CMU-Robotics-Club/orgs","repos_url":"https://api.github.com/users/CMU-Robotics-Club/repos","events_url":"https://api.github.com/users/CMU-Robotics-Club/events{/privacy}","received_events_url":"https://api.github.com/users/CMU-Robotics-Club/received_events","type":"Organization","site_admin":false},"repo":{"id":23744385,"name":"RoboBuggy","full_name":"CMU-Robotics-Club/RoboBuggy","owner":{"login":"CMU-Robotics-Club","id":5898082,"avatar_url":"https://avatars.githubusercontent.com/u/5898082?v=3","gravatar_id":"","url":"https://api.github.com/users/CMU-Robotics-Club","html_url":"https://github.com/CMU-Robotics-Club","followers_url":"https://api.github.com/users/CMU-Robotics-Club/followers","following_url":"https://api.github.com/users/CMU-Robotics-Club/following{/other_user}","gists_url":"https://api.github.com/users/CMU-Robotics-Club/gists{/gist_id}","starred_url":"https://api.github.com/users/CMU-Robotics-Club/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMU-Robotics-Club/subscriptions","organizations_url":"https://api.github.com/users/CMU-Robotics-Club/orgs","repos_url":"https://api.github.com/users/CMU-Robotics-Club/repos","events_url":"https://api.github.com/users/CMU-Robotics-Club/events{/privacy}","received_events_url":"https://api.github.com/users/CMU-Robotics-Club/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CMU-Robotics-Club/RoboBuggy","description":"99 problems, but a driver ain't one. (Push code, not buggies)","fork":false,"url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy","forks_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/forks","keys_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/teams","hooks_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/hooks","issue_events_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/events{/number}","events_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/events","assignees_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/assignees{/user}","branches_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/branches{/branch}","tags_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/tags","blobs_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/refs{/sha}","trees_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/statuses/{sha}","languages_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/languages","stargazers_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/stargazers","contributors_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/contributors","subscribers_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/subscribers","subscription_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/subscription","commits_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/commits{/sha}","git_commits_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/commits{/sha}","comments_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/comments{/number}","issue_comment_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/comments{/number}","contents_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/contents/{+path}","compare_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/merges","archive_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/downloads","issues_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues{/number}","pulls_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls{/number}","milestones_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/milestones{/number}","notifications_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/labels{/name}","releases_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/releases{/id}","deployments_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/deployments","created_at":"2014-09-06T20:20:03Z","updated_at":"2016-03-01T13:36:08Z","pushed_at":"2016-04-02T02:10:35Z","git_url":"git://github.com/CMU-Robotics-Club/RoboBuggy.git","ssh_url":"git@github.com:CMU-Robotics-Club/RoboBuggy.git","clone_url":"https://github.com/CMU-Robotics-Club/RoboBuggy.git","svn_url":"https://github.com/CMU-Robotics-Club/RoboBuggy","homepage":"","size":165161,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":85,"forks":2,"open_issues":85,"watchers":8,"default_branch":"master"}},"base":{"label":"CMU-Robotics-Club:master","ref":"master","sha":"459196d64b63f85ac2ba74f405c7009974e0b12b","user":{"login":"CMU-Robotics-Club","id":5898082,"avatar_url":"https://avatars.githubusercontent.com/u/5898082?v=3","gravatar_id":"","url":"https://api.github.com/users/CMU-Robotics-Club","html_url":"https://github.com/CMU-Robotics-Club","followers_url":"https://api.github.com/users/CMU-Robotics-Club/followers","following_url":"https://api.github.com/users/CMU-Robotics-Club/following{/other_user}","gists_url":"https://api.github.com/users/CMU-Robotics-Club/gists{/gist_id}","starred_url":"https://api.github.com/users/CMU-Robotics-Club/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMU-Robotics-Club/subscriptions","organizations_url":"https://api.github.com/users/CMU-Robotics-Club/orgs","repos_url":"https://api.github.com/users/CMU-Robotics-Club/repos","events_url":"https://api.github.com/users/CMU-Robotics-Club/events{/privacy}","received_events_url":"https://api.github.com/users/CMU-Robotics-Club/received_events","type":"Organization","site_admin":false},"repo":{"id":23744385,"name":"RoboBuggy","full_name":"CMU-Robotics-Club/RoboBuggy","owner":{"login":"CMU-Robotics-Club","id":5898082,"avatar_url":"https://avatars.githubusercontent.com/u/5898082?v=3","gravatar_id":"","url":"https://api.github.com/users/CMU-Robotics-Club","html_url":"https://github.com/CMU-Robotics-Club","followers_url":"https://api.github.com/users/CMU-Robotics-Club/followers","following_url":"https://api.github.com/users/CMU-Robotics-Club/following{/other_user}","gists_url":"https://api.github.com/users/CMU-Robotics-Club/gists{/gist_id}","starred_url":"https://api.github.com/users/CMU-Robotics-Club/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMU-Robotics-Club/subscriptions","organizations_url":"https://api.github.com/users/CMU-Robotics-Club/orgs","repos_url":"https://api.github.com/users/CMU-Robotics-Club/repos","events_url":"https://api.github.com/users/CMU-Robotics-Club/events{/privacy}","received_events_url":"https://api.github.com/users/CMU-Robotics-Club/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CMU-Robotics-Club/RoboBuggy","description":"99 problems, but a driver ain't one. (Push code, not buggies)","fork":false,"url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy","forks_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/forks","keys_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/teams","hooks_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/hooks","issue_events_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/events{/number}","events_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/events","assignees_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/assignees{/user}","branches_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/branches{/branch}","tags_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/tags","blobs_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/refs{/sha}","trees_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/statuses/{sha}","languages_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/languages","stargazers_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/stargazers","contributors_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/contributors","subscribers_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/subscribers","subscription_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/subscription","commits_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/commits{/sha}","git_commits_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/commits{/sha}","comments_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/comments{/number}","issue_comment_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/comments{/number}","contents_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/contents/{+path}","compare_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/merges","archive_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/downloads","issues_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues{/number}","pulls_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls{/number}","milestones_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/milestones{/number}","notifications_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/labels{/name}","releases_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/releases{/id}","deployments_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/deployments","created_at":"2014-09-06T20:20:03Z","updated_at":"2016-03-01T13:36:08Z","pushed_at":"2016-04-02T02:10:35Z","git_url":"git://github.com/CMU-Robotics-Club/RoboBuggy.git","ssh_url":"git@github.com:CMU-Robotics-Club/RoboBuggy.git","clone_url":"https://github.com/CMU-Robotics-Club/RoboBuggy.git","svn_url":"https://github.com/CMU-Robotics-Club/RoboBuggy","homepage":"","size":165161,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":85,"forks":2,"open_issues":85,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/397"},"html":{"href":"https://github.com/CMU-Robotics-Club/RoboBuggy/pull/397"},"issue":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/397"},"comments":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/397/comments"},"review_comments":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/397/comments"},"review_comment":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/397/commits"},"statuses":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/statuses/4b661c966d1c103e2a50b8d40bf181495e99ae79"}}}}