Community
Participate
Working Groups
Build Identifier: I20100420-0800 Follow the test suite /org.eclipse.hyades.test.ui.navigator.tests/manual/Test.UI.TestNavigator_bugzilla_248255.testsuite, during the move test, the folder move information is not shown in the move dialog Reproducible: Always Steps to Reproduce: 1. . Extract the org.eclipse.hyades.test.ui.navigator.tests test plug-in from CVS to the local workspace. . Launch an Eclipse Application with a new Workspace Data Location (Run >> Run Configurations... >> Eclipse Application). . under Package Explorer view of the Java Perspective, create a Java project named "prj" . in this project, create 2 directory, one named A and B . in A directory, create a file named "test.sample" and a sub-directory named "sample dir" . in "sample dir" directory, create a subdirectoy named "test.hidden" . in "test.hidden", create two files, "data1" and "data 2" You should see the following hierarchy under the Project Explorer: + prj \ + A \ | + test.sample | + sample dir \ | + test.hidden \ | + data1 | + data2 + B \ You should see the following hierarchy under the Test Navigator: + prj \ + A \ | + test | + sample dir \ | + test.hidden \ + B \ 2. . select 'test' in the Test Navigator. . right click and select "copy" . select "/prj/B" directory, right click and select "paste" : -The Paste dialog should contain: Copy 'test' into 'B' My sample paster Paste folder '/prj/A/sample dir/test.hidden' into '/prj/B/sample dir/test.hidden' Paste file '/prj/A/test.sample' into '/prj/B/test.sample' -The following should be copied under "/prj/B": sample dir sample dir\test.hidden test You should see the following hierarchy under the Project Explorer: + prj \ + A \ | + sample dir \ | + test.hidden \ | + data1 | + data2 | + test.sample + B \ | + sample dir \ | + test.hidden \ | + data1 | + data2 | + test.sample you should see the following hierarchy under the Test Navigator: + prj \ + A \ | + sample dir \ | + test.hidden \ | | + test + B \ | + sample dir \ | + test.hidden \ | | + test 3.rename test.sample in prj/B to foo.sample 4:. select 'foo'. Right-click and select "move". select "A" directory as destination . click Preview -The Move dialog should contain: Move 'foo' into 'A' My sample mover cleaning sample dir Move folder '/prj/B/sample dir/foo.hidden' into '/prj/A/sample dir' Sample : delete folder '/prj/B/sample dir/' if empty Move file '/prj/B/foo.sample' into '/prj/A' bu in fact, the only information in the move dialog is: Move 'foo' into 'A' My sample mover Move file '/prj/B/foo.sample' into '/prj/A'
I renamed the test.sample in java perspective, so it caused the problem. Renaming is in test perspective, then it works fine.