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 176984 - broken MockServices
Summary: broken MockServices
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: NB JUnit (show other bugs)
Version: 6.x
Hardware: PC Unix
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2009-11-17 04:40 UTC by Vladimir Voskresensky
Modified: 2009-11-20 03:14 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 Vladimir Voskresensky 2009-11-17 04:40:19 UTC
We have some failed tests after your
http://hg.netbeans.org/cnd-main/rev/51dd94c56c2c
starting from:
http://elif.russia.sun.com:8080/hudson/job/cnd-build/1328/changes

If I rollback changes in MockServices => tests pass well again.
Could you, please, fix the problem with MockServices?
Tests are in cnd.discovery/test/unit/src/org/netbeans/modules/cnd/discovery/project/*

You need g++ on your system to run this tests.
Comment 1 Jaroslav Tulach 2009-11-18 23:14:36 UTC
I can see failing:
DiscoverySuiteTest.testTesseract
DiscoverySuiteTest.testLiteSql
DiscoverySuiteTest.testPkgConfig
I'll seek for reasons of their failures.
Comment 2 Jaroslav Tulach 2009-11-19 00:49:29 UTC
I have a fix in ergonomics#48f47807ddd1. I'd like to integrate it into 6.8. Please verify it is correct by

hg pull -r 48f47807ddd1 http://hg.netbeans.org/ergonomics/
hg merge

and running your tests (testPkgConfig passes, other tests still fail for reasons unknown to me).
Comment 3 Alexander Simon 2009-11-19 01:23:39 UTC
Thanks, it works.
It would be nice too integrate fix in 6.8.

PS: Could you help us to fix  BZ#177058? Last day fix of P3 brings a lot of problem in automated test of C/C++. Now all formatting test do not work. So we cannot control regressions. By the way NPE fix is simplest.
Comment 4 Jaroslav Tulach 2009-11-19 07:45:21 UTC
I will integrate this into 6.8.
Comment 5 Vladimir Voskresensky 2009-11-19 10:52:29 UTC
Thank you!
Comment 6 Quality Engineering 2009-11-20 03:14:20 UTC
Integrated into 'main-golden', will be available in build *200911200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/48f47807ddd1
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #176984: Making sure cnd.discovery/**/DiscoverySuiteTest.java passes as it used to