Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7419736
MMLmtableTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
851 B
Referenced Files
None
Subscribers
None
MMLmtableTest.php
View Options
<?php
namespace
phpunit\unit\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, 04:39 (1 d, 5 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e7/a8/b44d69a8edca0d459ecfcc1268d6
Default Alt Text
MMLmtableTest.php (851 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment