mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
3e9b227a6a
Consistently: * Use <!DOCTYPE html>. * Use lowercase element tags. * Indent <head> from <html>. * Use <meta charset="utf-8">. * Indent <script> and <style> content from open/close tag. * Put <link> before <script> when in <head> (in ve/test). * Use .html instead of .php for indexes where PHP is no longer used. * Use the same license header as we use elsewhere (/*! instead of /** and no @file) Gruntfile: * Include the new .js files in jshint (demos/**/*.js). * Order buildloader keys in the same order as the directories they go to (alphabetically). * Add missing jshint patterns: - .docs/**/*.js - build/**/*.js - modules/ve-wmf/**/*.js * Add missing qunit test: - qunit.unicodejs * Add missing watch patterns: - .jscs.json - qunit.unicodejs Also: * Moved relatively large pieces of script into separate files so that they are less repeated (though .template) and also able to be linted properly. * Fixed jshint warnings in newly-created trigger.js and demo.js. * Moved <script> elements already in <body> to bottom of <body> (in ve/test and eg-iframe). * Moved <script> in eg-iframe from <head> to <body>. * Fixed buildloader grunt task to use a non-\n whitespace match. for the start as well, the newline before the placeholder was being stripped. * Removed the (now obsolete) index-phantomjs-tmp hack. Change-Id: I7c5a371b82f69f367a8e1c11673d2f37868bc931
100 lines
4.9 KiB
Plaintext
100 lines
4.9 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>VisualEditor Tests</title>
|
|
|
|
<!-- Load test framework -->
|
|
<link rel="stylesheet" href="../../jsdifflib/diffview.css">
|
|
<link rel="stylesheet" href="../../qunit/qunit.css">
|
|
<script src="../../jsdifflib/diffview.js"></script>
|
|
<script src="../../jsdifflib/difflib.js"></script>
|
|
<script src="../../qunit/qunit.js"></script>
|
|
|
|
<!-- No need for VisualEditor styles here -->
|
|
</head>
|
|
<body>
|
|
<div id="qunit"></div>
|
|
<div id="qunit-fixture">test markup</div>
|
|
|
|
<!-- SCRIPTS -->
|
|
|
|
<!-- Load plugins for test framework -->
|
|
<script src="ve.qunit.js"></script>
|
|
|
|
<!-- Load test suites -->
|
|
<script src="ve.test.utils.js"></script>
|
|
<script src="ve.test.js"></script>
|
|
<script src="ve.Range.test.js"></script>
|
|
<script src="ve.Document.test.js"></script>
|
|
<script src="ve.Node.test.js"></script>
|
|
<script src="ve.BranchNode.test.js"></script>
|
|
<script src="ve.LeafNode.test.js"></script>
|
|
<script src="dm/ve.dm.example.js"></script>
|
|
<script src="dm/ve.dm.AnnotationSet.test.js"></script>
|
|
<script src="dm/ve.dm.NodeFactory.test.js"></script>
|
|
<script src="dm/ve.dm.Node.test.js"></script>
|
|
<script src="dm/ve.dm.Converter.test.js"></script>
|
|
<script src="dm/ve.dm.BranchNode.test.js"></script>
|
|
<script src="dm/ve.dm.LeafNode.test.js"></script>
|
|
<script src="dm/nodes/ve.dm.TextNode.test.js"></script>
|
|
<script src="dm/ve.dm.Document.test.js"></script>
|
|
<script src="dm/ve.dm.DocumentSynchronizer.test.js"></script>
|
|
<script src="dm/ve.dm.IndexValueStore.test.js"></script>
|
|
<script src="dm/ve.dm.InternalList.test.js"></script>
|
|
<script src="dm/ve.dm.LinearData.test.js"></script>
|
|
<script src="dm/ve.dm.Transaction.test.js"></script>
|
|
<script src="dm/ve.dm.TransactionProcessor.test.js"></script>
|
|
<script src="dm/ve.dm.Surface.test.js"></script>
|
|
<script src="dm/ve.dm.SurfaceFragment.test.js"></script>
|
|
<script src="dm/ve.dm.ModelRegistry.test.js"></script>
|
|
<script src="dm/ve.dm.MetaList.test.js"></script>
|
|
<script src="dm/ve.dm.Model.test.js"></script>
|
|
<script src="dm/lineardata/ve.dm.FlatLinearData.test.js"></script>
|
|
<script src="dm/lineardata/ve.dm.ElementLinearData.test.js"></script>
|
|
<script src="dm/lineardata/ve.dm.MetaLinearData.test.js"></script>
|
|
<script src="ce/ve.ce.test.js"></script>
|
|
<script src="ce/ve.ce.Document.test.js"></script>
|
|
<script src="ce/ve.ce.Surface.test.js"></script>
|
|
<script src="ce/ve.ce.NodeFactory.test.js"></script>
|
|
<script src="ce/ve.ce.Node.test.js"></script>
|
|
<script src="ce/ve.ce.BranchNode.test.js"></script>
|
|
<script src="ce/ve.ce.ContentBranchNode.test.js"></script>
|
|
<script src="ce/ve.ce.LeafNode.test.js"></script>
|
|
<script src="ce/nodes/ve.ce.TextNode.test.js"></script>
|
|
<script src="init/ve.init.Platform.test.js"></script>
|
|
<script src="ui/ve.ui.Trigger.test.js"></script>
|
|
<script src="ui/actions/ve.ui.FormatAction.test.js"></script>
|
|
<script src="ui/actions/ve.ui.IndentationAction.test.js"></script>
|
|
<script src="ui/actions/ve.ui.ListAction.test.js"></script>
|
|
|
|
<!-- IME tests -->
|
|
<script src="ce/ve.ce.TestRunner.js"></script>
|
|
<script src="ce/ve.ce.imetests.test.js"></script>
|
|
<script src="ce/imetests/backspace-chromium-ubuntu-none.js"></script>
|
|
<script src="ce/imetests/backspace-firefox-ubuntu-none.js"></script>
|
|
<script src="ce/imetests/backspace-ie-win-none.js"></script>
|
|
<script src="ce/imetests/input-chrome-win-chinese-traditional-handwriting.js"></script>
|
|
<script src="ce/imetests/input-chrome-win-greek.js"></script>
|
|
<script src="ce/imetests/input-chrome-win-welsh.js"></script>
|
|
<script src="ce/imetests/input-chromium-ubuntu-ibus-chinese-cantonese.js"></script>
|
|
<script src="ce/imetests/input-chromium-ubuntu-ibus-japanese-anthy--hiraganaonly.js"></script>
|
|
<script src="ce/imetests/input-chromium-ubuntu-ibus-korean-korean.js"></script>
|
|
<script src="ce/imetests/input-chromium-ubuntu-ibus-malayalam-swanalekha.js"></script>
|
|
<script src="ce/imetests/input-firefox-ubuntu-ibus-chinese-cantonese.js"></script>
|
|
<script src="ce/imetests/input-firefox-ubuntu-ibus-japanese-anthy--hiraganaonly.js"></script>
|
|
<script src="ce/imetests/input-firefox-ubuntu-ibus-korean-korean.js"></script>
|
|
<script src="ce/imetests/input-firefox-ubuntu-ibus-malayalam.swanalekha.js"></script>
|
|
<script src="ce/imetests/input-firefox-win-chinese-traditional-handwriting.js"></script>
|
|
<script src="ce/imetests/input-firefox-win-greek.js"></script>
|
|
<script src="ce/imetests/input-firefox-win-welsh.js"></script>
|
|
<script src="ce/imetests/input-ie-win-chinese-traditional-handwriting.js"></script>
|
|
<script src="ce/imetests/input-ie-win-greek.js"></script>
|
|
<script src="ce/imetests/input-ie-win-korean.js"></script>
|
|
<script src="ce/imetests/input-ie-win-welsh.js"></script>
|
|
<script src="ce/imetests/leftarrow-chromium-ubuntu-none.js"></script>
|
|
<script src="ce/imetests/leftarrow-firefox-ubuntu-none.js"></script>
|
|
<script src="ce/imetests/leftarrow-ie-win-none.js"></script>
|
|
</body>
|
|
</html>
|