mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 04:17:55 +01:00
fix: remove executable flag and change back to 100644 (was 100755) Signed-off-by: Roger Meier <r.meier@siemens.com>
56 lines
936 B
C++
56 lines
936 B
C++
//
|
|
// NetworkInterfaceTest.h
|
|
//
|
|
// $Id: //poco/1.4/Net/testsuite/src/NetworkInterfaceTest.h#1 $
|
|
//
|
|
// Definition of the NetworkInterfaceTest class.
|
|
//
|
|
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef NetworkInterfaceTest_INCLUDED
|
|
#define NetworkInterfaceTest_INCLUDED
|
|
|
|
|
|
#include "Poco/Net/Net.h"
|
|
|
|
|
|
#ifdef POCO_NET_HAS_INTERFACE
|
|
|
|
|
|
#include "CppUnit/TestCase.h"
|
|
|
|
|
|
class NetworkInterfaceTest: public CppUnit::TestCase
|
|
{
|
|
public:
|
|
NetworkInterfaceTest(const std::string& name);
|
|
~NetworkInterfaceTest();
|
|
|
|
void testMap();
|
|
void testList();
|
|
void testForName();
|
|
void testForAddress();
|
|
void testForIndex();
|
|
void testMapIpOnly();
|
|
void testMapUpOnly();
|
|
void testListMapConformance();
|
|
|
|
void setUp();
|
|
void tearDown();
|
|
|
|
static CppUnit::Test* suite();
|
|
|
|
private:
|
|
};
|
|
|
|
|
|
#endif // POCO_NET_HAS_INTERFACE
|
|
|
|
|
|
#endif // NetworkInterfaceTest_INCLUDED
|