Split testqgsprocessingalgs.cpp into two parts to avoid timeouts on CI

This commit is contained in:
Nyall Dawson 2022-02-23 11:33:30 +10:00
parent 6c66382c5a
commit a5f63ae98c
7 changed files with 1971 additions and 1663 deletions

View File

@ -78,7 +78,7 @@ class ANALYSIS_EXPORT QgsConvertGpxFeatureTypeAlgorithm : public QgsProcessingAl
QStringList &logArgs
);
friend class TestQgsProcessingAlgs;
friend class TestQgsProcessingAlgsPt2;
};

View File

@ -59,7 +59,7 @@ class ANALYSIS_EXPORT QgsImportPhotosAlgorithm : public QgsProcessingAlgorithm
static QVariant extractOrientationFromMetadata( const QVariantMap &metadata );
static QVariant extractTimestampFromMetadata( const QVariantMap &metadata );
friend class TestQgsProcessingAlgs;
friend class TestQgsProcessingAlgsPt1;
};
///@endcond PRIVATE

View File

@ -67,7 +67,7 @@ class ANALYSIS_EXPORT QgsKMeansClusteringAlgorithm : public QgsProcessingAlgorit
static void findNearest( std::vector< Feature > &points, const std::vector< QgsPointXY > &centers, int k, bool &changed );
static void updateMeans( const std::vector< Feature > &points, std::vector< QgsPointXY > &centers, std::vector< uint > &weights, int k );
friend class TestQgsProcessingAlgs;
friend class TestQgsProcessingAlgsPt1;
};
///@endcond PRIVATE

View File

@ -62,7 +62,7 @@ class ANALYSIS_EXPORT QgsRasterBooleanLogicAlgorithmBase : public QgsProcessingA
double mRasterUnitsPerPixelX;
double mRasterUnitsPerPixelY;
bool mTreatNodataAsFalse = false;
friend class TestQgsProcessingAlgs;
friend class TestQgsProcessingAlgsPt1;
};
/**

View File

@ -20,7 +20,8 @@ endif()
set(TESTS
testqgsgeometrysnapper.cpp
testqgsinterpolator.cpp
testqgsprocessingalgs.cpp
testqgsprocessingalgspt1.cpp
testqgsprocessingalgspt2.cpp
testqgsprocessingmodelalgorithm.cpp
testqgszonalstatistics.cpp
testqgsrastercalculator.cpp

File diff suppressed because it is too large Load Diff