Bug 347950 - Restore disabled virtual tree viewer tests
Summary: Restore disabled virtual tree viewer tests
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: test
Depends on: 347947
Blocks:
  Show dependency tree
 
Reported: 2011-06-01 10:32 EDT by Oleg Besedin CLA
Modified: 2020-05-07 13:37 EDT (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Besedin CLA 2011-06-01 10:32:05 EDT
+++ This bug was initially created as a clone of Bug #347491 +++

We have several tests in JFace test suite that started intermittently fail after the recent Mac OS upgrade.

The tests seems to fail on 10.6.7 using both 64 bit and 32 bit VM. The tests fail for both 3.6.2 and 3.7. The tests pass on 10.5.8.

This means that there is likely change in behavior in Mac OS 10.6. 

The failing tests:

SimpleVirtualLazyTreeViewerTest
	testCreation()
				assertTrue("call to updateElement expected", updateElementCallCount > 0);

	testRemoveAt()
		assertEquals(2, ((IStructuredSelection) treeViewer.getSelection())
				.size());


AbstractTreeViewerTest
	testRefreshWithAddedChildren()
		           assertNotNull("new child is visible", fViewer.testFindItem(child));


StructuredViewerTest
	testDeleteSibling()
	        assertNotNull("first child is visible", fViewer.testFindItem(first));
	testInsertSibling()
		        assertNotNull("new sibling is visible", fViewer
                .testFindItem(newElement));
	testInsertSiblings()
	            assertNotNull("new siblings are visible", fViewer
                    .testFindItem(newElements[i]));
	testSetInput()
	        assertNotNull("first child is visible", fViewer
                .testFindItem(firstfirst));
	testSomeChildrenChanged()
        	assertNotNull("new sibling is visible", fViewer
	                .testFindItem(newElement));
	testWorldChanged()
	        assertNotNull("new sibling is visible", fViewer
                .testFindItem(newElement));


http://download.eclipse.org/eclipse/downloads/drops/I20110526-1708/testresults/xml/org.eclipse.ui.tests_macosx.cocoa.x86_5.0.xml
Comment 1 Oleg Besedin CLA 2011-06-01 10:33:17 EDT
Once bug 347947 is fixed, the temporary changes done for 3.7RC4 in bug should be rolled back.
Comment 2 Eclipse Genie CLA 2020-05-07 13:37:09 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.