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.

Bug 21153

Summary: Write unit test for layer cache managers
Product: platform Reporter: Jesse Glick <jglick>
Component: Module SystemAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 20168, 23609    

Description Jesse Glick 2002-03-04 18:32:06 UTC
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.
Comment 1 Jesse Glick 2002-06-20 20:50:49 UTC
Writing a test while fixing #23609.
Comment 2 Jesse Glick 2002-06-21 16:18:40 UTC
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