Project Model Tests

Test Case

Description

Tester

Platform

% complete

Comments

UI_001

Create a new project with the name "Test"

joern

Linux
Windows

100 %
100 %

 

UI_002

Add a type system to the project

joern

Linux
Windows

100 %
1000 %

 

UI_003

Add a cas processor folder to the project

joern

Linux
Windows

100 %
100 %

 

UI_004

Add a corpus folder to the project

joern

Linux
Windows

100 %
100 %

 

UI_005

Add an existing xcas file to the corpus folder and open it

joern

Linux
Windows

100 %
100 %

 

UI_006

Add an existing xmi file to the corpus folder and open it

joern

Linux
Windows

100 %
100 %

 

UI_007

Import a txt file into the corpus folder and open it

joern

Linux
Windows

100 %
100 %

 

UI_008

Import a rtf file into the corpus folder and open it

joern

Linux
Windows

100 %
100 %

 

UI_009

Add an AE descriptor to the cas processor folder

joern

Linux
Windows

100 %
100 %

 

UI_010

Run the AE on the corpus and check results in both xcas files

joern

Linux
Windows

100 %
1000 %

 

UI_011

Run the AE on a xcas file and check the results

joern

Linux
Windows

100 %
100 %

 

UI_012

Execute the clean action on a document and check results (document not opend in editor)

joern

Linux
Windows

100 %
100 %

 

UI_013

Make the AE descriptor xml invalid and check for error annotation

joern

Linux
Windows

100 %
100 %

 

UI_014

Make the type system xml invalid and check for error annotation

joern

Linux
Windows

100 %
100 %

 

UI_015

Rename the type system, check it in the file system, in the .corpus file and open a xcas file

joern

Linux
Windows

100 %
100 %

 

UI_016

Close and open the project, then open a xcas file

joern

Linux
Windows

100 %
100 %

 

UI_017

Delete one xcas document and check for deletion in file system

joern

Linux
Windows

100 %
100 %

 

UI_018

Delete corpus folder and check for deletion in file system

joern

Linux
Windows

100 %
100 %

 

UI_019

Delete AE descritpor file and check for deletion in file system

joern

Linux
Windows

100 %
100 %

 

UI_020

Delete cas processor folder and check for deletion in file system

joern

Linux
Windows

100 %
100 %

 

UI_021

Delete type system file and check for deletion in file system

joern

Linux
Windows

100 %
100 %

 

UI_022

Delete the project and check for deletion in file system

joern

Linux
Windows

100 %
100 %

 

Editor Tests

Test Case

Description

Tester

Platform

% complete

Comments

Editor_001

Add an annotation

joern

Linux
Windows

100 %
100 %

 

Editor_002

Delete an annotation in the editor

joern

Linux
Windows

100 %
100 %

 

Editor_003

Delete an annotation in the outline view

joern

Linux
Windows

100 %
100 %

 

Editor_004

Merge two annotations in the outline view

joern

Linux
Windows

100 %
100 %

 

Editor_005

Modify annotation with all four buttons in the outline view

joern

Linux
Windows

100 %
100 %

 

Editor_006

Test the display menu, remove some annotations and then add one again

joern

Linux
Windows

100 %
100 %

 

Edit View Tests

Test Case

Description

Tester

Platform

% complete

Comments

Edit_View_001

Select an annotation, press the pin button, select another annotation (selection should not change)

joern

Linux
Windows

100 %
100 %

 

Edit_View_002

Modify the begin of the annotation, check result in editor, check that editor is dirty

joern

Linux
Windows

100 %
100 %

 

Edit_View_004

Test creation of a FS, check that editor is dirty

joern

Linux
Windows

100 %
100 %

 

Edit_View_005

Test creation of a FS with type selection

joern

Linux
Windows

100 %
100 %

 

Edit_View_006

Test creation of an array

joern

Linux
Windows

100 %
100 %

 

Edit_View_007

Test deletion of a FS, check that editor is dirty

joern

Linux
Windows

100 %
100 %

 

Feature Structure View

Test Case

Description

Tester

Platform

% complete

Comments

FSView_001

Test creation of Feature Structure, check that editor is dirty

joern

Linux
Windows

100 %
100 %

 

FSView_002

Test selection of Feature Structure

joern

Linux
Windows

100 %
100 %

 

FSView_003

Test deletion of Feature Structure, check that editor is dirty

joern

Linux
Windows

100 %
100 %

 

Unit Tests

Test Case

Description

Tester

Platform

% complete

Comments

Tests_001

Unit tests

joern

Linux

100 %

 

Tests_002

Plugin unit tests

joern

Linux

100 %

 

The unit tests should be run on all supported platforms.

Documentation

Who:

Marshall

Status:

 

Comments:

 

  • No labels