This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Should be possible to write a unit test which would load various LayerCacheManager impls (note that they do not use the rest of core) and confirm that the parsed layer matches the result of using a normal XMLFileSystem.
Writing a test while fixing #23609.
Not yet confirming that the result matches XMLFileSystem, but at least checking various kinds of overrides and merging. committed * Up-To-Date 1.22 core/test/cfg-unit.xml added * Up-To-Date 1.1 core/test/unit/src/org/netbeans/core/projects/cache/XMLLayerCacheManagerImplTest.java added * Up-To-Date 1.1 core/test/unit/src/org/netbeans/core/projects/cache/data/layer1.xml added * Up-To-Date 1.1 core/test/unit/src/org/netbeans/core/projects/cache/data/layer2.xml added * Up-To-Date 1.1 core/test/unit/src/org/netbeans/core/projects/cache/data/test2 added * Up-To-Date 1.1 core/test/unit/src/org/netbeans/core/projects/cache/data/test2a