Differences between revisions 1 and 2
Revision 1 as of 2012-06-28 19:38:50
Size: 3137
Editor: server2
Comment:
Revision 2 as of 2012-07-10 22:10:37
Size: 3447
Editor: AlexPico
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
||AF1||1. Click on a browser cell<<BR>>2. Enter some simple expressions, e.g. ''=ABS(SIN(-12.3)+22)''<<BR>>3. Press Return/Enter|| The cell should display the result of the evaluated expression || || ||
||AF2||1. Enter a numeric value in the column for ''f1''<<BR>>2. Create an equation on the same row/node for ''f2'' referencing f1, e.g. ''=$f1 + 10.5''<<BR>>3. Press Return/Enter|| The cell should display the result of the evaluated expression || || ||
||AF3||1. Create a new floating point attribute called ''size''<<BR>>2. Enter the equation ''=SQRT(INDEGREE($ID)+OUTDEGREE($ID)+0.5)*40'' into it<<BR>>3. Go to the !VisMapper and map the ''size'' attribute to the node size using a pass-through mapping || The node should now display a size approximately proportional to their degree || || ||
||AF4||1. Click on a browser cell<<BR>>2. Enter an invalid expression like ''=SIN(4))''<<BR>>3. Press Return/Enter|| An error message dailog should pop up and after clicking ''Ok'' on the dialog, the cell should display the message ''#PARSE''|| || ||
||AF5||1. Click on a browser cell<<BR>>2. Enter a well-formed expression but with invalid values, like ''=LOG(-1)'' or ''=1/0''<<BR>>3. Press Return/Enter || A detailed error message starting with ''#ERROR('' should appear in the cell.|| || ||
||AF6.1||1. Create a new Integer List attribute called "il"<<BR>>2. Click on a cell<<BR>>3. Enter "=ILIST($f1,$f2,13)<<BR>>4. Press Return/Enter || An error message complaining about a missing value for "f1" should appear.|| || ||
||AF6.2|| 1. Continue from AF6.1<<BR>>2. Fill in valid numbers in for "f1" and "f2" on the same row where the error message is. || 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.|| || ||
||AF6.3|| 1. Continue from AF6.3<<BR>>2. Save the current session as "IListTest".<<BR>>3. Exit Cytoscape<<BR>>4. Restart Cytoscape and load the saved session. || You should see the same display in the attribute browser as before.|| || ||
||AF7|| 1. Install the !GoogleChartFunctions plugin.<<BR>>2. Load or create a network with at least one node.<<BR>>3. Create a string attribute called "URL" and enter a call to one of the Google chart functions, e.g. "=GBARCHART(-1,1,$fl,"title")" if you have defined a Floating Point List attribute called "fl"<<BR>>4. Save your session and exit Cytoscape.<<BR>>5. Remove the !GoogleChartFunctions plugin and restart Cytoscape.<<BR>>6. Load your previously saved session file. || You should see an error message in the browser complaining about an unknown function.|| || ||
||AF1||1. Click on a browser cell<<BR>>2. Enter some simple expressions, e.g. ''=ABS(SIN(-12.3)+22)''<<BR>>3. Press Return/Enter|| 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''<<BR>>2. Create an equation on the same row/node for ''f2'' referencing f1, e.g. ''=$f1 + 10.5''<<BR>>3. Press Return/Enter|| 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''<<BR>>2. Enter the equation ''=SQRT(INDEGREE($ID)+OUTDEGREE($ID)+0.5)*40'' into it<<BR>>3. Go to the !VisMapper and map the ''size'' attribute to the node size using a pass-through mapping || 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<<BR>>2. Enter an invalid expression like ''=SIN(4))''<<BR>>3. Press Return/Enter|| An error message dailog should pop up and after clicking ''Ok'' on the dialog, the cell should display the message ''#PARSE''||7/12/12 || ||
||AF5||1. Click on a browser cell<<BR>>2. Enter a well-formed expression but with invalid values, like ''=LOG(-1)'' or ''=1/0''<<BR>>3. Press Return/Enter || A detailed error message starting with ''#ERROR('' should appear in the cell.||7/12/12 || ||
||AF6.1||1. Create a new Integer List attribute called "il"<<BR>>2. Click on a cell<<BR>>3. Enter "=ILIST($f1,$f2,13)<<BR>>4. Press Return/Enter || An error message complaining about a missing value for "f1" should appear.||7/12/12 || ||
||AF6.2|| 1. Continue from AF6.1<<BR>>2. Fill in valid numbers in for "f1" and "f2" on the same row where the error message is. || 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 || ||
||AF6.3|| 1. Continue from AF6.3<<BR>>2. Save the current session as "IListTest".<<BR>>3. Exit Cytoscape<<BR>>4. Restart Cytoscape and load the saved session. || You should see the same display in the attribute browser as before.||7/12/12 || ||
||AF7|| 1. Install the !GoogleChartFunctions plugin.<<BR>>2. Load or create a network with at least one node.<<BR>>3. Create a string attribute called "URL" and enter a call to one of the Google chart functions, e.g. "=GBARCHART(-1,1,$fl,"title")" if you have defined a Floating Point List attribute called "fl"<<BR>>4. Save your session and exit Cytoscape.<<BR>>5. Remove the !GoogleChartFunctions plugin and restart Cytoscape.<<BR>>6. Load your previously saved session file. || You should see an error message in the browser complaining about an unknown function.||7/12/12 || ||

Attribute Functions Feature Test

Preconditions

Test Case ID

Instructions

Expected Results

Date Executed

Results

1. Start Cytoscape
2. Import the galFiltered.sif network file
3. Select some nodes
4. Create 2 floating point attributes, e.g. f1 and f2

AF1

1. Click on a browser cell
2. Enter some simple expressions, e.g. =ABS(SIN(-12.3)+22)
3. Press Return/Enter

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
2. Create an equation on the same row/node for f2 referencing f1, e.g. =$f1 + 10.5
3. Press Return/Enter

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
2. Enter the equation =SQRT(INDEGREE($ID)+OUTDEGREE($ID)+0.5)*40 into it
3. Go to the VisMapper and map the size attribute to the node size using a pass-through mapping

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
2. Enter an invalid expression like =SIN(4))
3. Press Return/Enter

An error message dailog should pop up and after clicking Ok on the dialog, the cell should display the message #PARSE

7/12/12

AF5

1. Click on a browser cell
2. Enter a well-formed expression but with invalid values, like =LOG(-1) or =1/0
3. Press Return/Enter

A detailed error message starting with #ERROR( should appear in the cell.

7/12/12

AF6.1

1. Create a new Integer List attribute called "il"
2. Click on a cell
3. Enter "=ILIST($f1,$f2,13)
4. Press Return/Enter

An error message complaining about a missing value for "f1" should appear.

7/12/12

AF6.2

1. Continue from AF6.1
2. Fill in valid numbers in for "f1" and "f2" on the same row where the error message is.

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

AF6.3

1. Continue from AF6.3
2. Save the current session as "IListTest".
3. Exit Cytoscape
4. Restart Cytoscape and load the saved session.

You should see the same display in the attribute browser as before.

7/12/12

AF7

1. Install the GoogleChartFunctions plugin.
2. Load or create a network with at least one node.
3. Create a string attribute called "URL" and enter a call to one of the Google chart functions, e.g. "=GBARCHART(-1,1,$fl,"title")" if you have defined a Floating Point List attribute called "fl"
4. Save your session and exit Cytoscape.
5. Remove the GoogleChartFunctions plugin and restart Cytoscape.
6. Load your previously saved session file.

You should see an error message in the browser complaining about an unknown function.

7/12/12

Cytoscape_3/Cy3TestPlan/attribute_functions (last edited 2012-07-10 22:17:17 by AlexPico)

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux