Buggy code:
public class Test_org_eclipse_swt_widgets_Widget extends SwtTestCase { boolean listenerCalled ; public Test_org_eclipse_swt_widgets_Widget ( String name ) { } public static void main ( String [ ] args ) { } protected void setUp ( ) { } protected void tearDown ( ) { } public void test_ConstructorLorg_eclipse_swt_widgets_WidgetI ( ) { } public void test_addDisposeListenerLorg_eclipse_swt_events_DisposeListener ( ) { } public void test_addListenerILorg_eclipse_swt_widgets_Listener ( ) { } public void test_dispose ( ) { } public void test_getData ( ) { } public void test_getDataLjava_lang_String ( ) { } public void test_getDisplay ( ) { } public void test_getStyle ( ) { } public void test_isDisposed ( ) { } public void test_notifyListenersILorg_eclipse_swt_widgets_Event ( ) { } public void test_removeDisposeListenerLorg_eclipse_swt_events_DisposeListener ( ) { } public void test_removeListenerILorg_eclipse_swt_widgets_Listener ( ) { } public void test_setDataLjava_lang_Object ( ) { } public void test_setDataLjava_lang_StringLjava_lang_Object ( ) { } public void test_toString ( ) { } public static Test suite ( ) { } public static Vector methodNames ( ) { } protected void runTest ( ) throws Throwable { } public Shell shell ; private Widget widget ; protected void setWidget ( Widget w ) { } protected void hookListeners ( Widget w , int [ ] types , Listener listener ) { } protected String [ ] hookExpectedEvents ( String type , final Vector events ) { } protected String [ ] hookExpectedEvents ( Widget w , String type , final Vector events ) { } protected void hookExpectedEvents ( Widget w , String [ ] types , final Vector events ) { } protected String getTestName ( ) { String test = getName ( ) ; int index = test . lastIndexOf ( '_' ) ; if ( index != ( - 1 ) ) test = test . substring ( ( index + 1 ) , test . length ( ) ) ; String clss = getClassName ( ) ; <START_BUG> if ( ( ( ( ( ( ( ( ! ( test . equals ( "MenuDetect" ) ) ) || ( clss . equals ( "Table" ) ) ) || ( clss . equals ( "TableTree" ) ) ) || ( test . startsWith ( "Chevron" ) ) ) && ( ( ( ( ! ( test . equals ( "DragDetect" ) ) ) || ( clss . equals ( "Tree" ) ) ) || ( clss . equals ( "TableTree" ) ) ) || ( test . startsWith ( "Chevron" ) ) ) ) && ( ( ! ( test . equals ( "DoubleClick" ) ) ) || ( clss . equals ( "List" ) ) ) ) && ( ( ( ( ( ! ( test . equals ( "KeySelection" ) ) ) || ( clss . equals ( "Slider" ) ) ) || ( clss . equals ( "Combo" ) ) ) || ( clss . equals ( "CCombo" ) ) ) || ( clss . equals ( "CTabFolder" ) ) ) ) && ( ( ( ( ! ( test . equals ( "EnterSelection" ) ) ) || ( clss . equals ( "Button" ) ) ) || ( clss . equals ( "ToolBar" ) ) ) || ( clss . equals ( "CCombo" ) ) ) ) <END_BUG> test = clss + test ; return test ; } protected String getClassName ( ) { } }

Fix:
if ( ( ( ( ( ( ( ( ! ( test . equals ( "MenuDetect" ) ) ) || ( clss . equals ( "Table" ) ) ) || ( clss . equals ( "TableTree" ) ) ) || ( test . startsWith ( "Chevron" ) ) ) && ( ( ( ( ! ( test . equals ( "DragDetect" ) ) ) || ( clss . equals ( "Tree" ) ) ) || ( clss . equals ( "TableTree" ) ) ) || ( test . startsWith ( "Chevron" ) ) ) ) && ( ( ! ( test . equals ( "DoubleClick" ) ) ) || ( clss . equals ( "List" ) ) ) ) && ( ( ( ( ( ! ( test . equals ( "KeySelection" ) ) ) || ( clss . equals ( "Slider" ) ) ) || ( clss . equals ( "Combo" ) ) ) || ( clss . equals ( "CCombo" ) ) ) || ( clss . equals ( "CTabFolder" ) ) ) ) && ( ( ( ( ( ! ( test . equals ( "EnterSelection" ) ) ) || ( clss . equals ( "Button" ) ) ) || ( clss . equals ( "ToolBar" ) ) ) || ( clss . equals ( "CCombo" ) ) ) || ( clss . equals ( "ExpandBar" ) ) ) )