/
zOMGdev
/
cppcms
Обзор
Документация
Войти
/
zOMGdev
/
cppcms
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
contrib/integration/session/wwwtest/index.html
27 строк
788 B
Artyom Beilis
Updated python API+test
10 июл 2017, 18:35
10 июл 2017, 18:35
30fb4ed
Код
Авторство
О чём код?
<!DOCTYPE html> <html> <head><title>Unit test</title></head> <body> <script src="tester.js" ></script> <script> function get_url() { var sel = document.getElementById('url'); return sel.options[sel.selectedIndex].value; } </script> <select id="url"> <option value="/test" selected="selected">CppCMS Reference</option> <option value="/unit_test.php">PHP</option> <option value="/jct/test" >Java</option> <option value="/test.aspx" >ASP.Net</option> <option value="/tester" >DJango</option> </select> <button onclick="tester(get_url())">Run Test</button><span id="wait" style="color:green"></span> <table border='1' width='80%'> <thead> <tr><th width='200px'>Test</th><th width='100px'>Status</th><th>Comment</th></tr> <tbody id='log'> </tbody> </table> </body>