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 179509

Summary: Failed unit test ClassMembersHyperlinkTestCase.testIZ144679 on cnd-test-ubuntu.x86_64
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code CompletionAssignee: nnnnnk <nnnnnk>
Status: RESOLVED INVALID    
Severity: normal Keywords: TEST
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Unix   
Issue Type: DEFECT Exception Reporter:

Description Alexander Simon 2010-01-14 09:05:32 UTC
Test message:
Different target *FILE* [IZ144679.cc:Line-11; Col-21] -> [IZ144679.cc:Line-10; Col-1] expected:<...rsHyperlinkTestCase/[IZ144679].cc> but was:<...rsHyperlinkTestCase/[iz157786].cc>

Investigation show that resolver find classifier where object is possible.

Clear test case:
----------------------
class AAAA {
};

class NewClass {
public:
    static int AAAA;
    static int BBB;
    static int CCC;
private:

};

int NewClass::AAAA = 10;
int NewClass::BBB(AAAA); // wrong hyperlink from AAAA to class
int NewClass::CCC = BBB;
----------------------
Test case can start work afte some file modifications.
Comment 1 Vladimir Voskresensky 2010-01-15 06:54:22 UTC
fixed collision
http://hg.netbeans.org/cnd-main?cmd=changeset;node=4767a69d7577
Comment 2 nnnnnk 2010-03-18 14:47:45 UTC
Test passed.