Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 44319

Summary: [Viewers] Bogus JFace test cases
Product: [Eclipse Project] Platform Reporter: Kim Horne <eclipse>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P4 Keywords: helpwanted
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Kim Horne CLA 2003-10-07 11:55:37 EDT
AbstractTreeViewerTest defines a method :
protected abstract int getItemCount(TestElement element);

This method is used in various tests in order to ensure the correct number of
children for a given item.  However, 2 of the 3 subclasses define this method to
return 0.  As it happens, 0 == 0 pretty much every time.  These should be fully
implemented in order for the tests to be meaningful.
Comment 1 Nick Edgar CLA 2003-10-07 23:34:05 EDT
Definitely sounds bogus.
Comment 2 Kim Horne CLA 2004-03-16 14:32:40 EST
Post 3.0
Comment 3 Kim Horne CLA 2004-10-08 10:53:42 EDT
Reopening...
Comment 4 Kim Horne CLA 2004-10-08 10:54:14 EDT
Reopening
Comment 5 Tod Creasey CLA 2004-10-08 11:15:47 EDT
Could be turned into a good VIRTUAL test.
Comment 6 Boris Bokowski CLA 2009-11-26 09:49:12 EST
Hitesh is now responsible for watching bugs in the [Viewers] component area.
Comment 7 Eclipse Webmaster CLA 2019-09-06 15:31:44 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.

If you have further information on the current state of the bug, please add it. 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.
Comment 8 Eclipse Genie CLA 2021-09-27 19:30:41 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.