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 153624

Summary: NbModuleSuite does not allow to control order of clusters
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: NB JUnitAssignee: apireviews <apireviews>
Status: RESOLVED FIXED    
Severity: blocker Keywords: API_REVIEW_FAST
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jaroslav Tulach 2008-11-21 10:39:33 UTC
With NbModuleSuite.Configuration one can only specify regular expression, but not the actual order of the clusters. 
This is problem when testing branding, etc. where the order is important.

Possible solution is to allow multiple calls into clusters method, which would accumulate the clusters.
Comment 1 Jaroslav Tulach 2008-11-21 10:55:20 UTC
Slightly semantically incompatible, but the likehood of running into that is very low:
http://hg.netbeans.org/ergonomics/rev/8cd64c365706
Comment 2 Jesse Glick 2008-11-21 18:33:00 UTC
Seems natural to me.

BTW "cumulate" is not a word. You meant "accumulate".
Comment 3 Jaroslav Tulach 2008-12-06 18:08:50 UTC
I've made additional change for review: Ability to enable all modules in one cluster:
http://hg.netbeans.org/ergonomics/rev/4cbb4141a7a7
I'll integrate on Dec 20 or so.
Comment 4 Quality Engineering 2008-12-22 15:19:17 UTC
Integrated into 'main-golden', will be available in build *200812221122* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8cd64c365706
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #153624: clusters method can be called multiple times and it accumulates its results
Comment 5 Jaroslav Tulach 2009-03-12 13:58:00 UTC
Fixed already.
Comment 6 Jesse Glick 2009-03-12 15:12:19 UTC
An issue cannot have Version 6.7 and Target Milestone 6.5 M2, that makes no sense. Did you mean 6.7 M2?
Comment 7 Jaroslav Tulach 2009-03-12 17:19:03 UTC
I meant 6.7M2, but there is no such target milestone. Making 6.7.
Comment 8 Jesse Glick 2009-03-12 17:23:12 UTC
Ah. You can find the QE people who update IZ settings and make sure they remember to add new Version/TM values for new
releases to _every_ component?