Attribute Functions Feature Test
Preconditions |
Test Case ID |
Instructions |
Expected Results |
Date Executed |
Results |
1. Start Cytoscape |
|||||
AF1 |
1. Click on a browser cell |
The cell should display the result of the evaluated expression |
7/12/12 |
FAIL: cell shows text of equation, not result (this was for a floating point column) |
|
AF2 |
1. Enter a numeric value in the column for f1 |
The cell should display the result of the evaluated expression |
7/12/12 |
FAIL: cell shows equation, not result |
|
AF3 |
1. Create a new floating point attribute called size |
The node should now display a size approximately proportional to their degree |
7/12/12 |
FAIL: "unknown function INDEGREE()!" But note that other equations map via vizmapper fine, even though they display as equations |
|
AF4 |
1. Click on a browser cell |
An error message dailog should pop up and after clicking Ok on the dialog, the cell should display the message #PARSE |
7/12/12 |
FAIL: no error messages or stdout for invalid equations or typos |
|
AF5 |
1. Click on a browser cell |
A detailed error message starting with #ERROR( should appear in the cell. |
7/12/12 |
FAIL: shows equation, not an error |
|
AF6.1 |
1. Create a new Integer List attribute called "il" |
An error message complaining about a missing value for "f1" should appear. |
7/12/12 |
FAIL: shows equation, not an error |
|
AF6.2 |
1. Continue from AF6.1 |
After filling in a number for "f1" the error message should be updated to now complain about a missing value for "f2". After also filling in "f2", the error message should disappear and the "il" cell should now display a list, the first two elements of which should be truncated values from the "f1" and "f2" columns. |
7/12/12 |
FAIL: shows equation, no errors, no results |
|
AF6.3 |
1. Continue from AF6.2 |
You should see the same display in the attribute browser as before. |
7/12/12 |
FAIL: could not save with equations. Got NPE: org.cytoscape.model.internal.EqnSupport.convertEqnResultToColumnType(EqnSupport.java:95) |
|
AF7 |
1. Install the GoogleChartFunctions plugin. |
You should see an error message in the browser complaining about an unknown function. |
7/12/12 |
N/A Awaiting GoogleChartFunction port to 3.0 (needs custom graphics api) |