Test Case Method Identifier
attributes
Test Items
The purpose of testing the different attributes methods is to check whether adding, removing, changing the attributes of the elements is performed properly using different attribute methods such as edgeAttributeAdded, edgeAttributeChanged, edgeAttributedRemoved. The same test are then done in the Graph and on the nodes.
Input Specification
To test the attribute methods different inputs should be used such as graphs, nodes and edges. Usually multiple nodes and edges are used but tested on a single SingleGraph.
Output Specification
Assert that the number of added, removed or edited nodes and edges corresponds to the expected attributes. Sometimes also null checking is used.