summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorwei <>2006-07-02 04:33:04 +0000
committerwei <>2006-07-02 04:33:04 +0000
commitb2f51830b7ad319f5d978b411d9bfd87f03308eb (patch)
tree77fef774116146a5f4c84dd46a529ecb30ac613f /tests
parent6535233f952be866d624ad1a573562c6706138de (diff)
Fixed #226 and #246
Diffstat (limited to 'tests')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket200.page6
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket200.php16
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket202.page19
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket227.page4
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket246.page17
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket227TestCase.php12
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket246TestCase.php12
7 files changed, 86 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket200.page b/tests/FunctionalTests/tickets/protected/pages/Ticket200.page
new file mode 100644
index 00000000..76c60f40
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket200.page
@@ -0,0 +1,6 @@
+<com:TContent ID="Content">
+ <com:TLinkButton ID="linkButton1" Text="Click Me" OnClick="linkButton1_Clicked" />
+ <p style="height:500px"><br /></p>
+ <com:TLinkButton ID="linkButton2" Text="Click Me" OnClick="linkButton2_Clicked" />
+ <p style="height:500px"></br></p>
+</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket200.php b/tests/FunctionalTests/tickets/protected/pages/Ticket200.php
new file mode 100644
index 00000000..a80a3b8a
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket200.php
@@ -0,0 +1,16 @@
+<?php
+
+class Ticket200 extends TPage
+{
+ function linkButton1_Clicked()
+ {
+
+ }
+
+ function linkButton2_Clicked()
+ {
+
+ }
+}
+
+?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket202.page b/tests/FunctionalTests/tickets/protected/pages/Ticket202.page
new file mode 100644
index 00000000..ae984c2d
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket202.page
@@ -0,0 +1,19 @@
+<%@ MasterPage="" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
+
+<com:THead ID="Head">
+ <meta http-equiv="content-language" content="en"/>
+ <meta http-equiv="Expires" content="0">
+</com:THead>
+
+<body>
+<com:TForm>
+<com:TTextBox MaxLength="50" />
+<com:TTextBox ID="CustomerNumber" />
+<com:TButton Text="Search" />
+<com:TDataTypeValidator DataType="Integer" ControlToValidate="CustomerNumber" ErrorMessage="Customernumber must be a number." />
+
+</com:TForm>
+</body>
+</html> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket227.page b/tests/FunctionalTests/tickets/protected/pages/Ticket227.page
new file mode 100644
index 00000000..ab481fa2
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket227.page
@@ -0,0 +1,4 @@
+<com:TContent ID="Content">
+ <h2>Disabled HTMLArea</h2>
+ <com:THtmlArea ID="htmlArea1" Width="500px" Height="250px" Enabled="false"/>
+</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket246.page b/tests/FunctionalTests/tickets/protected/pages/Ticket246.page
new file mode 100644
index 00000000..e25a484b
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket246.page
@@ -0,0 +1,17 @@
+<com:TContent ID="Content">
+ <h2>TDatePicker inside absolute DIV with scrollbar</h2>
+
+ <div style="position:absolute; top:100px;
+ width: 400px; background-color: #fee;
+ overflow: scroll;
+ border:1px solid red; height:350px; text-align:center">
+ <p style="height:200px; background-color: #eef;"></p>
+ <com:TDatePicker ID="datePicker1" DateFormat="dd/MM/yyyy" InputMode="DropDownList" />
+ <br /><br />
+ <com:TDropDownList ID="dropDownList1">
+ <com:TListItem Value="value 1" Text="item 1" />
+ <com:TListItem Value="value 2" Text="item 2" />
+ </com:TDropDownList>
+ <p style="height:400px; width:600px; background-color:#efe;"></p>
+ </div>
+</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket227TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket227TestCase.php
new file mode 100644
index 00000000..c0dd2a98
--- /dev/null
+++ b/tests/FunctionalTests/tickets/tests/Ticket227TestCase.php
@@ -0,0 +1,12 @@
+<?php
+
+class Ticket227TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket227');
+ $this->assertTitle('Verifying Ticket 227');
+ }
+}
+
+?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket246TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket246TestCase.php
new file mode 100644
index 00000000..8f07790e
--- /dev/null
+++ b/tests/FunctionalTests/tickets/tests/Ticket246TestCase.php
@@ -0,0 +1,12 @@
+<?php
+
+class Ticket246TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket246');
+ $this->assertTitle('Verifying Ticket 246');
+ }
+}
+
+?> \ No newline at end of file