Avoid deprecated functions by newer c-ares. Now aria2 requires c-ares >= 1.16.0 to get ares_getaddrinfo.
25 lines
407 B
C++
25 lines
407 B
C++
#include "AsyncNameResolver.h"
|
|
|
|
#include <cstring>
|
|
|
|
#include <cppunit/extensions/HelperMacros.h>
|
|
|
|
#include "SocketCore.h"
|
|
|
|
namespace aria2 {
|
|
|
|
class AsyncNameResolverTest : public CppUnit::TestFixture {
|
|
|
|
CPPUNIT_TEST_SUITE(AsyncNameResolverTest);
|
|
CPPUNIT_TEST_SUITE_END();
|
|
|
|
public:
|
|
void setUp() {}
|
|
|
|
void tearDown() {}
|
|
};
|
|
|
|
CPPUNIT_TEST_SUITE_REGISTRATION(AsyncNameResolverTest);
|
|
|
|
} // namespace aria2
|