2013-06-26 21:18:39 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor DataModel MediaWiki Converter tests.
|
|
|
|
*
|
|
|
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
QUnit.module( 've.dm.MWConverter' );
|
|
|
|
|
|
|
|
/* Tests */
|
|
|
|
|
|
|
|
QUnit.test( 'getDataFromDom', function ( assert ) {
|
2013-07-28 20:51:32 +00:00
|
|
|
ve.test.utils.runGetDataFromDomTests( assert, ve.copy( ve.dm.mwExample.domToDataCases ) );
|
2013-06-26 21:18:39 +00:00
|
|
|
} );
|
|
|
|
|
|
|
|
QUnit.test( 'getDomFromData', function ( assert ) {
|
2013-07-28 20:51:32 +00:00
|
|
|
ve.test.utils.runGetDomFromDataTests( assert, ve.copy( ve.dm.mwExample.domToDataCases ) );
|
2013-06-26 21:18:39 +00:00
|
|
|
} );
|