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 208069 - 700+ unit tests are failed after fixing "Registering mime types with @MimeResolver.xyzRegistration"
Summary: 700+ unit tests are failed after fixing "Registering mime types with @MimeRes...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-05 07:48 UTC by Alexander Simon
Modified: 2012-02-09 10:33 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 Alexander Simon 2012-02-05 07:48:01 UTC

    
Comment 1 Alexander Simon 2012-02-05 07:49:21 UTC
Details of problematic change set:
changeset e7d30459a7f9 in cnd-main (marshall-mime-resolvers-191777)
details: http://hg.netbeans.org/cnd-main/rev/e7d30459a7f9
Comment 2 Vladimir Voskresensky 2012-02-05 14:21:19 UTC
Jarda did extra fix
http://hg.netbeans.org/cnd-main/rev/0bcc265ca338
I will check if it helps
Comment 3 Vladimir Voskresensky 2012-02-05 14:44:24 UTC
Thanks, Jarda,
0bcc265ca338 fixed the problem
Comment 4 Alexander Simon 2012-02-05 16:44:17 UTC
One test is still failed:
org.netbeans.modules.cnd.discovery.project.cases.CMakeExampleTestCase.testCmake
Comment 5 Alexander Simon 2012-02-05 16:49:46 UTC
It seems something wrong in MIME resolvers sequence.
File "CMakeLists.txt" should be detected as "cmake" file.
Comment 6 Vladimir Voskresensky 2012-02-06 07:32:26 UTC
I have found the issue.
Jarda mixed positions 215/138 for our resolvers. Will fix
Comment 7 Vladimir Voskresensky 2012-02-06 07:41:05 UTC
fixed
http://hg.netbeans.org/cnd-main/rev/ecc75880811e

Btw, is it possible to put MIMEResolver.Registration annotation into package-info.java file instead of annotation for class?
Comment 8 Jaroslav Tulach 2012-02-09 10:33:00 UTC
Thanks a lot and sorry for messing up the positions. There was a lot of changes like those and particularry this one was not easy to be assigned to - thus it ended at the Node instead of DataObject.

Yes, you can put the definition to package-info.java.