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.
testPlainSearchInfo fail Files differ; check /space/test4u2/builds/bindist_netbeans_Dev_daily_latest/unit/ide8/org-openidex-util/work/user/org.openidex.search.SearchIteratorTest/testPlainSearchInfo/testPlainSearchInfo.diff Yes 2168 testVisibilitySearchInfo fail Files differ; check /space/test4u2/builds/bindist_netbeans_Dev_daily_latest/unit/ide8/org-openidex-util/work/user/org.openidex.search.SearchIteratorTest/testVisibilitySearchInfo/testVisibilitySearchInfo.diff Yes 379 testSharabilitySearchInfo fail Files differ; check /space/test4u2/builds/bindist_netbeans_Dev_daily_latest/unit/ide8/org-openidex-util/work/user/org.openidex.search.SearchIteratorTest/testSharabilitySearchInfo/testSharabilitySearchInfo.diff Yes 1269 testVisibSharSearchInfo pass Yes 121 testNonRecursiveSearchInfo
Created attachment 37912 [details] the failure
Still failing. If the issue is not resolved by end of May, I'll not hesitate to rollback the code changes that cause these failures. http://beetle.czech.sun.com:8080/unittest/TestCase.jsp?issues=41480 http://beetle.czech.sun.com:8080/unittest/TestCase.jsp?issues=41482 http://beetle.czech.sun.com:8080/unittest/TestCase.jsp?issues=41479 http://beetle.czech.sun.com:8080/unittest/TestCase.jsp?issues=41481
> If the issue is not resolved by end of May, I'll not hesitate to rollback the code changes Mariane, you should do something with the test right now. Otherwise prepare a reasoning for waiving this P2...
Partially fixed. Now it fails due to AssertionErrors thrown from openide/loaders - see bug #110940 ("AssertionError from FolderList.getChildrenList").
I forgot to attach the list of modified files: openidex/nbproject/project.xml (1.9) openidex/test/cfg-unit.xml (1.12) Diffs: http://openidex.netbeans.org/source/browse/openidex/nbproject/project.xml?r1=1.8&r2=1.9&diff_format=u http://openidex.netbeans.org/source/browse/openidex/test/cfg-unit.xml?r1=1.11&r2=1.12&diff_format=u
Fixed. I added custom definitions of visibility and sharability (VisibilityQuery, SharabilityQuery) and accomodated the golden files and the test itself appropriately. New and modified files: src/org/openidex/search/SharabilityQueryImpl.java (1.1 - new) src/org/openidex/search/VisibilityQueryImpl.java (1.1 - new) src/META-INF/services/org.netbeans.spi.queries.SharabilityQueryImplementation (1.1 - new) src/META-INF/services/org.netbeans.spi.queries.VisibilityQueryImplementation (1.1 - new) data/goldenfiles/org/openidex/search/SearchIteratorTest/testPlainSearchInfo.pass (1.2) data/goldenfiles/org/openidex/search/SearchIteratorTest/testSharabilitySearchInfo.pass (1.2) data/goldenfiles/org/openidex/search/SearchIteratorTest/testNonRecursiveSearchInfo.pass (1.2) src/org/openidex/search/SearchIteratorTest.java (1.7) Diffs: http://openidex.netbeans.org/source/browse/openidex/test/unit/src/org/openidex/search/SharabilityQueryImpl.java?rev=1.1&content-type=text/vnd.viewcvs-markup http://openidex.netbeans.org/source/browse/openidex/test/unit/src/org/openidex/search/VisibilityQueryImpl.java?rev=1.1&content-type=text/vnd.viewcvs-markup http://openidex.netbeans.org/source/browse/openidex/test/unit/src/META-INF/services/org.netbeans.spi.queries.SharabilityQueryImplementation?rev=1.1&content-type=text/vnd.viewcvs-markup http://openidex.netbeans.org/source/browse/openidex/test/unit/src/META-INF/services/org.netbeans.spi.queries.VisibilityQueryImplementation?rev=1.1&content-type=text/vnd.viewcvs-markup http://openidex.netbeans.org/source/browse/openidex/test/unit/data/goldenfiles/org/openidex/search/SearchIteratorTest/testPlainSearchInfo.pass?r1=1.1&r2=1.2&diff_format=u http://openidex.netbeans.org/source/browse/openidex/test/unit/data/goldenfiles/org/openidex/search/SearchIteratorTest/testSharabilitySearchInfo.pass?r1=1.1&r2=1.2&diff_format=u http://openidex.netbeans.org/source/browse/openidex/test/unit/data/goldenfiles/org/openidex/search/SearchIteratorTest/testNonRecursiveSearchInfo.pass?r1=1.1&r2=1.2&diff_format=u http://openidex.netbeans.org/source/browse/openidex/test/unit/src/org/openidex/search/SearchIteratorTest.java?r1=1.6&r2=1.7&diff_format=u