Description
Daffodil has a capability to use a CatalogManager.properties file to specify XML catalogs for resolving includes. We do not have many, if any, tests that verify that this functions as expected. This is partly because it is difficult to write tests because the CatalogManager.properties file must be at the root of the classpath, so one test could affect other tests.
We probably need a way to fork tests that deal with CatalogManager.properties so that we can fork different tests in different temprory directories that contain different CatalogManager.properties files. Perhaps the CLI integration tests are a good candidate for this, but it might make testing some circumstatnces more difficult.
For reference, the TestDaffodilXMLLoader.scala file had tests that verified CatalogManager.properties behavior. But in some cases the tests would be skipped, and they were not thread safe when they were run. So these tests were removed. See the below link to see these tests before they were removed. These tests are good candidates as a starting point for what kinds of tests would be useful to add: