• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • Tests
testfwparser.h
Go to the documentation of this file.
1 /***************************************************************************
2  KSParser.cpp - K Desktop Planetarium
3  -------------------
4  begin : 2012/15/08
5  copyright : (C) 2012 by Rishab Arora
6  email : ra.rishab@gmail.com
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef TESTFWPARSER_H
19 #define TESTFWPARSER_H
20 #include <QtTest/QtTest>
21 #include <KDebug>
22 #include "datahandlers/ksparser.h"
23 #include "kstars/ksfilereader.h"
24 
25 
26 class TestFWParser: public QObject {
27  Q_OBJECT
28  public:
29  TestFWParser();
30  ~TestFWParser();
31  private slots:
32  void initTestCase();
33  void cleanupTestCase();
34  void MixedInputs();
35  void OnlySpaceRow();
36  void NoRow();
37  void FWReadMissingFile();
38 
39  private:
40  QStringList test_cases_;
41  QList<int> widths_;
42  QList< QPair<QString, KSParser::DataTypes> > sequence_;
43  QString test_file_name_;
44  KSParser *test_parser_;
45 };
46 
47 #endif // TESTFWPARSER_H
KSParser
Generic class for text file parsers used in KStars.
Definition: ksparser.h:49
TestFWParser
Definition: testfwparser.h:26
QObject
TestFWParser::~TestFWParser
~TestFWParser()
Definition: testfwparser.cpp:73
TestFWParser::TestFWParser
TestFWParser()
Definition: testfwparser.cpp:23
ksfilereader.h
ksparser.h
QList
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal