{"action":"created","comment":{"url":"https://api.github.com/repos/OPM/opm-output/pulls/comments/71131909","id":71131909,"diff_hunk":"@@ -0,0 +1,108 @@\n+/*\n+   Copyright 2016 Statoil ASA.\n+\n+   This file is part of the Open Porous Media project (OPM).\n+\n+   OPM is free software: you can redistribute it and/or modify\n+   it under the terms of the GNU General Public License as published by\n+   the Free Software Foundation, either version 3 of the License, or\n+   (at your option) any later version.\n+\n+   OPM 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 General Public License for more details.\n+\n+   You should have received a copy of the GNU General Public License\n+   along with OPM.  If not, see <http://www.gnu.org/licenses/>.\n+   */\n+\n+#ifndef ECLFILESCOMPARATOR_HPP\n+#define ECLFILESCOMPARATOR_HPP \n+\n+#include <vector>\n+#include <string>\n+\n+/// Prototype for eclipse file struct, defined in the ERT library\n+struct ecl_file_struct;\n+typedef struct ecl_file_struct ecl_file_type;\n+/// Prototype for eclipse grid struct, defined in the ERT library\n+struct ecl_grid_struct;\n+typedef struct ecl_grid_struct ecl_grid_type;\n+\n+enum eclFileEnum {RESTARTFILE, INITFILE};","path":"opm/output/test_util/EclFilesComparator.hpp","position":33,"original_position":33,"commit_id":"2bee42723bb1f6ec923e6e5b446c74af3e3f341e","original_commit_id":"2bee42723bb1f6ec923e6e5b446c74af3e3f341e","user":{"login":"ptaule","id":12250474,"avatar_url":"https://avatars.githubusercontent.com/u/12250474?v=3","gravatar_id":"","url":"https://api.github.com/users/ptaule","html_url":"https://github.com/ptaule","followers_url":"https://api.github.com/users/ptaule/followers","following_url":"https://api.github.com/users/ptaule/following{/other_user}","gists_url":"https://api.github.com/users/ptaule/gists{/gist_id}","starred_url":"https://api.github.com/users/ptaule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptaule/subscriptions","organizations_url":"https://api.github.com/users/ptaule/orgs","repos_url":"https://api.github.com/users/ptaule/repos","events_url":"https://api.github.com/users/ptaule/events{/privacy}","received_events_url":"https://api.github.com/users/ptaule/received_events","type":"User","site_admin":false},"body":"Yeah, I thought about that. The reason why I figured I'd create my own was that I only want restart, init, rft(?) .. and not summary files since they are covered by #56, and I would also have to include the entire ecl_util.h only to be able to use the small enum def – which seemed unnecessary.","created_at":"2016-07-18T11:23:32Z","updated_at":"2016-07-18T11:23:32Z","html_url":"https://github.com/OPM/opm-output/pull/55#discussion_r71131909","pull_request_url":"https://api.github.com/repos/OPM/opm-output/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/OPM/opm-output/pulls/comments/71131909"},"html":{"href":"https://github.com/OPM/opm-output/pull/55#discussion_r71131909"},"pull_request":{"href":"https://api.github.com/repos/OPM/opm-output/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/OPM/opm-output/pulls/55","id":75778725,"html_url":"https://github.com/OPM/opm-output/pull/55","diff_url":"https://github.com/OPM/opm-output/pull/55.diff","patch_url":"https://github.com/OPM/opm-output/pull/55.patch","issue_url":"https://api.github.com/repos/OPM/opm-output/issues/55","number":55,"state":"open","locked":false,"title":"C++ regression test of INIT and UNRST-files","user":{"login":"ptaule","id":12250474,"avatar_url":"https://avatars.githubusercontent.com/u/12250474?v=3","gravatar_id":"","url":"https://api.github.com/users/ptaule","html_url":"https://github.com/ptaule","followers_url":"https://api.github.com/users/ptaule/followers","following_url":"https://api.github.com/users/ptaule/following{/other_user}","gists_url":"https://api.github.com/users/ptaule/gists{/gist_id}","starred_url":"https://api.github.com/users/ptaule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptaule/subscriptions","organizations_url":"https://api.github.com/users/ptaule/orgs","repos_url":"https://api.github.com/users/ptaule/repos","events_url":"https://api.github.com/users/ptaule/events{/privacy}","received_events_url":"https://api.github.com/users/ptaule/received_events","type":"User","site_admin":false},"body":"This is essentially the same pull request as OPM/opm-common#153, but in a different module. The code compares UNRST-files written by flow or ECLIPSE. I am working on creating unit tests with boost, but I am not yet familiar with the the boost unit tests framework, so it may take some time.","created_at":"2016-06-30T08:28:06Z","updated_at":"2016-07-18T11:23:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3371756a3a93c95e563593a2a54f39ac48ef9467","assignee":{"login":"akva2","id":2144327,"avatar_url":"https://avatars.githubusercontent.com/u/2144327?v=3","gravatar_id":"","url":"https://api.github.com/users/akva2","html_url":"https://github.com/akva2","followers_url":"https://api.github.com/users/akva2/followers","following_url":"https://api.github.com/users/akva2/following{/other_user}","gists_url":"https://api.github.com/users/akva2/gists{/gist_id}","starred_url":"https://api.github.com/users/akva2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akva2/subscriptions","organizations_url":"https://api.github.com/users/akva2/orgs","repos_url":"https://api.github.com/users/akva2/repos","events_url":"https://api.github.com/users/akva2/events{/privacy}","received_events_url":"https://api.github.com/users/akva2/received_events","type":"User","site_admin":false},"assignees":[{"login":"akva2","id":2144327,"avatar_url":"https://avatars.githubusercontent.com/u/2144327?v=3","gravatar_id":"","url":"https://api.github.com/users/akva2","html_url":"https://github.com/akva2","followers_url":"https://api.github.com/users/akva2/followers","following_url":"https://api.github.com/users/akva2/following{/other_user}","gists_url":"https://api.github.com/users/akva2/gists{/gist_id}","starred_url":"https://api.github.com/users/akva2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akva2/subscriptions","organizations_url":"https://api.github.com/users/akva2/orgs","repos_url":"https://api.github.com/users/akva2/repos","events_url":"https://api.github.com/users/akva2/events{/privacy}","received_events_url":"https://api.github.com/users/akva2/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/OPM/opm-output/pulls/55/commits","review_comments_url":"https://api.github.com/repos/OPM/opm-output/pulls/55/comments","review_comment_url":"https://api.github.com/repos/OPM/opm-output/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OPM/opm-output/issues/55/comments","statuses_url":"https://api.github.com/repos/OPM/opm-output/statuses/2bee42723bb1f6ec923e6e5b446c74af3e3f341e","head":{"label":"ptaule:master","ref":"master","sha":"2bee42723bb1f6ec923e6e5b446c74af3e3f341e","user":{"login":"ptaule","id":12250474,"avatar_url":"https://avatars.githubusercontent.com/u/12250474?v=3","gravatar_id":"","url":"https://api.github.com/users/ptaule","html_url":"https://github.com/ptaule","followers_url":"https://api.github.com/users/ptaule/followers","following_url":"https://api.github.com/users/ptaule/following{/other_user}","gists_url":"https://api.github.com/users/ptaule/gists{/gist_id}","starred_url":"https://api.github.com/users/ptaule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptaule/subscriptions","organizations_url":"https://api.github.com/users/ptaule/orgs","repos_url":"https://api.github.com/users/ptaule/repos","events_url":"https://api.github.com/users/ptaule/events{/privacy}","received_events_url":"https://api.github.com/users/ptaule/received_events","type":"User","site_admin":false},"repo":{"id":62204725,"name":"opm-output","full_name":"ptaule/opm-output","owner":{"login":"ptaule","id":12250474,"avatar_url":"https://avatars.githubusercontent.com/u/12250474?v=3","gravatar_id":"","url":"https://api.github.com/users/ptaule","html_url":"https://github.com/ptaule","followers_url":"https://api.github.com/users/ptaule/followers","following_url":"https://api.github.com/users/ptaule/following{/other_user}","gists_url":"https://api.github.com/users/ptaule/gists{/gist_id}","starred_url":"https://api.github.com/users/ptaule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptaule/subscriptions","organizations_url":"https://api.github.com/users/ptaule/orgs","repos_url":"https://api.github.com/users/ptaule/repos","events_url":"https://api.github.com/users/ptaule/events{/privacy}","received_events_url":"https://api.github.com/users/ptaule/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ptaule/opm-output","description":"This repository is intended for output-writer functionality for the flow simulators in OPM","fork":true,"url":"https://api.github.com/repos/ptaule/opm-output","forks_url":"https://api.github.com/repos/ptaule/opm-output/forks","keys_url":"https://api.github.com/repos/ptaule/opm-output/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ptaule/opm-output/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ptaule/opm-output/teams","hooks_url":"https://api.github.com/repos/ptaule/opm-output/hooks","issue_events_url":"https://api.github.com/repos/ptaule/opm-output/issues/events{/number}","events_url":"https://api.github.com/repos/ptaule/opm-output/events","assignees_url":"https://api.github.com/repos/ptaule/opm-output/assignees{/user}","branches_url":"https://api.github.com/repos/ptaule/opm-output/branches{/branch}","tags_url":"https://api.github.com/repos/ptaule/opm-output/tags","blobs_url":"https://api.github.com/repos/ptaule/opm-output/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ptaule/opm-output/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ptaule/opm-output/git/refs{/sha}","trees_url":"https://api.github.com/repos/ptaule/opm-output/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ptaule/opm-output/statuses/{sha}","languages_url":"https://api.github.com/repos/ptaule/opm-output/languages","stargazers_url":"https://api.github.com/repos/ptaule/opm-output/stargazers","contributors_url":"https://api.github.com/repos/ptaule/opm-output/contributors","subscribers_url":"https://api.github.com/repos/ptaule/opm-output/subscribers","subscription_url":"https://api.github.com/repos/ptaule/opm-output/subscription","commits_url":"https://api.github.com/repos/ptaule/opm-output/commits{/sha}","git_commits_url":"https://api.github.com/repos/ptaule/opm-output/git/commits{/sha}","comments_url":"https://api.github.com/repos/ptaule/opm-output/comments{/number}","issue_comment_url":"https://api.github.com/repos/ptaule/opm-output/issues/comments{/number}","contents_url":"https://api.github.com/repos/ptaule/opm-output/contents/{+path}","compare_url":"https://api.github.com/repos/ptaule/opm-output/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ptaule/opm-output/merges","archive_url":"https://api.github.com/repos/ptaule/opm-output/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ptaule/opm-output/downloads","issues_url":"https://api.github.com/repos/ptaule/opm-output/issues{/number}","pulls_url":"https://api.github.com/repos/ptaule/opm-output/pulls{/number}","milestones_url":"https://api.github.com/repos/ptaule/opm-output/milestones{/number}","notifications_url":"https://api.github.com/repos/ptaule/opm-output/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ptaule/opm-output/labels{/name}","releases_url":"https://api.github.com/repos/ptaule/opm-output/releases{/id}","deployments_url":"https://api.github.com/repos/ptaule/opm-output/deployments","created_at":"2016-06-29T07:20:04Z","updated_at":"2016-06-29T07:20:06Z","pushed_at":"2016-07-18T09:42:43Z","git_url":"git://github.com/ptaule/opm-output.git","ssh_url":"git@github.com:ptaule/opm-output.git","clone_url":"https://github.com/ptaule/opm-output.git","svn_url":"https://github.com/ptaule/opm-output","homepage":"http://www.opm-project.org","size":375,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"OPM:master","ref":"master","sha":"51e078e9b8d8e8b5af62b66a516cf78033030eb5","user":{"login":"OPM","id":1827197,"avatar_url":"https://avatars.githubusercontent.com/u/1827197?v=3","gravatar_id":"","url":"https://api.github.com/users/OPM","html_url":"https://github.com/OPM","followers_url":"https://api.github.com/users/OPM/followers","following_url":"https://api.github.com/users/OPM/following{/other_user}","gists_url":"https://api.github.com/users/OPM/gists{/gist_id}","starred_url":"https://api.github.com/users/OPM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OPM/subscriptions","organizations_url":"https://api.github.com/users/OPM/orgs","repos_url":"https://api.github.com/users/OPM/repos","events_url":"https://api.github.com/users/OPM/events{/privacy}","received_events_url":"https://api.github.com/users/OPM/received_events","type":"Organization","site_admin":false},"repo":{"id":52083467,"name":"opm-output","full_name":"OPM/opm-output","owner":{"login":"OPM","id":1827197,"avatar_url":"https://avatars.githubusercontent.com/u/1827197?v=3","gravatar_id":"","url":"https://api.github.com/users/OPM","html_url":"https://github.com/OPM","followers_url":"https://api.github.com/users/OPM/followers","following_url":"https://api.github.com/users/OPM/following{/other_user}","gists_url":"https://api.github.com/users/OPM/gists{/gist_id}","starred_url":"https://api.github.com/users/OPM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OPM/subscriptions","organizations_url":"https://api.github.com/users/OPM/orgs","repos_url":"https://api.github.com/users/OPM/repos","events_url":"https://api.github.com/users/OPM/events{/privacy}","received_events_url":"https://api.github.com/users/OPM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OPM/opm-output","description":"This repository is intended for output-writer functionality for the flow simulators in OPM","fork":false,"url":"https://api.github.com/repos/OPM/opm-output","forks_url":"https://api.github.com/repos/OPM/opm-output/forks","keys_url":"https://api.github.com/repos/OPM/opm-output/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OPM/opm-output/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OPM/opm-output/teams","hooks_url":"https://api.github.com/repos/OPM/opm-output/hooks","issue_events_url":"https://api.github.com/repos/OPM/opm-output/issues/events{/number}","events_url":"https://api.github.com/repos/OPM/opm-output/events","assignees_url":"https://api.github.com/repos/OPM/opm-output/assignees{/user}","branches_url":"https://api.github.com/repos/OPM/opm-output/branches{/branch}","tags_url":"https://api.github.com/repos/OPM/opm-output/tags","blobs_url":"https://api.github.com/repos/OPM/opm-output/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OPM/opm-output/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OPM/opm-output/git/refs{/sha}","trees_url":"https://api.github.com/repos/OPM/opm-output/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OPM/opm-output/statuses/{sha}","languages_url":"https://api.github.com/repos/OPM/opm-output/languages","stargazers_url":"https://api.github.com/repos/OPM/opm-output/stargazers","contributors_url":"https://api.github.com/repos/OPM/opm-output/contributors","subscribers_url":"https://api.github.com/repos/OPM/opm-output/subscribers","subscription_url":"https://api.github.com/repos/OPM/opm-output/subscription","commits_url":"https://api.github.com/repos/OPM/opm-output/commits{/sha}","git_commits_url":"https://api.github.com/repos/OPM/opm-output/git/commits{/sha}","comments_url":"https://api.github.com/repos/OPM/opm-output/comments{/number}","issue_comment_url":"https://api.github.com/repos/OPM/opm-output/issues/comments{/number}","contents_url":"https://api.github.com/repos/OPM/opm-output/contents/{+path}","compare_url":"https://api.github.com/repos/OPM/opm-output/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OPM/opm-output/merges","archive_url":"https://api.github.com/repos/OPM/opm-output/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OPM/opm-output/downloads","issues_url":"https://api.github.com/repos/OPM/opm-output/issues{/number}","pulls_url":"https://api.github.com/repos/OPM/opm-output/pulls{/number}","milestones_url":"https://api.github.com/repos/OPM/opm-output/milestones{/number}","notifications_url":"https://api.github.com/repos/OPM/opm-output/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OPM/opm-output/labels{/name}","releases_url":"https://api.github.com/repos/OPM/opm-output/releases{/id}","deployments_url":"https://api.github.com/repos/OPM/opm-output/deployments","created_at":"2016-02-19T11:29:43Z","updated_at":"2016-04-11T07:16:55Z","pushed_at":"2016-07-18T11:07:30Z","git_url":"git://github.com/OPM/opm-output.git","ssh_url":"git@github.com:OPM/opm-output.git","clone_url":"https://github.com/OPM/opm-output.git","svn_url":"https://github.com/OPM/opm-output","homepage":"http://www.opm-project.org","size":466,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":9,"forks":14,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OPM/opm-output/pulls/55"},"html":{"href":"https://github.com/OPM/opm-output/pull/55"},"issue":{"href":"https://api.github.com/repos/OPM/opm-output/issues/55"},"comments":{"href":"https://api.github.com/repos/OPM/opm-output/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/OPM/opm-output/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/OPM/opm-output/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OPM/opm-output/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/OPM/opm-output/statuses/2bee42723bb1f6ec923e6e5b446c74af3e3f341e"}}}}
{"actor":{"display_login":"ptaule"}}