Revision: 1819
Author: [email protected]
Date: Sat Jan 9 16:12:02 2010
Log: More complete testing of project panel filtering
http://code.google.com/p/simal/source/detail?r=1819
Modified:
/trunk/uk.ac.osswatch.simal.web/src/test/java/uk/ac/osswatch/simal/wicket/panel/TestProjectListPanel.java
=======================================
---
/trunk/uk.ac.osswatch.simal.web/src/test/java/uk/ac/osswatch/simal/wicket/panel/TestProjectListPanel.java
Sat May 16 19:13:36 2009
+++
/trunk/uk.ac.osswatch.simal.web/src/test/java/uk/ac/osswatch/simal/wicket/panel/TestProjectListPanel.java
Sat Jan 9 16:12:02 2010
@@ -30,7 +30,7 @@
import uk.ac.osswatch.simal.wicket.doap.ProjectDetailPage;
/**
- * Simple test using the WicketTester
+ * Test the features of the Project List Panel.
*/
public class TestProjectListPanel extends TestBase {
@@ -72,6 +72,12 @@
tester.assertVisible("panel:dataTable");
tester.assertVisible("panel:dataTable:rows");
- // TODO: need to test if the rows are filtered
- }
-}
+
+ // There are four projects with Simal in their name
+ tester.assertVisible("panel:dataTable:rows:8");
+ tester.assertVisible("panel:dataTable:rows:9");
+ tester.assertVisible("panel:dataTable:rows:10");
+ tester.assertVisible("panel:dataTable:rows:11");
+ }
+
+}
--
You received this message because you are subscribed to the Google Groups
"Simal Commits" 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/simal-commits?hl=en.