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.
Whenever I run the complete xtest suite (core, openide, openidex, java), the java tests in ide mode do not shut down the IDE by themselves - or it tries to shut down but then displays a save confirmation dialog for GetDeclaringClassTestTarget.java or something like that. Please ensure that all files are unmodified at the end of a unit test, else the user must manually close the dialog to get the test run to continue.
Actually it would be nice if XTest would automatically die if a modal dialog is opened in ide mode and the IDE is waiting for the user to do something, since all tests should be interactive. However java module does something strange with synchronization that opens a dialog.
It's strange Jesse, but on our continuous xtester (machine, which runs xtest suite on every continuous build) all tests run OK. I know that java ide tests have some delay before they shut down, but they definitely do. IDE has some switch ..fullhack.. set to true during testing so it should close all dialogs no matter their modality. Try to wait little bit longer.
How much longer? When this happens the test run pauses for at least ten minutes until I notice my machine's load average has dropped back to zero and I get worried. :-)
Well, maybe there is really some problem with tests. I will look at it.
Milan, did you make any progress investigating the issue ?
I've added .nbattrs file into appropriate folders. .nbattrs holds values like <fileobject name="Foo.java"> <attr name="SourceSync" bytevalue="0"/> </fileobject> it means "do not synchronize Foo.java" -> no dialog should be displayed now.
VERIFIED
Resolved for 3.4.x or earlier, no new info since then -> closing.
Reorganization of java component