Skip to content
Snippets Groups Projects
Commit 618b70bd authored by kongr45gpen's avatar kongr45gpen
Browse files

Implement code review comments

parent 232ced8c
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ public:
* Get a message from the list of queued messages to send
* @param number The number of the message, starting from 0 in chronological order
*/
static Message &get(unsigned long number) {
static Message &get(uint64_t number) {
return queuedMessages.at(number);
}
......@@ -31,7 +31,7 @@ public:
/**
* Counts the number of messages in the queue
*/
static unsigned long count() {
static uint64_t count() {
return queuedMessages.size();
}
......
......@@ -14,10 +14,6 @@ void Service::storeMessage(const Message &message) {
struct ServiceTestsListener : Catch::TestEventListenerBase {
using TestEventListenerBase::TestEventListenerBase; // inherit constructor
void testCaseStarting(Catch::TestCaseInfo const &testInfo) override {
// Perform some setup before a test case is run
}
void testCaseEnded(Catch::TestCaseStats const &testCaseStats) override {
// Tear-down after a test case is run
ServiceTests::reset();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment