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 219844 - Failing tests in php.editor
Summary: Failing tests in php.editor
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P1 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2012-10-10 15:13 UTC by Jiri Skrivanek
Modified: 2013-02-27 08:12 UTC (History)
3 users (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 Jiri Skrivanek 2012-10-10 15:13:30 UTC
Please, fix failing tests in php.editor.

http://hudson4qe.cz.oracle.com/job/_Temp-php.editor-STD/1/testReport/

To reproduce:

ant -k -f php.editor test test-generate-html
Comment 1 Ondrej Brejla 2012-10-10 15:24:19 UTC
It's since night merge...we did anything and they started to fail to us too (http://bertram-tst.netbeans.org:8080/job/PHP-build/). They worked properly yesterday evening. If they are run separately, they pass properly. Seems to be something strange with scanning class paths...I wrote a mail to Tomas Zezula, but not sure if he's in office.
Comment 2 Ondrej Brejla 2012-10-10 18:02:47 UTC
Ccing Svata, because lot of tests failed by his changes in parsing.api. Svato?
Comment 3 Ondrej Brejla 2012-10-10 18:11:55 UTC
Since build #5455 (http://bertram-tst.netbeans.org:8080/job/PHP-build/5455/) only occurences tests are failing. It's caused by commits of Mila Metelka. This http://hg.netbeans.org/web-main/rev/0dd9e40cca54 and this http://hg.netbeans.org/web-main/rev/df12b37dbbee (probably only that first changeset causes the problem).

Milo, please, can you look at it?

Thanks in advance!
Comment 4 Ondrej Brejla 2012-10-10 18:32:09 UTC
What may help...from ASTScanner I passes "yytext()" as a token text to PHPDoc parser, but I get something like: 

"org.netbeans.lib.lexer.token.DefaultToken@75789cb0"

instead of: 

"/** @var MyClass */"
Comment 5 Ondrej Brejla 2012-10-10 18:44:07 UTC
Ohhh...I got it. Problem seems to be solved. I'll try to push my changes tomorrow, if everything will be ok on my side.
Comment 6 Ondrej Brejla 2012-10-10 19:31:07 UTC
Fixed in web-main #0d73700fc9c4
Comment 7 Quality Engineering 2012-10-12 02:03:26 UTC
Integrated into 'main-golden', will be available in build *201210120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0d73700fc9c4
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #219844 - Failing tests in php.editor