File indexing completed on 2024-05-19 04:34:08
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 TESTLABELPARSER_H 0013 #define TESTLABELPARSER_H 0014 0015 #include <QObject> 0016 #include <labelparser.h> 0017 0018 class TestLabelParser : public QObject 0019 { 0020 Q_OBJECT 0021 private: 0022 void dumpAttributes(Label::Chunk *l, QString indent); 0023 void dumpTree(Label::Chunk *l, QString indent = ""); 0024 void dumpTree(Label::Parsed *l); 0025 private Q_SLOTS: 0026 void cleanupTestCase(); 0027 0028 void testLabelParser(); 0029 }; 0030 0031 #endif 0032 0033 // vim: ts=2 sw=2 et