2012-04-29 18:52:25 +00:00
|
|
|
//
|
|
|
|
// TreeWalkerTest.h
|
|
|
|
//
|
|
|
|
// Definition of the TreeWalkerTest class.
|
|
|
|
//
|
|
|
|
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
|
|
|
// and Contributors.
|
|
|
|
//
|
2014-05-04 21:02:42 +02:00
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
2012-04-29 18:52:25 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef TreeWalkerTest_INCLUDED
|
|
|
|
#define TreeWalkerTest_INCLUDED
|
|
|
|
|
|
|
|
|
|
|
|
#include "Poco/XML/XML.h"
|
|
|
|
#include "CppUnit/TestCase.h"
|
|
|
|
|
|
|
|
|
|
|
|
class TreeWalkerTest: public CppUnit::TestCase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
TreeWalkerTest(const std::string& name);
|
|
|
|
~TreeWalkerTest();
|
|
|
|
|
|
|
|
void testShowAll();
|
|
|
|
void testShowElements();
|
|
|
|
void testFilter();
|
|
|
|
void testShowNothing();
|
|
|
|
|
|
|
|
void setUp();
|
|
|
|
void tearDown();
|
|
|
|
|
|
|
|
static CppUnit::Test* suite();
|
|
|
|
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // TreeWalkerTest_INCLUDED
|