From 7f2518310c9ac8f1d5409ddd444d485a3063881f Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Fri, 21 Mar 2025 14:31:12 +0100 Subject: [PATCH] UnitTests: Remove useless tests Change-Id: I0495df35e000ac5eecafbe0429edd3d293633eb0 Reviewed-by: Thomas Hartmann --- .../projectstorageupdater-test.cpp | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/tests/unit/tests/unittests/projectstorage/projectstorageupdater-test.cpp b/tests/unit/tests/unittests/projectstorage/projectstorageupdater-test.cpp index ecc5081074b..1b7938b3f58 100644 --- a/tests/unit/tests/unittests/projectstorage/projectstorageupdater-test.cpp +++ b/tests/unit/tests/unittests/projectstorage/projectstorageupdater-test.cpp @@ -528,29 +528,6 @@ TEST_F(ProjectStorageUpdater_get_content_for_qml_dir_paths, file_status_is_diffe updater.update({.qtDirectories = directories}); } -TEST_F(ProjectStorageUpdater, request_file_status_from_file_system) -{ - EXPECT_CALL(fileSystemMock, fileStatus(Ne(directoryPathSourceId))).Times(AnyNumber()); - - EXPECT_CALL(fileSystemMock, fileStatus(Eq(directoryPathSourceId))); - - updater.update({.qtDirectories = directories}); -} - -TEST_F(ProjectStorageUpdater, request_file_status_from_file_system_for_subdirectories) -{ - EXPECT_CALL(fileSystemMock, - fileStatus(AllOf(Ne(directoryPathSourceId), Ne(path1SourceId), Ne(path2SourceId)))) - .Times(AnyNumber()); - setSubdirectoryPaths(u"/path", {"/path/one", "/path/two"}); - - EXPECT_CALL(fileSystemMock, fileStatus(Eq(path1SourceId))); - EXPECT_CALL(fileSystemMock, fileStatus(Eq(path2SourceId))); - EXPECT_CALL(fileSystemMock, fileStatus(Eq(directoryPathSourceId))); - - updater.update({.qtDirectories = directories}); -} - class ProjectStorageUpdater_get_content_for_qml_types : public BaseProjectStorageUpdater { public: