Skip to content

Commit

Permalink
Fix include in coding docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 18, 2015
1 parent 854c0b8 commit b45d384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CODING
Expand Up @@ -1059,7 +1059,7 @@ With all the unit test functions implemented, there one final thing we need to
add to our test class:

QTEST_MAIN(TestQgsRasterLayer)
#include "moc_testqgsrasterlayer.cxx"
#include "testqgsrasterlayer.moc"

The purpose of these two lines is to signal to Qt's moc that his is a QtTest
(it will generate a main method that in turn calls each test funtion. The last
Expand Down

0 comments on commit b45d384

Please sign in to comment.