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 211206 - Test File doesn't compile changes before running
Summary: Test File doesn't compile changes before running
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 7.2
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-15 01:58 UTC by ulfzibis
Modified: 2012-05-02 13:46 UTC (History)
0 users

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 ulfzibis 2012-04-15 01:58:31 UTC
[ BUILD # : 201204100400 ]
[ JDK VERSION : 1.7 ]

- Create JUnit test from class
- add System.out.println("test1()"); to test1()
- Save All
- Test File:
  test1()
- add System.out.println("test2()"); to test2()
- Test File:
  test1()
- Test File:
  test1()
  test2()
Comment 1 Theofanis Oikonomou 2012-05-02 08:22:55 UTC
I am sorry but I cannot reproduce in NetBeans IDE Dev (Build
20120430-f8ff9de2b8f8). I followed your steps but I get the correct result from the first time I invoke "Test File" on the unsaved test class.
Comment 2 ulfzibis 2012-05-02 13:46:44 UTC
IIRC, I used this project: http://netbeans.org/bugzilla/attachment.cgi?id=118324
Can you try again?
If I see it again in later builds, I'll reopen the bug.