New File Wizard
Purpose
The plan is to create a single empty file. The end result of this wizard
should be an empty file opened in the proper editor for its type.
Setup
-
Start the Eclipse workbench
-
Create a temporary project called "File Test"
-
Select File->New->File from the resource perspective
Create file at project root
-
Select the project File Test
-
In the File Name field, type in f1.txt
-
Press the Finish button
-
Verify a new f1.txt file is created under the File Test project (in navigator
view and in the file system)
-
Verify the default text editor opened on f1.txt
-
Verify the content of f1.txt is empty
Create file in new folder
-
In the "Enter or select the folder" field, type in File Test/folder
-
In the File Name field, type in f1.txt
-
Press the Finish button
-
Verify that "folder" was created under the File Test project (in navigator
view and in the file system)
-
Verify a new f1.txt file is created under "folder" (in navigator view and
in the file system)
-
Verify the default text editor opened on f1.txt
-
Verify the content of f1.txt is empty
Cleanup
-
Delete the temporary project "File Test"