MockAssetProcessorManager.cpp 701 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #include <tests/assetmanager/MockAssetProcessorManager.h>
  9. namespace UnitTests
  10. {
  11. void MockAssetProcessorManager::AssessAddedFile(QString filePath)
  12. {
  13. m_events[TestEvents::Added].Signal();
  14. }
  15. void MockAssetProcessorManager::AssessModifiedFile(QString filePath)
  16. {
  17. m_events[TestEvents::Modified].Signal();
  18. }
  19. void MockAssetProcessorManager::AssessDeletedFile(QString filePath)
  20. {
  21. m_events[TestEvents::Deleted].Signal();
  22. }
  23. }