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 190456 - Unstable test testDemangleGnu
Summary: Unstable test testDemangleGnu
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: D-Light (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2010-09-20 09:45 UTC by Egor Ushakov
Modified: 2012-10-05 18:44 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 Egor Ushakov 2010-09-20 09:45:49 UTC
testDemangleGnu sometimes fails with output:

null expected:<[complex::operator+(complex const&)]> but was:<[_ZN7complexplERKS_]>

junit.framework.ComparisonFailure: null expected:<[complex::operator+(complex const&)]> but was:<[_ZN7complexplERKS_]>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at junit.framework.Assert.assertEquals(Assert.java:87)
	at org.netbeans.modules.cnd.gizmo.CppSymbolDemanglerImplTestCase.doTestDemangle(CppSymbolDemanglerImplTestCase.java:155)
	at org.netbeans.modules.cnd.gizmo.CppSymbolDemanglerImplTestCase.testDemangleGnu(CppSymbolDemanglerImplTestCase.java:96)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:95)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:365)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:294)
	at java.lang.Thread.run(Thread.java:619)
Comment 1 Egor Ushakov 2010-09-21 07:55:48 UTC
another failure:
null expected:<[complex::operator=(complex const&)]> but was:<[_ZN7complexaSERKS_]>

Stacktrace

junit.framework.ComparisonFailure: null expected:<[complex::operator=(complex const&)]> but was:<[_ZN7complexaSERKS_]>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at junit.framework.Assert.assertEquals(Assert.java:87)
	at org.netbeans.modules.cnd.gizmo.CppSymbolDemanglerImplTestCase.doTestDemangle(CppSymbolDemanglerImplTestCase.java:155)
	at org.netbeans.modules.cnd.gizmo.CppSymbolDemanglerImplTestCase.testDemangleGnu(CppSymbolDemanglerImplTestCase.java:97)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:95)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:365)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:294)
	at java.lang.Thread.run(Thread.java:619)
Comment 2 Egor Ushakov 2010-09-21 08:00:25 UTC
test disabled in:
http://hg.netbeans.org/cnd-main/rev/c9dd54302181
Comment 3 Egor Ushakov 2010-09-21 08:01:32 UTC
test failures were seen on ubuntu machine mostly
Comment 4 Leonid Lenyashin 2012-10-05 18:44:37 UTC
Please consider moving the bug to OSS. It is not relevant anymore for NetBeans