Author: pwang
Date: 2010-10-25 10:34:18 -0700 (Mon, 25 Oct 2010)
New Revision: 22358
Modified:
core3/io-impl/trunk/src/test/java/org/cytoscape/io/internal/read/gml/GMLFileFilterTest.java
Log:
method name changed, accept to accepts
Modified:
core3/io-impl/trunk/src/test/java/org/cytoscape/io/internal/read/gml/GMLFileFilterTest.java
===================================================================
---
core3/io-impl/trunk/src/test/java/org/cytoscape/io/internal/read/gml/GMLFileFilterTest.java
2010-10-25 17:32:40 UTC (rev 22357)
+++
core3/io-impl/trunk/src/test/java/org/cytoscape/io/internal/read/gml/GMLFileFilterTest.java
2010-10-25 17:34:18 UTC (rev 22358)
@@ -28,19 +28,19 @@
@Test
public void testAcceptUri() throws Exception {
File file = new
File("src/test/resources/testData/gml/example1.gml");
- assertTrue(filter.accept(file.toURI(), DataCategory.NETWORK));
+ assertTrue(filter.accepts(file.toURI(), DataCategory.NETWORK));
}
@Test
public void testAcceptStream() throws Exception {
File file = new
File("src/test/resources/testData/gml/example1.gml");
- assertTrue(filter.accept(new FileInputStream(file),
DataCategory.NETWORK));
+ assertTrue(filter.accepts(new FileInputStream(file),
DataCategory.NETWORK));
}
@Test
public void testAcceptSomethingElse() throws Exception {
File file = new
File("src/test/resources/testData/xgmml/galFiltered.xgmml");
- assertFalse(filter.accept(file.toURI(), DataCategory.NETWORK));
- assertFalse(filter.accept(new FileInputStream(file),
DataCategory.NETWORK));
+ assertFalse(filter.accepts(file.toURI(), DataCategory.NETWORK));
+ assertFalse(filter.accepts(new FileInputStream(file),
DataCategory.NETWORK));
}
}
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.