//
// LoggingConfiguratorTest.h
//
// Definition of the LoggingConfiguratorTest class.
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier:	BSL-1.0
//


#ifndef LoggingConfiguratorTest_INCLUDED
#define LoggingConfiguratorTest_INCLUDED


#include "Poco/Util/Util.h"
#include "CppUnit/TestCase.h"


class LoggingConfiguratorTest: public CppUnit::TestCase
{
public:
	LoggingConfiguratorTest(const std::string& name);
	~LoggingConfiguratorTest();

	void testConfigurator();
	void testFastLoggerConfigurator();
	void testFastLoggerRootConfigurator();
	void testFastLoggerWithRegistry();
	void testFastLoggerOptions();
	void testFastLoggerOptionsWarnings();
	void testBadConfiguration1();
	void testBadConfiguration2();
	void testBadConfiguration3();
	void testBadConfiguration4();
	void testAsyncChannelShutdown();
	void testGetLogger();
	void testGetLoggerExisting();
	void testGetLoggerCollision();
	void testGetLoggerNoFormattersNoChannels();
	void testConfigureLogger();
	void testConfigureLoggerNestedSplitter();
	void testReconfigureLogger();

	void setUp();
	void tearDown();

	static CppUnit::Test* suite();

private:
};


#endif // LoggingConfiguratorTest_INCLUDED
