Home GnuPG
Diffusion GPGME 1f7b19512cfa

js: created TestExtension and smaller fixes

Description

js: created TestExtension and smaller fixes

  • Extensions:
    • Moved testapplication to Demoextension
    • Created BrowserTestExtension. Includes mocha and chai. For running tests that cannot be run outside a WebExtension

      Both Extensions can be found zipped in build/extensions after running build_extensions.sh
  • Code changes:
    • src/Config: Place for the configuration
    • small fixes raised during testing in Keyring.js, Message.js,
    • src/gpgmejs_openpgpjs.js don't offer direct GpgME object to the outside, as it only causes confusion
    • index.js init() now checks the config for validity
  • Tests:
    • Reordered tests in test/.
    • Input values are now in a separate file which may be of use for bulk testing
  • moved the build directory from dist to build

Details

Provenance
mkrambachAuthored on Apr 26 2018, 5:13 PM
Parents
rM3685913bf510: js: First testing and improvements
Branches
Unknown
Tags
Unknown