Author: OTI Employee

# ZIP Import

## Purpose

The plan is to import a large number files/folders at a time, using the ZIP file wizard. The results should be indentical in layout and content as the original source used.

## Setup

- Download the JUnit zip file source code from www.junit.org.
- Start the Eclipse workbench
- Create a new temporary "simple" project called "JUnit Test"
- Select File -> Import, select Zip File and press Next.

## Import into an empty project

1. Click the Browse button and select the ZIP file.
2. Expand the folders in the tree view and until "junit" folder is visible and check mark the box next to it. Deselect the "doc" and "javadoc" folders.
3. Type in "JUnit Test" in the Folder field
4. Press Finish
5. Verify that the contents of the project match the same file and folder structure as the source in the file system.
6. Verify that the content of the files.

## Import into a project with same contents (overwrite)

1. Click on the Zip File drop down box and select the zip file
2. Expand the folders in the tree view and until "junit" folder is visible and check mark the box next to it. Deselect the "doc" and "javadoc" folders.
3. Type in "JUnit Test" in the Folder field
4. Check the option "Overwrite existing resources without warning"
5. Press Finish
6. Verify you were not prompted to overwrite files
7. Verify that the contents of the project match the same file and folder structure as the source in the file system.
8. Verify that the content of the files.

## Cleanup

- Delete the temporary project "JUnit Test"