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 98779 - Fix uncompilable tests
Summary: Fix uncompilable tests
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: TEST
Depends on:
Blocks: 83174
  Show dependency tree
 
Reported: 2007-03-23 12:13 UTC by pzajac
Modified: 2007-11-08 15:33 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 pzajac 2007-03-23 12:13:42 UTC
[subant] Failure for target 'build-all-tests' of:
/home/www/.hudson/jobs/NetBeansTestDistBuild/workspace/cvs/web/jspsyntax/lexer/build.xml


log from ant is available at:
http://hrebejk-ws.czech.sun.com:8080/hudson/job/NetBeansTestDistBuild/lastSuccessfulBuild/artifact/cvs/testdistbuild.log


Comilation error:
avac]
/home/www/.hudson/jobs/NetBeansTestDistBuild/workspace/cvs/web/jspparser/test/unit/src/org/netbeans/modules/web/jspparser/TestUtil.java:62:
cannot find symbol
    [javac] symbol  : variable WebModule
    [javac] location: class org.netbeans.modules.web.jspparser.TestUtil
    [javac]             return
JspParserAccess.getJspParserWM(WebModule.getWebModule(fo));
Comment 1 pzajac 2007-03-23 12:15:51 UTC
   [subant] Failure for target 'build-all-tests' of:
/home/www/.hudson/jobs/NetBeansTestDistBuild/workspace/cvs/web/jspsyntax/lexer/build.xml

[mkdir] Created dir:
/home/www/.hudson/jobs/NetBeansTestDistBuild/workspace/cvs/web/jspsyntax/lexer/build/test/unit/classes
    [javac] Compiling 3 source files to
/home/www/.hudson/jobs/NetBeansTestDistBuild/workspace/cvs/web/jspsyntax/lexer/build/test/unit/classes
    [javac]
/home/www/.hudson/jobs/NetBeansTestDistBuild/workspace/cvs/web/jspsyntax/lexer/test/unit/src/org/netbeans/lib/jsp/lexer/JspLexerTest.java:48:
warning: [unchecked] unchecked call to
offset(org.netbeans.api.lexer.TokenHierarchy<?>) as a member of the raw type
org.netbeans.api.lexer.Token
    [javac]         return "TOKEN[text=\"" + token.text() + "\"; tokenId=" +
token.id().name() + "; offset=" + token.offset(tokenHierarchy) + "]";
    [javac]                                                                    
                                           ^
    [javac]
/home/www/.hudson/jobs/NetBeansTestDistBuild/workspace/cvs/web/jspsyntax/lexer/test/unit/src/org/netbeans/lib/jsp/lexer/JspLexerTest.java:54:
cannot find symbol
    [javac] symbol  : method moveFirst()
    [javac] location: class org.netbeans.api.lexer.TokenSequence
    [javac]         tokenSequence.moveFirst();
    [javac]                      ^
    [javac] 1 error
Comment 2 Marek Fukala 2007-03-23 19:59:53 UTC
fixed

Checking in JspLexerTest.java;
/cvs/web/jspsyntax/lexer/test/unit/src/org/netbeans/lib/jsp/lexer/JspLexerTest.java,v
 <--  JspLexerTest.java
new revision: 1.2; previous revision: 1.1
done
Comment 3 Jindrich Sedek 2007-11-08 15:33:19 UTC
closing