Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] New tests for drag and drop


I'm using something higher-level. I've added a DragUtil.forceDropLocation method that allows the location of subsequent drops to be set programatically.

This excercises most of the code, except for:
1. The SWT listeners that initiate the drag.
2. The code in DragUtil.dragToTarget that opens the Tracker.
3. The code to compute the drag-over rectangles.

  - Stefan



Randy Hudson <hudsonr@xxxxxxxxxx>
Sent by: platform-ui-dev-admin@xxxxxxxxxxx

04/09/2004 09:43 AM
Please respond to platform-ui-dev

       
        To:        platform-ui-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [platform-ui-dev] New tests for drag and drop




How are you reproducing the dragging?  Are you just using the new Display.postEvent api, or is it something higher-level?


-Randy



Stefan Xenos <Stefan_Xenos@xxxxxxxxxx>
Sent by: platform-ui-dev-admin@xxxxxxxxxxx

04/09/2004 01:23 AM
Please respond to platform-ui-dev

       
       To:        platform-ui-dev@xxxxxxxxxxx

       cc:        

       Subject:        [platform-ui-dev] New tests for drag and drop





We now have some test coverage for drag and drop. org.eclipse.ui.tests now has 192 new test cases for dragging docked views and editors. Still no tests for fast views or detached windows.


- Stefan


Back to the top