diff options
Diffstat (limited to 'src/mongo/gotools/vendor/src/github.com/smartystreets/goconvey/web/client/composer.html')
-rw-r--r-- | src/mongo/gotools/vendor/src/github.com/smartystreets/goconvey/web/client/composer.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/mongo/gotools/vendor/src/github.com/smartystreets/goconvey/web/client/composer.html b/src/mongo/gotools/vendor/src/github.com/smartystreets/goconvey/web/client/composer.html new file mode 100644 index 00000000000..e0d32409893 --- /dev/null +++ b/src/mongo/gotools/vendor/src/github.com/smartystreets/goconvey/web/client/composer.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8"> + <title>GoConvey Composer</title> + <link rel="stylesheet" type="text/css" href="/resources/css/composer.css"> + <script src="/resources/js/lib/markup.min.js"></script> + <script src="/resources/js/lib/taboverride.min.js"></script> + <script src="/resources/js/lib/jquery-2_1_0.min.js"></script> + <script src="/resources/js/composer.js"></script> + </head> + <body> + <header> + <h1> + <span class="logo">GoConvey</span> + <span class="afterlogo">Composer</span> + </h1> + </header> + <main> + <textarea id="input" placeholder="Type test cases here, one per line, with tab indentation"></textarea> + <div id="output"></div> + </main> + +<script id="tpl-convey" type="text/template">{{.}}{{if .|notTestFunc}}{{depth|indent}}Convey("{{title}}", {{if showT}}t, {{/if}}{{if stories|empty}}nil{{else}}func() { + +{{stories|recursivelyRender}}{{depth|indent}}}{{/if}}) +{{else}}func {{title|properCase|safeFunc}}(t *testing.T) { + +{{stories|recursivelyRender}}} +{{/if}} +{{/.}}</script> + + + </body> +</html>
\ No newline at end of file |