mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-02 22:50:47 +00:00
43 lines
785 B
C++
43 lines
785 B
C++
//
|
|
// JSONConfigurationTest.h
|
|
//
|
|
// $Id$
|
|
//
|
|
// Definition of the JSONConfigurationTest class.
|
|
//
|
|
// Copyright (c) 2004-2012, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef JSONConfigurationTest_INCLUDED
|
|
#define JSONConfigurationTest_INCLUDED
|
|
|
|
|
|
#include "AbstractConfigurationTest.h"
|
|
#include "Poco/Util/Util.h"
|
|
|
|
|
|
class JSONConfigurationTest: public AbstractConfigurationTest
|
|
{
|
|
public:
|
|
JSONConfigurationTest(const std::string& name);
|
|
virtual ~JSONConfigurationTest();
|
|
|
|
void testLoad();
|
|
void testSetArrayElement();
|
|
|
|
void setUp();
|
|
void tearDown();
|
|
|
|
static CppUnit::Test* suite();
|
|
|
|
private:
|
|
virtual Poco::Util::AbstractConfiguration* allocConfiguration() const;
|
|
};
|
|
|
|
|
|
#endif // JSONConfigurationTest_INCLUDED
|