mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-25 04:43:48 +01:00
196 lines
7.5 KiB
HTML
196 lines
7.5 KiB
HTML
|
<!DOCTYPE HTML>
|
||
|
|
||
|
<html>
|
||
|
<head>
|
||
|
<script type='text/javascript' src='../../../lib/components/libraries/mootools/mootools-core-1.4.5-full-nocompat-yc.js'></script>
|
||
|
<script type='text/javascript' src='../../../../core-js/target/core.js'></script>
|
||
|
|
||
|
<script type='text/javascript' src='../../../lib/components/header.js'></script>
|
||
|
<script type='text/javascript' src='../../../lib/components/layout/Node.js'></script>
|
||
|
<script type='text/javascript' src='../../../lib/components/layout/RootedTreeSet.js'></script>
|
||
|
|
||
|
<script type='text/javascript' src='../../../lib/components/layout/LayoutManager.js'></script>
|
||
|
<script type='text/javascript' src='../../../lib/components/layout/ChildrenSorterStrategy.js'></script>
|
||
|
<script type='text/javascript' src='../../../lib/components/layout/AbstractBasicSorter.js'></script>
|
||
|
<script type='text/javascript' src='../../../lib/components/layout/SymmetricSorter.js'></script>
|
||
|
<script type='text/javascript' src='../../../lib/components/layout/GridSorter.js'></script>
|
||
|
<script type='text/javascript' src='../../../lib/components/layout/BalancedSorter.js'></script>
|
||
|
<script type='text/javascript' src='../../../lib/components/layout/OriginalLayout.js'></script>
|
||
|
<script type='text/javascript' src='../../../lib/components/layout/ChangeEvent.js'></script>
|
||
|
|
||
|
<script type="text/javascript" src="test/raphael-min.js"></script>
|
||
|
<script type="text/javascript" src="test/raphael-plugins.js"></script>
|
||
|
|
||
|
<script type='text/javascript' src='test/TestSuite.js'></script>
|
||
|
<script type='text/javascript' src='test/BalancedTestSuite.js'></script>
|
||
|
<script type='text/javascript' src='test/SymmetricTestSuite.js'></script>
|
||
|
<script type='text/javascript' src='test/FreeTestSuite.js'></script>
|
||
|
|
||
|
<script type='text/javascript'>
|
||
|
window.addEvent('domready', function() {
|
||
|
var basicTest = new mindplot.layout.TestSuite();
|
||
|
var balancedTest = new mindplot.layout.BalancedTestSuite();
|
||
|
var symmetricTest = new mindplot.layout.SymmetricTestSuite();
|
||
|
var freeTest = new mindplot.layout.FreeTestSuite();
|
||
|
})
|
||
|
</script>
|
||
|
|
||
|
<style type="text/css">
|
||
|
div.col {
|
||
|
float: left;
|
||
|
margin-right: 20px;
|
||
|
}
|
||
|
div.col.last {
|
||
|
float: none;
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
|
||
|
<div id="basicTest" style="display: none;">
|
||
|
<h1>Basic Tests</h1>
|
||
|
|
||
|
<h3>testAligned:</h3>
|
||
|
<div id="testAligned"></div>
|
||
|
|
||
|
<h3>testBaselineAligned:</h3>
|
||
|
<div id="testBaselineAligned1"></div>
|
||
|
<div id="testBaselineAligned2"></div>
|
||
|
|
||
|
<h3>testEvents:</h3>
|
||
|
<div id="testEvents1" class="col"></div>
|
||
|
<div id="testEvents2" class="col last"></div>
|
||
|
|
||
|
<h3>testEventsComplex:</h3>
|
||
|
<div id="testEventsComplex1" class="col"></div>
|
||
|
<div id="testEventsComplex2" class="col last"></div>
|
||
|
|
||
|
<h3>testDisconnect:</h3>
|
||
|
<div id="testDisconnect1" class="col"></div>
|
||
|
<div id="testDisconnect2" class="col"></div>
|
||
|
<div id="testDisconnect3" class="col last"></div>
|
||
|
|
||
|
<h3>testReconnect:</h3>
|
||
|
<div id="testReconnect1" class="col"></div>
|
||
|
<div id="testReconnect2" class="col last"></div>
|
||
|
|
||
|
<h3>testRemoveNode:</h3>
|
||
|
<div id="testRemoveNode1" class="col"></div>
|
||
|
<div id="testRemoveNode2" class="col last"></div>
|
||
|
<div id="testRemoveNode3" class="col last"></div>
|
||
|
<div id="testRemoveNode4" class="col last"></div>
|
||
|
|
||
|
<h3>testSize:</h3>
|
||
|
<div id="testSize1" class="col"></div>
|
||
|
<div id="testSize2" class="col last"></div>
|
||
|
<div id="testSize3" class="col last"></div>
|
||
|
<div id="testSize4" class="col last"></div>
|
||
|
<div id="testSize5" class="col last"></div>
|
||
|
<div id="testSize6" class="col last"></div>
|
||
|
|
||
|
<h3>testReconnectSingleNode:</h3>
|
||
|
<div id="testReconnectSingleNode1" class="col"></div>
|
||
|
<div id="testReconnectSingleNode2" class="col"></div>
|
||
|
</div>
|
||
|
|
||
|
<div id="balancedTest" style="display: none;">
|
||
|
<h1>Balanced Sorter Tests</h1>
|
||
|
|
||
|
<h3>testBalanced:</h3>
|
||
|
<div id="testBalanced1" class="col"></div>
|
||
|
<div id="testBalanced2" class="col"></div>
|
||
|
<div id="testBalanced3" class="col last"></div>
|
||
|
<div id="testBalanced4" class="col"></div>
|
||
|
<div id="testBalanced5" class="col"></div>
|
||
|
<div id="testBalanced6" class="col last"></div>
|
||
|
<div id="testBalanced7" class="col"></div>
|
||
|
<div id="testBalanced8" class="col last"></div>
|
||
|
<div id="testBalanced9" class="col last"></div>
|
||
|
<div id="testBalanced10" class="col last"></div>
|
||
|
<div id="testBalanced11" class="col last"></div>
|
||
|
<div id="testBalanced12" class="col last"></div>
|
||
|
<div id="testBalanced13" class="col last"></div>
|
||
|
|
||
|
<h3>testBalancedPredict:</h3>
|
||
|
<div id="testBalancedPredict1"></div>
|
||
|
<div id="testBalancedPredict2"></div>
|
||
|
<div id="testBalancedPredict3"></div>
|
||
|
<div id="testBalancedPredict4"></div>
|
||
|
<div id="testBalancedPredict5"></div>
|
||
|
|
||
|
<h3>testBalancedNodeDragPredict</h3>
|
||
|
<div id="testBalancedNodeDragPredict1"></div>
|
||
|
<div id="testBalancedNodeDragPredict2"></div>
|
||
|
<div id="testBalancedNodeDragPredict3"></div>
|
||
|
</div>
|
||
|
|
||
|
<div id="symmetricTest" style="display: none;">
|
||
|
<h1>Symmetric Sorter Tests</h1>
|
||
|
<h3>testSymmetry:</h3>
|
||
|
<div id="testSymmetry"></div>
|
||
|
|
||
|
<h3>testSymmetricPredict:</h3>
|
||
|
<div id="testSymmetricPredict1"></div>
|
||
|
<div id="testSymmetricPredict2"></div>
|
||
|
<div id="testSymmetricPredict3"></div>
|
||
|
<div id="testSymmetricPredict4"></div>
|
||
|
<div id="testSymmetricPredict5"></div>
|
||
|
|
||
|
<h3>testSymmetricDragPredict:</h3>
|
||
|
<div id="testSymmetricDragPredict1"></div>
|
||
|
</div>
|
||
|
|
||
|
<div id="freeTest" style="display: none;">
|
||
|
<h1>Free Positioning Tests</h1>
|
||
|
|
||
|
<h3>testFreePosition:</h3>
|
||
|
<div id="testFreePosition1" class="col"></div>
|
||
|
<div id="testFreePosition2" class="col last"></div>
|
||
|
<div id="testFreePosition3" class="col last"></div>
|
||
|
<div id="testFreePosition4" class="col last"></div>
|
||
|
<div id="testFreePosition5" class="col last"></div>
|
||
|
<div id="testFreePosition6" class="col last"></div>
|
||
|
<div id="testFreePosition7" class="col last"></div>
|
||
|
<div id="testFreePosition8" class="col last"></div>
|
||
|
<div id="testFreePosition9" class="col last"></div>
|
||
|
|
||
|
<h3>testFreePredict:</h3>
|
||
|
<div id="testFreePredict1" class="col"></div>
|
||
|
|
||
|
<h3>testReconnectFreeNode:</h3>
|
||
|
<div id="testReconnectFreeNode1" class="col"></div>
|
||
|
<div id="testReconnectFreeNode2" class="col"></div>
|
||
|
<div id="testReconnectFreeNode3" class="col"></div>
|
||
|
<div id="testReconnectFreeNode4" class="col"></div>
|
||
|
<div id="testReconnectFreeNode5" class="col"></div>
|
||
|
<div id="testReconnectFreeNode6" class="col"></div>
|
||
|
<div id="testReconnectFreeNode7" class="col"></div>
|
||
|
|
||
|
<h3>testSiblingOverlapping:</h3>
|
||
|
<div id="testSiblingOverlapping1" class="col"></div>
|
||
|
<div id="testSiblingOverlapping2" class="col"></div>
|
||
|
<div id="testSiblingOverlapping3" class="col"></div>
|
||
|
|
||
|
<h3>testRootNodeChildrenPositioning:</h3>
|
||
|
<div id="testRootNodeChildrenPositioning1" class="col"></div>
|
||
|
<div id="testRootNodeChildrenPositioning2" class="col"></div>
|
||
|
<div id="testRootNodeChildrenPositioning3" class="col"></div>
|
||
|
<div id="testRootNodeChildrenPositioning4" class="col"></div>
|
||
|
<div id="testRootNodeChildrenPositioning5" class="col"></div>
|
||
|
|
||
|
<h3>testBalancedFreePredict:</h3>
|
||
|
<div id="testBalancedFreePredict1" class="col"></div>
|
||
|
|
||
|
<h3>testFreeReorder:</h3>
|
||
|
<div id="testFreeReorder1" class="col"></div>
|
||
|
|
||
|
<h3>testFreeOverlap:</h3>
|
||
|
<div id="testFreeOverlap1" class="col"></div>
|
||
|
<div id="testFreeOverlap2" class="col"></div>
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|