Skip to content

Commit

Permalink
Consolidate test class into a single file to make writing tests easie…
Browse files Browse the repository at this point in the history
…r and quicker

git-svn-id: http://svn.osgeo.org/qgis/trunk@5217 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Apr 8, 2006
1 parent 855b3a9 commit 531dacb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
2 changes: 1 addition & 1 deletion tests/src/core/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ GLOBALCXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(GDAL_CFLAGS) $(QT_CXXFLAGS) $(P
# Instruction for running the qt4 meta object compiler
#

%.moc.cpp: %.h
%.moc.cpp: %.cpp
$(MOC) -o $@ $<

#
Expand Down
13 changes: 11 additions & 2 deletions tests/src/core/testqgsapplication.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
#include <QtTest>
#include <qgsapplication.h>
#include "testqgsapplication.h"
#include <QObject>
#include <QString>
#include <QObject>
//header for class being tested
#include <qgsapplication.h>

class TestQgsApplication: public QObject
{
Q_OBJECT;
public:
private slots:
void authorsFilePath();
};


void TestQgsApplication::authorsFilePath()
Expand Down
14 changes: 0 additions & 14 deletions tests/src/core/testqgsapplication.h

This file was deleted.

0 comments on commit 531dacb

Please sign in to comment.