Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F28986907
BaseReportEntryTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
BaseReportEntryTest.php
View Options
<?php
namespace
Nasqueron\Notifications\Tests\Config\Reporting
;
use
Nasqueron\Notifications\Config\Reporting\BaseReportEntry
;
use
Nasqueron\Notifications\Tests\TestCase
;
class
BaseReportEntryTest
extends
TestCase
{
public
function
testFancyString
()
{
$this
->
assertSame
(
'ø'
,
BaseReportEntry
::
fancyString
(
''
,
'ø'
));
$this
->
assertSame
(
'ø'
,
BaseReportEntry
::
fancyString
(
'ø'
,
'ø'
));
$this
->
assertSame
(
'o'
,
BaseReportEntry
::
fancyString
(
'o'
,
'ø'
));
$this
->
assertSame
(
''
,
BaseReportEntry
::
fancyString
(
''
,
''
));
}
public
function
testFancyBool
()
{
$this
->
assertSame
(
'ø'
,
BaseReportEntry
::
fancyBool
(
false
,
'✓'
,
'ø'
));
$this
->
assertSame
(
'✓'
,
BaseReportEntry
::
fancyBool
(
true
,
'✓'
,
'ø'
));
$this
->
assertSame
(
''
,
BaseReportEntry
::
fancyBool
(
false
,
'✓'
));
$this
->
assertSame
(
'✓'
,
BaseReportEntry
::
fancyBool
(
true
,
'✓'
));
$this
->
assertSame
(
''
,
BaseReportEntry
::
fancyBool
(
true
,
''
,
''
));
$this
->
assertSame
(
''
,
BaseReportEntry
::
fancyBool
(
false
,
''
,
''
));
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 17, 19:19 (22 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3683579
Default Alt Text
BaseReportEntryTest.php (1 KB)
Attached To
Mode
rNOTIF Notifications center
Attached
Detach File
Event Timeline
Log In to Comment