mediawiki-extensions-Visual.../modules/ve/test/ce
Roan Kattouw 94879a98b7 Use jquery.i18n for standalone i18n
VisualEditor.php:
* Make jquery.i18n a dependency of ext.visualEditor.standalone

makeStaticLoader.php:
* Remove ve.init.platform.addMessages() call with PHP-generated messages
* Add fake module for jquery.i18n
** Needed because the module might come from MW core
** Also add special treatment for fallbacks.js and language scripts

ve.init.sa.Platform.js:
* Remove basic message system, replace with jquery.i18n
* Add initialize method that loads messages for current language and
  fallbacks

ve.init.sa.Target.js:
* Wait for the platform to initialize before actually doing things
* Add .setup() method to allow callers to short-circuit this process
** This is convenient for callers of ve.init.sa.Target in the test suite

ve.ce.test.js:
* Use existing ve.test.utils function for creating a surface

ve.test.utils.js:
* Call .setup() on the target so we can get a surface synchronously

ve.init.Platform.test.js:
* Make these tests async, wait for the platform to initialize
* Allow for missing messages to be output either as <foo> (MW)
  or foo (jquery.i18n)
* Get rid of message clearing code, namespace test messages instead

Change-Id: Iac7dfd327eadf9b503a61510574d35d748faac92
2013-12-17 21:16:26 +01:00
..
imetests Event Logger: collect IME functionality info 2013-11-25 16:56:09 +00:00
nodes Always use #getDocumentNode. 2013-12-04 22:55:26 +00:00
ve.ce.BranchNode.test.js Rename this.$ to this.$element, and this.$$ to this.$ 2013-11-03 23:03:49 -08:00
ve.ce.ContentBranchNode.test.js Always use #getDocumentNode. 2013-12-04 22:55:26 +00:00
ve.ce.Document.test.js Create CE nodes and annotations with the correct $$ 2013-10-28 15:48:51 +00:00
ve.ce.imetests.test.js Event Logger: collect IME functionality info 2013-11-25 16:56:09 +00:00
ve.ce.LeafNode.test.js Remove ve.{inheritClass,mixinClass} and use OO instead 2013-10-18 18:58:08 +02:00
ve.ce.Node.test.js Remove ve.{inheritClass,mixinClass} and use OO instead 2013-10-18 18:58:08 +02:00
ve.ce.NodeFactory.test.js Remove ve.{inheritClass,mixinClass} and use OO instead 2013-10-18 18:58:08 +02:00
ve.ce.Surface.test.js Strip empty spans after style attributes have been removed 2013-12-11 23:01:23 +00:00
ve.ce.test.js Use jquery.i18n for standalone i18n 2013-12-17 21:16:26 +01:00
ve.ce.TestRunner.js Test Surface with IME-like event sequences 2013-11-25 16:49:49 +00:00