{"action":"created","comment":{"url":"https://api.github.com/repos/metalink94/Practice_2015/pulls/comments/40420908","id":40420908,"diff_hunk":"@@ -0,0 +1,125 @@\n+package itis.practice.testing;\n+\n+import android.support.test.rule.ActivityTestRule;\n+import android.support.test.runner.AndroidJUnit4;\n+\n+import org.json.JSONException;\n+import org.json.JSONObject;\n+import org.junit.Rule;\n+import org.junit.Test;\n+import org.junit.runner.RunWith;\n+\n+import java.util.ArrayList;\n+import java.util.List;\n+\n+import itis.practice.testing.models.CitiesModel;\n+import itis.practice.testing.models.CountryModel;\n+import itis.practice.testing.utils.CountriesHelper;\n+\n+import static org.junit.Assert.assertEquals;\n+import static org.junit.Assert.assertNull;\n+\n+@RunWith(AndroidJUnit4.class)\n+public class ApplicationTest {\n+\n+    private static final List<String> INPUT_FILES = new ArrayList<String>() {\n+        {\n+            add(\"input1.json\");\n+            add(\"input2.json\");\n+            add(\"input3.json\");\n+            add(\"input4.json\");\n+            add(\"input5.json\");\n+            add(\"input_empty.json\");\n+            add(\"input_error.json\");\n+        }\n+    };\n+\n+    @Rule\n+    public ActivityTestRule<MainActivity> mActivityRule = new ActivityTestRule<>(MainActivity.class);\n+\n+    @Test\n+    public void testFindCountryByCitiesCount() throws JSONException {\n+        String[][] expectedResults = {","path":"Practice5/app/src/androidTest/java/itis/practice/testing/ApplicationTest.java","position":42,"original_position":42,"commit_id":"8abab31a087d126f124fd0934b7cdc33c7055f52","original_commit_id":"8abab31a087d126f124fd0934b7cdc33c7055f52","user":{"login":"ArturVasilov","id":6129801,"avatar_url":"https://avatars.githubusercontent.com/u/6129801?v=3","gravatar_id":"","url":"https://api.github.com/users/ArturVasilov","html_url":"https://github.com/ArturVasilov","followers_url":"https://api.github.com/users/ArturVasilov/followers","following_url":"https://api.github.com/users/ArturVasilov/following{/other_user}","gists_url":"https://api.github.com/users/ArturVasilov/gists{/gist_id}","starred_url":"https://api.github.com/users/ArturVasilov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArturVasilov/subscriptions","organizations_url":"https://api.github.com/users/ArturVasilov/orgs","repos_url":"https://api.github.com/users/ArturVasilov/repos","events_url":"https://api.github.com/users/ArturVasilov/events{/privacy}","received_events_url":"https://api.github.com/users/ArturVasilov/received_events","type":"User","site_admin":false},"body":"Что-то у всех прям одинаковые тесты, ну или у меня глюки :)","created_at":"2015-09-25T11:34:14Z","updated_at":"2015-09-25T11:34:14Z","html_url":"https://github.com/metalink94/Practice_2015/pull/7#discussion_r40420908","pull_request_url":"https://api.github.com/repos/metalink94/Practice_2015/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/metalink94/Practice_2015/pulls/comments/40420908"},"html":{"href":"https://github.com/metalink94/Practice_2015/pull/7#discussion_r40420908"},"pull_request":{"href":"https://api.github.com/repos/metalink94/Practice_2015/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/metalink94/Practice_2015/pulls/7","id":45979615,"html_url":"https://github.com/metalink94/Practice_2015/pull/7","diff_url":"https://github.com/metalink94/Practice_2015/pull/7.diff","patch_url":"https://github.com/metalink94/Practice_2015/pull/7.patch","issue_url":"https://api.github.com/repos/metalink94/Practice_2015/issues/7","number":7,"state":"open","locked":false,"title":"add last task","user":{"login":"metalink94","id":4425559,"avatar_url":"https://avatars.githubusercontent.com/u/4425559?v=3","gravatar_id":"","url":"https://api.github.com/users/metalink94","html_url":"https://github.com/metalink94","followers_url":"https://api.github.com/users/metalink94/followers","following_url":"https://api.github.com/users/metalink94/following{/other_user}","gists_url":"https://api.github.com/users/metalink94/gists{/gist_id}","starred_url":"https://api.github.com/users/metalink94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metalink94/subscriptions","organizations_url":"https://api.github.com/users/metalink94/orgs","repos_url":"https://api.github.com/users/metalink94/repos","events_url":"https://api.github.com/users/metalink94/events{/privacy}","received_events_url":"https://api.github.com/users/metalink94/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-25T05:59:31Z","updated_at":"2015-09-25T11:34:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ddcb7a2aaef9654031fa4a693430f66d47397c05","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/metalink94/Practice_2015/pulls/7/commits","review_comments_url":"https://api.github.com/repos/metalink94/Practice_2015/pulls/7/comments","review_comment_url":"https://api.github.com/repos/metalink94/Practice_2015/pulls/comments{/number}","comments_url":"https://api.github.com/repos/metalink94/Practice_2015/issues/7/comments","statuses_url":"https://api.github.com/repos/metalink94/Practice_2015/statuses/8abab31a087d126f124fd0934b7cdc33c7055f52","head":{"label":"metalink94:task5","ref":"task5","sha":"8abab31a087d126f124fd0934b7cdc33c7055f52","user":{"login":"metalink94","id":4425559,"avatar_url":"https://avatars.githubusercontent.com/u/4425559?v=3","gravatar_id":"","url":"https://api.github.com/users/metalink94","html_url":"https://github.com/metalink94","followers_url":"https://api.github.com/users/metalink94/followers","following_url":"https://api.github.com/users/metalink94/following{/other_user}","gists_url":"https://api.github.com/users/metalink94/gists{/gist_id}","starred_url":"https://api.github.com/users/metalink94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metalink94/subscriptions","organizations_url":"https://api.github.com/users/metalink94/orgs","repos_url":"https://api.github.com/users/metalink94/repos","events_url":"https://api.github.com/users/metalink94/events{/privacy}","received_events_url":"https://api.github.com/users/metalink94/received_events","type":"User","site_admin":false},"repo":{"id":42508071,"name":"Practice_2015","full_name":"metalink94/Practice_2015","owner":{"login":"metalink94","id":4425559,"avatar_url":"https://avatars.githubusercontent.com/u/4425559?v=3","gravatar_id":"","url":"https://api.github.com/users/metalink94","html_url":"https://github.com/metalink94","followers_url":"https://api.github.com/users/metalink94/followers","following_url":"https://api.github.com/users/metalink94/following{/other_user}","gists_url":"https://api.github.com/users/metalink94/gists{/gist_id}","starred_url":"https://api.github.com/users/metalink94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metalink94/subscriptions","organizations_url":"https://api.github.com/users/metalink94/orgs","repos_url":"https://api.github.com/users/metalink94/repos","events_url":"https://api.github.com/users/metalink94/events{/privacy}","received_events_url":"https://api.github.com/users/metalink94/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/metalink94/Practice_2015","description":"","fork":false,"url":"https://api.github.com/repos/metalink94/Practice_2015","forks_url":"https://api.github.com/repos/metalink94/Practice_2015/forks","keys_url":"https://api.github.com/repos/metalink94/Practice_2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metalink94/Practice_2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metalink94/Practice_2015/teams","hooks_url":"https://api.github.com/repos/metalink94/Practice_2015/hooks","issue_events_url":"https://api.github.com/repos/metalink94/Practice_2015/issues/events{/number}","events_url":"https://api.github.com/repos/metalink94/Practice_2015/events","assignees_url":"https://api.github.com/repos/metalink94/Practice_2015/assignees{/user}","branches_url":"https://api.github.com/repos/metalink94/Practice_2015/branches{/branch}","tags_url":"https://api.github.com/repos/metalink94/Practice_2015/tags","blobs_url":"https://api.github.com/repos/metalink94/Practice_2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metalink94/Practice_2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metalink94/Practice_2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/metalink94/Practice_2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metalink94/Practice_2015/statuses/{sha}","languages_url":"https://api.github.com/repos/metalink94/Practice_2015/languages","stargazers_url":"https://api.github.com/repos/metalink94/Practice_2015/stargazers","contributors_url":"https://api.github.com/repos/metalink94/Practice_2015/contributors","subscribers_url":"https://api.github.com/repos/metalink94/Practice_2015/subscribers","subscription_url":"https://api.github.com/repos/metalink94/Practice_2015/subscription","commits_url":"https://api.github.com/repos/metalink94/Practice_2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/metalink94/Practice_2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/metalink94/Practice_2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/metalink94/Practice_2015/issues/comments{/number}","contents_url":"https://api.github.com/repos/metalink94/Practice_2015/contents/{+path}","compare_url":"https://api.github.com/repos/metalink94/Practice_2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metalink94/Practice_2015/merges","archive_url":"https://api.github.com/repos/metalink94/Practice_2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metalink94/Practice_2015/downloads","issues_url":"https://api.github.com/repos/metalink94/Practice_2015/issues{/number}","pulls_url":"https://api.github.com/repos/metalink94/Practice_2015/pulls{/number}","milestones_url":"https://api.github.com/repos/metalink94/Practice_2015/milestones{/number}","notifications_url":"https://api.github.com/repos/metalink94/Practice_2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metalink94/Practice_2015/labels{/name}","releases_url":"https://api.github.com/repos/metalink94/Practice_2015/releases{/id}","created_at":"2015-09-15T09:24:50Z","updated_at":"2015-09-15T09:42:33Z","pushed_at":"2015-09-25T05:59:32Z","git_url":"git://github.com/metalink94/Practice_2015.git","ssh_url":"git@github.com:metalink94/Practice_2015.git","clone_url":"https://github.com/metalink94/Practice_2015.git","svn_url":"https://github.com/metalink94/Practice_2015","homepage":null,"size":18288,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"metalink94:master","ref":"master","sha":"63248b8b1a89592364e28167f3a4edbedfdc0d28","user":{"login":"metalink94","id":4425559,"avatar_url":"https://avatars.githubusercontent.com/u/4425559?v=3","gravatar_id":"","url":"https://api.github.com/users/metalink94","html_url":"https://github.com/metalink94","followers_url":"https://api.github.com/users/metalink94/followers","following_url":"https://api.github.com/users/metalink94/following{/other_user}","gists_url":"https://api.github.com/users/metalink94/gists{/gist_id}","starred_url":"https://api.github.com/users/metalink94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metalink94/subscriptions","organizations_url":"https://api.github.com/users/metalink94/orgs","repos_url":"https://api.github.com/users/metalink94/repos","events_url":"https://api.github.com/users/metalink94/events{/privacy}","received_events_url":"https://api.github.com/users/metalink94/received_events","type":"User","site_admin":false},"repo":{"id":42508071,"name":"Practice_2015","full_name":"metalink94/Practice_2015","owner":{"login":"metalink94","id":4425559,"avatar_url":"https://avatars.githubusercontent.com/u/4425559?v=3","gravatar_id":"","url":"https://api.github.com/users/metalink94","html_url":"https://github.com/metalink94","followers_url":"https://api.github.com/users/metalink94/followers","following_url":"https://api.github.com/users/metalink94/following{/other_user}","gists_url":"https://api.github.com/users/metalink94/gists{/gist_id}","starred_url":"https://api.github.com/users/metalink94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metalink94/subscriptions","organizations_url":"https://api.github.com/users/metalink94/orgs","repos_url":"https://api.github.com/users/metalink94/repos","events_url":"https://api.github.com/users/metalink94/events{/privacy}","received_events_url":"https://api.github.com/users/metalink94/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/metalink94/Practice_2015","description":"","fork":false,"url":"https://api.github.com/repos/metalink94/Practice_2015","forks_url":"https://api.github.com/repos/metalink94/Practice_2015/forks","keys_url":"https://api.github.com/repos/metalink94/Practice_2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metalink94/Practice_2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metalink94/Practice_2015/teams","hooks_url":"https://api.github.com/repos/metalink94/Practice_2015/hooks","issue_events_url":"https://api.github.com/repos/metalink94/Practice_2015/issues/events{/number}","events_url":"https://api.github.com/repos/metalink94/Practice_2015/events","assignees_url":"https://api.github.com/repos/metalink94/Practice_2015/assignees{/user}","branches_url":"https://api.github.com/repos/metalink94/Practice_2015/branches{/branch}","tags_url":"https://api.github.com/repos/metalink94/Practice_2015/tags","blobs_url":"https://api.github.com/repos/metalink94/Practice_2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metalink94/Practice_2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metalink94/Practice_2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/metalink94/Practice_2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metalink94/Practice_2015/statuses/{sha}","languages_url":"https://api.github.com/repos/metalink94/Practice_2015/languages","stargazers_url":"https://api.github.com/repos/metalink94/Practice_2015/stargazers","contributors_url":"https://api.github.com/repos/metalink94/Practice_2015/contributors","subscribers_url":"https://api.github.com/repos/metalink94/Practice_2015/subscribers","subscription_url":"https://api.github.com/repos/metalink94/Practice_2015/subscription","commits_url":"https://api.github.com/repos/metalink94/Practice_2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/metalink94/Practice_2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/metalink94/Practice_2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/metalink94/Practice_2015/issues/comments{/number}","contents_url":"https://api.github.com/repos/metalink94/Practice_2015/contents/{+path}","compare_url":"https://api.github.com/repos/metalink94/Practice_2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metalink94/Practice_2015/merges","archive_url":"https://api.github.com/repos/metalink94/Practice_2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metalink94/Practice_2015/downloads","issues_url":"https://api.github.com/repos/metalink94/Practice_2015/issues{/number}","pulls_url":"https://api.github.com/repos/metalink94/Practice_2015/pulls{/number}","milestones_url":"https://api.github.com/repos/metalink94/Practice_2015/milestones{/number}","notifications_url":"https://api.github.com/repos/metalink94/Practice_2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metalink94/Practice_2015/labels{/name}","releases_url":"https://api.github.com/repos/metalink94/Practice_2015/releases{/id}","created_at":"2015-09-15T09:24:50Z","updated_at":"2015-09-15T09:42:33Z","pushed_at":"2015-09-25T05:59:32Z","git_url":"git://github.com/metalink94/Practice_2015.git","ssh_url":"git@github.com:metalink94/Practice_2015.git","clone_url":"https://github.com/metalink94/Practice_2015.git","svn_url":"https://github.com/metalink94/Practice_2015","homepage":null,"size":18288,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/metalink94/Practice_2015/pulls/7"},"html":{"href":"https://github.com/metalink94/Practice_2015/pull/7"},"issue":{"href":"https://api.github.com/repos/metalink94/Practice_2015/issues/7"},"comments":{"href":"https://api.github.com/repos/metalink94/Practice_2015/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/metalink94/Practice_2015/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/metalink94/Practice_2015/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/metalink94/Practice_2015/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/metalink94/Practice_2015/statuses/8abab31a087d126f124fd0934b7cdc33c7055f52"}}}}