<commit_before>INCLUDE_DIRECTORIES(${${KITNAME}_INCLUDE_DIRS})

ENABLE_TESTING()

# tests with no extra command line parameter
SET(${KITNAME}_TESTS
  mitkAbstractTransformGeometryTest.cpp
  mitkActionTest.cpp
  mitkAutoCropImageFilterTest.cpp
  mitkContourTest.cpp
  mitkContourMapper2DTest.cpp
  mitkDataStorageTest.cpp
  mitkDataTreeTest.cpp
  mitkDataTreeFilterTest.cpp
  mitkEventTest.cpp
  mitkEnumerationPropertyTest.cpp
  mitkGenericPropertyTest.cpp
  mitkGeometry3DTest.cpp
  mitkGlobalInteractionTest.cpp
  mitkImageTest.cpp
  mitkImageDataItemTest.cpp
  mitkImageToItkTest.cpp
  mitkImageMapper2DTest.cpp
  mitkInteractorTest.cpp
  mitkLevelWindowTest.cpp
  mitkLevelWindowManagerTest.cpp
  mitkMeshTest.cpp
  mitkPipelineSmartPointerCorrectnessTest.cpp
  mitkPlaneGeometryTest.cpp
  mitkPointSetTest.cpp
  mitkPointSetFileIOTest.cpp
  mitkPropertyListTest.cpp
  mitkRenderWindowTest.cpp
  mitkSliceNavigationControllerTest.cpp
  mitkSlicedGeometry3DTest.cpp
  mitkStateMachineFactoryTest.cpp
  mitkStateTest.cpp
  mitkStepperTest.cpp
  mitkSurfaceTest.cpp
  mitkSurfaceToImageFilterTest.cpp
  mitkTransitionTest.cpp
  mitkGeometryDataToSurfaceFilterTest.cpp
  mitkITKThreadingTest.cpp
)

# test with image filename as an extra command line parameter
SET(${KITNAME}_IMAGE_TESTS
  mitkPicFileReaderTest.cpp
  mitkImageTimeSelectorTest.cpp
  mitkImageSliceSelectorTest.cpp
  mitkCylindricToCartesianFilterTest.cpp
  mitkManualSegmentationToSurfaceFilterTest.cpp
)

# list of images for which the tests are run
SET(${KITNAME}_TESTIMAGES
  US4DCyl.pic.gz
  Pic3D.pic.gz
  Pic2DplusT.pic.gz
  BallBinary30x30x30.pic.gz
  Png2D-bw.png
)

CREATE_TEST_SOURCELIST(MITKTEST_SOURCE ${KITNAME}TestDriver.cpp <commit_msg>CHG: new test file: binary.stl<commit_after>INCLUDE_DIRECTORIES(${${KITNAME}_INCLUDE_DIRS})

ENABLE_TESTING()

# tests with no extra command line parameter
SET(${KITNAME}_TESTS
  mitkAbstractTransformGeometryTest.cpp
  mitkActionTest.cpp
  mitkAutoCropImageFilterTest.cpp
  mitkContourTest.cpp
  mitkContourMapper2DTest.cpp
  mitkDataStorageTest.cpp
  mitkDataTreeTest.cpp
  mitkDataTreeFilterTest.cpp
  mitkEventTest.cpp
  mitkEnumerationPropertyTest.cpp
  mitkGenericPropertyTest.cpp
  mitkGeometry3DTest.cpp
  mitkGlobalInteractionTest.cpp
  mitkImageTest.cpp
  mitkImageDataItemTest.cpp
  mitkImageToItkTest.cpp
  mitkImageMapper2DTest.cpp
  mitkInteractorTest.cpp
  mitkLevelWindowTest.cpp
  mitkLevelWindowManagerTest.cpp
  mitkMeshTest.cpp
  mitkPipelineSmartPointerCorrectnessTest.cpp
  mitkPlaneGeometryTest.cpp
  mitkPointSetTest.cpp
  mitkPointSetFileIOTest.cpp
  mitkPropertyListTest.cpp
  mitkRenderWindowTest.cpp
  mitkSliceNavigationControllerTest.cpp
  mitkSlicedGeometry3DTest.cpp
  mitkStateMachineFactoryTest.cpp
  mitkStateTest.cpp
  mitkStepperTest.cpp
  mitkSurfaceTest.cpp
  mitkSurfaceToImageFilterTest.cpp
  mitkTransitionTest.cpp
  mitkGeometryDataToSurfaceFilterTest.cpp
  mitkITKThreadingTest.cpp
)

# test with image filename as an extra command line parameter
SET(${KITNAME}_IMAGE_TESTS
  mitkPicFileReaderTest.cpp
  mitkImageTimeSelectorTest.cpp
  mitkImageSliceSelectorTest.cpp
  mitkCylindricToCartesianFilterTest.cpp
  mitkManualSegmentationToSurfaceFilterTest.cpp
)

# list of images for which the tests are run
SET(${KITNAME}_TESTIMAGES
  US4DCyl.pic.gz
  Pic3D.pic.gz
  Pic2DplusT.pic.gz
  BallBinary30x30x30.pic.gz
  Png2D-bw.png
  binary.stl
)

CREATE_TEST_SOURCELIST(MITKTEST_SOURCE ${KITNAME}TestDriver.cpp 
{'fraction_non_alphanumeric': 0.05193306405077899, 'fraction_numerical': 0.008078476630121177, 'mean_word_length': 6.133744855967078, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3061856', 'n_tokens_mistral': 1242, 'n_tokens_neox': 1231, 'n_words': 165}