Skip to content
Permalink
Browse files
create a dedicated repository for core/geometry tests
  • Loading branch information
lbartoletti authored and nyalldawson committed Aug 19, 2021
1 parent a25f798 commit e690c8e9a6d8104f21248bff9627a1cdf0baf676
@@ -61,9 +61,7 @@ set(TESTS
testqgsgdalprovider.cpp
testqgsgdalutils.cpp
testqgsgenericspatialindex.cpp
testqgsgeometry.cpp
testqgsgeometryimport.cpp
testqgsgeometryutils.cpp
testqgsgeonodeconnection.cpp
testqgsgeopdfexport.cpp
testqgsgml.cpp
@@ -135,7 +133,6 @@ set(TESTS
testqgspainteffect.cpp
testqgspainteffectregistry.cpp
testqgspallabeling.cpp
testqgspoint.cpp
testqgspointcloudattribute.cpp
testqgspointcloudrendererregistry.cpp
testqgspointlocator.cpp
@@ -157,7 +154,6 @@ set(TESTS
testqgsrasterlayertemporalproperties.cpp
testqgsrastermarker.cpp
testqgsrastersublayer.cpp
testqgsrectangle.cpp
testqgsrelationreferencefieldformatter.cpp
testqgsrenderers.cpp
testqgsrulebasedrenderer.cpp
@@ -222,3 +218,5 @@ add_qgis_test(testqgscoordinatereferencesystem.cpp MODULE core LINKEDLIBRARIES q
if (ENABLE_PGTEST)
SET_TESTS_PROPERTIES(test_core_vectorlayerjoinbuffer PROPERTIES LABELS "POSTGRES")
endif()

add_subdirectory(geometry)
@@ -0,0 +1,25 @@
#####################################################
# Don't forget to include output directory, otherwise
# the UI file won't be wrapped!
get_filename_component(PARENT_DIR ../ ABSOLUTE)

include_directories(
${PARENT_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/src/test
${CMAKE_CURRENT_BINARY_DIR}
)

#############################################################
# Tests:

set(TESTS
testqgsgeometry.cpp
testqgsgeometryutils.cpp
testqgspointxy.cpp
testqgsrectangle.cpp
)

foreach(TESTSRC ${TESTS})
add_qgis_test(${TESTSRC} MODULE app LINKEDLIBRARIES qgis_app)
endforeach(TESTSRC)
File renamed without changes.
File renamed without changes.
@@ -1,5 +1,5 @@
/***************************************************************************
test_template.cpp
testqgspointxy.cpp
--------------------------------------
Date : Sun Sep 16 12:22:23 AKDT 2007
Copyright : (C) 2007 by Gary E. Sherman
@@ -403,4 +403,4 @@ void TestQgsPointXY::isEmpty()
}

QGSTEST_MAIN( TestQgsPointXY )
#include "testqgspoint.moc"
#include "testqgspointxy.moc"
File renamed without changes.

0 comments on commit e690c8e

Please sign in to comment.