{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-groovy/pulls/comments/34459936","id":34459936,"diff_hunk":"@@ -57,11 +65,25 @@ class NavigationTest extends GroovyTestCase {\n             }\n             b5()\n         }\n-        \n         assert root != null\n-        \n-        println(root)\n-        \n         return root\n     }\n+\n+    private static createTreeFromXmlParser() {\n+        def xml = '''\n+        <root>\n+          <parent1>\n+            <childa/>\n+            <childb/>\n+          </parent1>\n+          <parent2>\n+            <childa/>","path":"src/test/groovy/tree/NavigationTest.groovy","position":74,"original_position":74,"commit_id":"879f14e719d68600caf2ead6c64ed3b820e1b446","original_commit_id":"879f14e719d68600caf2ead6c64ed3b820e1b446","user":{"login":"keeganwitt","id":64612,"avatar_url":"https://avatars.githubusercontent.com/u/64612?v=3","gravatar_id":"","url":"https://api.github.com/users/keeganwitt","html_url":"https://github.com/keeganwitt","followers_url":"https://api.github.com/users/keeganwitt/followers","following_url":"https://api.github.com/users/keeganwitt/following{/other_user}","gists_url":"https://api.github.com/users/keeganwitt/gists{/gist_id}","starred_url":"https://api.github.com/users/keeganwitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keeganwitt/subscriptions","organizations_url":"https://api.github.com/users/keeganwitt/orgs","repos_url":"https://api.github.com/users/keeganwitt/repos","events_url":"https://api.github.com/users/keeganwitt/events{/privacy}","received_events_url":"https://api.github.com/users/keeganwitt/received_events","type":"User","site_admin":false},"body":"I think it'd improve this test to have all nodes uniquely named.","created_at":"2015-07-13T13:01:59Z","updated_at":"2015-07-13T13:01:59Z","html_url":"https://github.com/apache/incubator-groovy/pull/59#discussion_r34459936","pull_request_url":"https://api.github.com/repos/apache/incubator-groovy/pulls/59","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-groovy/pulls/comments/34459936"},"html":{"href":"https://github.com/apache/incubator-groovy/pull/59#discussion_r34459936"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-groovy/pulls/59"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-groovy/pulls/59","id":39730388,"html_url":"https://github.com/apache/incubator-groovy/pull/59","diff_url":"https://github.com/apache/incubator-groovy/pull/59.diff","patch_url":"https://github.com/apache/incubator-groovy/pull/59.patch","issue_url":"https://api.github.com/repos/apache/incubator-groovy/issues/59","number":59,"state":"open","locked":false,"title":"GROOVY-7486: In groovy.util.Node.depthFirst please Provide a way to S…","user":{"login":"paulk-asert","id":280016,"avatar_url":"https://avatars.githubusercontent.com/u/280016?v=3","gravatar_id":"","url":"https://api.github.com/users/paulk-asert","html_url":"https://github.com/paulk-asert","followers_url":"https://api.github.com/users/paulk-asert/followers","following_url":"https://api.github.com/users/paulk-asert/following{/other_user}","gists_url":"https://api.github.com/users/paulk-asert/gists{/gist_id}","starred_url":"https://api.github.com/users/paulk-asert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulk-asert/subscriptions","organizations_url":"https://api.github.com/users/paulk-asert/orgs","repos_url":"https://api.github.com/users/paulk-asert/repos","events_url":"https://api.github.com/users/paulk-asert/events{/privacy}","received_events_url":"https://api.github.com/users/paulk-asert/received_events","type":"User","site_admin":false},"body":"…pecify pre-order, post-order Ordering","created_at":"2015-07-10T22:28:26Z","updated_at":"2015-07-13T13:01:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c38fd4116d34f72c2d306410b669454fc0847da4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-groovy/pulls/59/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-groovy/pulls/59/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-groovy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-groovy/issues/59/comments","statuses_url":"https://api.github.com/repos/apache/incubator-groovy/statuses/879f14e719d68600caf2ead6c64ed3b820e1b446","head":{"label":"paulk-asert:groovy7486","ref":"groovy7486","sha":"879f14e719d68600caf2ead6c64ed3b820e1b446","user":{"login":"paulk-asert","id":280016,"avatar_url":"https://avatars.githubusercontent.com/u/280016?v=3","gravatar_id":"","url":"https://api.github.com/users/paulk-asert","html_url":"https://github.com/paulk-asert","followers_url":"https://api.github.com/users/paulk-asert/followers","following_url":"https://api.github.com/users/paulk-asert/following{/other_user}","gists_url":"https://api.github.com/users/paulk-asert/gists{/gist_id}","starred_url":"https://api.github.com/users/paulk-asert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulk-asert/subscriptions","organizations_url":"https://api.github.com/users/paulk-asert/orgs","repos_url":"https://api.github.com/users/paulk-asert/repos","events_url":"https://api.github.com/users/paulk-asert/events{/privacy}","received_events_url":"https://api.github.com/users/paulk-asert/received_events","type":"User","site_admin":false},"repo":{"id":34248558,"name":"incubator-groovy","full_name":"paulk-asert/incubator-groovy","owner":{"login":"paulk-asert","id":280016,"avatar_url":"https://avatars.githubusercontent.com/u/280016?v=3","gravatar_id":"","url":"https://api.github.com/users/paulk-asert","html_url":"https://github.com/paulk-asert","followers_url":"https://api.github.com/users/paulk-asert/followers","following_url":"https://api.github.com/users/paulk-asert/following{/other_user}","gists_url":"https://api.github.com/users/paulk-asert/gists{/gist_id}","starred_url":"https://api.github.com/users/paulk-asert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulk-asert/subscriptions","organizations_url":"https://api.github.com/users/paulk-asert/orgs","repos_url":"https://api.github.com/users/paulk-asert/repos","events_url":"https://api.github.com/users/paulk-asert/events{/privacy}","received_events_url":"https://api.github.com/users/paulk-asert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paulk-asert/incubator-groovy","description":"Mirror of Apache Groovy (Incubating)","fork":true,"url":"https://api.github.com/repos/paulk-asert/incubator-groovy","forks_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/forks","keys_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/teams","hooks_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/hooks","issue_events_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/issues/events{/number}","events_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/events","assignees_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/assignees{/user}","branches_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/branches{/branch}","tags_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/tags","blobs_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/statuses/{sha}","languages_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/languages","stargazers_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/stargazers","contributors_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/contributors","subscribers_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/subscribers","subscription_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/subscription","commits_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/issues/comments{/number}","contents_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/contents/{+path}","compare_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/merges","archive_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/downloads","issues_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/issues{/number}","pulls_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/pulls{/number}","milestones_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/milestones{/number}","notifications_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/labels{/name}","releases_url":"https://api.github.com/repos/paulk-asert/incubator-groovy/releases{/id}","created_at":"2015-04-20T08:35:22Z","updated_at":"2015-04-20T08:35:31Z","pushed_at":"2015-07-13T12:29:17Z","git_url":"git://github.com/paulk-asert/incubator-groovy.git","ssh_url":"git@github.com:paulk-asert/incubator-groovy.git","clone_url":"https://github.com/paulk-asert/incubator-groovy.git","svn_url":"https://github.com/paulk-asert/incubator-groovy","homepage":null,"size":151980,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"a9f32d156cef000f394d7325ed2ed9f2ed9e2010","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":34039690,"name":"incubator-groovy","full_name":"apache/incubator-groovy","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-groovy","description":"Mirror of Apache Groovy (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-groovy","forks_url":"https://api.github.com/repos/apache/incubator-groovy/forks","keys_url":"https://api.github.com/repos/apache/incubator-groovy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-groovy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-groovy/teams","hooks_url":"https://api.github.com/repos/apache/incubator-groovy/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-groovy/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-groovy/events","assignees_url":"https://api.github.com/repos/apache/incubator-groovy/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-groovy/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-groovy/tags","blobs_url":"https://api.github.com/repos/apache/incubator-groovy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-groovy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-groovy/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-groovy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-groovy/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-groovy/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-groovy/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-groovy/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-groovy/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-groovy/subscription","commits_url":"https://api.github.com/repos/apache/incubator-groovy/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-groovy/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-groovy/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-groovy/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-groovy/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-groovy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-groovy/merges","archive_url":"https://api.github.com/repos/apache/incubator-groovy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-groovy/downloads","issues_url":"https://api.github.com/repos/apache/incubator-groovy/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-groovy/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-groovy/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-groovy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-groovy/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-groovy/releases{/id}","created_at":"2015-04-16T07:00:05Z","updated_at":"2015-07-13T07:22:46Z","pushed_at":"2015-07-13T12:29:56Z","git_url":"git://github.com/apache/incubator-groovy.git","ssh_url":"git@github.com:apache/incubator-groovy.git","clone_url":"https://github.com/apache/incubator-groovy.git","svn_url":"https://github.com/apache/incubator-groovy","homepage":null,"size":153903,"stargazers_count":483,"watchers_count":483,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":106,"mirror_url":"git://git.apache.org/incubator-groovy.git","open_issues_count":10,"forks":106,"open_issues":10,"watchers":483,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-groovy/pulls/59"},"html":{"href":"https://github.com/apache/incubator-groovy/pull/59"},"issue":{"href":"https://api.github.com/repos/apache/incubator-groovy/issues/59"},"comments":{"href":"https://api.github.com/repos/apache/incubator-groovy/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-groovy/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-groovy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-groovy/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-groovy/statuses/879f14e719d68600caf2ead6c64ed3b820e1b446"}}}}