summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestxmlstreamer.h
blob: e6858c61dc493544cfa1668748fc1e063d4f6e74 (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
#ifndef QTESTXMLSTREAMER_H
#define QTESXMLSTREAMER_H

#include "qtestbasicstreamer.h"

QT_BEGIN_NAMESPACE

class QTestElement;
class QTestElementAttribute;

class QTestXmlStreamer: public QTestBasicStreamer
{
    public:
        QTestXmlStreamer();
        ~QTestXmlStreamer();

        void formatStart(const QTestElement *element = 0, char *formatted = 0) const;
        void formatEnd(const QTestElement *element = 0, char *formatted = 0) const;
        void formatBeforeAttributes(const QTestElement *element = 0, char *formatted = 0) const;
        void output(QTestElement *element) const;
};

QT_END_NAMESPACE

#endif