0356a667c5
-- * Keyring.js - implemented importKey: importing one or more armored public key blocks. - implemented deleteKey: deleting a public Key from gpg. * Key.js renamed property Key.armor to Key.armored * Helpers.js: toKeyIDArray does not complain anymore if there are no keys. Not having Keys in e.g. signing keys in encrypt is legitimate and common, the complaints were getting spammy * Errors.js: gpgme_errors now always pass an optional additional message, for easier debugging in minified code * Connection.js: Fix in gpgme-json responses containing objects * eslintrc.json: Start using eslint. A cleanup to conform to it is not done yet * Added further tests for the new functionality
26 lines
809 B
HTML
26 lines
809 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link href="libs/mocha.css" rel="stylesheet" />
|
|
</head>
|
|
<body>
|
|
<h3>Browsertest</h3>
|
|
<div id="mocha"></div>
|
|
<!-- load unit tests -->
|
|
<script src="libs/mocha.js"></script>
|
|
<script src="libs/chai.js"></script>
|
|
<script src="setup_testing.js"></script>
|
|
<script src="libs/gpgmejs.bundle.js"></script>
|
|
<script src="tests/inputvalues.js"></script>
|
|
<!-- insert tests here-->
|
|
<script src="tests/startup.js"></script>
|
|
<script src="tests/encryptTest.js"></script>
|
|
<script src="tests/encryptDecryptTest.js"></script>
|
|
<script src="tests/signTest.js"></script>
|
|
<script src="tests/KeyImportExport.js"></script>
|
|
<!-- run tests -->
|
|
<script src="runbrowsertest.js"></script>
|
|
</body>
|
|
</html>
|