[Merge] lp:~ken-vandine/content-hub/events_type into lp:content-hub
Michael Sheldon
michael.sheldon at canonical.com
Wed Jul 1 13:47:59 UTC 2015
I think the copyright on the new file should be 2015 (highlighted with inline diff comment)
Diff comments:
> --- tests/acceptance-tests/test_types.cpp 1970-01-01 00:00:00 +0000
> +++ tests/acceptance-tests/test_types.cpp 2015-06-29 20:17:54 +0000
> @@ -0,0 +1,68 @@
> +/*
> + * Copyright © 2013 Canonical Ltd.
> + *
> + * This program is free software: you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 3 as
> + * published by the Free Software Foundation.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Should probably be 2015
> + * GNU Lesser General Public License for more details.
> + *
> + * You should have received a copy of the GNU Lesser General Public License
> + * along with this program. If not, see <http://www.gnu.org/licenses/>.
> + *
> + * Authored by: Ken VanDine <ken.vandine at canonical.com>
> + */
> +
> +#include <com/ubuntu/content/type.h>
> +
> +#include <gtest/gtest.h>
> +
> +namespace cuc = com::ubuntu::content;
> +
> +TEST(Types, id_documents)
> +{
> + EXPECT_EQ(cuc::Type::Known::documents().id(), "documents");
> +}
> +
> +TEST(Types, id_pictures)
> +{
> + EXPECT_EQ(cuc::Type::Known::pictures().id(), "pictures");
> +}
> +
> +TEST(Types, id_music)
> +{
> + EXPECT_EQ(cuc::Type::Known::music().id(), "music");
> +}
> +
> +TEST(Types, id_contacts)
> +{
> + EXPECT_EQ(cuc::Type::Known::contacts().id(), "contacts");
> +}
> +
> +TEST(Types, id_videos)
> +{
> + EXPECT_EQ(cuc::Type::Known::videos().id(), "videos");
> +}
> +
> +TEST(Types, id_links)
> +{
> + EXPECT_EQ(cuc::Type::Known::links().id(), "links");
> +}
> +
> +TEST(Types, id_ebooks)
> +{
> + EXPECT_EQ(cuc::Type::Known::ebooks().id(), "ebooks");
> +}
> +
> +TEST(Types, id_text)
> +{
> + EXPECT_EQ(cuc::Type::Known::text().id(), "text");
> +}
> +
> +TEST(Types, id_events)
> +{
> + EXPECT_EQ(cuc::Type::Known::events().id(), "events");
> +}
--
https://code.launchpad.net/~ken-vandine/content-hub/events_type/+merge/263243
Your team Ubuntu Phablet Team is requested to review the proposed merge of lp:~ken-vandine/content-hub/events_type into lp:content-hub.
More information about the Ubuntu-reviews
mailing list