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 220096 - Failing tests in editor.lib2
Summary: Failing tests in editor.lib2
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.3
Hardware: All All
: P1 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2012-10-15 08:39 UTC by Jiri Skrivanek
Modified: 2013-02-27 08:12 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 Jiri Skrivanek 2012-10-15 08:39:05 UTC
Please, fix failing tests in editor.lib2

http://hudson4qe.cz.oracle.com/job/StableBTD-7.3/13/testReport/

org.netbeans.modules.editor.lib2.WeakReferenceStableListTest.testAddRemove
org.netbeans.modules.editor.lib2.search.WordMatchTest.testOffset0Forward
org.netbeans.modules.editor.lib2.search.WordMatchTest.testOffsetDocLenBackward
org.netbeans.modules.editor.lib2.testactionsregistration.EditorActionRegistrationTest.testRegistration

To reproduce:

ant -k -f editor.lib2 test test-generate-html
Comment 1 Milutin Kristofic 2012-10-15 11:05:35 UTC
Mila, all test are related to changes in Issue #204452.

Reproducible Failing:
org.netbeans.modules.editor.lib2.WeakReferenceStableListTest.testAddRemove
org.netbeans.modules.editor.lib2.testactionsregistration.EditorActionRegistrationTest.testRegistration


Not reproducible:
org.netbeans.modules.editor.lib2.search.WordMatchTest.testOffset0Forward
org.netbeans.modules.editor.lib2.search.WordMatchTest.testOffsetDocLenBackward

on current jet-main.
Comment 2 Miloslav Metelka 2012-10-15 13:53:14 UTC
Apologies, fixed.
http://hg.netbeans.org/jet-main/rev/0f832fc5e294
Comment 3 Quality Engineering 2012-10-16 02:03:59 UTC
Integrated into 'main-golden', will be available in build *201210160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0f832fc5e294
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #220096 - Failing tests in editor.lib2.
Comment 4 Jiri Skrivanek 2012-10-17 13:09:59 UTC
It seems order of test cases is significant. Either create suite to define order or make test cases order independent.

ant -k -f editor.lib2 test test-generate-html -Dtest-unit-sys-prop.NbTestCase.order=a-z
Comment 5 Miloslav Metelka 2012-10-17 14:36:47 UTC
http://hg.netbeans.org/jet-main/rev/7efc4cfc9603
Comment 6 Quality Engineering 2012-10-18 02:04:20 UTC
Integrated into 'main-golden', will be available in build *201210180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7efc4cfc9603
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #220096 - Failing tests in editor.lib2 - additional fix.