Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Let's do some cleanup in this class.
- testLinuxFpgaResourceDiscoverPluginConfig - this test should be split up to 5 different tests, because it tests 5 different scenarios.
- remove setNewEnvironmentHack() - too complicated. We can introduce a Function in the plugin class like Function<String, String> envProvider = System::getenv() plus a setter method which allows the test to modify envProvider. Much simpler and straightfoward.