mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-04-08 05:17:14 +02:00
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
47 lines
773 B
C++
47 lines
773 B
C++
//
|
|
// AnyTest.h
|
|
//
|
|
// Tests for Any types
|
|
//
|
|
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
#ifndef AnyTest_INCLUDED
|
|
#define AnyTest_INCLUDED
|
|
|
|
|
|
#include "Poco/Foundation.h"
|
|
#include "CppUnit/TestCase.h"
|
|
|
|
|
|
class AnyTest: public CppUnit::TestCase
|
|
{
|
|
public:
|
|
AnyTest(const std::string& name);
|
|
~AnyTest();
|
|
|
|
void testConvertingCtor();
|
|
void testDefaultCtor();
|
|
void testCopyCtor();
|
|
void testCopyAssign();
|
|
void testConvertingAssign();
|
|
void testBadCast();
|
|
void testSwap();
|
|
void testEmptyCopy();
|
|
void testCastToReference();
|
|
|
|
void testInt();
|
|
void testComplexType();
|
|
void testVector();
|
|
|
|
void setUp();
|
|
void tearDown();
|
|
static CppUnit::Test* suite();
|
|
};
|
|
|
|
|
|
#endif // AnyTest_INCLUDED
|