diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ActiveImageButtonTest.php')
| -rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/ActiveImageButtonTest.php | 60 | 
1 files changed, 30 insertions, 30 deletions
| diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveImageButtonTest.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveImageButtonTest.php index eced2457..44c20ef6 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/ActiveImageButtonTest.php +++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveImageButtonTest.php @@ -1,31 +1,31 @@ -<?php
 -
 -class ActiveImageButtonTest extends TPage
 -{
 -	function change_text($sender, $param)
 -	{
 -		$this->image1->AlternateText = "Muahahahah";
 -	}
 -
 -	function change_image($sender, $param)
 -	{
 -		$this->image1->ImageUrl = $sender->CustomData;
 -	}
 -
 -	function change_align($sender, $param)
 -	{
 -		$this->image1->ImageAlign="absbottom";
 -	}
 -
 -	function change_description($sender, $param)
 -	{
 -		$this->image1->DescriptionUrl = "maahahhaa";
 -	}
 -
 -	function image1_clicked($sender, $param)
 -	{
 -		$this->label1->Text = "Image clicked at x={$param->x}, y={$param->y}";
 -	}
 -}
 -
 +<?php + +class ActiveImageButtonTest extends TPage +{ +	function change_text($sender, $param) +	{ +		$this->image1->AlternateText = "Muahahahah"; +	} + +	function change_image($sender, $param) +	{ +		$this->image1->ImageUrl = $sender->CustomData; +	} + +	function change_align($sender, $param) +	{ +		$this->image1->ImageAlign="absbottom"; +	} + +	function change_description($sender, $param) +	{ +		$this->image1->DescriptionUrl = "maahahhaa"; +	} + +	function image1_clicked($sender, $param) +	{ +		$this->label1->Text = "Image clicked at x={$param->x}, y={$param->y}"; +	} +} +  ?>
\ No newline at end of file | 
