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 246222 - Code coverage report not closed after being disabled
Summary: Code coverage report not closed after being disabled
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Testing (show other bugs)
Version: 8.0.1
Hardware: All All
: P4 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-03 17:56 UTC by vkhashin
Modified: 2014-09-27 05:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
karma_coverage (341.81 KB, application/x-zip)
2014-08-03 17:56 UTC, vkhashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vkhashin 2014-08-03 17:56:55 UTC
Created attachment 148499 [details]
karma_coverage

From the test case

-Open karma_coverage project
-Right click on project and select Code Coverage | Collect and display code
coverage
-Right click on project and select Code Coverage | Show report
-Click on Run All Tests button
-open file js/a/src2.js
-Click on Disable button in coverage toolbar
-Code coverage report are NOT closed

Product Version: NetBeans IDE 8.0.1 RC1 (Build 201408011942)
Java: 1.7.0_65; Java HotSpot(TM) 64-Bit Server VM 24.65-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_65-b17
System: Linux version 3.11.0-26-generic running on amd64; UTF-8; en_US (nb)
User directory: /home/vitaliy/.netbeans/8.0.1rc1
Cache directory: /home/vitaliy/.cache/netbeans/8.0.1rc1
Comment 1 Vladimir Riha 2014-08-03 19:50:11 UTC
reproducible
Comment 2 Tomas Mysik 2014-08-04 04:45:49 UTC
And the coverage is disabled or not?
Comment 3 Tomas Mysik 2014-08-04 05:51:01 UTC
Strange, it works for me (with another project). However, issue in the coverage support itself, reassigning to Fanis, please evaluate.

Thanks.
Comment 4 Theofanis Oikonomou 2014-09-26 15:13:35 UTC
I can reproduce following your steps. After clicking Disable in code coverage toolbar, coverage is disabled in editors but the coverage report window is not closed. Working on a fix. Thank you for reporting
Comment 5 Theofanis Oikonomou 2014-09-26 15:43:35 UTC
Changeset: 3ae657bc2f9b
Author:    Theofanis Oikonomou <theofanis@netbeans.org>
Date:      2014-09-26 17:43
Message:
Comment 6 Theofanis Oikonomou 2014-09-26 15:46:21 UTC
Should be fixed now. Also fixed the case where there are more than one code coverage project reports and various files from each project open. Please verify. Thank you
Comment 7 Quality Engineering 2014-09-27 05:05:36 UTC
Integrated into 'main-silver', will be available in build *201409270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3ae657bc2f9b
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Task #246222 - Code coverage report not closed after being disabled