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 212386 - Running test with CoS does not reflect changes in test
Summary: Running test with CoS does not reflect changes in test
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: TestNG (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-11 13:20 UTC by Tomas Danek
Modified: 2012-05-15 10:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2012-05-11 13:20:27 UTC
Product Version: NetBeans IDE Dev (Build 201205110400)
Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21
System: Mac OS X version 10.7.3 running on x86_64; US-ASCII; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/dev
Cache directory: /Users/tomas/Library/Caches/NetBeans/dev
-----------
- create java se project
- create from template testNG test case
- uncomment test method, save file, run it (shift-f6)
--> test passes which is ok
- now add to test method just 'assert false;'
- save file, run it (shift-f6)
--> test passes which in not ok now!
Comment 1 Theofanis Oikonomou 2012-05-14 15:43:10 UTC
It seems that it is only reproducible with assert false; kind of statement. If assertEquals() is used then I get the expected behavior. This should fix the issue: http://hg.netbeans.org/core-main/rev/9c250faa59a7
Comment 2 Quality Engineering 2012-05-15 10:09:24 UTC
Integrated into 'main-golden', will be available in build *201205150400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9c250faa59a7
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #212386 - Running test with CoS does not reflect changes in test