From 88adfb66619543ef966d7c07cbe289f1e18472d8 Mon Sep 17 00:00:00 2001 From: Apr Team Date: Mon, 14 May 2018 12:04:24 +0300 Subject: [PATCH] Cleanups before review. --- .../graphene/chain/protocol/event_group.hpp | 3 +- .../include/graphene/chain/protocol/sport.hpp | 2 +- tests/tests/sports_and_events_tests.cpp | 54 ------------------- 3 files changed, 2 insertions(+), 57 deletions(-) delete mode 100644 tests/tests/sports_and_events_tests.cpp diff --git a/libraries/chain/include/graphene/chain/protocol/event_group.hpp b/libraries/chain/include/graphene/chain/protocol/event_group.hpp index d62ad356..a2e54494 100644 --- a/libraries/chain/include/graphene/chain/protocol/event_group.hpp +++ b/libraries/chain/include/graphene/chain/protocol/event_group.hpp @@ -84,7 +84,6 @@ struct event_group_delete_operation : public base_operation void validate()const; }; - } } FC_REFLECT( graphene::chain::event_group_create_operation::fee_parameters_type, (fee) ) @@ -97,4 +96,4 @@ FC_REFLECT( graphene::chain::event_group_update_operation, FC_REFLECT( graphene::chain::event_group_delete_operation::fee_parameters_type, (fee) ) FC_REFLECT( graphene::chain::event_group_delete_operation, - (fee)(event_group_id)(extensions) ) + (fee)(event_group_id)(extensions) ) diff --git a/libraries/chain/include/graphene/chain/protocol/sport.hpp b/libraries/chain/include/graphene/chain/protocol/sport.hpp index 6a3ab3d6..b04c4992 100644 --- a/libraries/chain/include/graphene/chain/protocol/sport.hpp +++ b/libraries/chain/include/graphene/chain/protocol/sport.hpp @@ -84,4 +84,4 @@ FC_REFLECT( graphene::chain::sport_update_operation, FC_REFLECT( graphene::chain::sport_delete_operation::fee_parameters_type, (fee) ) FC_REFLECT( graphene::chain::sport_delete_operation, - (fee)(sport_id)(extensions) ) + (fee)(sport_id)(extensions) ) diff --git a/tests/tests/sports_and_events_tests.cpp b/tests/tests/sports_and_events_tests.cpp deleted file mode 100644 index 8f26dd5a..00000000 --- a/tests/tests/sports_and_events_tests.cpp +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (c) 2015 Cryptonomex, Inc., and contributors. - * - * The MIT License - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -#include - -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#include "../common/database_fixture.hpp" - -using namespace graphene::chain; -using namespace graphene::chain::test; - -BOOST_FIXTURE_TEST_SUITE( sports_and_events_tests, database_fixture ) - -BOOST_AUTO_TEST_CASE( propose_delete_sport ) -{ - -} - -BOOST_AUTO_TEST_SUITE_END()