{"action":"created","comment":{"url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/pulls/comments/109318538","pull_request_review_id":30412794,"id":109318538,"diff_hunk":"@@ -26,14 +28,58 @@ public void testStart() throws Exception {\n \n     public void testStartMapActivity() {\n         solo.assertCurrentActivity(\"Incorrect Activity in testStartMapActivity()\", UserHomePageActivity.class);\n-        solo.clickOnButton(\"View Map\");\n+        solo.clickOnButton(0);\n+\n+        solo.assertCurrentActivity(\"Incorrect Activity in testStartMapActivity()\", MapsActivity.class);\n+    }\n+\n+    public void testRequestsItem() {\n+        swipeToRight(); // open the navigation drawer\n+\n+        solo.clickOnMenuItem(\"Requests\");\n+        try {\n+            wait(1000);\n+        } catch (Exception e) {\n+            e.printStackTrace();\n+        }\n+        assert(this.getActivity().equals(FollowActivity.class));\n \n-        // TODO: The map feature has not been completed yet, so the activity should not change\n-        solo.assertCurrentActivity(\"Incorrect Activity in testStartMapActivity()\", UserHomePageActivity.class);\n+    }\n+    public void testAddItem() {\n+        swipeToRight(); // open the navigation drawer\n+\n+        solo.clickOnMenuItem(\"New Event\");\n+        try {\n+            wait(1000);\n+        } catch (Exception e) {\n+            e.printStackTrace();\n+        }\n+        assert(this.getActivity().equals(AddEventActivity.class));\n+    }\n+    public void testLogoutItem() {\n+        swipeToRight(); // open the navigation drawer\n+\n+        solo.clickOnMenuItem(\"Logout\");\n+        try {\n+            wait(1000);\n+        } catch (Exception e) {\n+            e.printStackTrace();\n+        }\n+        assert(this.getActivity().equals(MainActivity.class));\n     }\n \n     @Override\n     public void tearDown() throws Exception {\n         solo.finishOpenedActivities();\n     }\n+\n+    //http://stackoverflow.com/a/29645959","path":"app/src/androidTest/java/com/cmput301/cmput301w127t06/moodbook/UserHomePageActivityTest.java","position":62,"original_position":62,"commit_id":"04cd75baa66217e628b54f1a761dba78401c1289","original_commit_id":"04cd75baa66217e628b54f1a761dba78401c1289","user":{"login":"Everlag","id":2524459,"avatar_url":"https://avatars0.githubusercontent.com/u/2524459?v=3","gravatar_id":"","url":"https://api.github.com/users/Everlag","html_url":"https://github.com/Everlag","followers_url":"https://api.github.com/users/Everlag/followers","following_url":"https://api.github.com/users/Everlag/following{/other_user}","gists_url":"https://api.github.com/users/Everlag/gists{/gist_id}","starred_url":"https://api.github.com/users/Everlag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Everlag/subscriptions","organizations_url":"https://api.github.com/users/Everlag/orgs","repos_url":"https://api.github.com/users/Everlag/repos","events_url":"https://api.github.com/users/Everlag/events{/privacy}","received_events_url":"https://api.github.com/users/Everlag/received_events","type":"User","site_admin":false},"body":"Needs date","created_at":"2017-04-02T20:04:19Z","updated_at":"2017-04-02T20:04:26Z","html_url":"https://github.com/CMPUT301W17T06/MoodBook/pull/51#discussion_r109318538","pull_request_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/pulls/comments/109318538"},"html":{"href":"https://github.com/CMPUT301W17T06/MoodBook/pull/51#discussion_r109318538"},"pull_request":{"href":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/pulls/51","id":113832519,"html_url":"https://github.com/CMPUT301W17T06/MoodBook/pull/51","diff_url":"https://github.com/CMPUT301W17T06/MoodBook/pull/51.diff","patch_url":"https://github.com/CMPUT301W17T06/MoodBook/pull/51.patch","issue_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/issues/51","number":51,"state":"open","locked":false,"title":"final tests","user":{"login":"kgghfc","id":25066909,"avatar_url":"https://avatars1.githubusercontent.com/u/25066909?v=3","gravatar_id":"","url":"https://api.github.com/users/kgghfc","html_url":"https://github.com/kgghfc","followers_url":"https://api.github.com/users/kgghfc/followers","following_url":"https://api.github.com/users/kgghfc/following{/other_user}","gists_url":"https://api.github.com/users/kgghfc/gists{/gist_id}","starred_url":"https://api.github.com/users/kgghfc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgghfc/subscriptions","organizations_url":"https://api.github.com/users/kgghfc/orgs","repos_url":"https://api.github.com/users/kgghfc/repos","events_url":"https://api.github.com/users/kgghfc/events{/privacy}","received_events_url":"https://api.github.com/users/kgghfc/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-04-02T20:02:29Z","updated_at":"2017-04-02T20:04:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"758eaeba86be6b356a23787c0f42b77fe1efed79","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/pulls/51/commits","review_comments_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/pulls/51/comments","review_comment_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/issues/51/comments","statuses_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/statuses/04cd75baa66217e628b54f1a761dba78401c1289","head":{"label":"CMPUT301W17T06:tests2","ref":"tests2","sha":"04cd75baa66217e628b54f1a761dba78401c1289","user":{"login":"CMPUT301W17T06","id":25674863,"avatar_url":"https://avatars0.githubusercontent.com/u/25674863?v=3","gravatar_id":"","url":"https://api.github.com/users/CMPUT301W17T06","html_url":"https://github.com/CMPUT301W17T06","followers_url":"https://api.github.com/users/CMPUT301W17T06/followers","following_url":"https://api.github.com/users/CMPUT301W17T06/following{/other_user}","gists_url":"https://api.github.com/users/CMPUT301W17T06/gists{/gist_id}","starred_url":"https://api.github.com/users/CMPUT301W17T06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMPUT301W17T06/subscriptions","organizations_url":"https://api.github.com/users/CMPUT301W17T06/orgs","repos_url":"https://api.github.com/users/CMPUT301W17T06/repos","events_url":"https://api.github.com/users/CMPUT301W17T06/events{/privacy}","received_events_url":"https://api.github.com/users/CMPUT301W17T06/received_events","type":"Organization","site_admin":false},"repo":{"id":81517792,"name":"MoodBook","full_name":"CMPUT301W17T06/MoodBook","owner":{"login":"CMPUT301W17T06","id":25674863,"avatar_url":"https://avatars0.githubusercontent.com/u/25674863?v=3","gravatar_id":"","url":"https://api.github.com/users/CMPUT301W17T06","html_url":"https://github.com/CMPUT301W17T06","followers_url":"https://api.github.com/users/CMPUT301W17T06/followers","following_url":"https://api.github.com/users/CMPUT301W17T06/following{/other_user}","gists_url":"https://api.github.com/users/CMPUT301W17T06/gists{/gist_id}","starred_url":"https://api.github.com/users/CMPUT301W17T06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMPUT301W17T06/subscriptions","organizations_url":"https://api.github.com/users/CMPUT301W17T06/orgs","repos_url":"https://api.github.com/users/CMPUT301W17T06/repos","events_url":"https://api.github.com/users/CMPUT301W17T06/events{/privacy}","received_events_url":"https://api.github.com/users/CMPUT301W17T06/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CMPUT301W17T06/MoodBook","description":null,"fork":false,"url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook","forks_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/forks","keys_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/teams","hooks_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/hooks","issue_events_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/issues/events{/number}","events_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/events","assignees_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/assignees{/user}","branches_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/branches{/branch}","tags_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/tags","blobs_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/git/refs{/sha}","trees_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/statuses/{sha}","languages_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/languages","stargazers_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/stargazers","contributors_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/contributors","subscribers_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/subscribers","subscription_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/subscription","commits_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/commits{/sha}","git_commits_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/git/commits{/sha}","comments_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/comments{/number}","issue_comment_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/issues/comments{/number}","contents_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/contents/{+path}","compare_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/merges","archive_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/downloads","issues_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/issues{/number}","pulls_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/pulls{/number}","milestones_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/milestones{/number}","notifications_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/labels{/name}","releases_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/releases{/id}","deployments_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/deployments","created_at":"2017-02-10T02:31:28Z","updated_at":"2017-02-21T18:38:56Z","pushed_at":"2017-04-02T20:02:29Z","git_url":"git://github.com/CMPUT301W17T06/MoodBook.git","ssh_url":"git@github.com:CMPUT301W17T06/MoodBook.git","clone_url":"https://github.com/CMPUT301W17T06/MoodBook.git","svn_url":"https://github.com/CMPUT301W17T06/MoodBook","homepage":null,"size":6873,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"CMPUT301W17T06:master","ref":"master","sha":"b89bb02794f12421424eb2e052571dfa77e088b8","user":{"login":"CMPUT301W17T06","id":25674863,"avatar_url":"https://avatars0.githubusercontent.com/u/25674863?v=3","gravatar_id":"","url":"https://api.github.com/users/CMPUT301W17T06","html_url":"https://github.com/CMPUT301W17T06","followers_url":"https://api.github.com/users/CMPUT301W17T06/followers","following_url":"https://api.github.com/users/CMPUT301W17T06/following{/other_user}","gists_url":"https://api.github.com/users/CMPUT301W17T06/gists{/gist_id}","starred_url":"https://api.github.com/users/CMPUT301W17T06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMPUT301W17T06/subscriptions","organizations_url":"https://api.github.com/users/CMPUT301W17T06/orgs","repos_url":"https://api.github.com/users/CMPUT301W17T06/repos","events_url":"https://api.github.com/users/CMPUT301W17T06/events{/privacy}","received_events_url":"https://api.github.com/users/CMPUT301W17T06/received_events","type":"Organization","site_admin":false},"repo":{"id":81517792,"name":"MoodBook","full_name":"CMPUT301W17T06/MoodBook","owner":{"login":"CMPUT301W17T06","id":25674863,"avatar_url":"https://avatars0.githubusercontent.com/u/25674863?v=3","gravatar_id":"","url":"https://api.github.com/users/CMPUT301W17T06","html_url":"https://github.com/CMPUT301W17T06","followers_url":"https://api.github.com/users/CMPUT301W17T06/followers","following_url":"https://api.github.com/users/CMPUT301W17T06/following{/other_user}","gists_url":"https://api.github.com/users/CMPUT301W17T06/gists{/gist_id}","starred_url":"https://api.github.com/users/CMPUT301W17T06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMPUT301W17T06/subscriptions","organizations_url":"https://api.github.com/users/CMPUT301W17T06/orgs","repos_url":"https://api.github.com/users/CMPUT301W17T06/repos","events_url":"https://api.github.com/users/CMPUT301W17T06/events{/privacy}","received_events_url":"https://api.github.com/users/CMPUT301W17T06/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CMPUT301W17T06/MoodBook","description":null,"fork":false,"url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook","forks_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/forks","keys_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/teams","hooks_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/hooks","issue_events_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/issues/events{/number}","events_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/events","assignees_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/assignees{/user}","branches_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/branches{/branch}","tags_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/tags","blobs_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/git/refs{/sha}","trees_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/statuses/{sha}","languages_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/languages","stargazers_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/stargazers","contributors_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/contributors","subscribers_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/subscribers","subscription_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/subscription","commits_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/commits{/sha}","git_commits_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/git/commits{/sha}","comments_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/comments{/number}","issue_comment_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/issues/comments{/number}","contents_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/contents/{+path}","compare_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/merges","archive_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/downloads","issues_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/issues{/number}","pulls_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/pulls{/number}","milestones_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/milestones{/number}","notifications_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/labels{/name}","releases_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/releases{/id}","deployments_url":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/deployments","created_at":"2017-02-10T02:31:28Z","updated_at":"2017-02-21T18:38:56Z","pushed_at":"2017-04-02T20:02:29Z","git_url":"git://github.com/CMPUT301W17T06/MoodBook.git","ssh_url":"git@github.com:CMPUT301W17T06/MoodBook.git","clone_url":"https://github.com/CMPUT301W17T06/MoodBook.git","svn_url":"https://github.com/CMPUT301W17T06/MoodBook","homepage":null,"size":6873,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/pulls/51"},"html":{"href":"https://github.com/CMPUT301W17T06/MoodBook/pull/51"},"issue":{"href":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/issues/51"},"comments":{"href":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/CMPUT301W17T06/MoodBook/statuses/04cd75baa66217e628b54f1a761dba78401c1289"}}}}
{"actor":{"display_login":"Everlag"}}