0
0
mirror of https://github.com/django/django.git synced 2024-11-29 14:46:18 +01:00
django/js_tests/tests.html
Claude Paroz 1e8d48252b Added basic JS tests for OLMapWidget.js
Thanks Trey Hunner for cleaning the initial patch and Tim Graham for
the review.
2015-10-07 08:59:32 +02:00

98 lines
3.8 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Django JavaScript Tests</title>
<link rel="stylesheet" href="./qunit/qunit.css">
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture">
</div>
<script type="text/html" id="result-table">
<table id="result_list">
<tr>
<th>
<input type="checkbox" id="action-toggle">
</th>
</tr>
<tr>
<td class="action-checkbox">
<input class="action-select" type="checkbox" value="618">
</td>
</tr>
</table>
</script>
<script type="text/html" id="tabular-formset">
<input id="id_first-TOTAL_FORMS" value="1">
<input id="id_first-MAX_NUM_FORMS" value="">
<table class="inline">
<tr id="first-0" class="form-row">
<td class="field-test_field">
<input id="id_first-test_field">
</td>
</tr>
<tr id="first-empty" class="empty-row">
<td class="field-test_field">
<input id="id_first-test_field">
</td>
</tr>
</table>
</script>
<script src="./qunit/qunit.js"></script>
<script src="./qunit/blanket.min.js" data-cover-flags="branchTracking"></script>
<script src='../django/contrib/admin/static/admin/js/vendor/jquery/jquery.min.js'></script>
<script src='../django/contrib/admin/static/admin/js/jquery.init.js'></script>
<script src='./admin/jsi18n-mocks.test.js'></script>
<script src='../django/contrib/admin/static/admin/js/core.js' data-cover></script>
<script src='./admin/core.test.js'></script>
<script src='../django/contrib/admin/static/admin/js/timeparse.js' data-cover></script>
<script src='./admin/timeparse.test.js'></script>
<script src='../django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js' data-cover></script>
<script src='./admin/RelatedObjectLookups.test.js'></script>
<script src='./admin/DateTimeShortcuts.test.js'></script>
<script src='../django/contrib/admin/static/admin/js/calendar.js' data-cover></script>
<script src='../django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js' data-cover></script>
<script src='../django/contrib/admin/static/admin/js/actions.js' data-cover></script>
<script src='./admin/actions.test.js'></script>
<script src='../django/contrib/admin/static/admin/js/SelectBox.js' data-cover></script>
<script src='./admin/SelectBox.test.js'></script>
<script src='../django/contrib/admin/static/admin/js/SelectFilter2.js' data-cover></script>
<script src='./admin/SelectFilter2.test.js'></script>
<script src='../django/contrib/admin/static/admin/js/inlines.js' data-cover></script>
<script src='./admin/inlines.test.js'></script>
<script src='../django/contrib/admin/static/admin/js/actions.js' data-cover></script>
<script src='../django/contrib/admin/static/admin/js/collapse.js' data-cover></script>
<script src='../django/contrib/admin/static/admin/js/prepopulate.js' data-cover></script>
<script src='../django/contrib/admin/static/admin/js/urlify.js' data-cover></script>
<div id="id_point_map">
<textarea id="id_point" name="point"
class="vSerializedField required" style="display:none;"
rows="10" cols="150">POINT (7.8177 47.397)</textarea>
</div>
<script src='http://openlayers.org/api/2.13.1/OpenLayers.js'></script>
<script src='../django/contrib/gis/static/gis/js/OLMapWidget.js' data-cover></script>
<script src='./gis/mapwidget.test.js'></script>
<script>
if (location.href.match(/(\?|&)gruntReport($|&|=)/)) {
blanket.options("reporter", "qunit/grunt-reporter.js");
}
</script>
</body>
</html>