mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-05 17:52:29 +00:00
21 lines
337 B
C++
21 lines
337 B
C++
#include "config.h"
|
|
|
|
#include "test_fixture.h"
|
|
|
|
#include "torrent/utils/log.h"
|
|
|
|
#include <iostream>
|
|
|
|
void
|
|
test_fixture::setUp() {
|
|
mock_init();
|
|
|
|
log_add_group_output(torrent::LOG_CONNECTION_BIND, "test_output");
|
|
log_add_group_output(torrent::LOG_CONNECTION_FD, "test_output");
|
|
}
|
|
|
|
void
|
|
test_fixture::tearDown() {
|
|
mock_cleanup();
|
|
}
|