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 - Failed unit test ClassMembersHyperlinkTestCase.testIZ144679 on cnd-test-ubuntu.x86_64
Summary: Failed unit test ClassMembersHyperlinkTestCase.testIZ144679 on cnd-test-ubunt...
Status: RESOLVED INVALID
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 6.x
Hardware: PC Unix
: P3 normal (vote)
Assignee: nnnnnk
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2010-01-14 09:05 UTC by Alexander Simon
Modified: 2010-03-18 14:47 UTC (History)
0 users

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 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.