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 223820 - 13 apisupport.hint tests are failing
Summary: 13 apisupport.hint tests are failing
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: PC Linux
: P1 normal (vote)
Assignee: issues@apisupport
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-14 05:57 UTC by Jaroslav Tulach
Modified: 2012-12-14 10:26 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Possible fix (1.22 KB, patch)
2012-12-14 08:23 UTC, Dusan Balek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2012-12-14 05:57:38 UTC
Ergonomics as well as NB-Core-Build seem to fail on apisupport.hints tests. That seems to indicate the change come from outside (CCing guys from editor).

>>> org.netbeans.modules.apisupport.hints.UseNbBundleMessagesTest.simpleFix 	0.834	2
>>> org.netbeans.modules.apisupport.hints.UseNbBundleMessagesTest.onConstructor 	0.758	2
>>> org.netbeans.modules.apisupport.hints.UseNbBundleMessagesTest.onField 	0.797	2
>>> org.netbeans.modules.apisupport.hints.UseNbBundleMessagesTest.onClass 	0.721	2
>>> org.netbeans.modules.apisupport.hints.UseNbBundleMessagesTest.insideAnonymous 	0.7	2
>>> org.netbeans.modules.apisupport.hints.UseNbBundleMessagesTest.insideLocal 	0.794	2
>>> org.netbeans.modules.apisupport.hints.UseNbBundleMessagesTest.annotationOnClass 	0.634	2
>>> org.netbeans.modules.apisupport.hints.UseNbBundleMessagesTest.annotationOnMethod 	0.817	2
>>> org.netbeans.modules.apisupport.hints.UseNbBundleMessagesTest.annotationOnField 	0.64	2
>>> org.netbeans.modules.apisupport.hints.UseNbBundleMessagesTest.annotationOnPackage 	0.651	2
>>> org.netbeans.modules.apisupport.hints.UseNbBundleMessagesTest.messageFormatParametersAndComments 	1.14	2
>>> org.netbeans.modules.apisupport.hints.UseNbBundleMessagesTest.unusualCharacters 	0.707	2
>>> org.netbeans.modules.apisupport.hints.UseNbBundleMessagesTest.sequentialFixes 

http://deadlock.netbeans.org/hudson/job/NB-Core-Build/lastComplet
edBuild/testReport/
http://deadlock.netbeans.org/hudson/job/ergonomics/lastCompletedBuild/testReport/

Btw. looking at the changeset I suspect fix for bug 207480.
Comment 1 Jan Lahoda 2012-12-14 06:36:37 UTC
(In reply to comment #0)
> Btw. looking at the changeset I suspect fix for bug 207480.

I would say its more like
http://hg.netbeans.org/ergonomics/rev/815fbc14a2e5
(there is some possibility of being partially affected also by:
http://hg.netbeans.org/ergonomics/rev/57c10dc4122f
even though I did find a particular test that would seem to be affected.)

Probably the only solution is to adjust the tests.
Comment 2 Jaroslav Tulach 2012-12-14 08:08:20 UTC
When doing committing the fix, consider 

$ hg up 57c10dc4122f

first, then commit and after that merge. That will allow anyone to bring the fix (and only the fix) to any affected repository by doing 

$ hg pull -r changesetofthecommit yourrepourl
Comment 3 Dusan Balek 2012-12-14 08:23:42 UTC
Created attachment 129359 [details]
Possible fix

A possible fix.
Comment 4 Dusan Balek 2012-12-14 10:26:12 UTC
http://hg.netbeans.org/jet-main/rev/59a3bb47c17e