mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-23 21:53:49 +01:00
fix: remove executable flag and change back to 100644 (was 100755) Signed-off-by: Roger Meier <r.meier@siemens.com>
43 lines
642 B
C++
43 lines
642 B
C++
//
|
|
// DNSTest.h
|
|
//
|
|
// $Id: //poco/1.4/Net/testsuite/src/DNSTest.h#1 $
|
|
//
|
|
// Definition of the DNSTest class.
|
|
//
|
|
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef DNSTest_INCLUDED
|
|
#define DNSTest_INCLUDED
|
|
|
|
|
|
#include "Poco/Net/Net.h"
|
|
#include "CppUnit/TestCase.h"
|
|
|
|
|
|
class DNSTest: public CppUnit::TestCase
|
|
{
|
|
public:
|
|
DNSTest(const std::string& name);
|
|
~DNSTest();
|
|
|
|
void testHostByName();
|
|
void testHostByAddress();
|
|
void testResolve();
|
|
|
|
void setUp();
|
|
void tearDown();
|
|
|
|
static CppUnit::Test* suite();
|
|
|
|
private:
|
|
};
|
|
|
|
|
|
#endif // DNSTest_INCLUDED
|