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 132422 - Various tests uncompilable
Summary: Various tests uncompilable
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Torbjorn Norbye
URL: http://deadlock.netbeans.org/hudson/j...
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2008-04-09 15:35 UTC by Jesse Glick
Modified: 2009-02-19 20:45 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 Jesse Glick 2008-04-09 15:35:11 UTC
E.g.:

[subant-junit]
/hudson/workdir/jobs/test-compilation/workspace/javascript.editing/test/unit/src/org/netbeans/modules/javascript/editing/JsTestBase.java:56:
cannot find symbol
[subant-junit] symbol  : class GsfTestBase
[subant-junit] location: package org.netbeans.modules.gsf
[subant-junit] import org.netbeans.modules.gsf.GsfTestBase;
[subant-junit]                                 ^

There are a lot of failures, not sure if they are all related or what.
Comment 1 Torbjorn Norbye 2008-04-09 15:54:24 UTC
I'm sure this is because of

http://hg.netbeans.org/main/rev/3d43b28c8e6a

But - I don't know how to fix it. The tests compile just fine for me when I run them through the IDE.  In the example
shown in this bug report, the compilation error in javascript.editing:

GsfTestBase is defined in gsf/test/, and in javascript.editing's nbproject/project.xml file I have a <test/> dependency
on gsf:

                    <test-dependency>
                        <code-name-base>org.netbeans.modules.gsf</code-name-base>
                        <recursive/>
                        <compile-dependency/>
                        <test/>
                    </test-dependency>

Is there something else I need to do?
Comment 2 Martin Krauskopf 2008-04-09 16:01:13 UTC
Some of them fixed: 7e3e6f29791c
Comment 3 Torbjorn Norbye 2008-04-09 16:27:25 UTC
Thanks Martin,
I must have missed that one - but I still don't understand how the test-compilation job fails since it's complaining
about ALL the Ruby modules not finding this class, and all but one of them specified the test/ dependency.  
Comment 4 Torbjorn Norbye 2008-04-11 15:27:58 UTC
Jesse found the root problem and fixed it yesterday: 1dd11c884be0

Thank you SO much!!
Comment 5 Martin Krauskopf 2009-02-02 14:35:25 UTC
'ruby/gsf -> editor/csl' mass-move to be able to deleted gsf/ruby. Having to
change the version and platform of all closed moved issues to the same due to
Issuezilla deficiencies - choosing version == 6.5 and TM = 7.0.