mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
27 lines
714 B
C++
27 lines
714 B
C++
// Copyright (c) 2014-2026 Savoir-faire Linux Inc.
|
|
// SPDX-License-Identifier: MIT
|
|
#pragma once
|
|
|
|
#include <cppunit/TestFixture.h>
|
|
#include <cppunit/extensions/HelperMacros.h>
|
|
|
|
namespace test {
|
|
|
|
class NetworkEngineTester : public CppUnit::TestFixture
|
|
{
|
|
CPPUNIT_TEST_SUITE(NetworkEngineTester);
|
|
CPPUNIT_TEST(testIgnoresUnknownPartialData);
|
|
CPPUNIT_TEST(testCompletesPartialSessionFromSameSource);
|
|
CPPUNIT_TEST(testKeepsSessionForWrongSourceFragment);
|
|
CPPUNIT_TEST_SUITE_END();
|
|
|
|
public:
|
|
void setUp();
|
|
void tearDown();
|
|
|
|
void testIgnoresUnknownPartialData();
|
|
void testCompletesPartialSessionFromSameSource();
|
|
void testKeepsSessionForWrongSourceFragment();
|
|
};
|
|
|
|
} // namespace test
|