-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #650: Sorted and added missing properties in table output of in…
…stances Details: * When the set of instances to be displayed in a table format had different sets of properties, there were cases when not all properties were displayed. The algorithm for determining the set of properties to be displayed simply determined the instance with the largest number of properties and used their names. This change fixes that by determining the set of properties to be displayed by adding all differently named properties in all instances into the set to be displayed. * In addition, this change sorts the determined properties such that first the key properties are displayed in sorted order, and then the non-key properties in sorted order. Any property name comparisons and the sorting are done case insenitively. The key properties are determined fro the path of the instances, without causing any additional class retrieval operations. * Added testcases for the missing property case. * Corrected comments on the testcase definition structures, and made the function and structure names more consistent, for _format_instances_as_rows() and _print_instances_as_table(). Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
- Loading branch information
1 parent
e35fdab
commit 2d82a74
Showing
5 changed files
with
264 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.