Skip to content

Commit

Permalink
GH-54 Move snapshot_suites out of libraries/testing as it is not need…
Browse files Browse the repository at this point in the history
…ed for libraries/testing
  • Loading branch information
heifner committed Jan 3, 2023
1 parent 6c17992 commit 6e0d8a0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions plugins/producer_plugin/test/test_snapshot_information.cpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
#define BOOST_TEST_MODULE snapshot_information
#include <boost/test/included/unit_test.hpp>

#include <fc/variant_object.hpp>

#include <eosio/chain/snapshot.hpp>
#include <eosio/testing/tester.hpp>
#include <eosio/testing/snapshot_suites.hpp>
#include <eosio/producer_plugin/producer_plugin.hpp>
#include <eosio/producer_plugin/pending_snapshot.hpp>
#include <contracts.hpp>
#include <snapshots.hpp>

using namespace eosio;
using namespace eosio::testing;
Expand All @@ -23,7 +19,7 @@ BOOST_AUTO_TEST_SUITE(snapshot_tests)

using next_t = eosio::producer_plugin::next_function<eosio::producer_plugin::snapshot_information>;

BOOST_AUTO_TEST_CASE_TEMPLATE(test_snapshot_information, SNAPSHOT_SUITE, snapshot_suites) {
BOOST_AUTO_TEST_CASE(test_snapshot_information) {
tester chain;
const chainbase::bfs::path parent_path = chain.get_config().blocks_dir.parent_path();

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion unittests/snapshot_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <eosio/chain/global_property_object.hpp>
#include <eosio/chain/snapshot.hpp>
#include <eosio/testing/tester.hpp>
#include <eosio/testing/snapshot_suites.hpp>
#include "snapshot_suites.hpp"

#include <boost/mpl/list.hpp>
#include <boost/test/unit_test.hpp>
Expand Down

0 comments on commit 6e0d8a0

Please sign in to comment.