BDESYM Test Results


After each of the three planned builds, test cases will be executed to insure correct operation of the BDESYM revisions. The test case coverage will concentrate on BDE text related functions [add and delete] of text in tables HG [author and title fields], HN [nodename], HI [label] and HA [label]. Diagrams built during testing will be saved and re-loaded to insure correct proper operation of the pr_util routines supporting the persistent database. Additionally, the internal format of the saved tables will be inspected to insure that the external representation of the diagrams meets specifications.

The following describes the test results of the attempted Builds :

All .dat files mentioned below are located in /usr/proj3/case/96s523/bdesym/base/test directory.

BUILD 1 Test Results

Build 1 consisted of integrating the 1994 Spring Baseline with the current 1995 Fall version of BDE. This integration included adding the SY, TK, YR, and XB tables to the schema. A link to SYMTXT source from the /text directory was added to the makefile so that it would get linked in. Also included in this build was the addition of the TT, TA, and SV tables to the schema. The module pr_load.c was modified to include new row_encode() and row_decode() macros which generate hexadecimal key values vs. integer key values.

The following describes the test results according to the test plan presented in section 6.0 of the CDR. Presented below are three test parts. The first part involves the graph creation, additions, saving, and successful exit from BDE. The second part involves modification of the graph previously created in Part 1. The third part involves inspection of the contents of the .dat files.

Part 1 - Graph Creation :

Test .dat file : bdesym.test_1.dat

Test Date : 5/10/96

P/FTest Condition
PASSA completely new graph shall be created using the BDESYM functions.
PASSThe graph presented in Figure 3 shall be created and given a name
PASSThe graph header shall contain two literal tokens and extra spaces between the tokens
PASSThree nodes shall be created
PASSEach of the nodes shall be assigned a name of node <number>
PASSLinks between nodes shall be created
PASSEach of the links shall be assigned a name of link <number>.
FAILAfter the modifications have been completed the graph shall be printed
PASSAfter the graph has been created the graph shall be saved in a bdesym.dat file
PASSExit from BDE shall be successful with the graph saved

Part 2 - Editing Graph in Part 1 :

Test .dat file : bdesym.test_2.dat -

Test date : 5/10/96

This second test part shall prove that the graph previously created in test case shall be able to be successfully modified by BDESYM functions.

The .dat created in Part 1 was renamed to bdesym2.dat

P/FTest Condition
PASSThe graph in the previous test part shall be selected, opened, and displayed to according what was created in Part 1
PASSThe text string within node 1 shall be modified from "node one" to "node uno".
PASSThe text string attached to link 2 shall be modified from "link two" to "link #2".
PASSA graph caption with text shall be added.
PASSAfter the modifications have been completed the graph shall be saved.
FAILAfter the modifications have been completed the graph shall be printed
PASSExit from BDE shall be successful with the graph saved

Part 3 - Inspection of the .dat files :

PASSThe text block (XB) for node 2, node 3, and link 1 and 3 shall be the same as in the previous bdesym.dat file
PASSThe text block (XB) for node 1 shall be changed
N/AA new symbol entry should be placed in the SY table for the string "uno".
N/AA new symbol entry should be present in the SY table for the string "2".
N/AThis row should have a prefix-space count of 0 since there are no spaces between # and 2.
N/AThe literal "#" should be encoded into the SY foreign key. This row should also have prefix space count of 4.

Build 1 Summary :

The majority of test conditions in this first two parts were marked with PASS because the test condition was met during execution of BDE. The item marked with FAIL was the print function. A core dump occurred during the attempt to print the graph created.

Many of the inspections of the .dat file in Part 3 were marked with N/A since these requirements will not be seen until Build 2.

The testing of this build completes the requirements noted in the PDR of sections 2.1, 2.1.1, 2.1.2, and 2.1.3.


BUILD 2 Test Results

Build 2 also consists of the additions of the new polymorphic pr_set/get_str macros. This includes cut and paste changes to the pr_load.c file and the 94sbde_schema.h file. This also required some changes to the BDE source code (same source modules that were integrated in the first build).

Part 1 - Graph Creation :

Test .dat file : TBD

Test Date : TBD

P/FTest Condition
A completely new graph shall be created using the BDESYM functions.
The graph in Figure 3 shall be created and given a name
The graph header shall contain two literal tokens and extra spaces between the tokens
Three nodes shall be created
Each of the nodes shall be assigned a name of node <number>
Links between nodes shall be created
Each of the links shall be assigned a name of link <number>.
After the modifications have been completed the graph shall be printed
After the graph has been created the graph shall be saved in a bdesym.dat file
Exit from BDE shall be successful with the graph saved

Part 2 - Editing Graph in Part 1

Test .dat file : TBD

Test date : TBD

Notes : The .dat created in Part 1 was renamed to bdesym2.dat

This second test part shall prove that the graph previously created in test case shall be able to be successfully modified by BDESYM functions.

P/FTest Condition
The graph in the previous test part shall be selected, opened, and displayed to according what was created in Part 1
The text string within node 1 shall be modified from "node one" to "node uno".
The text string attached to link 2 shall be modified from "link two" to "link #2".
A graph caption with text shall be added.
After the modifications have been completed the graph shall be saved.
After the modifications have been completed the graph shall be printed
Exit from BDE shall be successful with the graph saved

Part 3 - Inspection of the .dat file

P/FTest Condition
The text block (XB) for node 1 shall be changed
A new symbol entry should be placed in the SY table for the string "uno".
A new symbol entry should be present in the SY table for the string "2".
This row should have a prefix-space count of 0 since there are no spaces between # and 2.
The literal "#" should be encoded into the SY foreign key. This row should also have prefix space count of 4.

Build 2 Summary :

Due to compile time errors Build 2 has not been completed yet.

The testing of this build will complete the requirements noted in the PDR of sections 2.2.

Requirement 3.4 will not be met by the 1996 Spring BDESYM team.


BUILD 3 Test Results

Build 3 consists of adding new 1996 Spring Improvements (encoding the SY foreign key, removal of the tktyp in the schema, and the prefix space flag field) onto the baseline created in Builds 1 and 2. Since Build 2 was not successful this build only contains improvements noted in Build 1.

The following describes the test results according to the test plan presented in section 6.0 of the CDR. Presented below are three test parts. The first part involves the graph creation, additions, saving, and successful exit from BDE. The second part involves modification of the graph previously created in Part 1. The third part which is the most important part in this Build since it involves inspection of the contents of the .dat files.

Part 1 - Graph Creation :

Test .dat files : bdesym.test_3.dat and bdesym.test_4.dat

Test Date : 5/14/96

P/FTest Condition
PASSA completely new graph shall be created using the BDESYM functions.
PASSThe graph presented in Figure 3 shall be created and given a name
PASSThe graph header shall contain two literal tokens and extra spaces between the tokens
PASSThree nodes shall be created
PASSEach of the nodes shall be assigned a name of node <number>
PASSLinks between nodes shall be created
PASSEach of the links shall be assigned a name of link <number>.
FAILAfter the modifications have been completed the graph shall be printed
PASSAfter the graph has been created the graph shall be saved in a bdesym.dat file
PASSExit from BDE shall be successful with the graph saved

Part 2 - Editing Graph in Part 1 :

Test .dat file : bdesym.test_5.dat

Test date : 5/16/96

This second test part shall prove that the graph previously created in test case shall be able to be successfully modified by BDESYM functions.

The .dat created in Part 1 was renamed to bdesym2.dat

P/FTest Condition
PASSThe graph in the previous test part shall be selected, opened, and displayed to according what was created in Part 1
PASSThe text string within node 1 shall be modified from "node one" to "node uno".
PASSThe text string attached to link 2 shall be modified from "link two" to "link #2".
PASSA graph caption with text shall be added.
PASSAfter the modifications have been completed the graph shall be saved.
PASS?After the modifications have been completed the graph shall be printed
PASSExit from BDE shall be successful with the graph saved

Part 3 - Inspection of the .dat files :

PASSThe text block (XB) for node 2, node 3, and link 1 and 3 shall be the same as in the previous bdesym.dat file
PASSThe text block (XB) for node 1 shall be changed
PASSA new symbol entry should be placed in the SY table for the string "uno".
FAILA new symbol entry should be present in the SY table for the string "2".
FAILThis row should have a prefix-space count of 0 since there are no spaces between # and 2.
FAILThe literal "#" should be encoded into the SY foreign key. This row should also have prefix space count of 4.

Build 3 Summary :

The majority of test conditions in this first section were marked with PASS because the test condition was met during execution of BDE. A core dump occurred during the attempt to print the graph created.

Most of the second part of the test worked correctly. However BDESYM did not handle the text correctly for links or captions. For links it simply added the entire text block as 1 SYmbol reference. For captions it did not even put the text of the caption in the symbol dictionary.

The testing of this build will complete the requirements noted in the PDR of sections 2.3, 3.0, 3.1, 3.2, and 3.3.


[BDESYM Home] [PDR] [CDR] [Final Report]