FileSave

Case

No.

Inputs

Expected Outputs

Remarks

Result

1

File -> Save

  Files of type:   ptj

  File:  Test1.ptj

        (drawing items only)

A JFileChoser menu with

To navigate to the appropriate directory.

 

A saved protoj file

Ensure that files with .ptj extensions are being saved with drawing objects.

 ( From DrawingQA non tool  tests).

Doesn’t update title bar, even though the file is saved.

2

File -> Save

   Files of type: all

   File : Test1.ptj

         (drawing items only)

 

Ensure that files with .ptj extensions are faithfully represented after being saved with drawing objects.

Doesn’t update title bar, even though the file is saved.

3

File -> Save

   Files of type: all

   File : Test2

         (drawing items only)

 

Ensure that files with no extension is faithfully represented after being saved without explicit file extensions with drawing objects.

Right now, its attaching a .jdr extension to these.

 

Doesn’t update title bar, even though the file is saved.

4

File -> Save

  Files of type:   ptj

  File:  Test2.ptj

      (component items only)

 

Ensure that files with .ptj extensions are faithfully represented after being saved with components.

 

From ComponentQA non tool tests.

Doesn’t save any Components.

 

Doesn’t update title bar.

5

File -> Save

   Files of type: all

   File : Test2.ptj

      (component items only)

 

Ensure that files with .ptj extensions are faithfully represented after being saved with components.

Doesn’t save any Components.

 

Doesn’t update title bar.

6

File -> Save

   Files of type: all

   File : Test3

      (component items only)

 

Ensure that files with no extension is faithfully represented after being saved without explicit file extensions with components.

Doesn’t save any Components.

 

Doesn’t update title bar.

7

File -> Save

   Files of type: ptj

   File : Test8.ptj

       (components and

        drawing objects)

 

Ensure that files with .ptj extension are faithfully represented after being saved without explicit file extensions, with components and drawing objects.

Doesn’t save any Components.

 

Doesn’t update title bar.

8

File -> Save

   Files of type: all

   File : Test8.ptj

      (components and

        drawing objects)

 

Ensure that files with .ptj extensions are faithfully represented after being saved with components and drawing objects.

Doesn’t save any Components.

 

Doesn’t update title bar.

9

File -> Save

   Files of type: all

   File : Test10

      (components and

        drawing objects)

 

Ensure that files with no extension is faithfully represented after being saved without explicit file extensions with components and drawing objects.

Doesn’t save any Components.

 

Doesn’t update title bar.