2020-10-30 20:34:04 +00:00
|
|
|
<!-- Copyright 2015-2020 Signal Messenger, LLC -->
|
|
|
|
<!-- SPDX-License-Identifier: AGPL-3.0-only -->
|
|
|
|
|
2015-01-14 01:04:21 +00:00
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
2017-12-01 21:35:39 +00:00
|
|
|
<meta charset='utf-8'>
|
2018-05-07 23:07:15 +00:00
|
|
|
<title>libtextsecure test runner</title>
|
2018-05-20 03:53:12 +00:00
|
|
|
<link rel="stylesheet" href="../../node_modules/mocha/mocha.css" />
|
2015-01-14 01:04:21 +00:00
|
|
|
</head>
|
2015-01-14 21:21:54 +00:00
|
|
|
<body>
|
2015-01-14 01:04:21 +00:00
|
|
|
|
|
|
|
<div id="mocha">
|
|
|
|
</div>
|
|
|
|
<div id="tests">
|
|
|
|
</div>
|
|
|
|
|
2018-05-26 01:01:56 +00:00
|
|
|
<script type="text/javascript" src="fake_web_api.js"></script>
|
|
|
|
|
2015-01-14 01:04:21 +00:00
|
|
|
<script type="text/javascript" src="test.js"></script>
|
2016-04-21 23:45:21 +00:00
|
|
|
<script type="text/javascript" src="in_memory_signal_protocol_store.js"></script>
|
2015-01-14 01:04:21 +00:00
|
|
|
|
2015-01-14 01:23:11 +00:00
|
|
|
<script type="text/javascript" src="../components.js"></script>
|
2018-05-07 23:12:53 +00:00
|
|
|
<script type="text/javascript" src="../protobufs.js" data-cover></script>
|
2020-03-05 21:14:58 +00:00
|
|
|
<script type="text/javascript" src="../storage/user.js" data-cover></script>
|
2021-02-18 16:40:26 +00:00
|
|
|
<script type="text/javascript" src="../storage/unprocessed.js" data-cover></script>
|
2020-03-05 21:14:58 +00:00
|
|
|
<script type="text/javascript" src="../protocol_wrapper.js" data-cover></script>
|
2020-04-13 17:37:29 +00:00
|
|
|
|
2020-03-05 21:14:58 +00:00
|
|
|
<script type="text/javascript" src="../../js/libphonenumber-util.js"></script>
|
|
|
|
<script type="text/javascript" src="../../js/components.js" data-cover></script>
|
|
|
|
<script type="text/javascript" src="../../js/signal_protocol_store.js" data-cover></script>
|
|
|
|
<script type="text/javascript" src="../../js/storage.js" data-cover></script>
|
2020-05-27 21:37:06 +00:00
|
|
|
<script type="text/javascript" src="../../js/models/blockedNumbers.js" data-cover></script>
|
2015-01-14 01:04:21 +00:00
|
|
|
|
|
|
|
<script type="text/javascript" src="helpers_test.js"></script>
|
2015-04-01 20:08:09 +00:00
|
|
|
<script type="text/javascript" src="storage_test.js"></script>
|
2017-09-11 16:50:35 +00:00
|
|
|
<script type="text/javascript" src="crypto_test.js"></script>
|
2015-06-03 19:51:37 +00:00
|
|
|
<script type="text/javascript" src="contacts_parser_test.js"></script>
|
2015-04-01 20:08:09 +00:00
|
|
|
<script type="text/javascript" src="generate_keys_test.js"></script>
|
2015-07-28 20:48:51 +00:00
|
|
|
<script type="text/javascript" src="websocket-resources_test.js"></script>
|
2017-07-19 19:05:24 +00:00
|
|
|
<script type="text/javascript" src="task_with_timeout_test.js"></script>
|
2017-12-01 21:35:39 +00:00
|
|
|
<script type="text/javascript" src="account_manager_test.js"></script>
|
2021-02-18 16:40:26 +00:00
|
|
|
<script type="text/javascript" src="message_receiver_test.js"></script>
|
2019-05-08 20:14:52 +00:00
|
|
|
<script type="text/javascript" src="sendmessage_test.js"></script>
|
2017-12-01 21:35:39 +00:00
|
|
|
|
|
|
|
<!-- Comment out to turn off code coverage. Useful for getting real callstacks. -->
|
2018-05-26 01:01:56 +00:00
|
|
|
<!-- NOTE: blanket doesn't support modern syntax and will choke until we find a replacement. :0( -->
|
|
|
|
<!-- <script type="text/javascript" src="blanket_mocha.js"></script> -->
|
2017-12-01 21:35:39 +00:00
|
|
|
|
|
|
|
<!-- Uncomment to start tests without code coverage enabled -->
|
2018-05-26 01:01:56 +00:00
|
|
|
<script type="text/javascript">
|
2020-11-04 17:44:32 +00:00
|
|
|
window.textsecure.protobuf.onLoad(() => {
|
|
|
|
mocha.run();
|
|
|
|
window.Signal.conversationControllerStart();
|
|
|
|
});
|
2018-05-26 01:01:56 +00:00
|
|
|
</script>
|
2015-01-14 01:04:21 +00:00
|
|
|
</body>
|
|
|
|
</html>
|