mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-03-15 00:27:12 +01:00
41 lines
635 B
C
41 lines
635 B
C
|
//
|
||
|
// ICMPSocketTest.h
|
||
|
//
|
||
|
// Definition of the ICMPSocketTest class.
|
||
|
//
|
||
|
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
|
||
|
// and Contributors.
|
||
|
//
|
||
|
// SPDX-License-Identifier: BSL-1.0
|
||
|
//
|
||
|
|
||
|
|
||
|
#ifndef ICMPSocketTest_INCLUDED
|
||
|
#define ICMPSocketTest_INCLUDED
|
||
|
|
||
|
|
||
|
#include "Poco/Net/Net.h"
|
||
|
#include "CppUnit/TestCase.h"
|
||
|
|
||
|
|
||
|
class ICMPSocketTest: public CppUnit::TestCase
|
||
|
{
|
||
|
public:
|
||
|
ICMPSocketTest(const std::string& name);
|
||
|
~ICMPSocketTest();
|
||
|
|
||
|
void testSendToReceiveFrom();
|
||
|
void testAssign();
|
||
|
void testMTU();
|
||
|
|
||
|
void setUp();
|
||
|
void tearDown();
|
||
|
|
||
|
static CppUnit::Test* suite();
|
||
|
|
||
|
private:
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // ICMPSocketTest_INCLUDED
|