diff --git a/tests/jasmine/acceptance/MIT.LICENSE b/tests/jasmine/acceptance/MIT.LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..aff8ed47a1a4b86c9ccec24d2a76b4d99a78a707 --- /dev/null +++ b/tests/jasmine/acceptance/MIT.LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2008-2014 Pivotal Labs + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/jasmine/acceptance/SpecRunner.html b/tests/jasmine/acceptance/SpecRunner.html new file mode 100644 index 0000000000000000000000000000000000000000..c4c35829481ca29709674513c6edda49dae80b95 --- /dev/null +++ b/tests/jasmine/acceptance/SpecRunner.html @@ -0,0 +1,78 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="utf-8"> + <title>Jasmine Spec Runner v2.4.1</title> + + <link rel="shortcut icon" type="image/png" href="../lib/jasmine-2.4.1/jasmine_favicon.png"> + <link rel="stylesheet" href="../lib/jasmine-2.4.1/jasmine.css"> + + <script src="../lib/jasmine-2.4.1/jasmine.js"></script> + <script src="../lib/jasmine-2.4.1/jasmine-html.js"></script> + <script src="../lib/jasmine-2.4.1/boot.js"></script> + + <script src="../helper/mock-ajax.js"></script> + + <script src="../../../js/jquery.min.js"></script> + <script src="../../../js/bootstrap.min.js"></script> + <script src="../../../js/EventEmitter.min.js"></script> + + <!-- include source files here... --> + <script src="../../../js/qfq.debug.js"></script> + + <!-- include spec files here... --> + <script src="spec/FileUploadSpec.js"></script> + +</head> + + +<body> + +<div class="col-md-2 "> + <div class="btn-toolbar pull-right" role="toolbar"> + <div class="btn-group" role="group"> + <button id="save-button" type="button" class="btn btn-default navbar-btn"><span + class="glyphicon glyphicon-ok"></span></button> + <button id="close-button" type="button" class="btn btn-default navbar-btn"><span + class="glyphicon glyphicon-remove"></span></button> + </div> + <div class="btn-group" role="group"> + <button id="delete-button" type="button" class="btn btn-default navbar-btn"><span + class="glyphicon glyphicon-trash"></span></button> + </div> + <div class="btn-group" role="group"> + <a id="form-new-button" href="personmock.html?s=badcaffe1" class="btn btn-default navbar-btn"><span + class="glyphicon glyphicon-plus"></span></a> + </div> + </div> +</div> + +<form id="myForm" class="form-horizontal" data-toggle="validator"> + +</form> + +<script type="text/template" id="fileupload_new"> + <input type="hidden" name="s" value="badcaffee1234"> + + <div class="form-group"> + <div class="col-md-2"> + <label for="fileupload" class="control-label">File upload</label> + </div> + <div class="col-md-6"> + <div class="col-md-6"> + <div class="uploaded-file hidden"><span class="uploaded-file-name">john.doe.png</span> + <button class="delete-file" data-sip="filedeletesip" + name="trash-picture:1"><span + class="glyphicon glyphicon-trash"></span></button> + </div> + <input id="fileupload" name="picture:1" class="hidden" type="file" + data-sip="fileuploadsip"> + + <div class="help-block with-errors"></div> + </div> + </div> + </div> +</script> + +</body> +</html>