mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 00:55:00 +00:00
d9cd1392fc
* Add .process() and its helpers from ve1 * Fix applyAnnotations() ** Use data[i] rather than data[j] ** Don't add empty annotation objects for no reason ** Remove empty annotation objects *** I thought this wasn't needed, but it is needed for clean rollbacks * Remove unused second parameter in applyAnnotations() call Change-Id: Ia338f62d2eaf2a76f8ef653eead05bc44757a122
101 lines
5 KiB
HTML
101 lines
5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<title>VisualEditor Tests</title>
|
|
<link rel="stylesheet" href="../../modules/qunit/qunit.css" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<h1 id="qunit-header">VisualEditor Tests</h1>
|
|
<h2 id="qunit-banner"></h2>
|
|
<div id="qunit-testrunner-toolbar"></div>
|
|
<h2 id="qunit-userAgent"></h2>
|
|
<ol id="qunit-tests"></ol>
|
|
<div id="qunit-fixture">test markup</div>
|
|
|
|
<script src="../../modules/qunit/qunit.js"></script>
|
|
<script src="../../modules/jquery/jquery.js"></script>
|
|
<script src="../../modules/jquery/jquery.json.js"></script>
|
|
|
|
<!-- VisualEditor -->
|
|
<script src="../../modules/ve2/ve.js"></script>
|
|
<script src="../../modules/ve2/ve.EventEmitter.js"></script>
|
|
<script src="../../modules/ve2/ve.Node.js"></script>
|
|
<script src="../../modules/ve2/ve.BranchNode.js"></script>
|
|
<script src="../../modules/ve2/ve.LeafNode.js"></script>
|
|
<script src="../../modules/ve2/ve.NodeFactory.js"></script>
|
|
<script src="../../modules/ve2/ve.Position.js"></script>
|
|
<script src="../../modules/ve2/ve.Range.js"></script>
|
|
<script src="../../modules/ve2/ve.Surface.js"></script>
|
|
|
|
<!-- VisualEditor DataModel -->
|
|
<script src="../../modules/ve2/dm/ve.dm.js"></script>
|
|
<script src="../../modules/ve2/dm/ve.dm.NodeFactory.js"></script>
|
|
<script src="../../modules/ve2/dm/ve.dm.Node.js"></script>
|
|
<script src="../../modules/ve2/dm/ve.dm.BranchNode.js"></script>
|
|
<script src="../../modules/ve2/dm/ve.dm.LeafNode.js"></script>
|
|
<script src="../../modules/ve2/dm/ve.dm.DocumentFragment.js"></script>
|
|
<script src="../../modules/ve2/dm/ve.dm.Document.js"></script>
|
|
<script src="../../modules/ve2/dm/ve.dm.Transaction.js"></script>
|
|
<script src="../../modules/ve2/dm/ve.dm.TransactionProcessor.js"></script>
|
|
|
|
<!-- VisualEditor DataModel Nodes -->
|
|
<script src="../../modules/ve2/dm/nodes/ve.dm.AlienNode.js"></script>
|
|
<script src="../../modules/ve2/dm/nodes/ve.dm.DocumentNode.js"></script>
|
|
<script src="../../modules/ve2/dm/nodes/ve.dm.HeadingNode.js"></script>
|
|
<script src="../../modules/ve2/dm/nodes/ve.dm.ImageNode.js"></script>
|
|
<script src="../../modules/ve2/dm/nodes/ve.dm.ListItemNode.js"></script>
|
|
<script src="../../modules/ve2/dm/nodes/ve.dm.ListNode.js"></script>
|
|
<script src="../../modules/ve2/dm/nodes/ve.dm.ParagraphNode.js"></script>
|
|
<script src="../../modules/ve2/dm/nodes/ve.dm.PreformattedNode.js"></script>
|
|
<script src="../../modules/ve2/dm/nodes/ve.dm.TableCellNode.js"></script>
|
|
<script src="../../modules/ve2/dm/nodes/ve.dm.TableNode.js"></script>
|
|
<script src="../../modules/ve2/dm/nodes/ve.dm.TableRowNode.js"></script>
|
|
<script src="../../modules/ve2/dm/nodes/ve.dm.TextNode.js"></script>
|
|
|
|
<!-- VisualEditor ContentEditable -->
|
|
<script src="../../modules/ve2/ce/ve.ce.js"></script>
|
|
<script src="../../modules/ve2/ce/ve.ce.NodeFactory.js"></script>
|
|
<script src="../../modules/ve2/ce/ve.ce.Node.js"></script>
|
|
<script src="../../modules/ve2/ce/ve.ce.BranchNode.js"></script>
|
|
<script src="../../modules/ve2/ce/ve.ce.LeafNode.js"></script>
|
|
|
|
<!-- VisualEditor ContentEditable Nodes -->
|
|
<script src="../../modules/ve2/ce/nodes/ve.ce.AlienNode.js"></script>
|
|
<script src="../../modules/ve2/ce/nodes/ve.ce.DocumentNode.js"></script>
|
|
<script src="../../modules/ve2/ce/nodes/ve.ce.HeadingNode.js"></script>
|
|
<script src="../../modules/ve2/ce/nodes/ve.ce.ImageNode.js"></script>
|
|
<script src="../../modules/ve2/ce/nodes/ve.ce.ListItemNode.js"></script>
|
|
<script src="../../modules/ve2/ce/nodes/ve.ce.ListNode.js"></script>
|
|
<script src="../../modules/ve2/ce/nodes/ve.ce.ParagraphNode.js"></script>
|
|
<script src="../../modules/ve2/ce/nodes/ve.ce.PreformattedNode.js"></script>
|
|
<script src="../../modules/ve2/ce/nodes/ve.ce.TableCellNode.js"></script>
|
|
<script src="../../modules/ve2/ce/nodes/ve.ce.TableNode.js"></script>
|
|
<script src="../../modules/ve2/ce/nodes/ve.ce.TableRowNode.js"></script>
|
|
<script src="../../modules/ve2/ce/nodes/ve.ce.TextNode.js"></script>
|
|
|
|
<!-- VisualEditor Tests -->
|
|
<script src="ve.Node.test.js"></script>
|
|
<script src="ve.BranchNode.test.js"></script>
|
|
<script src="ve.LeafNode.test.js"></script>
|
|
<script src="ve.NodeFactory.test.js"></script>
|
|
|
|
<!-- VisualEditor DataModel Tests -->
|
|
<script src="dm/ve.dm.example.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.BranchNode.test.js"></script>
|
|
<script src="dm/ve.dm.LeafNode.test.js"></script>
|
|
<script src="dm/ve.dm.TextNode.test.js"></script>
|
|
<script src="dm/ve.dm.Document.test.js"></script>
|
|
<script src="dm/ve.dm.DocumentFragment.test.js"></script>
|
|
<script src="dm/ve.dm.Transaction.test.js"></script>
|
|
<!-- VisualEditor ContentEditable Tests -->
|
|
<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.LeafNode.test.js"></script>
|
|
<script src="dm/ve.dm.TransactionProcessor.test.js"></script>
|
|
</body>
|
|
</html>
|