1//
2// StreamCopierTest.h
3//
4// Definition of the StreamCopierTest class.
5//
6// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
7// and Contributors.
8//
9// SPDX-License-Identifier: BSL-1.0
10//
11
12
13#ifndef StreamCopierTest_INCLUDED
14#define StreamCopierTest_INCLUDED
15
16
17#include "Poco/Foundation.h"
18#include "Poco/CppUnit/TestCase.h"
19
20
21class StreamCopierTest: public CppUnit::TestCase
22{
23public:
24 StreamCopierTest(const std::string& name);
25 ~StreamCopierTest();
26
27 void testBufferedCopy();
28 void testUnbufferedCopy();
29 void testCopyToString();
30#if defined(POCO_HAVE_INT64)
31 void testBufferedCopy64();
32 void testUnbufferedCopy64();
33 void testCopyToString64();
34#endif
35
36 void setUp();
37 void tearDown();
38
39 static CppUnit::Test* suite();
40
41private:
42};
43
44
45#endif // StreamCopierTest_INCLUDED
46