Search in sources :

Example 1 with RowsSetEvent

use of org.cytoscape.model.events.RowsSetEvent in project cytoscape-api by cytoscape.

the class AbstractViewUpdaterTest method testHandleEvent.

@Test
public void testHandleEvent() {
    rows = new ArrayList<RowSetRecord>();
    RowSetRecord rec1 = new RowSetRecord(row, "test", value, rawValue);
    rows.add(rec1);
    RowsSetEvent event = new RowsSetEvent(source, rows);
    updater.handleEvent(event);
    verify(row, times(0)).getAllValues();
}
Also used : RowSetRecord(org.cytoscape.model.events.RowSetRecord) RowsSetEvent(org.cytoscape.model.events.RowsSetEvent) Test(org.junit.Test)

Aggregations

RowSetRecord (org.cytoscape.model.events.RowSetRecord)1 RowsSetEvent (org.cytoscape.model.events.RowsSetEvent)1 Test (org.junit.Test)1