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 */
|
|
|
|
|
2013-12-04 17:37:50 +00:00
|
|
|
QUnit.test( 'getModelFromDom', function ( assert ) {
|
|
|
|
ve.test.utils.runGetModelFromDomTests( assert, ve.copy( ve.dm.mwExample.domToDataCases ) );
|
2013-06-26 21:18:39 +00:00
|
|
|
} );
|
|
|
|
|
2013-11-25 15:10:49 +00:00
|
|
|
QUnit.test( 'getDomFromModel', function ( assert ) {
|
|
|
|
ve.test.utils.runGetDomFromModelTests( assert, ve.copy( ve.dm.mwExample.domToDataCases ) );
|
2013-06-26 21:18:39 +00:00
|
|
|
} );
|