FileCloseAll

Case

No.

Inputs

Expected Outputs

Remarks

Result

1

File -> CloseAll

   File: Test1.ptj

            File1.ptj

   File Status: Both Saved

   File input: Drawing

               objects only.

All workspaces closed,

file on disk.

Close saved workspaces.

Drawing canvas saved.

Cancel button does not work.

 

2

File -> CloseAll

   File: untitled

            untitled

   File Status: Unsaved

   File input: Drawing

               objects only.

 

   Affirmitive save response

A prompt for saving the current workspace.

 

All workspaces closed,

file on disk.

Close non saved workspaces.

Drawing canvas saved.

Cancel button does not work.

 

3

File -> CloseAll

   File: TrashTest

   File Status: Unsaved

  

   File: Test1.ptj

   File Status: Saved

   File input: Drawing

               objects only.

 

   Negative save response

A prompt for saving the current workspace.

 

Don’t crash and close.

Mixed saved and unsaved workspaces.

Drawing canvas saved.

Cancel button does not work.

 

4

File -> CloseAll

   File: TrashTest

   File Status: Unsaved

   

   File: Test1.ptj

   File Status: Saved

   File input: Drawing

               objects only.

 

   Affirmitive save response

A prompt for saving the current workspace.

 

Don’t crash and close.

Mixed saved and unsaved workspaces.

Drawing canvas saved.

Cancel button does not work.