{"action":"created","comment":{"url":"https://api.github.com/repos/kreczko/swatch/pulls/comments/31632480","id":31632480,"diff_hunk":"@@ -0,0 +1,174 @@\n+/*\n+ * Parameter_test.cpp\n+ *\n+ *  Created on: 16 Feb 2015\n+ *      Author: kreczko\n+ */\n+#include <boost/test/unit_test.hpp>\n+#include <boost/foreach.hpp>\n+// swatch headers\n+#include \"swatch/core/Parameter.hpp\"\n+#include \"swatch/logger/Log.hpp\"\n+\n+#include <vector>\n+\n+using namespace swatch::core;\n+using namespace swatch::logger;\n+\n+namespace swatch {\n+namespace core {\n+namespace test {\n+\n+BOOST_AUTO_TEST_SUITE( ParameterTestSuite)\n+\n+BOOST_AUTO_TEST_CASE(TestDefaultConstructor) {\n+  LOG(kInfo) << \"Running ParameterTestSuite/TestDefaultConstructor\";\n+  Parameter x;\n+}\n+\n+BOOST_AUTO_TEST_CASE(TestInitializedConstructor) {\n+  LOG(kInfo) << \"Running ParameterTestSuite/TestInitializedConstructor\";\n+  Parameter x1(1);\n+  Parameter x2(1.0);\n+  Parameter x3(std::string(\"Hello World\"));\n+  Parameter x4(\"Hello World\");\n+  Parameter x5(std::vector<int>());\n+}\n+\n+BOOST_AUTO_TEST_CASE(TestCopyConstructor) {\n+  LOG(kInfo) << \"Running ParameterTestSuite/TestCopyConstructor\";\n+  Parameter x1;\n+  Parameter x2(x1);\n+  Parameter x3(1.0);\n+  Parameter x4(x3);\n+}\n+\n+BOOST_AUTO_TEST_CASE(TestReset) {\n+  LOG(kInfo) << \"Running ParameterTestSuite/TestReset\";\n+  Parameter x1;\n+  x1.reset();\n+  Parameter x2(1.0);\n+  x2.reset();\n+}\n+\n+BOOST_AUTO_TEST_CASE(TestAssign1) {","path":"core/test/src/common/TestParameter.cpp","position":54,"original_position":54,"commit_id":"c7c36004bd0e59ac598af934f95edc21e176450c","original_commit_id":"c7c36004bd0e59ac598af934f95edc21e176450c","user":{"login":"kreczko","id":1213276,"avatar_url":"https://avatars.githubusercontent.com/u/1213276?v=3","gravatar_id":"","url":"https://api.github.com/users/kreczko","html_url":"https://github.com/kreczko","followers_url":"https://api.github.com/users/kreczko/followers","following_url":"https://api.github.com/users/kreczko/following{/other_user}","gists_url":"https://api.github.com/users/kreczko/gists{/gist_id}","starred_url":"https://api.github.com/users/kreczko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreczko/subscriptions","organizations_url":"https://api.github.com/users/kreczko/orgs","repos_url":"https://api.github.com/users/kreczko/repos","events_url":"https://api.github.com/users/kreczko/events{/privacy}","received_events_url":"https://api.github.com/users/kreczko/received_events","type":"User","site_admin":false},"body":"``Test case <> did not check any assertions``","created_at":"2015-06-03T15:04:35Z","updated_at":"2015-06-03T15:04:35Z","html_url":"https://github.com/kreczko/swatch/pull/19#discussion_r31632480","pull_request_url":"https://api.github.com/repos/kreczko/swatch/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/kreczko/swatch/pulls/comments/31632480"},"html":{"href":"https://github.com/kreczko/swatch/pull/19#discussion_r31632480"},"pull_request":{"href":"https://api.github.com/repos/kreczko/swatch/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/kreczko/swatch/pulls/19","id":36842029,"html_url":"https://github.com/kreczko/swatch/pull/19","diff_url":"https://github.com/kreczko/swatch/pull/19.diff","patch_url":"https://github.com/kreczko/swatch/pull/19.patch","issue_url":"https://api.github.com/repos/kreczko/swatch/issues/19","number":19,"state":"open","locked":false,"title":"Andrew's Parameter class draft 1","user":{"login":"kreczko","id":1213276,"avatar_url":"https://avatars.githubusercontent.com/u/1213276?v=3","gravatar_id":"","url":"https://api.github.com/users/kreczko","html_url":"https://github.com/kreczko","followers_url":"https://api.github.com/users/kreczko/followers","following_url":"https://api.github.com/users/kreczko/following{/other_user}","gists_url":"https://api.github.com/users/kreczko/gists{/gist_id}","starred_url":"https://api.github.com/users/kreczko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreczko/subscriptions","organizations_url":"https://api.github.com/users/kreczko/orgs","repos_url":"https://api.github.com/users/kreczko/repos","events_url":"https://api.github.com/users/kreczko/events{/privacy}","received_events_url":"https://api.github.com/users/kreczko/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-03T15:02:21Z","updated_at":"2015-06-03T15:04:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"834e6dc7296422d0922d225898ff97b57719d783","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kreczko/swatch/pulls/19/commits","review_comments_url":"https://api.github.com/repos/kreczko/swatch/pulls/19/comments","review_comment_url":"https://api.github.com/repos/kreczko/swatch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kreczko/swatch/issues/19/comments","statuses_url":"https://api.github.com/repos/kreczko/swatch/statuses/c7c36004bd0e59ac598af934f95edc21e176450c","head":{"label":"kreczko:andrews_param_proposal","ref":"andrews_param_proposal","sha":"c7c36004bd0e59ac598af934f95edc21e176450c","user":{"login":"kreczko","id":1213276,"avatar_url":"https://avatars.githubusercontent.com/u/1213276?v=3","gravatar_id":"","url":"https://api.github.com/users/kreczko","html_url":"https://github.com/kreczko","followers_url":"https://api.github.com/users/kreczko/followers","following_url":"https://api.github.com/users/kreczko/following{/other_user}","gists_url":"https://api.github.com/users/kreczko/gists{/gist_id}","starred_url":"https://api.github.com/users/kreczko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreczko/subscriptions","organizations_url":"https://api.github.com/users/kreczko/orgs","repos_url":"https://api.github.com/users/kreczko/repos","events_url":"https://api.github.com/users/kreczko/events{/privacy}","received_events_url":"https://api.github.com/users/kreczko/received_events","type":"User","site_admin":false},"repo":{"id":24379467,"name":"swatch","full_name":"kreczko/swatch","owner":{"login":"kreczko","id":1213276,"avatar_url":"https://avatars.githubusercontent.com/u/1213276?v=3","gravatar_id":"","url":"https://api.github.com/users/kreczko","html_url":"https://github.com/kreczko","followers_url":"https://api.github.com/users/kreczko/followers","following_url":"https://api.github.com/users/kreczko/following{/other_user}","gists_url":"https://api.github.com/users/kreczko/gists{/gist_id}","starred_url":"https://api.github.com/users/kreczko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreczko/subscriptions","organizations_url":"https://api.github.com/users/kreczko/orgs","repos_url":"https://api.github.com/users/kreczko/repos","events_url":"https://api.github.com/users/kreczko/events{/privacy}","received_events_url":"https://api.github.com/users/kreczko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kreczko/swatch","description":"","fork":false,"url":"https://api.github.com/repos/kreczko/swatch","forks_url":"https://api.github.com/repos/kreczko/swatch/forks","keys_url":"https://api.github.com/repos/kreczko/swatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kreczko/swatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kreczko/swatch/teams","hooks_url":"https://api.github.com/repos/kreczko/swatch/hooks","issue_events_url":"https://api.github.com/repos/kreczko/swatch/issues/events{/number}","events_url":"https://api.github.com/repos/kreczko/swatch/events","assignees_url":"https://api.github.com/repos/kreczko/swatch/assignees{/user}","branches_url":"https://api.github.com/repos/kreczko/swatch/branches{/branch}","tags_url":"https://api.github.com/repos/kreczko/swatch/tags","blobs_url":"https://api.github.com/repos/kreczko/swatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kreczko/swatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kreczko/swatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/kreczko/swatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kreczko/swatch/statuses/{sha}","languages_url":"https://api.github.com/repos/kreczko/swatch/languages","stargazers_url":"https://api.github.com/repos/kreczko/swatch/stargazers","contributors_url":"https://api.github.com/repos/kreczko/swatch/contributors","subscribers_url":"https://api.github.com/repos/kreczko/swatch/subscribers","subscription_url":"https://api.github.com/repos/kreczko/swatch/subscription","commits_url":"https://api.github.com/repos/kreczko/swatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/kreczko/swatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/kreczko/swatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/kreczko/swatch/issues/comments{/number}","contents_url":"https://api.github.com/repos/kreczko/swatch/contents/{+path}","compare_url":"https://api.github.com/repos/kreczko/swatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kreczko/swatch/merges","archive_url":"https://api.github.com/repos/kreczko/swatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kreczko/swatch/downloads","issues_url":"https://api.github.com/repos/kreczko/swatch/issues{/number}","pulls_url":"https://api.github.com/repos/kreczko/swatch/pulls{/number}","milestones_url":"https://api.github.com/repos/kreczko/swatch/milestones{/number}","notifications_url":"https://api.github.com/repos/kreczko/swatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kreczko/swatch/labels{/name}","releases_url":"https://api.github.com/repos/kreczko/swatch/releases{/id}","created_at":"2014-09-23T16:23:52Z","updated_at":"2015-03-24T12:45:19Z","pushed_at":"2015-06-03T15:02:21Z","git_url":"git://github.com/kreczko/swatch.git","ssh_url":"git@github.com:kreczko/swatch.git","clone_url":"https://github.com/kreczko/swatch.git","svn_url":"https://github.com/kreczko/swatch","homepage":null,"size":1488,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kreczko:master","ref":"master","sha":"a561ecba2b7a7a3e5a6f6767ba6b5f151b4483f2","user":{"login":"kreczko","id":1213276,"avatar_url":"https://avatars.githubusercontent.com/u/1213276?v=3","gravatar_id":"","url":"https://api.github.com/users/kreczko","html_url":"https://github.com/kreczko","followers_url":"https://api.github.com/users/kreczko/followers","following_url":"https://api.github.com/users/kreczko/following{/other_user}","gists_url":"https://api.github.com/users/kreczko/gists{/gist_id}","starred_url":"https://api.github.com/users/kreczko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreczko/subscriptions","organizations_url":"https://api.github.com/users/kreczko/orgs","repos_url":"https://api.github.com/users/kreczko/repos","events_url":"https://api.github.com/users/kreczko/events{/privacy}","received_events_url":"https://api.github.com/users/kreczko/received_events","type":"User","site_admin":false},"repo":{"id":24379467,"name":"swatch","full_name":"kreczko/swatch","owner":{"login":"kreczko","id":1213276,"avatar_url":"https://avatars.githubusercontent.com/u/1213276?v=3","gravatar_id":"","url":"https://api.github.com/users/kreczko","html_url":"https://github.com/kreczko","followers_url":"https://api.github.com/users/kreczko/followers","following_url":"https://api.github.com/users/kreczko/following{/other_user}","gists_url":"https://api.github.com/users/kreczko/gists{/gist_id}","starred_url":"https://api.github.com/users/kreczko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreczko/subscriptions","organizations_url":"https://api.github.com/users/kreczko/orgs","repos_url":"https://api.github.com/users/kreczko/repos","events_url":"https://api.github.com/users/kreczko/events{/privacy}","received_events_url":"https://api.github.com/users/kreczko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kreczko/swatch","description":"","fork":false,"url":"https://api.github.com/repos/kreczko/swatch","forks_url":"https://api.github.com/repos/kreczko/swatch/forks","keys_url":"https://api.github.com/repos/kreczko/swatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kreczko/swatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kreczko/swatch/teams","hooks_url":"https://api.github.com/repos/kreczko/swatch/hooks","issue_events_url":"https://api.github.com/repos/kreczko/swatch/issues/events{/number}","events_url":"https://api.github.com/repos/kreczko/swatch/events","assignees_url":"https://api.github.com/repos/kreczko/swatch/assignees{/user}","branches_url":"https://api.github.com/repos/kreczko/swatch/branches{/branch}","tags_url":"https://api.github.com/repos/kreczko/swatch/tags","blobs_url":"https://api.github.com/repos/kreczko/swatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kreczko/swatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kreczko/swatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/kreczko/swatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kreczko/swatch/statuses/{sha}","languages_url":"https://api.github.com/repos/kreczko/swatch/languages","stargazers_url":"https://api.github.com/repos/kreczko/swatch/stargazers","contributors_url":"https://api.github.com/repos/kreczko/swatch/contributors","subscribers_url":"https://api.github.com/repos/kreczko/swatch/subscribers","subscription_url":"https://api.github.com/repos/kreczko/swatch/subscription","commits_url":"https://api.github.com/repos/kreczko/swatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/kreczko/swatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/kreczko/swatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/kreczko/swatch/issues/comments{/number}","contents_url":"https://api.github.com/repos/kreczko/swatch/contents/{+path}","compare_url":"https://api.github.com/repos/kreczko/swatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kreczko/swatch/merges","archive_url":"https://api.github.com/repos/kreczko/swatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kreczko/swatch/downloads","issues_url":"https://api.github.com/repos/kreczko/swatch/issues{/number}","pulls_url":"https://api.github.com/repos/kreczko/swatch/pulls{/number}","milestones_url":"https://api.github.com/repos/kreczko/swatch/milestones{/number}","notifications_url":"https://api.github.com/repos/kreczko/swatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kreczko/swatch/labels{/name}","releases_url":"https://api.github.com/repos/kreczko/swatch/releases{/id}","created_at":"2014-09-23T16:23:52Z","updated_at":"2015-03-24T12:45:19Z","pushed_at":"2015-06-03T15:02:21Z","git_url":"git://github.com/kreczko/swatch.git","ssh_url":"git@github.com:kreczko/swatch.git","clone_url":"https://github.com/kreczko/swatch.git","svn_url":"https://github.com/kreczko/swatch","homepage":null,"size":1488,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kreczko/swatch/pulls/19"},"html":{"href":"https://github.com/kreczko/swatch/pull/19"},"issue":{"href":"https://api.github.com/repos/kreczko/swatch/issues/19"},"comments":{"href":"https://api.github.com/repos/kreczko/swatch/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/kreczko/swatch/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/kreczko/swatch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kreczko/swatch/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/kreczko/swatch/statuses/c7c36004bd0e59ac598af934f95edc21e176450c"}}}}