aws-samples / aws-ambit-scenario-designer-ue4

AWS Ambit Scenario Designer for Unreal Engine 4 (Ambit) is a suite of tools to streamline content creation at scale for autonomous vehicle and robotics simulation applications.
https://aws-samples.github.io/aws-ambit-scenario-designer-ue4/
Apache License 2.0
85 stars 21 forks source link

Fix ConfigImportExport unit test by adding mock to compress file #22

Closed runpiw closed 2 years ago

runpiw commented 2 years ago

What was the problem/requirement? (What/Why)

OnExportGLTF unit test was failing due to calling compressFile in a testing environment

What was the solution? (How)

Add lambda function which allows us to replace it with a mock function for compress file

Are you adding any new dependencies to the system?

N/A

How were these changes tested?

Unit tests pass now

How does this commit make you feel? (Optional, but encouraged)

:)


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.