blob: ed7397516af23c2b1513a01184170d3463792293 (
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
|
#ifndef _T_COMMMODITY_H
#define _T_COMMMODITY_H
#include "UnitTests.h"
class CommodityTestCase : public CPPUNIT_NS::TestCase
{
CPPUNIT_TEST_SUITE(CommodityTestCase);
CPPUNIT_TEST(testPriceHistory);
CPPUNIT_TEST(testLots);
CPPUNIT_TEST(testScalingBase);
CPPUNIT_TEST(testReduction);
CPPUNIT_TEST_SUITE_END();
public:
ledger::session_t session;
CommodityTestCase() {}
virtual ~CommodityTestCase() {}
virtual void setUp();
virtual void tearDown();
void testPriceHistory();
void testLots();
void testScalingBase();
void testReduction();
private:
CommodityTestCase(const CommodityTestCase ©);
void operator=(const CommodityTestCase ©);
};
#endif // _T_COMMMODITY_H
|