-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More clean ups to test builder - warnning it will damge the local mak…
…efile if used at teh moment. Added a test class for qgssymbol - which fails when run Add rules to makefile to build symbol test git-svn-id: http://svn.osgeo.org/qgis/trunk@5221 c8812cc2-4d05-0410-92ff-de0c093fc19c
- Loading branch information
timlinux
committed
Apr 8, 2006
1 parent
208b4de
commit e299757
Showing
3 changed files
with
47 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#include <QtTest> | ||
#include <QObject> | ||
#include <QString> | ||
#include <QObject> | ||
//header for class being tested | ||
#include <qgssymbol.h> | ||
|
||
class TestQgsSymbol: public QObject | ||
{ | ||
Q_OBJECT; | ||
private slots: | ||
void setPointSize() | ||
{ | ||
QgsSymbol mySymbol; | ||
mySymbol.setPointSize(4); | ||
int mySize = mySymbol.pointSize(); | ||
QCOMPARE(mySize,4); | ||
} | ||
}; | ||
|
||
QTEST_MAIN(TestQgsSymbol) | ||
#include "testqgssymbol.moc.cpp" | ||
|
||
|
||
|
||
|