FileSaveAs

Case

No.

Inputs

Expected Outputs

Remarks

Result

1

File -> SaveAs

   File1

      Status: Saved.

 

   File2: the new file to be

              created.

 

Drawing items only

A JFileChoser menu with

To navigate to the appropriate directory.

 

A saved protoj file with the contents of the current active workspace with a new name. 

 

The previous file must still be on disk undamaged.

 

Doesn’t change title bar.

2

File -> SaveAs

   File3

      Status: Saved.

 

   File4: the new file to be

              created.

 

Component items only

A JFileChoser menu with

To navigate to the appropriate directory.

 

A saved protoj file with the contents of the current active workspace with a new name. 

 

The previous file must still be on disk undamaged.

 

Separate files are successfully made, but components are not saved in the file.

3

File -> SaveAs

   File5

      Status: Saved.

 

   File6: the new file to be

              created.

 

Drawing items and

component items.

A JFileChoser menu with

To navigate to the appropriate directory.

 

A saved protoj file with the contents of the current active workspace with a new name. 

 

The previous file must still be on disk undamaged.

 

Separate files are successfully made, but components are not saved in the file.