js: add tests
authorMaximilian Krambach <maximilian.krambach@intevation.de>
Thu, 30 Aug 2018 13:00:19 +0000 (15:00 +0200)
committerMaximilian Krambach <maximilian.krambach@intevation.de>
Thu, 30 Aug 2018 13:00:19 +0000 (15:00 +0200)
commit3201ded91f91fcdf501ad966380b6ff29d798b09
tree31db36d9654b9e5f48475e9723e2fa097ca6c4e0
parent44691995b72c483ee8a91f11767b2bd317072d5a
js: add tests

--

* BrowserTestExtension/tests:

  - decryptTest.js: Check Decryption and return values of binary data
  - encryptTest.js: Return data type of armored/non-armored encryption
  - added a small encoded input png for testing

* DemoExtension/maindemo.js: Fixed unexpected usage of the Demo encrypt
  (non-armored)
lang/js/BrowserTestExtension/tests/decryptTest.js
lang/js/BrowserTestExtension/tests/encryptTest.js
lang/js/BrowserTestExtension/tests/inputvalues.js
lang/js/DemoExtension/maindemo.js