component-detection/test/Microsoft.ComponentDetectio...
Paul Dorsch ed4488a297
Add support for cleaning up files created by tool (#1259)
* add feature that removes some python files that are created during pip install report dry run

* move to more central file detector

* add tests and fix bugs

* remove extra dir

* fix dotnet 8 styling

* semaphore to only run a single cleanup process at a time for a given detector

* add test

* add test

* refactor to abstract file and directory operations out to allow for unit tests with a mocked file system

* break out the cleanup changes to its own abstract class

* pr feedback

* rename vars and fix tests

* torevert: quick console log for test

* revert log and add file to source control

* os agnostic test file paths

* update snapshot verify, and bump report version

* add python to verification pipeline

* adding back setup file
2024-10-03 16:49:36 -04:00
..
Attributes Update Component Detection to .NET v8 (#1249) 2024-09-27 13:41:06 -07:00
BaseDetectorTest.cs test: move `BaseDetectorTest` from `Microsoft.ComponentDetection.Detectors.Tests` to `Microsoft.ComponentDetection.TestsUtilities` (#434) 2023-02-16 13:22:51 -08:00
DetectorTestUtilityBuilder.cs Add support for cleaning up files created by tool (#1259) 2024-10-03 16:49:36 -04:00
EnumerableStringComparer.cs Update Component Detection to .NET v8 (#1249) 2024-09-27 13:41:06 -07:00
ExtensionMethods.cs Update Component Detection to .NET v8 (#1249) 2024-09-27 13:41:06 -07:00
Microsoft.ComponentDetection.TestsUtilities.csproj feat: Switch to Serilog (#441) 2023-02-23 12:28:08 -08:00