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 83185 - editor unit tests are uncompilable
Summary: editor unit tests are uncompilable
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: pzajac
URL:
Keywords: TEST
Depends on:
Blocks: 83174
  Show dependency tree
 
Reported: 2006-08-22 14:17 UTC by pzajac
Modified: 2006-11-03 19:38 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 pzajac 2006-08-22 14:17:19 UTC
cd editor
ant test

 [javac] Compiling 16 source files to
/home/pzajac/cvss/freshtrunk/editor/build/test/unit/classes
    [xtest]
/home/pzajac/cvss/freshtrunk/editor/test/unit/src/org/netbeans/modules/editor/openide/InheritedNbDocumentTest.java:34:
cannot find symbol
    [xtest] symbol: class NbDocumentTest
    [xtest] public class InheritedNbDocumentTest extends NbDocumentTest {
    [xtest]                                              ^
    [xtest]
/home/pzajac/cvss/freshtrunk/editor/test/unit/src/org/netbeans/modules/editor/openide/InheritedNotifyModifiedTest.java:29:
cannot find symbol
    [xtest] symbol: class NotifyModifiedOnNbEditorLikeKitTest
    [xtest] public class InheritedNotifyModifiedTest extends
NotifyModifiedOnNbEditorLikeKitTest {
    [xtest]                                                  ^
    [xtest]
/home/pzajac/cvss/freshtrunk/editor/test/unit/src/org/netbeans/modules/editor/openide/InheritedUndoRedoTest.java:29:
cannot find symbol
    [xtest] symbol: class UndoRedoCooperationTest
    [xtest] public class InheritedUndoRedoTest extends UndoRedoCooperationTest {
    [xtest]                                            ^
    [xtest] 3 errors

Please remove at least cfg-unit.xml file to exclude tests from  binary test
distribution. For details look at #83174.
Comment 1 Jiri Prox 2006-08-22 15:07:33 UTC
Tests from openide/text must be compiled first
Comment 2 Max Sauer 2006-08-23 10:38:09 UTC
This issue is still valid.

[ms159439@roman-ws editor]$ ant test-build
ends with "BUILD FAILED"
Comment 3 Max Sauer 2006-08-23 12:29:31 UTC
Jirka was right, sorry => WORKSFORME.
Comment 4 pzajac 2006-08-28 08:42:52 UTC
SortSuite modules ant tasks doesn't sort test dependencies.
Comment 5 pzajac 2006-08-28 09:09:01 UTC
IDE: [8/28/06 10:00 AM] Committing Files started
Checking in test/unit/src/org/netbeans/nbbuild/SortSuiteModulesTest.java;
/cvs/nbbuild/test/unit/src/org/netbeans/nbbuild/SortSuiteModulesTest.java,v  <--
 SortSuiteModulesTest.java
new revision: 1.2; previous revision: 1.1
done
Checking in build.xml;
/cvs/nbbuild/build.xml,v  <--  build.xml
new revision: 1.754; previous revision: 1.753
done
Checking in antsrc/org/netbeans/nbbuild/SortSuiteModules.java;
/cvs/nbbuild/antsrc/org/netbeans/nbbuild/SortSuiteModules.java,v  <-- 
SortSuiteModules.java
new revision: 1.5; previous revision: 1.4
done