unit.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <link rel="stylesheet" href="vendor/qunit-1.14.0.css" type="text/css" />
  5. <link rel="stylesheet" href="../../dist/css/select2.css" type="text/css" />
  6. </head>
  7. <body>
  8. <div id="qunit"></div>
  9. <div id="qunit-fixture">
  10. <div class="event-container">
  11. <select></select>
  12. </div>
  13. <select class="single">
  14. <option>One</option>
  15. </select>
  16. <select class="single-empty"></select>
  17. <select class="single-with-placeholder">
  18. <option>placeholder</option>
  19. <option>One</option>
  20. </select>
  21. <select class="multiple" multiple="multiple">
  22. <option>One</option>
  23. <option>Two</option>
  24. </select>
  25. <select class="groups">
  26. <optgroup label="Test">
  27. <option value="one">One</option>
  28. <option value="two">Two</option>
  29. </optgroup>
  30. <optgroup label="Empty"></optgroup>
  31. </select>
  32. <select class="duplicates">
  33. <option value="one">One</option>
  34. <option value="two">Two</option>
  35. <option value="one">Uno</option>
  36. </select>
  37. <select class="duplicates-multi" multiple="multiple">
  38. <option value="one">One</option>
  39. <option value="two">Two</option>
  40. <option value="one">Uno</option>
  41. </select>
  42. </div>
  43. <script src="vendor/qunit-1.14.0.js" type="text/javascript"></script>
  44. <script src="vendor/jquery-1.7.2.js" type="text/javascript"></script>
  45. <script src="../dist/js/select2.full.js" type="text/javascript"></script>
  46. <script src="helpers.js" type="text/javascript"></script>
  47. <script src="a11y/selection-tests.js" type="text/javascript"></script>
  48. <script src="a11y/search-tests.js" type="text/javascript"></script>
  49. <script src="data/array-tests.js" type="text/javascript"></script>
  50. <script src="data/base-tests.js" type="text/javascript"></script>
  51. <script src="data/inputData-tests.js" type="text/javascript"></script>
  52. <script src="data/select-tests.js" type="text/javascript"></script>
  53. <script src="data/tags-tests.js" type="text/javascript"></script>
  54. <script src="data/tokenizer-tests.js" type="text/javascript"></script>
  55. <script src="data/maximumInputLength-tests.js" type="text/javascript"></script>
  56. <script src="data/maximumSelectionLength-tests.js" type="text/javascript"></script>
  57. <script src="data/minimumInputLength-tests.js" type="text/javascript"></script>
  58. <script src="dropdown/dropdownCss-tests.js" type="text/javascript"></script>
  59. <script src="dropdown/positioning-tests.js" type="text/javascript"></script>
  60. <script src="dropdown/selectOnClose-tests.js" type="text/javascript"></script>
  61. <script src="dropdown/stopPropagation-tests.js" type="text/javascript"></script>
  62. <script src="options/ajax-tests.js" type="text/javascript"></script>
  63. <script src="options/data-tests.js" type="text/javascript"></script>
  64. <script src="options/deprecated-tests.js" type="text/javascript"></script>
  65. <script src="options/translation-tests.js" type="text/javascript"></script>
  66. <script src="options/width-tests.js" type="text/javascript"></script>
  67. <script src="selection/allowClear-tests.js" type="text/javascript"></script>
  68. <script src="selection/containerCss-tests.js" type="text/javascript"></script>
  69. <script src="selection/multiple-tests.js" type="text/javascript"></script>
  70. <script src="selection/placeholder-tests.js" type="text/javascript"></script>
  71. <script src="selection/search-tests.js" type="text/javascript"></script>
  72. <script src="selection/single-tests.js" type="text/javascript"></script>
  73. <script src="selection/stopPropagation-tests.js" type="text/javascript"></script>
  74. <script src="utils/decorator-tests.js" type="text/javascript"></script>
  75. <script src="utils/escapeMarkup-tests.js" type="text/javascript"></script>
  76. </body>
  77. </html>