mirror of
https://github.com/mfontanini/libtins
synced 2026-01-28 20:44:26 +01:00
Fix active tests build issues
This commit is contained in:
@@ -43,7 +43,9 @@ class PDU;
|
||||
|
||||
class TestFailed : public std::runtime_error {
|
||||
public:
|
||||
using std::runtime_error::runtime_error;
|
||||
TestFailed(const std::string& message) : std::runtime_error(message) {
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
class ActiveTest {
|
||||
|
||||
@@ -36,7 +36,8 @@
|
||||
|
||||
class IPv4SourceAddressTest : public ActiveTest {
|
||||
public:
|
||||
using ActiveTest::ActiveTest;
|
||||
IPv4SourceAddressTest(const PacketSenderPtr& packet_sender,
|
||||
const ConfigurationPtr& configuration);
|
||||
|
||||
std::string name() const;
|
||||
private:
|
||||
@@ -47,7 +48,8 @@ private:
|
||||
|
||||
class IPv4FragmentationTest : public ActiveTest {
|
||||
public:
|
||||
using ActiveTest::ActiveTest;
|
||||
IPv4FragmentationTest(const PacketSenderPtr& packet_sender,
|
||||
const ConfigurationPtr& configuration);
|
||||
|
||||
std::string name() const;
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user