-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Conversation
Needed to remove a line
plugins/net_plugin/test/main.cpp
Outdated
} | ||
|
||
boost::unit_test::test_suite* init_unit_test_suite(int argc, char* argv[]) { | ||
// Turn off blockchain logging if no --verbose parameter is not added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this sentence sounds awkward. Maybe something like "Turn off logging if --verbose parameter was not provided" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reworded the sentence
plugins/net_plugin/test/main.cpp
Outdated
|
||
boost::unit_test::test_suite* init_unit_test_suite(int argc, char* argv[]) { | ||
// Turn off blockchain logging if no --verbose parameter is not added | ||
// To have verbose enabled, call "tests/chain_test -- --verbose" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please rename "chain_test". Maybe tests/ ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reworded
plugins/net_plugin/test/main.cpp
Outdated
|
||
std::srand(time(NULL)); | ||
std::cout << "Random number generator seeded to " << time(NULL) << std::endl; | ||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this comment necessary? if it is, please explain how use that code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
plugins/net_plugin/test/main.cpp
Outdated
#include <fc/log/logger.hpp> | ||
#include <eosio/chain/exceptions.hpp> | ||
|
||
//extern uint32_t EOS_TESTING_GENESIS_TIMESTAMP; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
likely needs to be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please cleanup unnecessary copy-paste comments
1) Removed unused code 2) Clarified comments 3) Disabled cmake processing until a test is added
Change Description
Added unit test framework for net_plugin.
Change Type
Select ONE:
Testing Changes
Select ANY that apply:
Consensus Changes
API Changes
Documentation Additions