Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7433655
MMLmtableTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
869 B
Referenced Files
None
Subscribers
None
MMLmtableTest.php
View Options
<?php
namespace
MediaWiki\Extension\Math\Tests\WikiTexVC\MMLNodes
;
use
MediaWiki\Extension\Math\WikiTexVC\MMLnodes\MMLmi
;
use
MediaWiki\Extension\Math\WikiTexVC\MMLnodes\MMLmtable
;
use
MediaWiki\Extension\Math\WikiTexVC\MMLnodes\MMLmtd
;
use
MediaWiki\Extension\Math\WikiTexVC\MMLnodes\MMLmtr
;
use
MediaWikiUnitTestCase
;
/**
* @covers \MediaWiki\Extension\Math\WikiTexVC\MMLnodes\MMLmtable
*
* @group Math
*
* @license GPL-2.0-or-later
*/
class
MMLmtableTest
extends
MediaWikiUnitTestCase
{
public
function
testConstructor
()
{
$mi
=
new
MMLmi
(
''
,
[],
'5'
);
$mtd
=
new
MMLmtd
(
''
,
[],
$mi
);
$mtr
=
new
MMLmtr
(
''
,
[],
$mtd
);
$table
=
new
MMLmtable
(
''
,
[],
$mtr
,
$mtr
);
$this
->
assertEquals
(
'mtable'
,
$table
->
getName
()
);
$this
->
assertEquals
(
[],
$table
->
getAttributes
()
);
$this
->
assertEquals
(
$table
->
getChildren
(),
[
$mtr
,
$mtr
]
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 12:00 (2 h, 40 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c5/f9/5d6cccbce547af2c7ce8b9c69c72
Default Alt Text
MMLmtableTest.php (869 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment