File indexing completed on 2024-05-19 04:34:09
0001 /*************************************************************************** 0002 * * 0003 * copyright : (C) 2007 The University of Toronto * 0004 * * 0005 * This program is free software; you can redistribute it and/or modify * 0006 * it under the terms of the GNU General Public License as published by * 0007 * the Free Software Foundation; either version 2 of the License, or * 0008 * (at your option) any later version. * 0009 * * 0010 ***************************************************************************/ 0011 0012 #ifndef TESTSCALAR_H 0013 #define TESTSCALAR_H 0014 0015 #include <QObject> 0016 #include <QDomDocument> 0017 0018 class SListener : public QObject 0019 { 0020 Q_OBJECT 0021 0022 public: 0023 SListener(); 0024 virtual ~SListener(); 0025 0026 int _trigger; 0027 0028 public Q_SLOTS: 0029 void trigger(qint64); 0030 }; 0031 0032 0033 class TestScalar : public QObject 0034 { 0035 Q_OBJECT 0036 private: 0037 QDomDocument makeDOMDocument(const QString& tag, const QString& val, bool orphan = false); 0038 private Q_SLOTS: 0039 void cleanupTestCase(); 0040 0041 void testScalar(); 0042 }; 0043 0044 #endif 0045 0046 // vim: ts=2 sw=2 et