Warning, /graphics/krita/libs/flake/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 
0002 include(KritaAddBrokenUnitTest)
0003 
0004 kis_add_tests(
0005     TestPosition.cpp
0006     TestSelection.cpp
0007     TestPathTool.cpp
0008     TestShapeAt.cpp
0009     TestShapePainting.cpp
0010     TestKoShapeFactory.cpp
0011     TestShapeContainer.cpp
0012     TestShapeGroupCommand.cpp
0013     TestShapeReorderCommand.cpp
0014     TestResourceManager.cpp
0015     TestShapeBackgroundCommand.cpp
0016     TestShapeStrokeCommand.cpp
0017     TestShapeShadowCommand.cpp
0018     TestInputDevice.cpp
0019     TestSnapStrategy.cpp
0020     TestPathShape.cpp
0021     TestControlPointMoveCommand.cpp
0022     TestPointTypeCommand.cpp
0023     TestPointRemoveCommand.cpp
0024     TestRemoveSubpathCommand.cpp
0025     TestPathSegment.cpp
0026     TestSegmentTypeCommand.cpp
0027     TestKoDrag.cpp
0028     TestKoMarkerCollection.cpp
0029     TestSvgSavingContext.cpp
0030     TestXsimdPainting.cpp
0031 
0032     LINK_LIBRARIES kritaflake kritatestsdk
0033     NAME_PREFIX "libs-flake-"
0034     )
0035 
0036 kis_add_test(
0037     TestSvgParser.cpp
0038     TEST_NAME TestSvgParser
0039     LINK_LIBRARIES kritaflake kritatestsdk
0040     NAME_PREFIX "libs-flake-")
0041 
0042 kis_add_test(
0043     TestSvgParser.cpp
0044     TEST_NAME TestSvgParserCloned
0045     LINK_LIBRARIES kritaflake kritatestsdk
0046     NAME_PREFIX "libs-flake-")
0047 target_compile_definitions(TestSvgParserCloned PRIVATE USE_CLONED_SHAPES)
0048 
0049 kis_add_test(
0050     TestSvgParser.cpp
0051     TEST_NAME TestSvgParserRoundTrip
0052     LINK_LIBRARIES kritaflake kritatestsdk
0053     NAME_PREFIX "libs-flake-")
0054 target_compile_definitions(TestSvgParserRoundTrip PRIVATE USE_ROUND_TRIP)
0055 
0056 ############## broken tests ###############
0057 
0058 krita_add_broken_unit_test(TestPointMergeCommand.cpp
0059     TEST_NAME TestPointMergeCommand
0060     LINK_LIBRARIES kritaflake kritatestsdk
0061     NAME_PREFIX "libs-flake-")
0062 
0063 krita_add_broken_unit_test( TestSvgText.cpp
0064     TEST_NAME TestSvgText
0065     LINK_LIBRARIES kritaflake kritatestsdk
0066     NAME_PREFIX "libs-flake-")
0067 
0068 krita_add_broken_unit_test( TestSvgText.cpp
0069     TEST_NAME TestSvgTextCloned
0070     LINK_LIBRARIES kritaflake kritatestsdk
0071     NAME_PREFIX "libs-flake-")
0072 target_compile_definitions(TestSvgTextCloned PRIVATE USE_CLONED_SHAPES)
0073 
0074 krita_add_broken_unit_test( TestSvgText.cpp
0075     TEST_NAME TestSvgTextRoundTrip
0076     LINK_LIBRARIES kritaflake kritatestsdk
0077     NAME_PREFIX "libs-flake-")
0078 target_compile_definitions(TestSvgTextRoundTrip PRIVATE USE_ROUND_TRIP)
0079 
0080 if (APPLE)
0081     set_property(TARGET TestKoMarkerCollection PROPERTY MACOSX_BUNDLE ON)
0082     set_property(TARGET TestSvgParser PROPERTY MACOSX_BUNDLE ON)
0083     set_property(TARGET TestSvgParserCloned PROPERTY MACOSX_BUNDLE ON)
0084     set_property(TARGET TestSvgParserRoundTrip PROPERTY MACOSX_BUNDLE ON)
0085 endif()