mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-21 19:27:09 +01:00
Still gets some warnings because compilers have changed. But should work.
50 lines
925 B
C++
50 lines
925 B
C++
//
|
|
// StreamCopierTest.h
|
|
//
|
|
// Definition of the StreamCopierTest class.
|
|
//
|
|
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef StreamCopierTest_INCLUDED
|
|
#define StreamCopierTest_INCLUDED
|
|
|
|
|
|
#include "Poco/Foundation.h"
|
|
#include "CppUnit/TestCase.h"
|
|
|
|
|
|
class StreamCopierTest: public CppUnit::TestCase
|
|
{
|
|
public:
|
|
StreamCopierTest(const std::string& name);
|
|
~StreamCopierTest();
|
|
|
|
void testBufferedCopy();
|
|
void testUnbufferedCopy();
|
|
void testCopyToString();
|
|
void testBufferedCopyRange();
|
|
void testUnbufferedCopyRange();
|
|
#if defined(POCO_HAVE_INT64)
|
|
void testBufferedCopy64();
|
|
void testUnbufferedCopy64();
|
|
void testCopyToString64();
|
|
void testBufferedCopyRange64();
|
|
void testUnbufferedCopyRange64();
|
|
#endif
|
|
|
|
void setUp();
|
|
void tearDown();
|
|
|
|
static CppUnit::Test* suite();
|
|
|
|
private:
|
|
};
|
|
|
|
|
|
#endif // StreamCopierTest_INCLUDED
|