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 - Write unit test for layer cache managers
Summary: Write unit test for layer cache managers
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 20168 23609
  Show dependency tree
 
Reported: 2002-03-04 18:32 UTC by Jesse Glick
Modified: 2008-12-23 08:38 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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