Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F120823848
Html.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
847 B
Referenced Files
None
Subscribers
None
Html.php
View Options
<?php
/**
* Test class to test rcube_html class
*
* @package Tests
*/
class
Framework_Html
extends
PHPUnit_Framework_TestCase
{
/**
* Class constructor
*/
function
test_class
()
{
$object
=
new
html
;
$this
->
assertInstanceOf
(
'html'
,
$object
,
"Class constructor"
);
}
/**
* Data for test_quote()
*/
function
data_quote
()
{
return
array
(
array
(
'abc'
,
'abc'
),
array
(
'?'
,
'?'
),
array
(
'"'
,
'"'
),
array
(
'<'
,
'<'
),
array
(
'>'
,
'>'
),
array
(
'&'
,
'&'
),
array
(
'&'
,
'&amp;'
),
);
}
/**
* Test for quote()
* @dataProvider data_quote
*/
function
test_quote
(
$str
,
$result
)
{
$this
->
assertEquals
(
html
::
quote
(
$str
),
$result
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Apr 24, 10:12 AM (3 d, 1 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e9/19/374025a17cbf1969e4b50469b825
Default Alt Text
Html.php (847 B)
Attached To
Mode
R113 roundcubemail
Attached
Detach File
Event Timeline