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