mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Formatting of tests
This commit is contained in:
parent
95f6483855
commit
cae6baea90
@ -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.
|
||||
|
@ -25,7 +25,7 @@
|
||||
*/
|
||||
class TestQgsZonalStatistics: public QObject
|
||||
{
|
||||
Q_OBJECT;
|
||||
Q_OBJECT
|
||||
private slots:
|
||||
void initTestCase();
|
||||
void cleanupTestCase();
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
class Test[testClassCamelCaseName]: public QObject
|
||||
{
|
||||
Q_OBJECT;
|
||||
Q_OBJECT
|
||||
private slots:
|
||||
[TestMethods]
|
||||
};
|
||||
|
@ -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.
|
||||
|
@ -25,7 +25,7 @@ Email : sherman at mrcc dot com
|
||||
|
||||
class TestQgsApplication: public QObject
|
||||
{
|
||||
Q_OBJECT;
|
||||
Q_OBJECT
|
||||
private slots:
|
||||
void checkPaths();
|
||||
void checkGdalSkip();
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -49,7 +49,7 @@
|
||||
*/
|
||||
class TestQgsDiagram: public QObject
|
||||
{
|
||||
Q_OBJECT;
|
||||
Q_OBJECT
|
||||
private:
|
||||
bool mTestHasError;
|
||||
QgsMapSettings mMapSettings;
|
||||
|
@ -49,7 +49,7 @@
|
||||
*/
|
||||
class TestQgsDiagramExpression: public QObject
|
||||
{
|
||||
Q_OBJECT;
|
||||
Q_OBJECT
|
||||
private:
|
||||
bool mTestHasError;
|
||||
QgsMapSettings * mMapSettings;
|
||||
|
@ -27,7 +27,7 @@
|
||||
class TestQgsDistanceArea: public QObject
|
||||
{
|
||||
|
||||
Q_OBJECT;
|
||||
Q_OBJECT
|
||||
private slots:
|
||||
void initTestCase();
|
||||
void cleanupTestCase();
|
||||
|
@ -43,7 +43,7 @@ static void _parseAndEvalExpr( int arg )
|
||||
|
||||
class TestQgsExpression: public QObject
|
||||
{
|
||||
Q_OBJECT;
|
||||
Q_OBJECT
|
||||
private slots:
|
||||
|
||||
void initTestCase()
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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 ),
|
||||
|
@ -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.
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
class TestQgsRectangle: public QObject
|
||||
{
|
||||
Q_OBJECT;
|
||||
Q_OBJECT
|
||||
private slots:
|
||||
void manipulate();
|
||||
void regression6194();
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -33,7 +33,7 @@
|
||||
*/
|
||||
class TestStyleV2: public QObject
|
||||
{
|
||||
Q_OBJECT;
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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;
|
||||
|
@ -34,7 +34,7 @@
|
||||
*/
|
||||
class TestZipLayer: public QObject
|
||||
{
|
||||
Q_OBJECT;
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -40,7 +40,7 @@
|
||||
*/
|
||||
class TestRasterHistogram: public QObject
|
||||
{
|
||||
Q_OBJECT;
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user