aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/test/inputvalues.js
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-05-14 14:36:05 +0000
committerMaximilian Krambach <[email protected]>2018-05-14 14:36:05 +0000
commitd1ca90ef75aa4ab61cb8f7563be6fc55012a3900 (patch)
treebbd80e3e69c447b48cedb9c27e9f0f3eea279987 /lang/js/test/inputvalues.js
parentjs: Tests and improvements for openpgp mode (diff)
downloadgpgme-d1ca90ef75aa4ab61cb8f7563be6fc55012a3900.tar.gz
gpgme-d1ca90ef75aa4ab61cb8f7563be6fc55012a3900.zip
js: remove non-browser tests
-- * The majority of tests needs to be run in a nativeMessaging context. Offering the few tests that don't need this context at two places introduces issues with maintainability. All tests now removed can be found in ./unittests.js
Diffstat (limited to 'lang/js/test/inputvalues.js')
-rw-r--r--lang/js/test/inputvalues.js39
1 files changed, 0 insertions, 39 deletions
diff --git a/lang/js/test/inputvalues.js b/lang/js/test/inputvalues.js
deleted file mode 100644
index 7752b82f..00000000
--- a/lang/js/test/inputvalues.js
+++ /dev/null
@@ -1,39 +0,0 @@
-import { gpgme_error } from "../src/Errors";
-
-export const helper_params = {
- validLongId: '0A0A0A0A0A0A0A0A',
- validKeys: ['A1E3BC45BDC8E87B74F4392D53B151A1368E50F3',
- 'ADDBC303B6D31026F5EB4591A27EABDF283121BB',
- 'EE17AEE730F88F1DE7713C54BBE0A4FF7851650A'],
- validFingerprint: '9A9A7A7A8A9A9A7A7A8A9A9A7A7A8A9A9A7A7A8A',
- validFingerprints: ['9A9A7A7A8A9A9A7A7A8A9A9A7A7A8A9A9A7A7A8A',
- '9AAE7A338A9A9A7A7A8A9A9A7A7A8A9A9A7A7DDA'],
- invalidLongId: '9A9A7A7A8A9A9A7A7A8A',
- invalidFingerprint: [{hello:'World'}],
- invalidKeyArray: {curiosity:'uncat'},
- invalidKeyArray_OneBad: [
- '12AE9F3E41B33BF77DF52B6BE8EE1992D7909B08',
- 'E1D18E6E994FA9FE9360Bx0E687B940FEFEB095A',
- '3AEA7FE4F5F416ED18CEC63DD519450D9C0FAEE5'],
- invalidErrorCode: 'Please type in all your passwords.',
-}
-
-export const message_params = {
- invalid_op_action : 'dance',
- invalid_op_type : [234, 34, '<>'],
- valid_encrypt_data: "مرحبا بالعالم",
- invalid_param_test: {
- valid_op: 'encrypt',
- invalid_param_names: [22,'dance', {}],
- validparam_name_0: 'mime',
- invalid_values_0: [2134, 'All your passwords', gpgme_error('12AE9F3E41B33BF77DF52B6BE8EE1992D7909B08'), null]
- }
-}
-export const whatever_params = {
- four_invalid_params: ['<(((-<', '>°;==;~~', '^^', '{{{{o}}}}']
-}
-
-export default {
- helper_params: helper_params,
- message_params: message_params
-} \ No newline at end of file