summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneypayeetest.h
blob: baef5614afd043a0950f0fbd50cb1d668f38c212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/***************************************************************************
                          mymoneypayeetest.h
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef __MYMONEYPAYEETEST_H__
#define __MYMONEYPAYEETEST_H__

#include <cppunit/extensions/HelperMacros.h>
#include "autotest.h"

#define private public
#define protected public
#include "mymoneypayee.h"
#undef private
#undef protected

class MyMoneyPayeeTest : public CppUnit::TestFixture  {
        CPPUNIT_TEST_SUITE(MyMoneyPayeeTest);
	CPPUNIT_TEST(testXml);
	CPPUNIT_TEST(testDefaultAccount);
	CPPUNIT_TEST_SUITE_END();

public:
	MyMoneyPayeeTest ();

	void setUp ();
	void tearDown ();
	void testXml();
	void testDefaultAccount();
};

#endif