summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ActiveRatingListSelectedIndexTest.php
diff options
context:
space:
mode:
authorChristophe.Boulain <>2008-11-08 17:41:48 +0000
committerChristophe.Boulain <>2008-11-08 17:41:48 +0000
commit15161da7755a8d74853ccae0966afa22d9830b07 (patch)
treecb2343aafc94f4dfc06db40a137c840d346c8a55 /tests/FunctionalTests/active-controls/protected/pages/ActiveRatingListSelectedIndexTest.php
parent4ee9040fbfce871db1bf01e7f7a051184bbca37b (diff)
Issue#36: Refactored TRatingList/TActiveRatingList, and added some docs.
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ActiveRatingListSelectedIndexTest.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/ActiveRatingListSelectedIndexTest.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveRatingListSelectedIndexTest.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveRatingListSelectedIndexTest.php
new file mode 100644
index 00000000..4dbc6949
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveRatingListSelectedIndexTest.php
@@ -0,0 +1,32 @@
+<?php
+/**
+ * TRatingListTest.php
+ *
+ * @author Bradley Booms <Bradley.Booms@nsighttel.com>
+ * @version Creation Date: Oct 13, 2008
+ */
+
+/**
+ * TRatingListTest.php class
+ *
+ *
+ *
+ * Properties
+ * -
+ *
+ * @author Bradley Booms <Bradley.Booms@nsighttel.com>
+ * @version Modified Date: Oct 13, 2008
+ *
+ * Modifications:
+ */
+class ActiveRatingListSelectedIndexTest extends TPage{
+ public function ratingChanged($sender, $param){
+ $this->Status->setText('SelectedIndex: '.$sender->getSelectedIndex());
+ }
+
+ public function setSelectedIndex($sender, $param){
+ $this->RatingList->setSelectedIndex(5);
+ $this->ratingChanged($this->RatingList, null);
+ }
+}
+?> \ No newline at end of file