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.
Test filed since change set: http://hg.netbeans.org/main-golden/rev/e7e9a8f3cea7 Commit for bug #227050
Please, evaluate.
Test failed due to unexpected messages: 16.03.2013 11:22:35 org.netbeans.modules.settings.RecognizeInstanceObjects$OverObjects <init> WARNING: Not listening on module system 16.03.2013 11:22:35 org.netbeans.modules.settings.RecognizeInstanceObjects$OverObjects <init> WARNING: Not listening on module system 16.03.2013 11:22:35 org.netbeans.modules.settings.RecognizeInstanceObjects$OverObjects <init> WARNING: Not listening on module system 16.03.2013 11:22:36 org.netbeans.modules.settings.RecognizeInstanceObjects$OverObjects <init> WARNING: Not listening on module system
Jarda, can you evaluate it, please. May be original fix has some problems? Or this warnings something which have to be fixed on settings level?
Why the test fails? Because of printed warning? Can you fix the test?
the same for test: org.netbeans.modules.cnd.navigation.switchfiles.CppSwitchTest.testTwoNamesakes
Alexander, could you update our tests, please.
Created attachment 132858 [details] proposed patch I do not see any reason why any unit test prints warning.
The warning is printed to show that settings module is used without full functionality. The warning is primarily intended for production mode. The fact it influences your tests is sad, but inevitable fact of using settings module without core.startup. Rather than patching settings module (and breaking the primary purpose of the warning), suppress this warning in your tests.
fixed, change set: http://hg.netbeans.org/cnd-main/rev/23a7efec607e
Integrated into 'main-golden', will be available in build *201303212300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/23a7efec607e User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #227547 Unit test org.netbeans.modules.cnd.classview.QuoteTestCase.testQuote failed