mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
53 lines
874 B
C++
53 lines
874 B
C++
//
|
|
// CoreTest.h
|
|
//
|
|
// $Id: //poco/1.4/Foundation/testsuite/src/CoreTest.h#1 $
|
|
//
|
|
// Definition of the CoreTest class.
|
|
//
|
|
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef CoreTest_INCLUDED
|
|
#define CoreTest_INCLUDED
|
|
|
|
|
|
#include "Poco/Foundation.h"
|
|
#include "CppUnit/TestCase.h"
|
|
|
|
|
|
class CoreTest: public CppUnit::TestCase
|
|
{
|
|
public:
|
|
CoreTest(const std::string& name);
|
|
~CoreTest();
|
|
|
|
void testPlatform();
|
|
void testFixedLength();
|
|
void testBugcheck();
|
|
void testFPE();
|
|
void testEnvironment();
|
|
void testBuffer();
|
|
void testAtomicCounter();
|
|
void testNullable();
|
|
void testAscii();
|
|
|
|
void setUp();
|
|
void tearDown();
|
|
|
|
static CppUnit::Test* suite();
|
|
|
|
protected:
|
|
int _readableToNot;
|
|
int _writableToNot;
|
|
int _notToReadable;
|
|
int _notToWritable;
|
|
};
|
|
|
|
|
|
#endif // CoreTest_INCLUDED
|