Formatting of tests

This commit is contained in:
Matthias Kuhn 2014-11-21 09:24:20 +01:00
parent 95f6483855
commit cae6baea90
65 changed files with 68 additions and 68 deletions

View File

@ -21,7 +21,7 @@ Email : sherman at mrcc dot com
class TestQgsVectorAnalyzer: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -25,7 +25,7 @@
*/
class TestQgsZonalStatistics: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();
void cleanupTestCase();

View File

@ -35,7 +35,7 @@
*/
class TestQgisAppClipboard: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -49,7 +49,7 @@
*/
class Regression1141: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -42,7 +42,7 @@
*/
class Regression992: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -21,7 +21,7 @@
class Test[testClassCamelCaseName]: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
[TestMethods]
};

View File

@ -30,7 +30,7 @@
*/
class TestContrastEnhancements: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -25,7 +25,7 @@ Email : sherman at mrcc dot com
class TestQgsApplication: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void checkPaths();
void checkGdalSkip();

View File

@ -35,7 +35,7 @@
class TestQgsAtlasComposition: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -37,7 +37,7 @@
*/
class TestQgsBlendModes: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -27,7 +27,7 @@
class TestQgsClipper: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase() {};// will be called after the last testfunction was executed.

View File

@ -58,7 +58,7 @@ class DummyColorScheme : public QgsColorScheme
class TestQgsColorScheme : public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.

View File

@ -59,7 +59,7 @@ class DummyColorScheme : public QgsColorScheme
class TestQgsColorSchemeRegistry : public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.

View File

@ -34,7 +34,7 @@
class TestQgsComposerDD: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -27,7 +27,7 @@
class TestQgsComposerEffects: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -24,7 +24,7 @@
class TestQgsComposerGroup: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -26,7 +26,7 @@
class TestQgsComposerHtml: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -28,7 +28,7 @@
class TestQgsComposerLabel: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -28,7 +28,7 @@
class TestQgsComposerMap: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -28,7 +28,7 @@
class TestQgsComposerMapGrid: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -30,7 +30,7 @@
class TestQgsComposerMapOverview: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -24,7 +24,7 @@
class TestQgsComposerModel: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.

View File

@ -25,7 +25,7 @@
class TestQgsComposerMultiFrame: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -24,7 +24,7 @@
class TestQgsComposerObject: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -31,7 +31,7 @@
class TestQgsComposerPaper: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -26,7 +26,7 @@
class TestQgsComposerPicture: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -33,7 +33,7 @@
class TestQgsComposerRotation: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -30,7 +30,7 @@
class TestQgsComposerScaleBar: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -30,7 +30,7 @@
class TestQgsComposerShapes: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -30,7 +30,7 @@
class TestQgsComposerTable: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -36,7 +36,7 @@
class TestQgsComposerTableV2: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -27,7 +27,7 @@
class TestQgsComposerUtils: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -29,7 +29,7 @@
class TestQgsComposition: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.

View File

@ -25,7 +25,7 @@
*/
class TestQgsDataDefined: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.

View File

@ -29,7 +29,7 @@
*/
class TestQgsDataItem: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.

View File

@ -49,7 +49,7 @@
*/
class TestQgsDiagram: public QObject
{
Q_OBJECT;
Q_OBJECT
private:
bool mTestHasError;
QgsMapSettings mMapSettings;

View File

@ -49,7 +49,7 @@
*/
class TestQgsDiagramExpression: public QObject
{
Q_OBJECT;
Q_OBJECT
private:
bool mTestHasError;
QgsMapSettings * mMapSettings;

View File

@ -27,7 +27,7 @@
class TestQgsDistanceArea: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();
void cleanupTestCase();

View File

@ -43,7 +43,7 @@ static void _parseAndEvalExpr( int arg )
class TestQgsExpression: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase()

View File

@ -40,7 +40,7 @@
*/
class TestQgsGeometry: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -42,7 +42,7 @@
*/
class TestQgsGradients: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -38,7 +38,7 @@
*/
class TestQgsInvertedPolygon: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -30,7 +30,7 @@
class TestSignalReceiver : public QObject
{
Q_OBJECT;
Q_OBJECT
public:
TestSignalReceiver() : QObject( 0 ), blendMode( QPainter::CompositionMode_SourceOver ) {}
@ -47,7 +47,7 @@ class TestSignalReceiver : public QObject
*/
class TestQgsMapLayer: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -51,7 +51,7 @@
*/
class TestQgsMapRenderer: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -23,7 +23,7 @@
class TestQgsNetworkContentFetcher: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -30,7 +30,7 @@
class TestQgsPoint: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -39,7 +39,7 @@
*/
class TestQgsRasterFileWriter: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -41,7 +41,7 @@
*/
class TestQgsRasterFill: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -50,7 +50,7 @@
*/
class TestQgsRasterLayer: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.
@ -90,7 +90,7 @@ class TestQgsRasterLayer: public QObject
class TestSignalReceiver : public QObject
{
Q_OBJECT;
Q_OBJECT
public:
TestSignalReceiver() : QObject( 0 ),

View File

@ -50,7 +50,7 @@
*/
class TestQgsRasterSubLayer: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -23,7 +23,7 @@
class TestQgsRectangle: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void manipulate();
void regression6194();

View File

@ -38,7 +38,7 @@
*/
class TestQgsRenderers: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -42,7 +42,7 @@
*/
class TestQgsShapeburst: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -33,7 +33,7 @@
*/
class TestStyleV2: public QObject
{
Q_OBJECT;
Q_OBJECT
private:

View File

@ -54,7 +54,7 @@
*/
class TestQgsVectorFileWriter: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void init() {};// will be called before each testfunction is executed.

View File

@ -38,7 +38,7 @@
class TestSignalReceiver : public QObject
{
Q_OBJECT;
Q_OBJECT
public:
TestSignalReceiver() : QObject( 0 ),
@ -69,7 +69,7 @@ class TestSignalReceiver : public QObject
*/
class TestQgsVectorLayer: public QObject
{
Q_OBJECT;
Q_OBJECT
private:
bool mTestHasError;
QgsMapRenderer * mpMapRenderer;

View File

@ -34,7 +34,7 @@
*/
class TestZipLayer: public QObject
{
Q_OBJECT;
Q_OBJECT
private:

View File

@ -26,7 +26,7 @@
class TestProjectionIssues: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -26,7 +26,7 @@
class TestQgsDualView: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase(); // will be called before the first testfunction is executed.
void cleanupTestCase(); // will be called after the last testfunction was executed.

View File

@ -27,7 +27,7 @@
class TestQgsMapToolZoom: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase(); // will be called before the first testfunction is executed.
void cleanupTestCase(); // will be called after the last testfunction was executed.

View File

@ -38,7 +38,7 @@
*/
class TestQgsQuickPrint: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -40,7 +40,7 @@
*/
class TestRasterHistogram: public QObject
{
Q_OBJECT;
Q_OBJECT
private:

View File

@ -29,7 +29,7 @@
class TestQgsRubberband: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase(); // will be called before the first testfunction is executed.
void cleanupTestCase(); // will be called after the last testfunction was executed.

View File

@ -26,7 +26,7 @@
class TestQgsScaleComboBox: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.

View File

@ -35,7 +35,7 @@
*/
class TestQgsWcsProvider: public QObject
{
Q_OBJECT;
Q_OBJECT
private slots:
void initTestCase();// will be called before the first testfunction is executed.
void cleanupTestCase();// will be called after the last testfunction was executed.