~ubuntu-branches/ubuntu/edgy/koffice/edgy-updates

« back to all changes in this revision

Viewing changes to lib/kformula/testindexelement.h

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-05-09 11:33:00 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040509113300-xi5t1z4yxe7n03x7
Tags: upstream-1.3.1
ImportĀ upstreamĀ versionĀ 1.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
#ifndef TESTINDEXELEMENT_H
3
 
#define TESTINDEXELEMENT_H
4
 
 
5
 
#include <TestCaller.h>
6
 
#include <TestCase.h>
7
 
#include <TestSuite.h>
8
 
 
9
 
#include "elementindex.h"
10
 
#include "formuladefs.h"
11
 
 
12
 
class KCommandHistory;
13
 
 
14
 
KFORMULA_NAMESPACE_BEGIN
15
 
 
16
 
class BracketElement;
17
 
class FormulaElement;
18
 
class FormulaCursor;
19
 
class IndexElement;
20
 
class KFormulaContainer;
21
 
class KFormulaDocument;
22
 
class TextElement;
23
 
 
24
 
 
25
 
class TestIndexElement : public TestCase {
26
 
public:
27
 
    TestIndexElement(string name) : TestCase(name) {}
28
 
 
29
 
    static Test* suite();
30
 
 
31
 
    void setUp();
32
 
    void tearDown();
33
 
 
34
 
private:
35
 
 
36
 
    void testIndexes();
37
 
    void testIndexesGeneric();
38
 
    void testMainChild();
39
 
    void testMovement();
40
 
 
41
 
    void removeAddIndex(ElementIndexPtr& index);
42
 
 
43
 
    KCommandHistory* history;
44
 
    KFormulaDocument* document;
45
 
    KFormulaContainer* container;
46
 
    FormulaElement* rootElement;
47
 
    FormulaCursor* cursor;
48
 
    IndexElement* indexElement;
49
 
 
50
 
    SequenceElement* upperLeft;
51
 
    SequenceElement* upperRight;
52
 
    SequenceElement* lowerLeft;
53
 
    SequenceElement* lowerRight;
54
 
};
55
 
 
56
 
KFORMULA_NAMESPACE_END
57
 
 
58
 
#endif // TESTINDEXELEMENT_H