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 157271 - Duplicated display of test cases
Summary: Duplicated display of test cases
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2009-01-21 20:19 UTC by Jesse Glick
Modified: 2009-02-19 21:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Typical screenshot, from 090127 (63.50 KB, image/png)
2009-01-28 15:51 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2009-01-21 20:19:26 UTC
091020, JDK 6u11, Ubuntu. I run e.g. o.o.u.UtilitiesTest:

test-single:
Created dir: /space/src/nb/core-main/openide.util/build/test/unit/results
Testsuite: org.openide.util.UtilitiesTest
Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 0.821 sec

JUnit Test Results shows:

No tests executed.
+ org.openide.util.UtilitiesTest PASSED
+ org.openide.util.UtilitiesTest PASSED
+ org.openide.util.UtilitiesTest PASSED
+ org.openide.util.UtilitiesTest PASSED
+ org.openide.util.UtilitiesTest PASSED
+ org.openide.util.UtilitiesTest PASSED
+ org.openide.util.UtilitiesTest PASSED
+ org.openide.util.UtilitiesTest PASSED
+ org.openide.util.UtilitiesTest PASSED
+ org.openide.util.UtilitiesTest PASSED
+ org.openide.util.UtilitiesTest PASSED
+ org.openide.util.UtilitiesTest PASSED
+ org.openide.util.UtilitiesTest PASSED
+ org.openide.util.UtilitiesTest PASSED

i.e. 14 times. Each node when expanded shows the 13 tests beneath it.
Comment 1 Jesse Glick 2009-01-28 15:51:53 UTC
Created attachment 76308 [details]
Typical screenshot, from 090127
Comment 2 Martin Krauskopf 2009-01-29 12:06:42 UTC
Trying to increase priority in the hope of sooner fix. Quite visible regression, hitting all the time, as a lot of
developers are running test very often.
Comment 3 Andrey Yamkovoy 2009-02-04 10:36:27 UTC
This issue is reproduced only if JUnit results window is not opened before test running.
Comment 4 Andrey Yamkovoy 2009-02-04 16:26:50 UTC
Fixed.
Comment 5 Quality Engineering 2009-02-06 07:53:05 UTC
Integrated into 'main-golden', will be available in build *200902060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8b2b16675233
User: Andrey Yamkovoy <kaktus@netbeans.org>
Log: Fix for #157271 - Duplicated display of test cases
Fix for #157216 - AssertionError at org.netbeans.modules.junit.output.RootNodeChildren.removePassedSuites