@itentialopensource/adapter-checkpoint_management 0.2.6 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AUTH.md +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +169 -0
- package/CHANGELOG.md +55 -16
- package/CODE_OF_CONDUCT.md +12 -17
- package/CONTRIBUTING.md +88 -74
- package/ENHANCE.md +69 -0
- package/PROPERTIES.md +641 -0
- package/README.md +221 -571
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +5645 -1106
- package/adapterBase.js +1006 -252
- package/entities/.generic/action.json +105 -0
- package/entities/.generic/schema.json +6 -1
- package/entities/.system/action.json +1 -1
- package/entities/.system/schemaTokenReq.json +24 -0
- package/error.json +6 -0
- package/package.json +7 -5
- package/pronghorn.json +14293 -1270
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +421 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +10 -0
- package/report/updateReport1653864222137.json +120 -0
- package/sampleProperties.json +95 -3
- package/test/integration/adapterTestBasicGet.js +1 -1
- package/test/integration/adapterTestIntegration.js +25 -107
- package/test/unit/adapterBaseTestUnit.js +30 -25
- package/test/unit/adapterTestUnit.js +384 -471
- package/utils/adapterInfo.js +206 -0
- package/utils/entitiesToDB.js +12 -57
- package/utils/pre-commit.sh +3 -0
- package/utils/tbScript.js +35 -20
- package/utils/tbUtils.js +49 -31
- package/utils/testRunner.js +16 -16
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
/* global describe it log pronghornProps */
|
|
5
5
|
/* eslint global-require: warn */
|
|
6
6
|
/* eslint no-unused-vars: warn */
|
|
7
|
+
/* eslint import/no-dynamic-require:warn */
|
|
7
8
|
|
|
8
9
|
// include required items for testing & logging
|
|
9
10
|
const assert = require('assert');
|
|
@@ -18,22 +19,31 @@ const { use } = require('chai');
|
|
|
18
19
|
const td = require('testdouble');
|
|
19
20
|
|
|
20
21
|
const anything = td.matchers.anything();
|
|
21
|
-
|
|
22
|
-
// stub and attemptTimeout are used throughout the code so set them here
|
|
23
22
|
let logLevel = 'none';
|
|
24
|
-
const stub = true;
|
|
25
23
|
const isRapidFail = false;
|
|
26
|
-
|
|
24
|
+
|
|
25
|
+
// read in the properties from the sampleProperties files
|
|
26
|
+
let adaptdir = __dirname;
|
|
27
|
+
if (adaptdir.endsWith('/test/integration')) {
|
|
28
|
+
adaptdir = adaptdir.substring(0, adaptdir.length - 17);
|
|
29
|
+
} else if (adaptdir.endsWith('/test/unit')) {
|
|
30
|
+
adaptdir = adaptdir.substring(0, adaptdir.length - 10);
|
|
31
|
+
}
|
|
32
|
+
const samProps = require(`${adaptdir}/sampleProperties.json`).properties;
|
|
27
33
|
|
|
28
34
|
// these variables can be changed to run in integrated mode so easier to set them here
|
|
29
35
|
// always check these in with bogus data!!!
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
samProps.stub = true;
|
|
37
|
+
samProps.host = 'replace.hostorip.here';
|
|
38
|
+
samProps.authentication.username = 'username';
|
|
39
|
+
samProps.authentication.password = 'password';
|
|
40
|
+
samProps.protocol = 'http';
|
|
41
|
+
samProps.port = 80;
|
|
42
|
+
samProps.ssl.enabled = false;
|
|
43
|
+
samProps.ssl.accept_invalid_cert = false;
|
|
44
|
+
samProps.request.attempt_timeout = 60000;
|
|
45
|
+
const attemptTimeout = samProps.request.attempt_timeout;
|
|
46
|
+
const { stub } = samProps;
|
|
37
47
|
|
|
38
48
|
// these are the adapter properties. You generally should not need to alter
|
|
39
49
|
// any of these after they are initially set up
|
|
@@ -45,102 +55,7 @@ global.pronghornProps = {
|
|
|
45
55
|
adapters: [{
|
|
46
56
|
id: 'Test-checkpoint_management',
|
|
47
57
|
type: 'CheckpointManagement',
|
|
48
|
-
properties:
|
|
49
|
-
host,
|
|
50
|
-
port,
|
|
51
|
-
base_path: '/api',
|
|
52
|
-
version: 'v1.0',
|
|
53
|
-
cache_location: 'none',
|
|
54
|
-
encode_pathvars: true,
|
|
55
|
-
save_metric: false,
|
|
56
|
-
stub,
|
|
57
|
-
protocol,
|
|
58
|
-
authentication: {
|
|
59
|
-
auth_method: 'basic user_password',
|
|
60
|
-
username,
|
|
61
|
-
password,
|
|
62
|
-
token: '',
|
|
63
|
-
invalid_token_error: 401,
|
|
64
|
-
token_timeout: -1,
|
|
65
|
-
token_cache: 'local',
|
|
66
|
-
auth_field: 'header.headers.Authorization',
|
|
67
|
-
auth_field_format: 'Basic {b64}{username}:{password}{/b64}',
|
|
68
|
-
auth_logging: false,
|
|
69
|
-
client_id: '',
|
|
70
|
-
client_secret: '',
|
|
71
|
-
grant_type: ''
|
|
72
|
-
},
|
|
73
|
-
healthcheck: {
|
|
74
|
-
type: 'startup',
|
|
75
|
-
frequency: 60000,
|
|
76
|
-
query_object: {}
|
|
77
|
-
},
|
|
78
|
-
throttle: {
|
|
79
|
-
throttle_enabled: false,
|
|
80
|
-
number_pronghorns: 1,
|
|
81
|
-
sync_async: 'sync',
|
|
82
|
-
max_in_queue: 1000,
|
|
83
|
-
concurrent_max: 1,
|
|
84
|
-
expire_timeout: 0,
|
|
85
|
-
avg_runtime: 200,
|
|
86
|
-
priorities: [
|
|
87
|
-
{
|
|
88
|
-
value: 0,
|
|
89
|
-
percent: 100
|
|
90
|
-
}
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
request: {
|
|
94
|
-
number_redirects: 0,
|
|
95
|
-
number_retries: 3,
|
|
96
|
-
limit_retry_error: 0,
|
|
97
|
-
failover_codes: [],
|
|
98
|
-
attempt_timeout: attemptTimeout,
|
|
99
|
-
global_request: {
|
|
100
|
-
payload: {},
|
|
101
|
-
uriOptions: {},
|
|
102
|
-
addlHeaders: {},
|
|
103
|
-
authData: {}
|
|
104
|
-
},
|
|
105
|
-
healthcheck_on_timeout: false,
|
|
106
|
-
return_raw: true,
|
|
107
|
-
archiving: false,
|
|
108
|
-
return_request: false
|
|
109
|
-
},
|
|
110
|
-
proxy: {
|
|
111
|
-
enabled: false,
|
|
112
|
-
host: '',
|
|
113
|
-
port: 1,
|
|
114
|
-
protocol: 'http',
|
|
115
|
-
username: '',
|
|
116
|
-
password: ''
|
|
117
|
-
},
|
|
118
|
-
ssl: {
|
|
119
|
-
ecdhCurve: '',
|
|
120
|
-
enabled: sslenable,
|
|
121
|
-
accept_invalid_cert: sslinvalid,
|
|
122
|
-
ca_file: '',
|
|
123
|
-
key_file: '',
|
|
124
|
-
cert_file: '',
|
|
125
|
-
secure_protocol: '',
|
|
126
|
-
ciphers: ''
|
|
127
|
-
},
|
|
128
|
-
mongo: {
|
|
129
|
-
host: '',
|
|
130
|
-
port: 0,
|
|
131
|
-
database: '',
|
|
132
|
-
username,
|
|
133
|
-
password: '',
|
|
134
|
-
replSet: '',
|
|
135
|
-
db_ssl: {
|
|
136
|
-
enabled: false,
|
|
137
|
-
accept_invalid_cert: false,
|
|
138
|
-
ca_file: '',
|
|
139
|
-
key_file: '',
|
|
140
|
-
cert_file: ''
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
58
|
+
properties: samProps
|
|
144
59
|
}]
|
|
145
60
|
}
|
|
146
61
|
};
|
|
@@ -271,10 +186,10 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
271
186
|
});
|
|
272
187
|
|
|
273
188
|
let wffunctions = [];
|
|
274
|
-
describe('#
|
|
189
|
+
describe('#iapGetAdapterWorkflowFunctions', () => {
|
|
275
190
|
it('should retrieve workflow functions', (done) => {
|
|
276
191
|
try {
|
|
277
|
-
wffunctions = a.
|
|
192
|
+
wffunctions = a.iapGetAdapterWorkflowFunctions([]);
|
|
278
193
|
|
|
279
194
|
try {
|
|
280
195
|
assert.notEqual(0, wffunctions.length);
|
|
@@ -465,16 +380,17 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
465
380
|
assert.notEqual('', pronghornDotJson.methods);
|
|
466
381
|
assert.equal(true, Array.isArray(pronghornDotJson.methods));
|
|
467
382
|
assert.notEqual(0, pronghornDotJson.methods.length);
|
|
468
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
469
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
470
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
471
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
472
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
473
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
474
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
475
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
476
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
383
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapUpdateAdapterConfiguration'));
|
|
384
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapFindAdapterPath'));
|
|
385
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapTroubleshootAdapter'));
|
|
386
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapRunAdapterHealthcheck'));
|
|
387
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapRunAdapterConnectivity'));
|
|
388
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapRunAdapterBasicGet'));
|
|
389
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapSuspendAdapter'));
|
|
390
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapUnsuspendAdapter'));
|
|
391
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapGetAdapterQueue'));
|
|
477
392
|
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'genericAdapterRequest'));
|
|
393
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'genericAdapterRequestNoBasePath'));
|
|
478
394
|
done();
|
|
479
395
|
} catch (error) {
|
|
480
396
|
log.error(`Test Failure: ${error}`);
|
|
@@ -646,6 +562,8 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
646
562
|
assert.equal('string', propertiesDotJson.definitions.authentication.properties.client_id.type);
|
|
647
563
|
assert.equal('string', propertiesDotJson.definitions.authentication.properties.client_secret.type);
|
|
648
564
|
assert.equal('string', propertiesDotJson.definitions.authentication.properties.grant_type.type);
|
|
565
|
+
assert.notEqual(undefined, propertiesDotJson.definitions.ssl);
|
|
566
|
+
assert.notEqual(null, propertiesDotJson.definitions.ssl);
|
|
649
567
|
assert.notEqual('', propertiesDotJson.definitions.ssl);
|
|
650
568
|
assert.equal('string', propertiesDotJson.definitions.ssl.properties.ecdhCurve.type);
|
|
651
569
|
assert.equal('boolean', propertiesDotJson.definitions.ssl.properties.enabled.type);
|
|
@@ -659,6 +577,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
659
577
|
assert.equal('string', propertiesDotJson.properties.version.type);
|
|
660
578
|
assert.equal('string', propertiesDotJson.properties.cache_location.type);
|
|
661
579
|
assert.equal('boolean', propertiesDotJson.properties.encode_pathvars.type);
|
|
580
|
+
assert.equal('boolean', propertiesDotJson.properties.encode_queryvars.type);
|
|
662
581
|
assert.equal(true, Array.isArray(propertiesDotJson.properties.save_metric.type));
|
|
663
582
|
assert.equal('string', propertiesDotJson.properties.protocol.type);
|
|
664
583
|
assert.notEqual(undefined, propertiesDotJson.definitions);
|
|
@@ -707,8 +626,6 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
707
626
|
assert.equal('string', propertiesDotJson.definitions.proxy.properties.protocol.type);
|
|
708
627
|
assert.equal('string', propertiesDotJson.definitions.proxy.properties.username.type);
|
|
709
628
|
assert.equal('string', propertiesDotJson.definitions.proxy.properties.password.type);
|
|
710
|
-
assert.notEqual(undefined, propertiesDotJson.definitions.ssl);
|
|
711
|
-
assert.notEqual(null, propertiesDotJson.definitions.ssl);
|
|
712
629
|
assert.notEqual(undefined, propertiesDotJson.definitions.mongo);
|
|
713
630
|
assert.notEqual(null, propertiesDotJson.definitions.mongo);
|
|
714
631
|
assert.notEqual('', propertiesDotJson.definitions.mongo);
|
|
@@ -724,6 +641,12 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
724
641
|
assert.equal('string', propertiesDotJson.definitions.mongo.properties.db_ssl.properties.ca_file.type);
|
|
725
642
|
assert.equal('string', propertiesDotJson.definitions.mongo.properties.db_ssl.properties.key_file.type);
|
|
726
643
|
assert.equal('string', propertiesDotJson.definitions.mongo.properties.db_ssl.properties.cert_file.type);
|
|
644
|
+
assert.notEqual('', propertiesDotJson.definitions.devicebroker);
|
|
645
|
+
assert.equal('array', propertiesDotJson.definitions.devicebroker.properties.getDevice.type);
|
|
646
|
+
assert.equal('array', propertiesDotJson.definitions.devicebroker.properties.getDevicesFiltered.type);
|
|
647
|
+
assert.equal('array', propertiesDotJson.definitions.devicebroker.properties.isAlive.type);
|
|
648
|
+
assert.equal('array', propertiesDotJson.definitions.devicebroker.properties.getConfig.type);
|
|
649
|
+
assert.equal('array', propertiesDotJson.definitions.devicebroker.properties.getCount.type);
|
|
727
650
|
done();
|
|
728
651
|
} catch (error) {
|
|
729
652
|
log.error(`Test Failure: ${error}`);
|
|
@@ -840,17 +763,13 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
840
763
|
assert.notEqual(undefined, sampleDotJson.properties.ssl.cert_file);
|
|
841
764
|
assert.notEqual(undefined, sampleDotJson.properties.ssl.secure_protocol);
|
|
842
765
|
assert.notEqual(undefined, sampleDotJson.properties.ssl.ciphers);
|
|
843
|
-
|
|
844
766
|
assert.notEqual(undefined, sampleDotJson.properties.base_path);
|
|
845
767
|
assert.notEqual(undefined, sampleDotJson.properties.version);
|
|
846
768
|
assert.notEqual(undefined, sampleDotJson.properties.cache_location);
|
|
847
769
|
assert.notEqual(undefined, sampleDotJson.properties.encode_pathvars);
|
|
770
|
+
assert.notEqual(undefined, sampleDotJson.properties.encode_queryvars);
|
|
848
771
|
assert.notEqual(undefined, sampleDotJson.properties.save_metric);
|
|
849
772
|
assert.notEqual(undefined, sampleDotJson.properties.protocol);
|
|
850
|
-
assert.notEqual(undefined, sampleDotJson.properties.stub);
|
|
851
|
-
assert.notEqual(undefined, sampleDotJson.properties.stub);
|
|
852
|
-
assert.notEqual(undefined, sampleDotJson.properties.stub);
|
|
853
|
-
assert.notEqual(undefined, sampleDotJson.properties.stub);
|
|
854
773
|
assert.notEqual(undefined, sampleDotJson.properties.healthcheck);
|
|
855
774
|
assert.notEqual(null, sampleDotJson.properties.healthcheck);
|
|
856
775
|
assert.notEqual('', sampleDotJson.properties.healthcheck);
|
|
@@ -909,6 +828,12 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
909
828
|
assert.notEqual(undefined, sampleDotJson.properties.mongo.db_ssl.ca_file);
|
|
910
829
|
assert.notEqual(undefined, sampleDotJson.properties.mongo.db_ssl.key_file);
|
|
911
830
|
assert.notEqual(undefined, sampleDotJson.properties.mongo.db_ssl.cert_file);
|
|
831
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker);
|
|
832
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker.getDevice);
|
|
833
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker.getDevicesFiltered);
|
|
834
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker.isAlive);
|
|
835
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker.getConfig);
|
|
836
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker.getCount);
|
|
912
837
|
done();
|
|
913
838
|
} catch (error) {
|
|
914
839
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1002,10 +927,10 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1002
927
|
});
|
|
1003
928
|
});
|
|
1004
929
|
|
|
1005
|
-
describe('#
|
|
1006
|
-
it('should have a
|
|
930
|
+
describe('#iapUpdateAdapterConfiguration', () => {
|
|
931
|
+
it('should have a iapUpdateAdapterConfiguration function', (done) => {
|
|
1007
932
|
try {
|
|
1008
|
-
assert.equal(true, typeof a.
|
|
933
|
+
assert.equal(true, typeof a.iapUpdateAdapterConfiguration === 'function');
|
|
1009
934
|
done();
|
|
1010
935
|
} catch (error) {
|
|
1011
936
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1014,19 +939,19 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1014
939
|
});
|
|
1015
940
|
});
|
|
1016
941
|
|
|
1017
|
-
describe('#
|
|
1018
|
-
it('should have a
|
|
942
|
+
describe('#iapFindAdapterPath', () => {
|
|
943
|
+
it('should have a iapFindAdapterPath function', (done) => {
|
|
1019
944
|
try {
|
|
1020
|
-
assert.equal(true, typeof a.
|
|
945
|
+
assert.equal(true, typeof a.iapFindAdapterPath === 'function');
|
|
1021
946
|
done();
|
|
1022
947
|
} catch (error) {
|
|
1023
948
|
log.error(`Test Failure: ${error}`);
|
|
1024
949
|
done(error);
|
|
1025
950
|
}
|
|
1026
951
|
});
|
|
1027
|
-
it('
|
|
952
|
+
it('iapFindAdapterPath should find atleast one path that matches', (done) => {
|
|
1028
953
|
try {
|
|
1029
|
-
a.
|
|
954
|
+
a.iapFindAdapterPath('{base_path}/{version}', (data, error) => {
|
|
1030
955
|
try {
|
|
1031
956
|
assert.equal(undefined, error);
|
|
1032
957
|
assert.notEqual(undefined, data);
|
|
@@ -1048,10 +973,10 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1048
973
|
}).timeout(attemptTimeout);
|
|
1049
974
|
});
|
|
1050
975
|
|
|
1051
|
-
describe('#
|
|
1052
|
-
it('should have a
|
|
976
|
+
describe('#iapSuspendAdapter', () => {
|
|
977
|
+
it('should have a iapSuspendAdapter function', (done) => {
|
|
1053
978
|
try {
|
|
1054
|
-
assert.equal(true, typeof a.
|
|
979
|
+
assert.equal(true, typeof a.iapSuspendAdapter === 'function');
|
|
1055
980
|
done();
|
|
1056
981
|
} catch (error) {
|
|
1057
982
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1060,10 +985,10 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1060
985
|
});
|
|
1061
986
|
});
|
|
1062
987
|
|
|
1063
|
-
describe('#
|
|
1064
|
-
it('should have a
|
|
988
|
+
describe('#iapUnsuspendAdapter', () => {
|
|
989
|
+
it('should have a iapUnsuspendAdapter function', (done) => {
|
|
1065
990
|
try {
|
|
1066
|
-
assert.equal(true, typeof a.
|
|
991
|
+
assert.equal(true, typeof a.iapUnsuspendAdapter === 'function');
|
|
1067
992
|
done();
|
|
1068
993
|
} catch (error) {
|
|
1069
994
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1072,10 +997,10 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1072
997
|
});
|
|
1073
998
|
});
|
|
1074
999
|
|
|
1075
|
-
describe('#
|
|
1076
|
-
it('should have a
|
|
1000
|
+
describe('#iapGetAdapterQueue', () => {
|
|
1001
|
+
it('should have a iapGetAdapterQueue function', (done) => {
|
|
1077
1002
|
try {
|
|
1078
|
-
assert.equal(true, typeof a.
|
|
1003
|
+
assert.equal(true, typeof a.iapGetAdapterQueue === 'function');
|
|
1079
1004
|
done();
|
|
1080
1005
|
} catch (error) {
|
|
1081
1006
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1084,10 +1009,10 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1084
1009
|
});
|
|
1085
1010
|
});
|
|
1086
1011
|
|
|
1087
|
-
describe('#
|
|
1088
|
-
it('should have a
|
|
1012
|
+
describe('#iapTroubleshootAdapter', () => {
|
|
1013
|
+
it('should have a iapTroubleshootAdapter function', (done) => {
|
|
1089
1014
|
try {
|
|
1090
|
-
assert.equal(true, typeof a.
|
|
1015
|
+
assert.equal(true, typeof a.iapTroubleshootAdapter === 'function');
|
|
1091
1016
|
done();
|
|
1092
1017
|
} catch (error) {
|
|
1093
1018
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1096,10 +1021,10 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1096
1021
|
});
|
|
1097
1022
|
});
|
|
1098
1023
|
|
|
1099
|
-
describe('#
|
|
1100
|
-
it('should have a
|
|
1024
|
+
describe('#iapRunAdapterHealthcheck', () => {
|
|
1025
|
+
it('should have a iapRunAdapterHealthcheck function', (done) => {
|
|
1101
1026
|
try {
|
|
1102
|
-
assert.equal(true, typeof a.
|
|
1027
|
+
assert.equal(true, typeof a.iapRunAdapterHealthcheck === 'function');
|
|
1103
1028
|
done();
|
|
1104
1029
|
} catch (error) {
|
|
1105
1030
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1108,10 +1033,10 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1108
1033
|
});
|
|
1109
1034
|
});
|
|
1110
1035
|
|
|
1111
|
-
describe('#
|
|
1112
|
-
it('should have a
|
|
1036
|
+
describe('#iapRunAdapterConnectivity', () => {
|
|
1037
|
+
it('should have a iapRunAdapterConnectivity function', (done) => {
|
|
1113
1038
|
try {
|
|
1114
|
-
assert.equal(true, typeof a.
|
|
1039
|
+
assert.equal(true, typeof a.iapRunAdapterConnectivity === 'function');
|
|
1115
1040
|
done();
|
|
1116
1041
|
} catch (error) {
|
|
1117
1042
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1120,10 +1045,10 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1120
1045
|
});
|
|
1121
1046
|
});
|
|
1122
1047
|
|
|
1123
|
-
describe('#
|
|
1124
|
-
it('should have a
|
|
1048
|
+
describe('#iapRunAdapterBasicGet', () => {
|
|
1049
|
+
it('should have a iapRunAdapterBasicGet function', (done) => {
|
|
1125
1050
|
try {
|
|
1126
|
-
assert.equal(true, typeof a.
|
|
1051
|
+
assert.equal(true, typeof a.iapRunAdapterBasicGet === 'function');
|
|
1127
1052
|
done();
|
|
1128
1053
|
} catch (error) {
|
|
1129
1054
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1132,10 +1057,10 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1132
1057
|
});
|
|
1133
1058
|
});
|
|
1134
1059
|
|
|
1135
|
-
describe('#
|
|
1136
|
-
it('should have a
|
|
1060
|
+
describe('#iapMoveAdapterEntitiesToDB', () => {
|
|
1061
|
+
it('should have a iapMoveAdapterEntitiesToDB function', (done) => {
|
|
1137
1062
|
try {
|
|
1138
|
-
assert.equal(true, typeof a.
|
|
1063
|
+
assert.equal(true, typeof a.iapMoveAdapterEntitiesToDB === 'function');
|
|
1139
1064
|
done();
|
|
1140
1065
|
} catch (error) {
|
|
1141
1066
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1229,10 +1154,10 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1229
1154
|
}).timeout(attemptTimeout);
|
|
1230
1155
|
});
|
|
1231
1156
|
|
|
1232
|
-
// describe('#
|
|
1233
|
-
// it('should have a
|
|
1157
|
+
// describe('#iapHasAdapterEntity', () => {
|
|
1158
|
+
// it('should have a iapHasAdapterEntity function', (done) => {
|
|
1234
1159
|
// try {
|
|
1235
|
-
// assert.equal(true, typeof a.
|
|
1160
|
+
// assert.equal(true, typeof a.iapHasAdapterEntity === 'function');
|
|
1236
1161
|
// done();
|
|
1237
1162
|
// } catch (error) {
|
|
1238
1163
|
// log.error(`Test Failure: ${error}`);
|
|
@@ -1241,7 +1166,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1241
1166
|
// });
|
|
1242
1167
|
// it('should find entity', (done) => {
|
|
1243
1168
|
// try {
|
|
1244
|
-
// a.
|
|
1169
|
+
// a.iapHasAdapterEntity('template_entity', // 'a9e9c33dc61122760072455df62663d2', (data) => {
|
|
1245
1170
|
// try {
|
|
1246
1171
|
// assert.equal(true, data[0]);
|
|
1247
1172
|
// done();
|
|
@@ -1257,7 +1182,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1257
1182
|
// }).timeout(attemptTimeout);
|
|
1258
1183
|
// it('should not find entity', (done) => {
|
|
1259
1184
|
// try {
|
|
1260
|
-
// a.
|
|
1185
|
+
// a.iapHasAdapterEntity('template_entity', 'blah', (data) => {
|
|
1261
1186
|
// try {
|
|
1262
1187
|
// assert.equal(false, data[0]);
|
|
1263
1188
|
// done();
|
|
@@ -1285,18 +1210,6 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1285
1210
|
});
|
|
1286
1211
|
});
|
|
1287
1212
|
|
|
1288
|
-
describe('#hasDevices', () => {
|
|
1289
|
-
it('should have a hasDevices function', (done) => {
|
|
1290
|
-
try {
|
|
1291
|
-
assert.equal(true, typeof a.hasDevices === 'function');
|
|
1292
|
-
done();
|
|
1293
|
-
} catch (error) {
|
|
1294
|
-
log.error(`Test Failure: ${error}`);
|
|
1295
|
-
done(error);
|
|
1296
|
-
}
|
|
1297
|
-
});
|
|
1298
|
-
});
|
|
1299
|
-
|
|
1300
1213
|
describe('#getDevice', () => {
|
|
1301
1214
|
it('should have a getDevice function', (done) => {
|
|
1302
1215
|
try {
|
|
@@ -1345,10 +1258,10 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1345
1258
|
});
|
|
1346
1259
|
});
|
|
1347
1260
|
|
|
1348
|
-
describe('#
|
|
1349
|
-
it('should have a
|
|
1261
|
+
describe('#iapGetDeviceCount', () => {
|
|
1262
|
+
it('should have a iapGetDeviceCount function', (done) => {
|
|
1350
1263
|
try {
|
|
1351
|
-
assert.equal(true, typeof a.
|
|
1264
|
+
assert.equal(true, typeof a.iapGetDeviceCount === 'function');
|
|
1352
1265
|
done();
|
|
1353
1266
|
} catch (error) {
|
|
1354
1267
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1410,7 +1323,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1410
1323
|
a.publish(null, (data, error) => {
|
|
1411
1324
|
try {
|
|
1412
1325
|
const displayE = 'body is required';
|
|
1413
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1326
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-publishWithSid', displayE);
|
|
1414
1327
|
done();
|
|
1415
1328
|
} catch (err) {
|
|
1416
1329
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1439,7 +1352,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1439
1352
|
a.discard(null, (data, error) => {
|
|
1440
1353
|
try {
|
|
1441
1354
|
const displayE = 'body is required';
|
|
1442
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1355
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-discardWithSid', displayE);
|
|
1443
1356
|
done();
|
|
1444
1357
|
} catch (err) {
|
|
1445
1358
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1468,7 +1381,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1468
1381
|
a.logout(null, (data, error) => {
|
|
1469
1382
|
try {
|
|
1470
1383
|
const displayE = 'body is required';
|
|
1471
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1384
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-logoutWithSid', displayE);
|
|
1472
1385
|
done();
|
|
1473
1386
|
} catch (err) {
|
|
1474
1387
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1497,7 +1410,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1497
1410
|
a.disconnect(null, (data, error) => {
|
|
1498
1411
|
try {
|
|
1499
1412
|
const displayE = 'body is required';
|
|
1500
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1413
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-disconnectWithSid', displayE);
|
|
1501
1414
|
done();
|
|
1502
1415
|
} catch (err) {
|
|
1503
1416
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1526,7 +1439,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1526
1439
|
a.keepalive(null, (data, error) => {
|
|
1527
1440
|
try {
|
|
1528
1441
|
const displayE = 'body is required';
|
|
1529
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1442
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-keepaliveWithSid', displayE);
|
|
1530
1443
|
done();
|
|
1531
1444
|
} catch (err) {
|
|
1532
1445
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1555,7 +1468,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1555
1468
|
a.showSession(null, (data, error) => {
|
|
1556
1469
|
try {
|
|
1557
1470
|
const displayE = 'body is required';
|
|
1558
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1471
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showSessionWithSid', displayE);
|
|
1559
1472
|
done();
|
|
1560
1473
|
} catch (err) {
|
|
1561
1474
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1584,7 +1497,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1584
1497
|
a.setSession(null, (data, error) => {
|
|
1585
1498
|
try {
|
|
1586
1499
|
const displayE = 'body is required';
|
|
1587
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1500
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setSessionWithSid', displayE);
|
|
1588
1501
|
done();
|
|
1589
1502
|
} catch (err) {
|
|
1590
1503
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1613,7 +1526,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1613
1526
|
a.continueSessionInSmartconsole(null, (data, error) => {
|
|
1614
1527
|
try {
|
|
1615
1528
|
const displayE = 'body is required';
|
|
1616
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1529
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-continueSessionInSmartconsoleWithSid', displayE);
|
|
1617
1530
|
done();
|
|
1618
1531
|
} catch (err) {
|
|
1619
1532
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1642,7 +1555,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1642
1555
|
a.showLastPublishedSession(null, (data, error) => {
|
|
1643
1556
|
try {
|
|
1644
1557
|
const displayE = 'body is required';
|
|
1645
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1558
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showLastPublishedSessionWithSid', displayE);
|
|
1646
1559
|
done();
|
|
1647
1560
|
} catch (err) {
|
|
1648
1561
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1671,7 +1584,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1671
1584
|
a.purgePublishedSessionsByCount(null, (data, error) => {
|
|
1672
1585
|
try {
|
|
1673
1586
|
const displayE = 'body is required';
|
|
1674
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1587
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-purgePublishedSessionsByCountWithSid', displayE);
|
|
1675
1588
|
done();
|
|
1676
1589
|
} catch (err) {
|
|
1677
1590
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1700,7 +1613,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1700
1613
|
a.switchSession(null, (data, error) => {
|
|
1701
1614
|
try {
|
|
1702
1615
|
const displayE = 'body is required';
|
|
1703
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1616
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-switchSessionWithSid', displayE);
|
|
1704
1617
|
done();
|
|
1705
1618
|
} catch (err) {
|
|
1706
1619
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1729,7 +1642,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1729
1642
|
a.assignSession(null, (data, error) => {
|
|
1730
1643
|
try {
|
|
1731
1644
|
const displayE = 'body is required';
|
|
1732
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1645
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-assignSessionWithSid', displayE);
|
|
1733
1646
|
done();
|
|
1734
1647
|
} catch (err) {
|
|
1735
1648
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1758,7 +1671,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1758
1671
|
a.takeOverSession(null, (data, error) => {
|
|
1759
1672
|
try {
|
|
1760
1673
|
const displayE = 'body is required';
|
|
1761
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1674
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-takeOverSessionWithSid', displayE);
|
|
1762
1675
|
done();
|
|
1763
1676
|
} catch (err) {
|
|
1764
1677
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1787,7 +1700,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1787
1700
|
a.showSessions(null, (data, error) => {
|
|
1788
1701
|
try {
|
|
1789
1702
|
const displayE = 'body is required';
|
|
1790
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1703
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showSessionsWithSid', displayE);
|
|
1791
1704
|
done();
|
|
1792
1705
|
} catch (err) {
|
|
1793
1706
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1816,7 +1729,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1816
1729
|
a.showLoginMessage(null, (data, error) => {
|
|
1817
1730
|
try {
|
|
1818
1731
|
const displayE = 'body is required';
|
|
1819
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1732
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showLoginMessageWithSid', displayE);
|
|
1820
1733
|
done();
|
|
1821
1734
|
} catch (err) {
|
|
1822
1735
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1845,7 +1758,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1845
1758
|
a.setLoginMessage(null, (data, error) => {
|
|
1846
1759
|
try {
|
|
1847
1760
|
const displayE = 'body is required';
|
|
1848
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1761
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setLoginMessageWithSid', displayE);
|
|
1849
1762
|
done();
|
|
1850
1763
|
} catch (err) {
|
|
1851
1764
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1874,7 +1787,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1874
1787
|
a.addHost(null, (data, error) => {
|
|
1875
1788
|
try {
|
|
1876
1789
|
const displayE = 'body is required';
|
|
1877
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1790
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addHostWithSid', displayE);
|
|
1878
1791
|
done();
|
|
1879
1792
|
} catch (err) {
|
|
1880
1793
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1903,7 +1816,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1903
1816
|
a.showHost(null, (data, error) => {
|
|
1904
1817
|
try {
|
|
1905
1818
|
const displayE = 'body is required';
|
|
1906
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1819
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showHostWithSid', displayE);
|
|
1907
1820
|
done();
|
|
1908
1821
|
} catch (err) {
|
|
1909
1822
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1932,7 +1845,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1932
1845
|
a.setHost(null, (data, error) => {
|
|
1933
1846
|
try {
|
|
1934
1847
|
const displayE = 'body is required';
|
|
1935
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1848
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setHostWithSid', displayE);
|
|
1936
1849
|
done();
|
|
1937
1850
|
} catch (err) {
|
|
1938
1851
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1961,7 +1874,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1961
1874
|
a.deleteHost(null, (data, error) => {
|
|
1962
1875
|
try {
|
|
1963
1876
|
const displayE = 'body is required';
|
|
1964
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1877
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteHostWithSid', displayE);
|
|
1965
1878
|
done();
|
|
1966
1879
|
} catch (err) {
|
|
1967
1880
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1990,7 +1903,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
1990
1903
|
a.showHosts(null, (data, error) => {
|
|
1991
1904
|
try {
|
|
1992
1905
|
const displayE = 'body is required';
|
|
1993
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1906
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showHostsWithSid', displayE);
|
|
1994
1907
|
done();
|
|
1995
1908
|
} catch (err) {
|
|
1996
1909
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2019,7 +1932,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2019
1932
|
a.addNetwork(null, (data, error) => {
|
|
2020
1933
|
try {
|
|
2021
1934
|
const displayE = 'body is required';
|
|
2022
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1935
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addNetworkWithSid', displayE);
|
|
2023
1936
|
done();
|
|
2024
1937
|
} catch (err) {
|
|
2025
1938
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2048,7 +1961,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2048
1961
|
a.showNetwork(null, (data, error) => {
|
|
2049
1962
|
try {
|
|
2050
1963
|
const displayE = 'body is required';
|
|
2051
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1964
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showNetworkWithSid', displayE);
|
|
2052
1965
|
done();
|
|
2053
1966
|
} catch (err) {
|
|
2054
1967
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2077,7 +1990,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2077
1990
|
a.setNetwork(null, (data, error) => {
|
|
2078
1991
|
try {
|
|
2079
1992
|
const displayE = 'body is required';
|
|
2080
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
1993
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setNetworkWithSid', displayE);
|
|
2081
1994
|
done();
|
|
2082
1995
|
} catch (err) {
|
|
2083
1996
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2106,7 +2019,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2106
2019
|
a.deleteNetwork(null, (data, error) => {
|
|
2107
2020
|
try {
|
|
2108
2021
|
const displayE = 'body is required';
|
|
2109
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2022
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteNetworkWithSid', displayE);
|
|
2110
2023
|
done();
|
|
2111
2024
|
} catch (err) {
|
|
2112
2025
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2135,7 +2048,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2135
2048
|
a.showNetworks(null, (data, error) => {
|
|
2136
2049
|
try {
|
|
2137
2050
|
const displayE = 'body is required';
|
|
2138
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2051
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showNetworksWithSid', displayE);
|
|
2139
2052
|
done();
|
|
2140
2053
|
} catch (err) {
|
|
2141
2054
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2164,7 +2077,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2164
2077
|
a.addWildcard(null, (data, error) => {
|
|
2165
2078
|
try {
|
|
2166
2079
|
const displayE = 'body is required';
|
|
2167
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2080
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addWildcardWithSid', displayE);
|
|
2168
2081
|
done();
|
|
2169
2082
|
} catch (err) {
|
|
2170
2083
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2193,7 +2106,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2193
2106
|
a.showWildcard(null, (data, error) => {
|
|
2194
2107
|
try {
|
|
2195
2108
|
const displayE = 'body is required';
|
|
2196
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2109
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showWildcardWithSid', displayE);
|
|
2197
2110
|
done();
|
|
2198
2111
|
} catch (err) {
|
|
2199
2112
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2222,7 +2135,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2222
2135
|
a.setWildcard(null, (data, error) => {
|
|
2223
2136
|
try {
|
|
2224
2137
|
const displayE = 'body is required';
|
|
2225
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2138
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setWildcardWithSid', displayE);
|
|
2226
2139
|
done();
|
|
2227
2140
|
} catch (err) {
|
|
2228
2141
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2251,7 +2164,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2251
2164
|
a.deleteWildcard(null, (data, error) => {
|
|
2252
2165
|
try {
|
|
2253
2166
|
const displayE = 'body is required';
|
|
2254
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2167
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteWildcardWithSid', displayE);
|
|
2255
2168
|
done();
|
|
2256
2169
|
} catch (err) {
|
|
2257
2170
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2280,7 +2193,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2280
2193
|
a.showWildcards(null, (data, error) => {
|
|
2281
2194
|
try {
|
|
2282
2195
|
const displayE = 'body is required';
|
|
2283
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2196
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showWildcardsWithSid', displayE);
|
|
2284
2197
|
done();
|
|
2285
2198
|
} catch (err) {
|
|
2286
2199
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2309,7 +2222,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2309
2222
|
a.addGroupWithGroup(null, (data, error) => {
|
|
2310
2223
|
try {
|
|
2311
2224
|
const displayE = 'body is required';
|
|
2312
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2225
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addGroupWithGroupWithSid', displayE);
|
|
2313
2226
|
done();
|
|
2314
2227
|
} catch (err) {
|
|
2315
2228
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2338,7 +2251,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2338
2251
|
a.showGroup(null, (data, error) => {
|
|
2339
2252
|
try {
|
|
2340
2253
|
const displayE = 'body is required';
|
|
2341
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2254
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showGroupWithSid', displayE);
|
|
2342
2255
|
done();
|
|
2343
2256
|
} catch (err) {
|
|
2344
2257
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2367,7 +2280,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2367
2280
|
a.setGroup(null, (data, error) => {
|
|
2368
2281
|
try {
|
|
2369
2282
|
const displayE = 'body is required';
|
|
2370
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2283
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setGroupWithSid', displayE);
|
|
2371
2284
|
done();
|
|
2372
2285
|
} catch (err) {
|
|
2373
2286
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2396,7 +2309,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2396
2309
|
a.deleteGroup(null, (data, error) => {
|
|
2397
2310
|
try {
|
|
2398
2311
|
const displayE = 'body is required';
|
|
2399
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2312
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteGroupWithSid', displayE);
|
|
2400
2313
|
done();
|
|
2401
2314
|
} catch (err) {
|
|
2402
2315
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2425,7 +2338,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2425
2338
|
a.showGroups(null, (data, error) => {
|
|
2426
2339
|
try {
|
|
2427
2340
|
const displayE = 'body is required';
|
|
2428
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2341
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showGroupsWithSid', displayE);
|
|
2429
2342
|
done();
|
|
2430
2343
|
} catch (err) {
|
|
2431
2344
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2454,7 +2367,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2454
2367
|
a.addAddressRange(null, (data, error) => {
|
|
2455
2368
|
try {
|
|
2456
2369
|
const displayE = 'body is required';
|
|
2457
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2370
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addAddressRangeWithSid', displayE);
|
|
2458
2371
|
done();
|
|
2459
2372
|
} catch (err) {
|
|
2460
2373
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2483,7 +2396,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2483
2396
|
a.showAddressRange(null, (data, error) => {
|
|
2484
2397
|
try {
|
|
2485
2398
|
const displayE = 'body is required';
|
|
2486
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2399
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showAddressRangeWithSid', displayE);
|
|
2487
2400
|
done();
|
|
2488
2401
|
} catch (err) {
|
|
2489
2402
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2512,7 +2425,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2512
2425
|
a.setAddressRange(null, (data, error) => {
|
|
2513
2426
|
try {
|
|
2514
2427
|
const displayE = 'body is required';
|
|
2515
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2428
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setAddressRangeWithSid', displayE);
|
|
2516
2429
|
done();
|
|
2517
2430
|
} catch (err) {
|
|
2518
2431
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2541,7 +2454,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2541
2454
|
a.deleteAddressRange(null, (data, error) => {
|
|
2542
2455
|
try {
|
|
2543
2456
|
const displayE = 'body is required';
|
|
2544
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2457
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteAddressRangeWithSid', displayE);
|
|
2545
2458
|
done();
|
|
2546
2459
|
} catch (err) {
|
|
2547
2460
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2570,7 +2483,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2570
2483
|
a.showAddressRanges(null, (data, error) => {
|
|
2571
2484
|
try {
|
|
2572
2485
|
const displayE = 'body is required';
|
|
2573
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2486
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showAddressRangesWithSid', displayE);
|
|
2574
2487
|
done();
|
|
2575
2488
|
} catch (err) {
|
|
2576
2489
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2599,7 +2512,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2599
2512
|
a.addMulticastAddressRangeIpRange(null, (data, error) => {
|
|
2600
2513
|
try {
|
|
2601
2514
|
const displayE = 'body is required';
|
|
2602
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2515
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addMulticastAddressRangeIpRangeWithSid', displayE);
|
|
2603
2516
|
done();
|
|
2604
2517
|
} catch (err) {
|
|
2605
2518
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2628,7 +2541,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2628
2541
|
a.showMulticastAddressRange(null, (data, error) => {
|
|
2629
2542
|
try {
|
|
2630
2543
|
const displayE = 'body is required';
|
|
2631
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2544
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showMulticastAddressRangeWithSid', displayE);
|
|
2632
2545
|
done();
|
|
2633
2546
|
} catch (err) {
|
|
2634
2547
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2657,7 +2570,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2657
2570
|
a.setMulticastAddressRange(null, (data, error) => {
|
|
2658
2571
|
try {
|
|
2659
2572
|
const displayE = 'body is required';
|
|
2660
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2573
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setMulticastAddressRangeWithSid', displayE);
|
|
2661
2574
|
done();
|
|
2662
2575
|
} catch (err) {
|
|
2663
2576
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2686,7 +2599,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2686
2599
|
a.deleteMulticastAddressRange(null, (data, error) => {
|
|
2687
2600
|
try {
|
|
2688
2601
|
const displayE = 'body is required';
|
|
2689
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2602
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteMulticastAddressRangeWithSid', displayE);
|
|
2690
2603
|
done();
|
|
2691
2604
|
} catch (err) {
|
|
2692
2605
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2715,7 +2628,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2715
2628
|
a.showMulticastAddressRanges(null, (data, error) => {
|
|
2716
2629
|
try {
|
|
2717
2630
|
const displayE = 'body is required';
|
|
2718
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2631
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showMulticastAddressRangesWithSid', displayE);
|
|
2719
2632
|
done();
|
|
2720
2633
|
} catch (err) {
|
|
2721
2634
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2744,7 +2657,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2744
2657
|
a.addGroupWithExclusion(null, (data, error) => {
|
|
2745
2658
|
try {
|
|
2746
2659
|
const displayE = 'body is required';
|
|
2747
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2660
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addGroupWithExclusionWithSid', displayE);
|
|
2748
2661
|
done();
|
|
2749
2662
|
} catch (err) {
|
|
2750
2663
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2773,7 +2686,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2773
2686
|
a.showGroupWithExclusion(null, (data, error) => {
|
|
2774
2687
|
try {
|
|
2775
2688
|
const displayE = 'body is required';
|
|
2776
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2689
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showGroupWithExclusionWithSid', displayE);
|
|
2777
2690
|
done();
|
|
2778
2691
|
} catch (err) {
|
|
2779
2692
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2802,7 +2715,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2802
2715
|
a.setGroupWithExclusion(null, (data, error) => {
|
|
2803
2716
|
try {
|
|
2804
2717
|
const displayE = 'body is required';
|
|
2805
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2718
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setGroupWithExclusionWithSid', displayE);
|
|
2806
2719
|
done();
|
|
2807
2720
|
} catch (err) {
|
|
2808
2721
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2831,7 +2744,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2831
2744
|
a.deleteGroupWithExclusion(null, (data, error) => {
|
|
2832
2745
|
try {
|
|
2833
2746
|
const displayE = 'body is required';
|
|
2834
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2747
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteGroupWithExclusionWithSid', displayE);
|
|
2835
2748
|
done();
|
|
2836
2749
|
} catch (err) {
|
|
2837
2750
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2860,7 +2773,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2860
2773
|
a.showGroupsWithExclusion(null, (data, error) => {
|
|
2861
2774
|
try {
|
|
2862
2775
|
const displayE = 'body is required';
|
|
2863
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2776
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showGroupsWithExclusionWithSid', displayE);
|
|
2864
2777
|
done();
|
|
2865
2778
|
} catch (err) {
|
|
2866
2779
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2889,7 +2802,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2889
2802
|
a.addSimpleGateway(null, (data, error) => {
|
|
2890
2803
|
try {
|
|
2891
2804
|
const displayE = 'body is required';
|
|
2892
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2805
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addSimpleGatewayWithSid', displayE);
|
|
2893
2806
|
done();
|
|
2894
2807
|
} catch (err) {
|
|
2895
2808
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2918,7 +2831,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2918
2831
|
a.showSimpleGateway(null, (data, error) => {
|
|
2919
2832
|
try {
|
|
2920
2833
|
const displayE = 'body is required';
|
|
2921
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2834
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showSimpleGatewayWithSid', displayE);
|
|
2922
2835
|
done();
|
|
2923
2836
|
} catch (err) {
|
|
2924
2837
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2947,7 +2860,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2947
2860
|
a.setSimpleGateway(null, (data, error) => {
|
|
2948
2861
|
try {
|
|
2949
2862
|
const displayE = 'body is required';
|
|
2950
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2863
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setSimpleGatewayWithSid', displayE);
|
|
2951
2864
|
done();
|
|
2952
2865
|
} catch (err) {
|
|
2953
2866
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2976,7 +2889,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
2976
2889
|
a.deleteSimpleGateway(null, (data, error) => {
|
|
2977
2890
|
try {
|
|
2978
2891
|
const displayE = 'body is required';
|
|
2979
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2892
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteSimpleGatewayWithSid', displayE);
|
|
2980
2893
|
done();
|
|
2981
2894
|
} catch (err) {
|
|
2982
2895
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3005,7 +2918,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3005
2918
|
a.showSimpleGateways(null, (data, error) => {
|
|
3006
2919
|
try {
|
|
3007
2920
|
const displayE = 'body is required';
|
|
3008
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2921
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showSimpleGatewaysWithSid', displayE);
|
|
3009
2922
|
done();
|
|
3010
2923
|
} catch (err) {
|
|
3011
2924
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3034,7 +2947,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3034
2947
|
a.addSecurityZone(null, (data, error) => {
|
|
3035
2948
|
try {
|
|
3036
2949
|
const displayE = 'body is required';
|
|
3037
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2950
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addSecurityZoneWithSid', displayE);
|
|
3038
2951
|
done();
|
|
3039
2952
|
} catch (err) {
|
|
3040
2953
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3063,7 +2976,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3063
2976
|
a.showSecurityZone(null, (data, error) => {
|
|
3064
2977
|
try {
|
|
3065
2978
|
const displayE = 'body is required';
|
|
3066
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
2979
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showSecurityZoneWithSid', displayE);
|
|
3067
2980
|
done();
|
|
3068
2981
|
} catch (err) {
|
|
3069
2982
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3092,7 +3005,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3092
3005
|
a.setSecurityZone(null, (data, error) => {
|
|
3093
3006
|
try {
|
|
3094
3007
|
const displayE = 'body is required';
|
|
3095
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3008
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setSecurityZoneWithSid', displayE);
|
|
3096
3009
|
done();
|
|
3097
3010
|
} catch (err) {
|
|
3098
3011
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3121,7 +3034,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3121
3034
|
a.deleteSecurityZone(null, (data, error) => {
|
|
3122
3035
|
try {
|
|
3123
3036
|
const displayE = 'body is required';
|
|
3124
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3037
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteSecurityZoneWithSid', displayE);
|
|
3125
3038
|
done();
|
|
3126
3039
|
} catch (err) {
|
|
3127
3040
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3150,7 +3063,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3150
3063
|
a.showSecurityZones(null, (data, error) => {
|
|
3151
3064
|
try {
|
|
3152
3065
|
const displayE = 'body is required';
|
|
3153
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3066
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showSecurityZonesWithSid', displayE);
|
|
3154
3067
|
done();
|
|
3155
3068
|
} catch (err) {
|
|
3156
3069
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3179,7 +3092,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3179
3092
|
a.addTime(null, (data, error) => {
|
|
3180
3093
|
try {
|
|
3181
3094
|
const displayE = 'body is required';
|
|
3182
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3095
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addTimeWithSid', displayE);
|
|
3183
3096
|
done();
|
|
3184
3097
|
} catch (err) {
|
|
3185
3098
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3208,7 +3121,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3208
3121
|
a.showTime(null, (data, error) => {
|
|
3209
3122
|
try {
|
|
3210
3123
|
const displayE = 'body is required';
|
|
3211
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3124
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showTimeWithSid', displayE);
|
|
3212
3125
|
done();
|
|
3213
3126
|
} catch (err) {
|
|
3214
3127
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3237,7 +3150,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3237
3150
|
a.setTime(null, (data, error) => {
|
|
3238
3151
|
try {
|
|
3239
3152
|
const displayE = 'body is required';
|
|
3240
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3153
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setTimeWithSid', displayE);
|
|
3241
3154
|
done();
|
|
3242
3155
|
} catch (err) {
|
|
3243
3156
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3266,7 +3179,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3266
3179
|
a.deleteTime(null, (data, error) => {
|
|
3267
3180
|
try {
|
|
3268
3181
|
const displayE = 'body is required';
|
|
3269
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3182
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteTimeWithSid', displayE);
|
|
3270
3183
|
done();
|
|
3271
3184
|
} catch (err) {
|
|
3272
3185
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3295,7 +3208,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3295
3208
|
a.showTimes(null, (data, error) => {
|
|
3296
3209
|
try {
|
|
3297
3210
|
const displayE = 'body is required';
|
|
3298
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3211
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showTimesWithSid', displayE);
|
|
3299
3212
|
done();
|
|
3300
3213
|
} catch (err) {
|
|
3301
3214
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3324,7 +3237,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3324
3237
|
a.addTimeGroup(null, (data, error) => {
|
|
3325
3238
|
try {
|
|
3326
3239
|
const displayE = 'body is required';
|
|
3327
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3240
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addTimeGroupWithSid', displayE);
|
|
3328
3241
|
done();
|
|
3329
3242
|
} catch (err) {
|
|
3330
3243
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3353,7 +3266,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3353
3266
|
a.showTimeGroup(null, (data, error) => {
|
|
3354
3267
|
try {
|
|
3355
3268
|
const displayE = 'body is required';
|
|
3356
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3269
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showTimeGroupWithSid', displayE);
|
|
3357
3270
|
done();
|
|
3358
3271
|
} catch (err) {
|
|
3359
3272
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3382,7 +3295,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3382
3295
|
a.setTimeGroup(null, (data, error) => {
|
|
3383
3296
|
try {
|
|
3384
3297
|
const displayE = 'body is required';
|
|
3385
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3298
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setTimeGroupWithSid', displayE);
|
|
3386
3299
|
done();
|
|
3387
3300
|
} catch (err) {
|
|
3388
3301
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3411,7 +3324,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3411
3324
|
a.deleteTimeGroup(null, (data, error) => {
|
|
3412
3325
|
try {
|
|
3413
3326
|
const displayE = 'body is required';
|
|
3414
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3327
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteTimeGroupWithSid', displayE);
|
|
3415
3328
|
done();
|
|
3416
3329
|
} catch (err) {
|
|
3417
3330
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3440,7 +3353,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3440
3353
|
a.showTimeGroups(null, (data, error) => {
|
|
3441
3354
|
try {
|
|
3442
3355
|
const displayE = 'body is required';
|
|
3443
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3356
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showTimeGroupsWithSid', displayE);
|
|
3444
3357
|
done();
|
|
3445
3358
|
} catch (err) {
|
|
3446
3359
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3469,7 +3382,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3469
3382
|
a.addAccessRole(null, (data, error) => {
|
|
3470
3383
|
try {
|
|
3471
3384
|
const displayE = 'body is required';
|
|
3472
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3385
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addAccessRoleWithSid', displayE);
|
|
3473
3386
|
done();
|
|
3474
3387
|
} catch (err) {
|
|
3475
3388
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3498,7 +3411,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3498
3411
|
a.showAccessRole(null, (data, error) => {
|
|
3499
3412
|
try {
|
|
3500
3413
|
const displayE = 'body is required';
|
|
3501
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3414
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showAccessRoleWithSid', displayE);
|
|
3502
3415
|
done();
|
|
3503
3416
|
} catch (err) {
|
|
3504
3417
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3527,7 +3440,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3527
3440
|
a.setAccessRole(null, (data, error) => {
|
|
3528
3441
|
try {
|
|
3529
3442
|
const displayE = 'body is required';
|
|
3530
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3443
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setAccessRoleWithSid', displayE);
|
|
3531
3444
|
done();
|
|
3532
3445
|
} catch (err) {
|
|
3533
3446
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3556,7 +3469,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3556
3469
|
a.deleteAccessRole(null, (data, error) => {
|
|
3557
3470
|
try {
|
|
3558
3471
|
const displayE = 'body is required';
|
|
3559
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3472
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteAccessRoleWithSid', displayE);
|
|
3560
3473
|
done();
|
|
3561
3474
|
} catch (err) {
|
|
3562
3475
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3585,7 +3498,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3585
3498
|
a.showAccessRoles(null, (data, error) => {
|
|
3586
3499
|
try {
|
|
3587
3500
|
const displayE = 'body is required';
|
|
3588
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3501
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showAccessRolesWithSid', displayE);
|
|
3589
3502
|
done();
|
|
3590
3503
|
} catch (err) {
|
|
3591
3504
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3614,7 +3527,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3614
3527
|
a.addDynamicObject(null, (data, error) => {
|
|
3615
3528
|
try {
|
|
3616
3529
|
const displayE = 'body is required';
|
|
3617
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3530
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addDynamicObjectWithSid', displayE);
|
|
3618
3531
|
done();
|
|
3619
3532
|
} catch (err) {
|
|
3620
3533
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3643,7 +3556,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3643
3556
|
a.showDynamicObject(null, (data, error) => {
|
|
3644
3557
|
try {
|
|
3645
3558
|
const displayE = 'body is required';
|
|
3646
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3559
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showDynamicObjectWithSid', displayE);
|
|
3647
3560
|
done();
|
|
3648
3561
|
} catch (err) {
|
|
3649
3562
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3672,7 +3585,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3672
3585
|
a.setDynamicObject(null, (data, error) => {
|
|
3673
3586
|
try {
|
|
3674
3587
|
const displayE = 'body is required';
|
|
3675
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3588
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setDynamicObjectWithSid', displayE);
|
|
3676
3589
|
done();
|
|
3677
3590
|
} catch (err) {
|
|
3678
3591
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3701,7 +3614,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3701
3614
|
a.deleteDynamicObject(null, (data, error) => {
|
|
3702
3615
|
try {
|
|
3703
3616
|
const displayE = 'body is required';
|
|
3704
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3617
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteDynamicObjectWithSid', displayE);
|
|
3705
3618
|
done();
|
|
3706
3619
|
} catch (err) {
|
|
3707
3620
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3730,7 +3643,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3730
3643
|
a.showDynamicObjects(null, (data, error) => {
|
|
3731
3644
|
try {
|
|
3732
3645
|
const displayE = 'body is required';
|
|
3733
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3646
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showDynamicObjectsWithSid', displayE);
|
|
3734
3647
|
done();
|
|
3735
3648
|
} catch (err) {
|
|
3736
3649
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3759,7 +3672,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3759
3672
|
a.addTrustedClient(null, (data, error) => {
|
|
3760
3673
|
try {
|
|
3761
3674
|
const displayE = 'body is required';
|
|
3762
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3675
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addTrustedClientWithSid', displayE);
|
|
3763
3676
|
done();
|
|
3764
3677
|
} catch (err) {
|
|
3765
3678
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3788,7 +3701,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3788
3701
|
a.showTrustedClient(null, (data, error) => {
|
|
3789
3702
|
try {
|
|
3790
3703
|
const displayE = 'body is required';
|
|
3791
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3704
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showTrustedClientWithSid', displayE);
|
|
3792
3705
|
done();
|
|
3793
3706
|
} catch (err) {
|
|
3794
3707
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3817,7 +3730,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3817
3730
|
a.setTrustedClient(null, (data, error) => {
|
|
3818
3731
|
try {
|
|
3819
3732
|
const displayE = 'body is required';
|
|
3820
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3733
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setTrustedClientWithSid', displayE);
|
|
3821
3734
|
done();
|
|
3822
3735
|
} catch (err) {
|
|
3823
3736
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3846,7 +3759,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3846
3759
|
a.deleteTrustedClient(null, (data, error) => {
|
|
3847
3760
|
try {
|
|
3848
3761
|
const displayE = 'body is required';
|
|
3849
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3762
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteTrustedClientWithSid', displayE);
|
|
3850
3763
|
done();
|
|
3851
3764
|
} catch (err) {
|
|
3852
3765
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3875,7 +3788,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3875
3788
|
a.showTrustedClients(null, (data, error) => {
|
|
3876
3789
|
try {
|
|
3877
3790
|
const displayE = 'body is required';
|
|
3878
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3791
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showTrustedClientsWithSid', displayE);
|
|
3879
3792
|
done();
|
|
3880
3793
|
} catch (err) {
|
|
3881
3794
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3904,7 +3817,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3904
3817
|
a.addTag(null, (data, error) => {
|
|
3905
3818
|
try {
|
|
3906
3819
|
const displayE = 'body is required';
|
|
3907
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3820
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addTagWithSid', displayE);
|
|
3908
3821
|
done();
|
|
3909
3822
|
} catch (err) {
|
|
3910
3823
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3933,7 +3846,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3933
3846
|
a.showTag(null, (data, error) => {
|
|
3934
3847
|
try {
|
|
3935
3848
|
const displayE = 'body is required';
|
|
3936
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3849
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showTagWithSid', displayE);
|
|
3937
3850
|
done();
|
|
3938
3851
|
} catch (err) {
|
|
3939
3852
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3962,7 +3875,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3962
3875
|
a.setTag(null, (data, error) => {
|
|
3963
3876
|
try {
|
|
3964
3877
|
const displayE = 'body is required';
|
|
3965
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3878
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setTagWithSid', displayE);
|
|
3966
3879
|
done();
|
|
3967
3880
|
} catch (err) {
|
|
3968
3881
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3991,7 +3904,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
3991
3904
|
a.deleteTag(null, (data, error) => {
|
|
3992
3905
|
try {
|
|
3993
3906
|
const displayE = 'body is required';
|
|
3994
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3907
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteTagWithSid', displayE);
|
|
3995
3908
|
done();
|
|
3996
3909
|
} catch (err) {
|
|
3997
3910
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4020,7 +3933,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4020
3933
|
a.showTags(null, (data, error) => {
|
|
4021
3934
|
try {
|
|
4022
3935
|
const displayE = 'body is required';
|
|
4023
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3936
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showTagsWithSid', displayE);
|
|
4024
3937
|
done();
|
|
4025
3938
|
} catch (err) {
|
|
4026
3939
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4049,7 +3962,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4049
3962
|
a.addDnsDomain(null, (data, error) => {
|
|
4050
3963
|
try {
|
|
4051
3964
|
const displayE = 'body is required';
|
|
4052
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3965
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addDnsDomainWithSid', displayE);
|
|
4053
3966
|
done();
|
|
4054
3967
|
} catch (err) {
|
|
4055
3968
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4078,7 +3991,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4078
3991
|
a.showDnsDomain(null, (data, error) => {
|
|
4079
3992
|
try {
|
|
4080
3993
|
const displayE = 'body is required';
|
|
4081
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
3994
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showDnsDomainWithSid', displayE);
|
|
4082
3995
|
done();
|
|
4083
3996
|
} catch (err) {
|
|
4084
3997
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4107,7 +4020,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4107
4020
|
a.setDnsDomain(null, (data, error) => {
|
|
4108
4021
|
try {
|
|
4109
4022
|
const displayE = 'body is required';
|
|
4110
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4023
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setDnsDomainWithSid', displayE);
|
|
4111
4024
|
done();
|
|
4112
4025
|
} catch (err) {
|
|
4113
4026
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4136,7 +4049,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4136
4049
|
a.deleteDnsDomain(null, (data, error) => {
|
|
4137
4050
|
try {
|
|
4138
4051
|
const displayE = 'body is required';
|
|
4139
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4052
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteDnsDomainWithSid', displayE);
|
|
4140
4053
|
done();
|
|
4141
4054
|
} catch (err) {
|
|
4142
4055
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4165,7 +4078,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4165
4078
|
a.showDnsDomains(null, (data, error) => {
|
|
4166
4079
|
try {
|
|
4167
4080
|
const displayE = 'body is required';
|
|
4168
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4081
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showDnsDomainsWithSid', displayE);
|
|
4169
4082
|
done();
|
|
4170
4083
|
} catch (err) {
|
|
4171
4084
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4194,7 +4107,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4194
4107
|
a.addOpsecApplication(null, (data, error) => {
|
|
4195
4108
|
try {
|
|
4196
4109
|
const displayE = 'body is required';
|
|
4197
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4110
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addOpsecApplicationWithSid', displayE);
|
|
4198
4111
|
done();
|
|
4199
4112
|
} catch (err) {
|
|
4200
4113
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4223,7 +4136,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4223
4136
|
a.showOpsecApplication(null, (data, error) => {
|
|
4224
4137
|
try {
|
|
4225
4138
|
const displayE = 'body is required';
|
|
4226
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4139
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showOpsecApplicationWithSid', displayE);
|
|
4227
4140
|
done();
|
|
4228
4141
|
} catch (err) {
|
|
4229
4142
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4252,7 +4165,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4252
4165
|
a.setOpsecApplication(null, (data, error) => {
|
|
4253
4166
|
try {
|
|
4254
4167
|
const displayE = 'body is required';
|
|
4255
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4168
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setOpsecApplicationWithSid', displayE);
|
|
4256
4169
|
done();
|
|
4257
4170
|
} catch (err) {
|
|
4258
4171
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4281,7 +4194,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4281
4194
|
a.deleteOpsecApplication(null, (data, error) => {
|
|
4282
4195
|
try {
|
|
4283
4196
|
const displayE = 'body is required';
|
|
4284
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4197
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteOpsecApplicationWithSid', displayE);
|
|
4285
4198
|
done();
|
|
4286
4199
|
} catch (err) {
|
|
4287
4200
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4310,7 +4223,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4310
4223
|
a.showOpsecApplications(null, (data, error) => {
|
|
4311
4224
|
try {
|
|
4312
4225
|
const displayE = 'body is required';
|
|
4313
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4226
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showOpsecApplicationsWithSid', displayE);
|
|
4314
4227
|
done();
|
|
4315
4228
|
} catch (err) {
|
|
4316
4229
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4339,7 +4252,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4339
4252
|
a.showDataCenterContent(null, (data, error) => {
|
|
4340
4253
|
try {
|
|
4341
4254
|
const displayE = 'body is required';
|
|
4342
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4255
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showDataCenterContentWithSid', displayE);
|
|
4343
4256
|
done();
|
|
4344
4257
|
} catch (err) {
|
|
4345
4258
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4368,7 +4281,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4368
4281
|
a.showDataCenter(null, (data, error) => {
|
|
4369
4282
|
try {
|
|
4370
4283
|
const displayE = 'body is required';
|
|
4371
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4284
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showDataCenterWithSid', displayE);
|
|
4372
4285
|
done();
|
|
4373
4286
|
} catch (err) {
|
|
4374
4287
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4397,7 +4310,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4397
4310
|
a.showDataCenters(null, (data, error) => {
|
|
4398
4311
|
try {
|
|
4399
4312
|
const displayE = 'body is required';
|
|
4400
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4313
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showDataCentersWithSid', displayE);
|
|
4401
4314
|
done();
|
|
4402
4315
|
} catch (err) {
|
|
4403
4316
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4426,7 +4339,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4426
4339
|
a.addDataCenterObjectWithGroup(null, (data, error) => {
|
|
4427
4340
|
try {
|
|
4428
4341
|
const displayE = 'body is required';
|
|
4429
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4342
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addDataCenterObjectWithGroupWithSid', displayE);
|
|
4430
4343
|
done();
|
|
4431
4344
|
} catch (err) {
|
|
4432
4345
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4455,7 +4368,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4455
4368
|
a.showDataCenterObject(null, (data, error) => {
|
|
4456
4369
|
try {
|
|
4457
4370
|
const displayE = 'body is required';
|
|
4458
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4371
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showDataCenterObjectWithSid', displayE);
|
|
4459
4372
|
done();
|
|
4460
4373
|
} catch (err) {
|
|
4461
4374
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4484,7 +4397,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4484
4397
|
a.deleteDataCenterObject(null, (data, error) => {
|
|
4485
4398
|
try {
|
|
4486
4399
|
const displayE = 'body is required';
|
|
4487
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4400
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteDataCenterObjectWithSid', displayE);
|
|
4488
4401
|
done();
|
|
4489
4402
|
} catch (err) {
|
|
4490
4403
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4513,7 +4426,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4513
4426
|
a.showDataCenterObjects(null, (data, error) => {
|
|
4514
4427
|
try {
|
|
4515
4428
|
const displayE = 'body is required';
|
|
4516
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4429
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showDataCenterObjectsWithSid', displayE);
|
|
4517
4430
|
done();
|
|
4518
4431
|
} catch (err) {
|
|
4519
4432
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4542,7 +4455,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4542
4455
|
a.showUpdatableObjectsRepositoryContent(null, (data, error) => {
|
|
4543
4456
|
try {
|
|
4544
4457
|
const displayE = 'body is required';
|
|
4545
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4458
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showUpdatableObjectsRepositoryContentWithSid', displayE);
|
|
4546
4459
|
done();
|
|
4547
4460
|
} catch (err) {
|
|
4548
4461
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4571,7 +4484,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4571
4484
|
a.updateUpdatableObjectsRepositoryContent(null, (data, error) => {
|
|
4572
4485
|
try {
|
|
4573
4486
|
const displayE = 'body is required';
|
|
4574
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4487
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-updateUpdatableObjectsRepositoryContentWithSid', displayE);
|
|
4575
4488
|
done();
|
|
4576
4489
|
} catch (err) {
|
|
4577
4490
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4600,7 +4513,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4600
4513
|
a.addUpdatableObject(null, (data, error) => {
|
|
4601
4514
|
try {
|
|
4602
4515
|
const displayE = 'body is required';
|
|
4603
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4516
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addUpdatableObjectWithSid', displayE);
|
|
4604
4517
|
done();
|
|
4605
4518
|
} catch (err) {
|
|
4606
4519
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4629,7 +4542,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4629
4542
|
a.showUpdatableObject(null, (data, error) => {
|
|
4630
4543
|
try {
|
|
4631
4544
|
const displayE = 'body is required';
|
|
4632
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4545
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showUpdatableObjectWithSid', displayE);
|
|
4633
4546
|
done();
|
|
4634
4547
|
} catch (err) {
|
|
4635
4548
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4658,7 +4571,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4658
4571
|
a.deleteUpdatableObject(null, (data, error) => {
|
|
4659
4572
|
try {
|
|
4660
4573
|
const displayE = 'body is required';
|
|
4661
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4574
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteUpdatableObjectWithSid', displayE);
|
|
4662
4575
|
done();
|
|
4663
4576
|
} catch (err) {
|
|
4664
4577
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4687,7 +4600,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4687
4600
|
a.showUpdatableObjects(null, (data, error) => {
|
|
4688
4601
|
try {
|
|
4689
4602
|
const displayE = 'body is required';
|
|
4690
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4603
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showUpdatableObjectsWithSid', displayE);
|
|
4691
4604
|
done();
|
|
4692
4605
|
} catch (err) {
|
|
4693
4606
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4716,7 +4629,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4716
4629
|
a.addServiceTcp(null, (data, error) => {
|
|
4717
4630
|
try {
|
|
4718
4631
|
const displayE = 'body is required';
|
|
4719
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4632
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addServiceTcpWithSid', displayE);
|
|
4720
4633
|
done();
|
|
4721
4634
|
} catch (err) {
|
|
4722
4635
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4745,7 +4658,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4745
4658
|
a.showServiceTcp(null, (data, error) => {
|
|
4746
4659
|
try {
|
|
4747
4660
|
const displayE = 'body is required';
|
|
4748
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4661
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServiceTcpWithSid', displayE);
|
|
4749
4662
|
done();
|
|
4750
4663
|
} catch (err) {
|
|
4751
4664
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4774,7 +4687,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4774
4687
|
a.setServiceTcp(null, (data, error) => {
|
|
4775
4688
|
try {
|
|
4776
4689
|
const displayE = 'body is required';
|
|
4777
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4690
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setServiceTcpWithSid', displayE);
|
|
4778
4691
|
done();
|
|
4779
4692
|
} catch (err) {
|
|
4780
4693
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4803,7 +4716,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4803
4716
|
a.deleteServiceTcp(null, (data, error) => {
|
|
4804
4717
|
try {
|
|
4805
4718
|
const displayE = 'body is required';
|
|
4806
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4719
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteServiceTcpWithSid', displayE);
|
|
4807
4720
|
done();
|
|
4808
4721
|
} catch (err) {
|
|
4809
4722
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4832,7 +4745,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4832
4745
|
a.showServicesTcp(null, (data, error) => {
|
|
4833
4746
|
try {
|
|
4834
4747
|
const displayE = 'body is required';
|
|
4835
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4748
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServicesTcpWithSid', displayE);
|
|
4836
4749
|
done();
|
|
4837
4750
|
} catch (err) {
|
|
4838
4751
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4861,7 +4774,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4861
4774
|
a.addServiceUdp(null, (data, error) => {
|
|
4862
4775
|
try {
|
|
4863
4776
|
const displayE = 'body is required';
|
|
4864
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4777
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addServiceUdpWithSid', displayE);
|
|
4865
4778
|
done();
|
|
4866
4779
|
} catch (err) {
|
|
4867
4780
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4890,7 +4803,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4890
4803
|
a.showServiceUdp(null, (data, error) => {
|
|
4891
4804
|
try {
|
|
4892
4805
|
const displayE = 'body is required';
|
|
4893
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4806
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServiceUdpWithSid', displayE);
|
|
4894
4807
|
done();
|
|
4895
4808
|
} catch (err) {
|
|
4896
4809
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4919,7 +4832,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4919
4832
|
a.setServiceUdp(null, (data, error) => {
|
|
4920
4833
|
try {
|
|
4921
4834
|
const displayE = 'body is required';
|
|
4922
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4835
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setServiceUdpWithSid', displayE);
|
|
4923
4836
|
done();
|
|
4924
4837
|
} catch (err) {
|
|
4925
4838
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4948,7 +4861,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4948
4861
|
a.deleteServiceUdp(null, (data, error) => {
|
|
4949
4862
|
try {
|
|
4950
4863
|
const displayE = 'body is required';
|
|
4951
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4864
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteServiceUdpWithSid', displayE);
|
|
4952
4865
|
done();
|
|
4953
4866
|
} catch (err) {
|
|
4954
4867
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4977,7 +4890,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
4977
4890
|
a.showServicesUdp(null, (data, error) => {
|
|
4978
4891
|
try {
|
|
4979
4892
|
const displayE = 'body is required';
|
|
4980
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4893
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServicesUdpWithSid', displayE);
|
|
4981
4894
|
done();
|
|
4982
4895
|
} catch (err) {
|
|
4983
4896
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5006,7 +4919,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5006
4919
|
a.addServiceIcmp(null, (data, error) => {
|
|
5007
4920
|
try {
|
|
5008
4921
|
const displayE = 'body is required';
|
|
5009
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4922
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addServiceIcmpWithSid', displayE);
|
|
5010
4923
|
done();
|
|
5011
4924
|
} catch (err) {
|
|
5012
4925
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5035,7 +4948,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5035
4948
|
a.showServiceIcmp(null, (data, error) => {
|
|
5036
4949
|
try {
|
|
5037
4950
|
const displayE = 'body is required';
|
|
5038
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4951
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServiceIcmpWithSid', displayE);
|
|
5039
4952
|
done();
|
|
5040
4953
|
} catch (err) {
|
|
5041
4954
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5064,7 +4977,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5064
4977
|
a.setServiceIcmp(null, (data, error) => {
|
|
5065
4978
|
try {
|
|
5066
4979
|
const displayE = 'body is required';
|
|
5067
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
4980
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setServiceIcmpWithSid', displayE);
|
|
5068
4981
|
done();
|
|
5069
4982
|
} catch (err) {
|
|
5070
4983
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5093,7 +5006,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5093
5006
|
a.deleteServiceIcmp(null, (data, error) => {
|
|
5094
5007
|
try {
|
|
5095
5008
|
const displayE = 'body is required';
|
|
5096
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5009
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteServiceIcmpWithSid', displayE);
|
|
5097
5010
|
done();
|
|
5098
5011
|
} catch (err) {
|
|
5099
5012
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5122,7 +5035,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5122
5035
|
a.showServicesIcmp(null, (data, error) => {
|
|
5123
5036
|
try {
|
|
5124
5037
|
const displayE = 'body is required';
|
|
5125
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5038
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServicesIcmpWithSid', displayE);
|
|
5126
5039
|
done();
|
|
5127
5040
|
} catch (err) {
|
|
5128
5041
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5151,7 +5064,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5151
5064
|
a.addServiceIcmp6(null, (data, error) => {
|
|
5152
5065
|
try {
|
|
5153
5066
|
const displayE = 'body is required';
|
|
5154
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5067
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addServiceIcmp6WithSid', displayE);
|
|
5155
5068
|
done();
|
|
5156
5069
|
} catch (err) {
|
|
5157
5070
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5180,7 +5093,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5180
5093
|
a.showServiceIcmp6(null, (data, error) => {
|
|
5181
5094
|
try {
|
|
5182
5095
|
const displayE = 'body is required';
|
|
5183
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5096
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServiceIcmp6WithSid', displayE);
|
|
5184
5097
|
done();
|
|
5185
5098
|
} catch (err) {
|
|
5186
5099
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5209,7 +5122,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5209
5122
|
a.setServiceIcmp6(null, (data, error) => {
|
|
5210
5123
|
try {
|
|
5211
5124
|
const displayE = 'body is required';
|
|
5212
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5125
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setServiceIcmp6WithSid', displayE);
|
|
5213
5126
|
done();
|
|
5214
5127
|
} catch (err) {
|
|
5215
5128
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5238,7 +5151,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5238
5151
|
a.deleteServiceIcmp6(null, (data, error) => {
|
|
5239
5152
|
try {
|
|
5240
5153
|
const displayE = 'body is required';
|
|
5241
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5154
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteServiceIcmp6WithSid', displayE);
|
|
5242
5155
|
done();
|
|
5243
5156
|
} catch (err) {
|
|
5244
5157
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5267,7 +5180,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5267
5180
|
a.showServicesIcmp6(null, (data, error) => {
|
|
5268
5181
|
try {
|
|
5269
5182
|
const displayE = 'body is required';
|
|
5270
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5183
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServicesIcmp6WithSid', displayE);
|
|
5271
5184
|
done();
|
|
5272
5185
|
} catch (err) {
|
|
5273
5186
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5296,7 +5209,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5296
5209
|
a.addServiceSctp(null, (data, error) => {
|
|
5297
5210
|
try {
|
|
5298
5211
|
const displayE = 'body is required';
|
|
5299
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5212
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addServiceSctpWithSid', displayE);
|
|
5300
5213
|
done();
|
|
5301
5214
|
} catch (err) {
|
|
5302
5215
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5325,7 +5238,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5325
5238
|
a.showServiceSctp(null, (data, error) => {
|
|
5326
5239
|
try {
|
|
5327
5240
|
const displayE = 'body is required';
|
|
5328
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5241
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServiceSctpWithSid', displayE);
|
|
5329
5242
|
done();
|
|
5330
5243
|
} catch (err) {
|
|
5331
5244
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5354,7 +5267,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5354
5267
|
a.setServiceSctp(null, (data, error) => {
|
|
5355
5268
|
try {
|
|
5356
5269
|
const displayE = 'body is required';
|
|
5357
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5270
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setServiceSctpWithSid', displayE);
|
|
5358
5271
|
done();
|
|
5359
5272
|
} catch (err) {
|
|
5360
5273
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5383,7 +5296,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5383
5296
|
a.deleteServiceSctp(null, (data, error) => {
|
|
5384
5297
|
try {
|
|
5385
5298
|
const displayE = 'body is required';
|
|
5386
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5299
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteServiceSctpWithSid', displayE);
|
|
5387
5300
|
done();
|
|
5388
5301
|
} catch (err) {
|
|
5389
5302
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5412,7 +5325,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5412
5325
|
a.showServicesSctp(null, (data, error) => {
|
|
5413
5326
|
try {
|
|
5414
5327
|
const displayE = 'body is required';
|
|
5415
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5328
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServicesSctpWithSid', displayE);
|
|
5416
5329
|
done();
|
|
5417
5330
|
} catch (err) {
|
|
5418
5331
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5441,7 +5354,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5441
5354
|
a.addServiceOther(null, (data, error) => {
|
|
5442
5355
|
try {
|
|
5443
5356
|
const displayE = 'body is required';
|
|
5444
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5357
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addServiceOtherWithSid', displayE);
|
|
5445
5358
|
done();
|
|
5446
5359
|
} catch (err) {
|
|
5447
5360
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5470,7 +5383,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5470
5383
|
a.showServiceOther(null, (data, error) => {
|
|
5471
5384
|
try {
|
|
5472
5385
|
const displayE = 'body is required';
|
|
5473
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5386
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServiceOtherWithSid', displayE);
|
|
5474
5387
|
done();
|
|
5475
5388
|
} catch (err) {
|
|
5476
5389
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5499,7 +5412,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5499
5412
|
a.setServiceOther(null, (data, error) => {
|
|
5500
5413
|
try {
|
|
5501
5414
|
const displayE = 'body is required';
|
|
5502
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5415
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setServiceOtherWithSid', displayE);
|
|
5503
5416
|
done();
|
|
5504
5417
|
} catch (err) {
|
|
5505
5418
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5528,7 +5441,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5528
5441
|
a.deleteServiceOther(null, (data, error) => {
|
|
5529
5442
|
try {
|
|
5530
5443
|
const displayE = 'body is required';
|
|
5531
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5444
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteServiceOtherWithSid', displayE);
|
|
5532
5445
|
done();
|
|
5533
5446
|
} catch (err) {
|
|
5534
5447
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5557,7 +5470,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5557
5470
|
a.showServicesOther(null, (data, error) => {
|
|
5558
5471
|
try {
|
|
5559
5472
|
const displayE = 'body is required';
|
|
5560
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5473
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServicesOtherWithSid', displayE);
|
|
5561
5474
|
done();
|
|
5562
5475
|
} catch (err) {
|
|
5563
5476
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5586,7 +5499,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5586
5499
|
a.addServiceGroup(null, (data, error) => {
|
|
5587
5500
|
try {
|
|
5588
5501
|
const displayE = 'body is required';
|
|
5589
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5502
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addServiceGroupWithSid', displayE);
|
|
5590
5503
|
done();
|
|
5591
5504
|
} catch (err) {
|
|
5592
5505
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5615,7 +5528,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5615
5528
|
a.showServiceGroup(null, (data, error) => {
|
|
5616
5529
|
try {
|
|
5617
5530
|
const displayE = 'body is required';
|
|
5618
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5531
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServiceGroupWithSid', displayE);
|
|
5619
5532
|
done();
|
|
5620
5533
|
} catch (err) {
|
|
5621
5534
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5644,7 +5557,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5644
5557
|
a.setServiceGroup(null, (data, error) => {
|
|
5645
5558
|
try {
|
|
5646
5559
|
const displayE = 'body is required';
|
|
5647
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5560
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setServiceGroupWithSid', displayE);
|
|
5648
5561
|
done();
|
|
5649
5562
|
} catch (err) {
|
|
5650
5563
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5673,7 +5586,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5673
5586
|
a.deleteServiceGroup(null, (data, error) => {
|
|
5674
5587
|
try {
|
|
5675
5588
|
const displayE = 'body is required';
|
|
5676
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5589
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteServiceGroupWithSid', displayE);
|
|
5677
5590
|
done();
|
|
5678
5591
|
} catch (err) {
|
|
5679
5592
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5702,7 +5615,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5702
5615
|
a.showServiceGroups(null, (data, error) => {
|
|
5703
5616
|
try {
|
|
5704
5617
|
const displayE = 'body is required';
|
|
5705
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5618
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServiceGroupsWithSid', displayE);
|
|
5706
5619
|
done();
|
|
5707
5620
|
} catch (err) {
|
|
5708
5621
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5731,7 +5644,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5731
5644
|
a.addApplicationSite(null, (data, error) => {
|
|
5732
5645
|
try {
|
|
5733
5646
|
const displayE = 'body is required';
|
|
5734
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5647
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addApplicationSiteWithSid', displayE);
|
|
5735
5648
|
done();
|
|
5736
5649
|
} catch (err) {
|
|
5737
5650
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5760,7 +5673,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5760
5673
|
a.showApplicationSite(null, (data, error) => {
|
|
5761
5674
|
try {
|
|
5762
5675
|
const displayE = 'body is required';
|
|
5763
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5676
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showApplicationSiteWithSid', displayE);
|
|
5764
5677
|
done();
|
|
5765
5678
|
} catch (err) {
|
|
5766
5679
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5789,7 +5702,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5789
5702
|
a.setApplicationSite(null, (data, error) => {
|
|
5790
5703
|
try {
|
|
5791
5704
|
const displayE = 'body is required';
|
|
5792
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5705
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setApplicationSiteWithSid', displayE);
|
|
5793
5706
|
done();
|
|
5794
5707
|
} catch (err) {
|
|
5795
5708
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5818,7 +5731,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5818
5731
|
a.deleteApplicationSite(null, (data, error) => {
|
|
5819
5732
|
try {
|
|
5820
5733
|
const displayE = 'body is required';
|
|
5821
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5734
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteApplicationSiteWithSid', displayE);
|
|
5822
5735
|
done();
|
|
5823
5736
|
} catch (err) {
|
|
5824
5737
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5847,7 +5760,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5847
5760
|
a.showApplicationSites(null, (data, error) => {
|
|
5848
5761
|
try {
|
|
5849
5762
|
const displayE = 'body is required';
|
|
5850
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5763
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showApplicationSitesWithSid', displayE);
|
|
5851
5764
|
done();
|
|
5852
5765
|
} catch (err) {
|
|
5853
5766
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5876,7 +5789,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5876
5789
|
a.addApplicationSiteCategory(null, (data, error) => {
|
|
5877
5790
|
try {
|
|
5878
5791
|
const displayE = 'body is required';
|
|
5879
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5792
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addApplicationSiteCategoryWithSid', displayE);
|
|
5880
5793
|
done();
|
|
5881
5794
|
} catch (err) {
|
|
5882
5795
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5905,7 +5818,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5905
5818
|
a.showApplicationSiteCategory(null, (data, error) => {
|
|
5906
5819
|
try {
|
|
5907
5820
|
const displayE = 'body is required';
|
|
5908
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5821
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showApplicationSiteCategoryWithSid', displayE);
|
|
5909
5822
|
done();
|
|
5910
5823
|
} catch (err) {
|
|
5911
5824
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5934,7 +5847,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5934
5847
|
a.setApplicationSiteCategory(null, (data, error) => {
|
|
5935
5848
|
try {
|
|
5936
5849
|
const displayE = 'body is required';
|
|
5937
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5850
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setApplicationSiteCategoryWithSid', displayE);
|
|
5938
5851
|
done();
|
|
5939
5852
|
} catch (err) {
|
|
5940
5853
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5963,7 +5876,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5963
5876
|
a.deleteApplicationSiteCategory(null, (data, error) => {
|
|
5964
5877
|
try {
|
|
5965
5878
|
const displayE = 'body is required';
|
|
5966
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5879
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteApplicationSiteCategoryWithSid', displayE);
|
|
5967
5880
|
done();
|
|
5968
5881
|
} catch (err) {
|
|
5969
5882
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5992,7 +5905,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
5992
5905
|
a.showApplicationSiteCategories(null, (data, error) => {
|
|
5993
5906
|
try {
|
|
5994
5907
|
const displayE = 'body is required';
|
|
5995
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5908
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showApplicationSiteCategoriesWithSid', displayE);
|
|
5996
5909
|
done();
|
|
5997
5910
|
} catch (err) {
|
|
5998
5911
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6021,7 +5934,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6021
5934
|
a.addApplicationSiteGroup(null, (data, error) => {
|
|
6022
5935
|
try {
|
|
6023
5936
|
const displayE = 'body is required';
|
|
6024
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5937
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addApplicationSiteGroupWithSid', displayE);
|
|
6025
5938
|
done();
|
|
6026
5939
|
} catch (err) {
|
|
6027
5940
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6050,7 +5963,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6050
5963
|
a.showApplicationSiteGroup(null, (data, error) => {
|
|
6051
5964
|
try {
|
|
6052
5965
|
const displayE = 'body is required';
|
|
6053
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5966
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showApplicationSiteGroupWithSid', displayE);
|
|
6054
5967
|
done();
|
|
6055
5968
|
} catch (err) {
|
|
6056
5969
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6079,7 +5992,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6079
5992
|
a.setApplicationSiteGroup(null, (data, error) => {
|
|
6080
5993
|
try {
|
|
6081
5994
|
const displayE = 'body is required';
|
|
6082
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
5995
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setApplicationSiteGroupWithSid', displayE);
|
|
6083
5996
|
done();
|
|
6084
5997
|
} catch (err) {
|
|
6085
5998
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6108,7 +6021,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6108
6021
|
a.deleteApplicationSiteGroup(null, (data, error) => {
|
|
6109
6022
|
try {
|
|
6110
6023
|
const displayE = 'body is required';
|
|
6111
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6024
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteApplicationSiteGroupWithSid', displayE);
|
|
6112
6025
|
done();
|
|
6113
6026
|
} catch (err) {
|
|
6114
6027
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6137,7 +6050,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6137
6050
|
a.showApplicationSiteGroups(null, (data, error) => {
|
|
6138
6051
|
try {
|
|
6139
6052
|
const displayE = 'body is required';
|
|
6140
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6053
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showApplicationSiteGroupsWithSid', displayE);
|
|
6141
6054
|
done();
|
|
6142
6055
|
} catch (err) {
|
|
6143
6056
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6166,7 +6079,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6166
6079
|
a.addServiceDceRpc(null, (data, error) => {
|
|
6167
6080
|
try {
|
|
6168
6081
|
const displayE = 'body is required';
|
|
6169
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6082
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addServiceDceRpcWithSid', displayE);
|
|
6170
6083
|
done();
|
|
6171
6084
|
} catch (err) {
|
|
6172
6085
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6195,7 +6108,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6195
6108
|
a.showServiceDceRpc(null, (data, error) => {
|
|
6196
6109
|
try {
|
|
6197
6110
|
const displayE = 'body is required';
|
|
6198
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6111
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServiceDceRpcWithSid', displayE);
|
|
6199
6112
|
done();
|
|
6200
6113
|
} catch (err) {
|
|
6201
6114
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6224,7 +6137,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6224
6137
|
a.setServiceDceRpc(null, (data, error) => {
|
|
6225
6138
|
try {
|
|
6226
6139
|
const displayE = 'body is required';
|
|
6227
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6140
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setServiceDceRpcWithSid', displayE);
|
|
6228
6141
|
done();
|
|
6229
6142
|
} catch (err) {
|
|
6230
6143
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6253,7 +6166,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6253
6166
|
a.deleteServiceDceRpc(null, (data, error) => {
|
|
6254
6167
|
try {
|
|
6255
6168
|
const displayE = 'body is required';
|
|
6256
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6169
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteServiceDceRpcWithSid', displayE);
|
|
6257
6170
|
done();
|
|
6258
6171
|
} catch (err) {
|
|
6259
6172
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6282,7 +6195,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6282
6195
|
a.showServicesDceRpc(null, (data, error) => {
|
|
6283
6196
|
try {
|
|
6284
6197
|
const displayE = 'body is required';
|
|
6285
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6198
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServicesDceRpcWithSid', displayE);
|
|
6286
6199
|
done();
|
|
6287
6200
|
} catch (err) {
|
|
6288
6201
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6311,7 +6224,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6311
6224
|
a.addServiceRpc(null, (data, error) => {
|
|
6312
6225
|
try {
|
|
6313
6226
|
const displayE = 'body is required';
|
|
6314
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6227
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addServiceRpcWithSid', displayE);
|
|
6315
6228
|
done();
|
|
6316
6229
|
} catch (err) {
|
|
6317
6230
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6340,7 +6253,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6340
6253
|
a.showServiceRpc(null, (data, error) => {
|
|
6341
6254
|
try {
|
|
6342
6255
|
const displayE = 'body is required';
|
|
6343
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6256
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServiceRpcWithSid', displayE);
|
|
6344
6257
|
done();
|
|
6345
6258
|
} catch (err) {
|
|
6346
6259
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6369,7 +6282,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6369
6282
|
a.setServiceRpc(null, (data, error) => {
|
|
6370
6283
|
try {
|
|
6371
6284
|
const displayE = 'body is required';
|
|
6372
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6285
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setServiceRpcWithSid', displayE);
|
|
6373
6286
|
done();
|
|
6374
6287
|
} catch (err) {
|
|
6375
6288
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6398,7 +6311,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6398
6311
|
a.deleteServiceRpc(null, (data, error) => {
|
|
6399
6312
|
try {
|
|
6400
6313
|
const displayE = 'body is required';
|
|
6401
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6314
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteServiceRpcWithSid', displayE);
|
|
6402
6315
|
done();
|
|
6403
6316
|
} catch (err) {
|
|
6404
6317
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6427,7 +6340,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6427
6340
|
a.showServicesRpc(null, (data, error) => {
|
|
6428
6341
|
try {
|
|
6429
6342
|
const displayE = 'body is required';
|
|
6430
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6343
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showServicesRpcWithSid', displayE);
|
|
6431
6344
|
done();
|
|
6432
6345
|
} catch (err) {
|
|
6433
6346
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6456,7 +6369,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6456
6369
|
a.addAccessRule(null, (data, error) => {
|
|
6457
6370
|
try {
|
|
6458
6371
|
const displayE = 'body is required';
|
|
6459
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6372
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addAccessRuleWithSid', displayE);
|
|
6460
6373
|
done();
|
|
6461
6374
|
} catch (err) {
|
|
6462
6375
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6485,7 +6398,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6485
6398
|
a.showAccessRulebase(null, (data, error) => {
|
|
6486
6399
|
try {
|
|
6487
6400
|
const displayE = 'body is required';
|
|
6488
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6401
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showAccessRulebaseWithSid', displayE);
|
|
6489
6402
|
done();
|
|
6490
6403
|
} catch (err) {
|
|
6491
6404
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6514,7 +6427,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6514
6427
|
a.showAccessRule(null, (data, error) => {
|
|
6515
6428
|
try {
|
|
6516
6429
|
const displayE = 'body is required';
|
|
6517
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6430
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showAccessRuleWithSid', displayE);
|
|
6518
6431
|
done();
|
|
6519
6432
|
} catch (err) {
|
|
6520
6433
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6543,7 +6456,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6543
6456
|
a.setAccessRule(null, (data, error) => {
|
|
6544
6457
|
try {
|
|
6545
6458
|
const displayE = 'body is required';
|
|
6546
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6459
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setAccessRuleWithSid', displayE);
|
|
6547
6460
|
done();
|
|
6548
6461
|
} catch (err) {
|
|
6549
6462
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6572,7 +6485,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6572
6485
|
a.deleteAccessRule(null, (data, error) => {
|
|
6573
6486
|
try {
|
|
6574
6487
|
const displayE = 'body is required';
|
|
6575
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6488
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteAccessRuleWithSid', displayE);
|
|
6576
6489
|
done();
|
|
6577
6490
|
} catch (err) {
|
|
6578
6491
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6601,7 +6514,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6601
6514
|
a.addAccessSection(null, (data, error) => {
|
|
6602
6515
|
try {
|
|
6603
6516
|
const displayE = 'body is required';
|
|
6604
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6517
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addAccessSectionWithSid', displayE);
|
|
6605
6518
|
done();
|
|
6606
6519
|
} catch (err) {
|
|
6607
6520
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6630,7 +6543,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6630
6543
|
a.showAccessSection(null, (data, error) => {
|
|
6631
6544
|
try {
|
|
6632
6545
|
const displayE = 'body is required';
|
|
6633
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6546
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showAccessSectionWithSid', displayE);
|
|
6634
6547
|
done();
|
|
6635
6548
|
} catch (err) {
|
|
6636
6549
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6659,7 +6572,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6659
6572
|
a.setAccessSection(null, (data, error) => {
|
|
6660
6573
|
try {
|
|
6661
6574
|
const displayE = 'body is required';
|
|
6662
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6575
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setAccessSectionWithSid', displayE);
|
|
6663
6576
|
done();
|
|
6664
6577
|
} catch (err) {
|
|
6665
6578
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6688,7 +6601,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6688
6601
|
a.deleteAccessSection(null, (data, error) => {
|
|
6689
6602
|
try {
|
|
6690
6603
|
const displayE = 'body is required';
|
|
6691
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6604
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteAccessSectionWithSid', displayE);
|
|
6692
6605
|
done();
|
|
6693
6606
|
} catch (err) {
|
|
6694
6607
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6717,7 +6630,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6717
6630
|
a.addAccessLayer(null, (data, error) => {
|
|
6718
6631
|
try {
|
|
6719
6632
|
const displayE = 'body is required';
|
|
6720
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6633
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addAccessLayerWithSid', displayE);
|
|
6721
6634
|
done();
|
|
6722
6635
|
} catch (err) {
|
|
6723
6636
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6746,7 +6659,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6746
6659
|
a.showAccessLayer(null, (data, error) => {
|
|
6747
6660
|
try {
|
|
6748
6661
|
const displayE = 'body is required';
|
|
6749
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6662
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showAccessLayerWithSid', displayE);
|
|
6750
6663
|
done();
|
|
6751
6664
|
} catch (err) {
|
|
6752
6665
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6775,7 +6688,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6775
6688
|
a.setAccessLayer(null, (data, error) => {
|
|
6776
6689
|
try {
|
|
6777
6690
|
const displayE = 'body is required';
|
|
6778
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6691
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setAccessLayerWithSid', displayE);
|
|
6779
6692
|
done();
|
|
6780
6693
|
} catch (err) {
|
|
6781
6694
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6804,7 +6717,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6804
6717
|
a.deleteAccessLayer(null, (data, error) => {
|
|
6805
6718
|
try {
|
|
6806
6719
|
const displayE = 'body is required';
|
|
6807
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6720
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteAccessLayerWithSid', displayE);
|
|
6808
6721
|
done();
|
|
6809
6722
|
} catch (err) {
|
|
6810
6723
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6833,7 +6746,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6833
6746
|
a.showAccessLayers(null, (data, error) => {
|
|
6834
6747
|
try {
|
|
6835
6748
|
const displayE = 'body is required';
|
|
6836
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6749
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showAccessLayersWithSid', displayE);
|
|
6837
6750
|
done();
|
|
6838
6751
|
} catch (err) {
|
|
6839
6752
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6862,7 +6775,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6862
6775
|
a.addNatRule(null, (data, error) => {
|
|
6863
6776
|
try {
|
|
6864
6777
|
const displayE = 'body is required';
|
|
6865
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6778
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addNatRuleWithSid', displayE);
|
|
6866
6779
|
done();
|
|
6867
6780
|
} catch (err) {
|
|
6868
6781
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6891,7 +6804,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6891
6804
|
a.showNatRulebase(null, (data, error) => {
|
|
6892
6805
|
try {
|
|
6893
6806
|
const displayE = 'body is required';
|
|
6894
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6807
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showNatRulebaseWithSid', displayE);
|
|
6895
6808
|
done();
|
|
6896
6809
|
} catch (err) {
|
|
6897
6810
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6920,7 +6833,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6920
6833
|
a.showNatRule(null, (data, error) => {
|
|
6921
6834
|
try {
|
|
6922
6835
|
const displayE = 'body is required';
|
|
6923
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6836
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showNatRuleWithSid', displayE);
|
|
6924
6837
|
done();
|
|
6925
6838
|
} catch (err) {
|
|
6926
6839
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6949,7 +6862,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6949
6862
|
a.setNatRule(null, (data, error) => {
|
|
6950
6863
|
try {
|
|
6951
6864
|
const displayE = 'body is required';
|
|
6952
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6865
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setNatRuleWithSid', displayE);
|
|
6953
6866
|
done();
|
|
6954
6867
|
} catch (err) {
|
|
6955
6868
|
log.error(`Test Failure: ${err}`);
|
|
@@ -6978,7 +6891,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
6978
6891
|
a.deleteNatRule(null, (data, error) => {
|
|
6979
6892
|
try {
|
|
6980
6893
|
const displayE = 'body is required';
|
|
6981
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6894
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteNatRuleWithSid', displayE);
|
|
6982
6895
|
done();
|
|
6983
6896
|
} catch (err) {
|
|
6984
6897
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7007,7 +6920,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7007
6920
|
a.addNatSection(null, (data, error) => {
|
|
7008
6921
|
try {
|
|
7009
6922
|
const displayE = 'body is required';
|
|
7010
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6923
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addNatSectionWithSid', displayE);
|
|
7011
6924
|
done();
|
|
7012
6925
|
} catch (err) {
|
|
7013
6926
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7036,7 +6949,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7036
6949
|
a.showNatSection(null, (data, error) => {
|
|
7037
6950
|
try {
|
|
7038
6951
|
const displayE = 'body is required';
|
|
7039
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6952
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showNatSectionWithSid', displayE);
|
|
7040
6953
|
done();
|
|
7041
6954
|
} catch (err) {
|
|
7042
6955
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7065,7 +6978,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7065
6978
|
a.setNatSection(null, (data, error) => {
|
|
7066
6979
|
try {
|
|
7067
6980
|
const displayE = 'body is required';
|
|
7068
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
6981
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setNatSectionWithSid', displayE);
|
|
7069
6982
|
done();
|
|
7070
6983
|
} catch (err) {
|
|
7071
6984
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7094,7 +7007,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7094
7007
|
a.deleteNatSection(null, (data, error) => {
|
|
7095
7008
|
try {
|
|
7096
7009
|
const displayE = 'body is required';
|
|
7097
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7010
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteNatSectionWithSid', displayE);
|
|
7098
7011
|
done();
|
|
7099
7012
|
} catch (err) {
|
|
7100
7013
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7123,7 +7036,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7123
7036
|
a.addVpnCommunityMeshed(null, (data, error) => {
|
|
7124
7037
|
try {
|
|
7125
7038
|
const displayE = 'body is required';
|
|
7126
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7039
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addVpnCommunityMeshedWithSid', displayE);
|
|
7127
7040
|
done();
|
|
7128
7041
|
} catch (err) {
|
|
7129
7042
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7152,7 +7065,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7152
7065
|
a.showVpnCommunityMeshed(null, (data, error) => {
|
|
7153
7066
|
try {
|
|
7154
7067
|
const displayE = 'body is required';
|
|
7155
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7068
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showVpnCommunityMeshedWithSid', displayE);
|
|
7156
7069
|
done();
|
|
7157
7070
|
} catch (err) {
|
|
7158
7071
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7181,7 +7094,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7181
7094
|
a.setVpnCommunityMeshed(null, (data, error) => {
|
|
7182
7095
|
try {
|
|
7183
7096
|
const displayE = 'body is required';
|
|
7184
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7097
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setVpnCommunityMeshedWithSid', displayE);
|
|
7185
7098
|
done();
|
|
7186
7099
|
} catch (err) {
|
|
7187
7100
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7210,7 +7123,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7210
7123
|
a.deleteVpnCommunityMeshed(null, (data, error) => {
|
|
7211
7124
|
try {
|
|
7212
7125
|
const displayE = 'body is required';
|
|
7213
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7126
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteVpnCommunityMeshedWithSid', displayE);
|
|
7214
7127
|
done();
|
|
7215
7128
|
} catch (err) {
|
|
7216
7129
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7239,7 +7152,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7239
7152
|
a.showVpnCommunitiesMeshed(null, (data, error) => {
|
|
7240
7153
|
try {
|
|
7241
7154
|
const displayE = 'body is required';
|
|
7242
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7155
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showVpnCommunitiesMeshedWithSid', displayE);
|
|
7243
7156
|
done();
|
|
7244
7157
|
} catch (err) {
|
|
7245
7158
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7268,7 +7181,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7268
7181
|
a.addVpnCommunityStar(null, (data, error) => {
|
|
7269
7182
|
try {
|
|
7270
7183
|
const displayE = 'body is required';
|
|
7271
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7184
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addVpnCommunityStarWithSid', displayE);
|
|
7272
7185
|
done();
|
|
7273
7186
|
} catch (err) {
|
|
7274
7187
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7297,7 +7210,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7297
7210
|
a.showVpnCommunityStar(null, (data, error) => {
|
|
7298
7211
|
try {
|
|
7299
7212
|
const displayE = 'body is required';
|
|
7300
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7213
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showVpnCommunityStarWithSid', displayE);
|
|
7301
7214
|
done();
|
|
7302
7215
|
} catch (err) {
|
|
7303
7216
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7326,7 +7239,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7326
7239
|
a.setVpnCommunityStar(null, (data, error) => {
|
|
7327
7240
|
try {
|
|
7328
7241
|
const displayE = 'body is required';
|
|
7329
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7242
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setVpnCommunityStarWithSid', displayE);
|
|
7330
7243
|
done();
|
|
7331
7244
|
} catch (err) {
|
|
7332
7245
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7355,7 +7268,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7355
7268
|
a.deleteVpnCommunityStar(null, (data, error) => {
|
|
7356
7269
|
try {
|
|
7357
7270
|
const displayE = 'body is required';
|
|
7358
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7271
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteVpnCommunityStarWithSid', displayE);
|
|
7359
7272
|
done();
|
|
7360
7273
|
} catch (err) {
|
|
7361
7274
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7384,7 +7297,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7384
7297
|
a.showVpnCommunitiesStar(null, (data, error) => {
|
|
7385
7298
|
try {
|
|
7386
7299
|
const displayE = 'body is required';
|
|
7387
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7300
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showVpnCommunitiesStarWithSid', displayE);
|
|
7388
7301
|
done();
|
|
7389
7302
|
} catch (err) {
|
|
7390
7303
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7413,7 +7326,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7413
7326
|
a.addThreatRule(null, (data, error) => {
|
|
7414
7327
|
try {
|
|
7415
7328
|
const displayE = 'body is required';
|
|
7416
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7329
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addThreatRuleWithSid', displayE);
|
|
7417
7330
|
done();
|
|
7418
7331
|
} catch (err) {
|
|
7419
7332
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7442,7 +7355,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7442
7355
|
a.showThreatRulebase(null, (data, error) => {
|
|
7443
7356
|
try {
|
|
7444
7357
|
const displayE = 'body is required';
|
|
7445
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7358
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showThreatRulebaseWithSid', displayE);
|
|
7446
7359
|
done();
|
|
7447
7360
|
} catch (err) {
|
|
7448
7361
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7471,7 +7384,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7471
7384
|
a.showThreatRule(null, (data, error) => {
|
|
7472
7385
|
try {
|
|
7473
7386
|
const displayE = 'body is required';
|
|
7474
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7387
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showThreatRuleWithSid', displayE);
|
|
7475
7388
|
done();
|
|
7476
7389
|
} catch (err) {
|
|
7477
7390
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7500,7 +7413,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7500
7413
|
a.setThreatRule(null, (data, error) => {
|
|
7501
7414
|
try {
|
|
7502
7415
|
const displayE = 'body is required';
|
|
7503
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7416
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setThreatRuleWithSid', displayE);
|
|
7504
7417
|
done();
|
|
7505
7418
|
} catch (err) {
|
|
7506
7419
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7529,7 +7442,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7529
7442
|
a.deleteThreatRule(null, (data, error) => {
|
|
7530
7443
|
try {
|
|
7531
7444
|
const displayE = 'body is required';
|
|
7532
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7445
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteThreatRuleWithSid', displayE);
|
|
7533
7446
|
done();
|
|
7534
7447
|
} catch (err) {
|
|
7535
7448
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7558,7 +7471,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7558
7471
|
a.addThreatException(null, (data, error) => {
|
|
7559
7472
|
try {
|
|
7560
7473
|
const displayE = 'body is required';
|
|
7561
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7474
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addThreatExceptionWithSid', displayE);
|
|
7562
7475
|
done();
|
|
7563
7476
|
} catch (err) {
|
|
7564
7477
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7587,7 +7500,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7587
7500
|
a.showThreatRuleExceptionRulebase(null, (data, error) => {
|
|
7588
7501
|
try {
|
|
7589
7502
|
const displayE = 'body is required';
|
|
7590
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7503
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showThreatRuleExceptionRulebaseWithSid', displayE);
|
|
7591
7504
|
done();
|
|
7592
7505
|
} catch (err) {
|
|
7593
7506
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7616,7 +7529,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7616
7529
|
a.showThreatException(null, (data, error) => {
|
|
7617
7530
|
try {
|
|
7618
7531
|
const displayE = 'body is required';
|
|
7619
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7532
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showThreatExceptionWithSid', displayE);
|
|
7620
7533
|
done();
|
|
7621
7534
|
} catch (err) {
|
|
7622
7535
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7645,7 +7558,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7645
7558
|
a.setThreatException(null, (data, error) => {
|
|
7646
7559
|
try {
|
|
7647
7560
|
const displayE = 'body is required';
|
|
7648
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7561
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setThreatExceptionWithSid', displayE);
|
|
7649
7562
|
done();
|
|
7650
7563
|
} catch (err) {
|
|
7651
7564
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7674,7 +7587,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7674
7587
|
a.deleteThreatException(null, (data, error) => {
|
|
7675
7588
|
try {
|
|
7676
7589
|
const displayE = 'body is required';
|
|
7677
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7590
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteThreatExceptionWithSid', displayE);
|
|
7678
7591
|
done();
|
|
7679
7592
|
} catch (err) {
|
|
7680
7593
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7703,7 +7616,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7703
7616
|
a.addExceptionGroup(null, (data, error) => {
|
|
7704
7617
|
try {
|
|
7705
7618
|
const displayE = 'body is required';
|
|
7706
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7619
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addExceptionGroupWithSid', displayE);
|
|
7707
7620
|
done();
|
|
7708
7621
|
} catch (err) {
|
|
7709
7622
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7732,7 +7645,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7732
7645
|
a.showExceptionGroup(null, (data, error) => {
|
|
7733
7646
|
try {
|
|
7734
7647
|
const displayE = 'body is required';
|
|
7735
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7648
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showExceptionGroupWithSid', displayE);
|
|
7736
7649
|
done();
|
|
7737
7650
|
} catch (err) {
|
|
7738
7651
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7761,7 +7674,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7761
7674
|
a.setExceptionGroup(null, (data, error) => {
|
|
7762
7675
|
try {
|
|
7763
7676
|
const displayE = 'body is required';
|
|
7764
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7677
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setExceptionGroupWithSid', displayE);
|
|
7765
7678
|
done();
|
|
7766
7679
|
} catch (err) {
|
|
7767
7680
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7790,7 +7703,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7790
7703
|
a.deleteExceptionGroup(null, (data, error) => {
|
|
7791
7704
|
try {
|
|
7792
7705
|
const displayE = 'body is required';
|
|
7793
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7706
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteExceptionGroupWithSid', displayE);
|
|
7794
7707
|
done();
|
|
7795
7708
|
} catch (err) {
|
|
7796
7709
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7819,7 +7732,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7819
7732
|
a.showExceptionGroups(null, (data, error) => {
|
|
7820
7733
|
try {
|
|
7821
7734
|
const displayE = 'body is required';
|
|
7822
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7735
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showExceptionGroupsWithSid', displayE);
|
|
7823
7736
|
done();
|
|
7824
7737
|
} catch (err) {
|
|
7825
7738
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7848,7 +7761,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7848
7761
|
a.showThreatProtection(null, (data, error) => {
|
|
7849
7762
|
try {
|
|
7850
7763
|
const displayE = 'body is required';
|
|
7851
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7764
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showThreatProtectionWithSid', displayE);
|
|
7852
7765
|
done();
|
|
7853
7766
|
} catch (err) {
|
|
7854
7767
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7877,7 +7790,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7877
7790
|
a.setThreatProtection(null, (data, error) => {
|
|
7878
7791
|
try {
|
|
7879
7792
|
const displayE = 'body is required';
|
|
7880
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7793
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setThreatProtectionWithSid', displayE);
|
|
7881
7794
|
done();
|
|
7882
7795
|
} catch (err) {
|
|
7883
7796
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7906,7 +7819,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7906
7819
|
a.showThreatProtections(null, (data, error) => {
|
|
7907
7820
|
try {
|
|
7908
7821
|
const displayE = 'body is required';
|
|
7909
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7822
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showThreatProtectionsWithSid', displayE);
|
|
7910
7823
|
done();
|
|
7911
7824
|
} catch (err) {
|
|
7912
7825
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7935,7 +7848,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7935
7848
|
a.addThreatProtections(null, (data, error) => {
|
|
7936
7849
|
try {
|
|
7937
7850
|
const displayE = 'body is required';
|
|
7938
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7851
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addThreatProtectionsWithSid', displayE);
|
|
7939
7852
|
done();
|
|
7940
7853
|
} catch (err) {
|
|
7941
7854
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7964,7 +7877,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7964
7877
|
a.deleteThreatProtections(null, (data, error) => {
|
|
7965
7878
|
try {
|
|
7966
7879
|
const displayE = 'body is required';
|
|
7967
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7880
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteThreatProtectionsWithSid', displayE);
|
|
7968
7881
|
done();
|
|
7969
7882
|
} catch (err) {
|
|
7970
7883
|
log.error(`Test Failure: ${err}`);
|
|
@@ -7993,7 +7906,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
7993
7906
|
a.addThreatProfile(null, (data, error) => {
|
|
7994
7907
|
try {
|
|
7995
7908
|
const displayE = 'body is required';
|
|
7996
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7909
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addThreatProfileWithSid', displayE);
|
|
7997
7910
|
done();
|
|
7998
7911
|
} catch (err) {
|
|
7999
7912
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8022,7 +7935,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8022
7935
|
a.showThreatProfile(null, (data, error) => {
|
|
8023
7936
|
try {
|
|
8024
7937
|
const displayE = 'body is required';
|
|
8025
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7938
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showThreatProfileWithSid', displayE);
|
|
8026
7939
|
done();
|
|
8027
7940
|
} catch (err) {
|
|
8028
7941
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8051,7 +7964,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8051
7964
|
a.setThreatProfile(null, (data, error) => {
|
|
8052
7965
|
try {
|
|
8053
7966
|
const displayE = 'body is required';
|
|
8054
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7967
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setThreatProfileWithSid', displayE);
|
|
8055
7968
|
done();
|
|
8056
7969
|
} catch (err) {
|
|
8057
7970
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8080,7 +7993,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8080
7993
|
a.deleteThreatProfile(null, (data, error) => {
|
|
8081
7994
|
try {
|
|
8082
7995
|
const displayE = 'body is required';
|
|
8083
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
7996
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteThreatProfileWithSid', displayE);
|
|
8084
7997
|
done();
|
|
8085
7998
|
} catch (err) {
|
|
8086
7999
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8109,7 +8022,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8109
8022
|
a.showThreatProfiles(null, (data, error) => {
|
|
8110
8023
|
try {
|
|
8111
8024
|
const displayE = 'body is required';
|
|
8112
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8025
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showThreatProfilesWithSid', displayE);
|
|
8113
8026
|
done();
|
|
8114
8027
|
} catch (err) {
|
|
8115
8028
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8138,7 +8051,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8138
8051
|
a.addThreatIndicator(null, (data, error) => {
|
|
8139
8052
|
try {
|
|
8140
8053
|
const displayE = 'body is required';
|
|
8141
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8054
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addThreatIndicatorWithSid', displayE);
|
|
8142
8055
|
done();
|
|
8143
8056
|
} catch (err) {
|
|
8144
8057
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8167,7 +8080,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8167
8080
|
a.showThreatIndicator(null, (data, error) => {
|
|
8168
8081
|
try {
|
|
8169
8082
|
const displayE = 'body is required';
|
|
8170
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8083
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showThreatIndicatorWithSid', displayE);
|
|
8171
8084
|
done();
|
|
8172
8085
|
} catch (err) {
|
|
8173
8086
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8196,7 +8109,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8196
8109
|
a.setThreatIndicator(null, (data, error) => {
|
|
8197
8110
|
try {
|
|
8198
8111
|
const displayE = 'body is required';
|
|
8199
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8112
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setThreatIndicatorWithSid', displayE);
|
|
8200
8113
|
done();
|
|
8201
8114
|
} catch (err) {
|
|
8202
8115
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8225,7 +8138,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8225
8138
|
a.deleteThreatIndicator(null, (data, error) => {
|
|
8226
8139
|
try {
|
|
8227
8140
|
const displayE = 'body is required';
|
|
8228
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8141
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteThreatIndicatorWithSid', displayE);
|
|
8229
8142
|
done();
|
|
8230
8143
|
} catch (err) {
|
|
8231
8144
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8254,7 +8167,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8254
8167
|
a.showThreatIndicators(null, (data, error) => {
|
|
8255
8168
|
try {
|
|
8256
8169
|
const displayE = 'body is required';
|
|
8257
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8170
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showThreatIndicatorsWithSid', displayE);
|
|
8258
8171
|
done();
|
|
8259
8172
|
} catch (err) {
|
|
8260
8173
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8283,7 +8196,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8283
8196
|
a.addThreatLayer(null, (data, error) => {
|
|
8284
8197
|
try {
|
|
8285
8198
|
const displayE = 'body is required';
|
|
8286
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8199
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addThreatLayerWithSid', displayE);
|
|
8287
8200
|
done();
|
|
8288
8201
|
} catch (err) {
|
|
8289
8202
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8312,7 +8225,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8312
8225
|
a.showThreatLayer(null, (data, error) => {
|
|
8313
8226
|
try {
|
|
8314
8227
|
const displayE = 'body is required';
|
|
8315
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8228
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showThreatLayerWithSid', displayE);
|
|
8316
8229
|
done();
|
|
8317
8230
|
} catch (err) {
|
|
8318
8231
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8341,7 +8254,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8341
8254
|
a.setThreatLayer(null, (data, error) => {
|
|
8342
8255
|
try {
|
|
8343
8256
|
const displayE = 'body is required';
|
|
8344
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8257
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setThreatLayerWithSid', displayE);
|
|
8345
8258
|
done();
|
|
8346
8259
|
} catch (err) {
|
|
8347
8260
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8370,7 +8283,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8370
8283
|
a.deleteThreatLayer(null, (data, error) => {
|
|
8371
8284
|
try {
|
|
8372
8285
|
const displayE = 'body is required';
|
|
8373
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8286
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteThreatLayerWithSid', displayE);
|
|
8374
8287
|
done();
|
|
8375
8288
|
} catch (err) {
|
|
8376
8289
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8399,7 +8312,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8399
8312
|
a.showThreatLayers(null, (data, error) => {
|
|
8400
8313
|
try {
|
|
8401
8314
|
const displayE = 'body is required';
|
|
8402
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8315
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showThreatLayersWithSid', displayE);
|
|
8403
8316
|
done();
|
|
8404
8317
|
} catch (err) {
|
|
8405
8318
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8428,7 +8341,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8428
8341
|
a.showIpsUpdateSchedule(null, (data, error) => {
|
|
8429
8342
|
try {
|
|
8430
8343
|
const displayE = 'body is required';
|
|
8431
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8344
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showIpsUpdateScheduleWithSid', displayE);
|
|
8432
8345
|
done();
|
|
8433
8346
|
} catch (err) {
|
|
8434
8347
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8457,7 +8370,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8457
8370
|
a.setIpsUpdateScheduleInterval(null, (data, error) => {
|
|
8458
8371
|
try {
|
|
8459
8372
|
const displayE = 'body is required';
|
|
8460
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8373
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setIpsUpdateScheduleIntervalWithSid', displayE);
|
|
8461
8374
|
done();
|
|
8462
8375
|
} catch (err) {
|
|
8463
8376
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8486,7 +8399,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8486
8399
|
a.runIpsUpdate(null, (data, error) => {
|
|
8487
8400
|
try {
|
|
8488
8401
|
const displayE = 'body is required';
|
|
8489
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8402
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-runIpsUpdateWithSid', displayE);
|
|
8490
8403
|
done();
|
|
8491
8404
|
} catch (err) {
|
|
8492
8405
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8515,7 +8428,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8515
8428
|
a.showIpsStatus(null, (data, error) => {
|
|
8516
8429
|
try {
|
|
8517
8430
|
const displayE = 'body is required';
|
|
8518
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8431
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showIpsStatusWithSid', displayE);
|
|
8519
8432
|
done();
|
|
8520
8433
|
} catch (err) {
|
|
8521
8434
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8544,7 +8457,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8544
8457
|
a.showIpsProtectionExtendedAttribute(null, (data, error) => {
|
|
8545
8458
|
try {
|
|
8546
8459
|
const displayE = 'body is required';
|
|
8547
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8460
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showIpsProtectionExtendedAttributeWithSid', displayE);
|
|
8548
8461
|
done();
|
|
8549
8462
|
} catch (err) {
|
|
8550
8463
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8573,7 +8486,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8573
8486
|
a.showIpsProtectionExtendedAttributes(null, (data, error) => {
|
|
8574
8487
|
try {
|
|
8575
8488
|
const displayE = 'body is required';
|
|
8576
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8489
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showIpsProtectionExtendedAttributesWithSid', displayE);
|
|
8577
8490
|
done();
|
|
8578
8491
|
} catch (err) {
|
|
8579
8492
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8602,7 +8515,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8602
8515
|
a.runThreatEmulationFileTypesOfflineUpdate(null, (data, error) => {
|
|
8603
8516
|
try {
|
|
8604
8517
|
const displayE = 'body is required';
|
|
8605
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8518
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-runThreatEmulationFileTypesOfflineUpdateWithSid', displayE);
|
|
8606
8519
|
done();
|
|
8607
8520
|
} catch (err) {
|
|
8608
8521
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8631,7 +8544,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8631
8544
|
a.verifyPolicy(null, (data, error) => {
|
|
8632
8545
|
try {
|
|
8633
8546
|
const displayE = 'body is required';
|
|
8634
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8547
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-verifyPolicyWithSid', displayE);
|
|
8635
8548
|
done();
|
|
8636
8549
|
} catch (err) {
|
|
8637
8550
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8660,7 +8573,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8660
8573
|
a.installPolicy(null, (data, error) => {
|
|
8661
8574
|
try {
|
|
8662
8575
|
const displayE = 'body is required';
|
|
8663
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8576
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-installPolicyWithSid', displayE);
|
|
8664
8577
|
done();
|
|
8665
8578
|
} catch (err) {
|
|
8666
8579
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8689,7 +8602,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8689
8602
|
a.addPackage(null, (data, error) => {
|
|
8690
8603
|
try {
|
|
8691
8604
|
const displayE = 'body is required';
|
|
8692
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8605
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addPackageWithSid', displayE);
|
|
8693
8606
|
done();
|
|
8694
8607
|
} catch (err) {
|
|
8695
8608
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8718,7 +8631,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8718
8631
|
a.showPackage(null, (data, error) => {
|
|
8719
8632
|
try {
|
|
8720
8633
|
const displayE = 'body is required';
|
|
8721
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8634
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showPackageWithSid', displayE);
|
|
8722
8635
|
done();
|
|
8723
8636
|
} catch (err) {
|
|
8724
8637
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8747,7 +8660,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8747
8660
|
a.setPackage(null, (data, error) => {
|
|
8748
8661
|
try {
|
|
8749
8662
|
const displayE = 'body is required';
|
|
8750
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8663
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setPackageWithSid', displayE);
|
|
8751
8664
|
done();
|
|
8752
8665
|
} catch (err) {
|
|
8753
8666
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8776,7 +8689,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8776
8689
|
a.deletePackage(null, (data, error) => {
|
|
8777
8690
|
try {
|
|
8778
8691
|
const displayE = 'body is required';
|
|
8779
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8692
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deletePackageWithSid', displayE);
|
|
8780
8693
|
done();
|
|
8781
8694
|
} catch (err) {
|
|
8782
8695
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8805,7 +8718,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8805
8718
|
a.showPackages(null, (data, error) => {
|
|
8806
8719
|
try {
|
|
8807
8720
|
const displayE = 'body is required';
|
|
8808
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8721
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showPackagesWithSid', displayE);
|
|
8809
8722
|
done();
|
|
8810
8723
|
} catch (err) {
|
|
8811
8724
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8834,7 +8747,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8834
8747
|
a.addDomain(null, (data, error) => {
|
|
8835
8748
|
try {
|
|
8836
8749
|
const displayE = 'body is required';
|
|
8837
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8750
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addDomainWithSid', displayE);
|
|
8838
8751
|
done();
|
|
8839
8752
|
} catch (err) {
|
|
8840
8753
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8863,7 +8776,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8863
8776
|
a.showDomain(null, (data, error) => {
|
|
8864
8777
|
try {
|
|
8865
8778
|
const displayE = 'body is required';
|
|
8866
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8779
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showDomainWithSid', displayE);
|
|
8867
8780
|
done();
|
|
8868
8781
|
} catch (err) {
|
|
8869
8782
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8892,7 +8805,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8892
8805
|
a.setDomain(null, (data, error) => {
|
|
8893
8806
|
try {
|
|
8894
8807
|
const displayE = 'body is required';
|
|
8895
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8808
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setDomainWithSid', displayE);
|
|
8896
8809
|
done();
|
|
8897
8810
|
} catch (err) {
|
|
8898
8811
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8921,7 +8834,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8921
8834
|
a.deleteDomain(null, (data, error) => {
|
|
8922
8835
|
try {
|
|
8923
8836
|
const displayE = 'body is required';
|
|
8924
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8837
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteDomainWithSid', displayE);
|
|
8925
8838
|
done();
|
|
8926
8839
|
} catch (err) {
|
|
8927
8840
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8950,7 +8863,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8950
8863
|
a.showDomains(null, (data, error) => {
|
|
8951
8864
|
try {
|
|
8952
8865
|
const displayE = 'body is required';
|
|
8953
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8866
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showDomainsWithSid', displayE);
|
|
8954
8867
|
done();
|
|
8955
8868
|
} catch (err) {
|
|
8956
8869
|
log.error(`Test Failure: ${err}`);
|
|
@@ -8979,7 +8892,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
8979
8892
|
a.showGlobalDomain(null, (data, error) => {
|
|
8980
8893
|
try {
|
|
8981
8894
|
const displayE = 'body is required';
|
|
8982
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8895
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showGlobalDomainWithSid', displayE);
|
|
8983
8896
|
done();
|
|
8984
8897
|
} catch (err) {
|
|
8985
8898
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9008,7 +8921,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9008
8921
|
a.setGlobalDomain(null, (data, error) => {
|
|
9009
8922
|
try {
|
|
9010
8923
|
const displayE = 'body is required';
|
|
9011
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8924
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setGlobalDomainWithSid', displayE);
|
|
9012
8925
|
done();
|
|
9013
8926
|
} catch (err) {
|
|
9014
8927
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9037,7 +8950,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9037
8950
|
a.showMds(null, (data, error) => {
|
|
9038
8951
|
try {
|
|
9039
8952
|
const displayE = 'body is required';
|
|
9040
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8953
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showMdsWithSid', displayE);
|
|
9041
8954
|
done();
|
|
9042
8955
|
} catch (err) {
|
|
9043
8956
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9066,7 +8979,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9066
8979
|
a.showMdss(null, (data, error) => {
|
|
9067
8980
|
try {
|
|
9068
8981
|
const displayE = 'body is required';
|
|
9069
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
8982
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showMdssWithSid', displayE);
|
|
9070
8983
|
done();
|
|
9071
8984
|
} catch (err) {
|
|
9072
8985
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9095,7 +9008,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9095
9008
|
a.showPlaceHolder(null, (data, error) => {
|
|
9096
9009
|
try {
|
|
9097
9010
|
const displayE = 'body is required';
|
|
9098
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9011
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showPlaceHolderWithSid', displayE);
|
|
9099
9012
|
done();
|
|
9100
9013
|
} catch (err) {
|
|
9101
9014
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9124,7 +9037,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9124
9037
|
a.addGlobalAssignment(null, (data, error) => {
|
|
9125
9038
|
try {
|
|
9126
9039
|
const displayE = 'body is required';
|
|
9127
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9040
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addGlobalAssignmentWithSid', displayE);
|
|
9128
9041
|
done();
|
|
9129
9042
|
} catch (err) {
|
|
9130
9043
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9153,7 +9066,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9153
9066
|
a.showGlobalAssignment(null, (data, error) => {
|
|
9154
9067
|
try {
|
|
9155
9068
|
const displayE = 'body is required';
|
|
9156
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9069
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showGlobalAssignmentWithSid', displayE);
|
|
9157
9070
|
done();
|
|
9158
9071
|
} catch (err) {
|
|
9159
9072
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9182,7 +9095,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9182
9095
|
a.setGlobalAssignment(null, (data, error) => {
|
|
9183
9096
|
try {
|
|
9184
9097
|
const displayE = 'body is required';
|
|
9185
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9098
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setGlobalAssignmentWithSid', displayE);
|
|
9186
9099
|
done();
|
|
9187
9100
|
} catch (err) {
|
|
9188
9101
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9211,7 +9124,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9211
9124
|
a.deleteGlobalAssignment(null, (data, error) => {
|
|
9212
9125
|
try {
|
|
9213
9126
|
const displayE = 'body is required';
|
|
9214
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9127
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteGlobalAssignmentWithSid', displayE);
|
|
9215
9128
|
done();
|
|
9216
9129
|
} catch (err) {
|
|
9217
9130
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9240,7 +9153,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9240
9153
|
a.showGlobalAssignments(null, (data, error) => {
|
|
9241
9154
|
try {
|
|
9242
9155
|
const displayE = 'body is required';
|
|
9243
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9156
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showGlobalAssignmentsWithSid', displayE);
|
|
9244
9157
|
done();
|
|
9245
9158
|
} catch (err) {
|
|
9246
9159
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9269,7 +9182,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9269
9182
|
a.assignGlobalAssignment(null, (data, error) => {
|
|
9270
9183
|
try {
|
|
9271
9184
|
const displayE = 'body is required';
|
|
9272
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9185
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-assignGlobalAssignmentWithSid', displayE);
|
|
9273
9186
|
done();
|
|
9274
9187
|
} catch (err) {
|
|
9275
9188
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9298,7 +9211,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9298
9211
|
a.whereUsed(null, (data, error) => {
|
|
9299
9212
|
try {
|
|
9300
9213
|
const displayE = 'body is required';
|
|
9301
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9214
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-whereUsedWithSid', displayE);
|
|
9302
9215
|
done();
|
|
9303
9216
|
} catch (err) {
|
|
9304
9217
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9327,7 +9240,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9327
9240
|
a.showTask(null, (data, error) => {
|
|
9328
9241
|
try {
|
|
9329
9242
|
const displayE = 'body is required';
|
|
9330
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9243
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showTaskWithSid', displayE);
|
|
9331
9244
|
done();
|
|
9332
9245
|
} catch (err) {
|
|
9333
9246
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9356,7 +9269,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9356
9269
|
a.runScript(null, (data, error) => {
|
|
9357
9270
|
try {
|
|
9358
9271
|
const displayE = 'body is required';
|
|
9359
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9272
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-runScriptWithSid', displayE);
|
|
9360
9273
|
done();
|
|
9361
9274
|
} catch (err) {
|
|
9362
9275
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9385,7 +9298,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9385
9298
|
a.showUnusedObjects(null, (data, error) => {
|
|
9386
9299
|
try {
|
|
9387
9300
|
const displayE = 'body is required';
|
|
9388
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9301
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showUnusedObjectsWithSid', displayE);
|
|
9389
9302
|
done();
|
|
9390
9303
|
} catch (err) {
|
|
9391
9304
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9414,7 +9327,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9414
9327
|
a.export(null, (data, error) => {
|
|
9415
9328
|
try {
|
|
9416
9329
|
const displayE = 'body is required';
|
|
9417
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9330
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-exportWithSid', displayE);
|
|
9418
9331
|
done();
|
|
9419
9332
|
} catch (err) {
|
|
9420
9333
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9443,7 +9356,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9443
9356
|
a.showChangesBetweenTheDates(null, (data, error) => {
|
|
9444
9357
|
try {
|
|
9445
9358
|
const displayE = 'body is required';
|
|
9446
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9359
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showChangesBetweenTheDatesWithSid', displayE);
|
|
9447
9360
|
done();
|
|
9448
9361
|
} catch (err) {
|
|
9449
9362
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9472,7 +9385,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9472
9385
|
a.showGatewaysAndServers(null, (data, error) => {
|
|
9473
9386
|
try {
|
|
9474
9387
|
const displayE = 'body is required';
|
|
9475
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9388
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showGatewaysAndServersWithSid', displayE);
|
|
9476
9389
|
done();
|
|
9477
9390
|
} catch (err) {
|
|
9478
9391
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9501,7 +9414,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9501
9414
|
a.showObjectsOfTypeGroup(null, (data, error) => {
|
|
9502
9415
|
try {
|
|
9503
9416
|
const displayE = 'body is required';
|
|
9504
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9417
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showObjectsOfTypeGroupWithSid', displayE);
|
|
9505
9418
|
done();
|
|
9506
9419
|
} catch (err) {
|
|
9507
9420
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9530,7 +9443,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9530
9443
|
a.showValidations(null, (data, error) => {
|
|
9531
9444
|
try {
|
|
9532
9445
|
const displayE = 'body is required';
|
|
9533
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9446
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showValidationsWithSid', displayE);
|
|
9534
9447
|
done();
|
|
9535
9448
|
} catch (err) {
|
|
9536
9449
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9559,7 +9472,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9559
9472
|
a.showTasks(null, (data, error) => {
|
|
9560
9473
|
try {
|
|
9561
9474
|
const displayE = 'body is required';
|
|
9562
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9475
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showTasksWithSid', displayE);
|
|
9563
9476
|
done();
|
|
9564
9477
|
} catch (err) {
|
|
9565
9478
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9588,7 +9501,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9588
9501
|
a.showApiVersions(null, (data, error) => {
|
|
9589
9502
|
try {
|
|
9590
9503
|
const displayE = 'body is required';
|
|
9591
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9504
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showApiVersionsWithSid', displayE);
|
|
9592
9505
|
done();
|
|
9593
9506
|
} catch (err) {
|
|
9594
9507
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9617,7 +9530,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9617
9530
|
a.showObject(null, (data, error) => {
|
|
9618
9531
|
try {
|
|
9619
9532
|
const displayE = 'body is required';
|
|
9620
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9533
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showObjectWithSid', displayE);
|
|
9621
9534
|
done();
|
|
9622
9535
|
} catch (err) {
|
|
9623
9536
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9646,7 +9559,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9646
9559
|
a.showCommands(null, (data, error) => {
|
|
9647
9560
|
try {
|
|
9648
9561
|
const displayE = 'body is required';
|
|
9649
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9562
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showCommandsWithSid', displayE);
|
|
9650
9563
|
done();
|
|
9651
9564
|
} catch (err) {
|
|
9652
9565
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9675,7 +9588,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9675
9588
|
a.putFile(null, (data, error) => {
|
|
9676
9589
|
try {
|
|
9677
9590
|
const displayE = 'body is required';
|
|
9678
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9591
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-putFileWithSid', displayE);
|
|
9679
9592
|
done();
|
|
9680
9593
|
} catch (err) {
|
|
9681
9594
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9704,7 +9617,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9704
9617
|
a.addAdministrator(null, (data, error) => {
|
|
9705
9618
|
try {
|
|
9706
9619
|
const displayE = 'body is required';
|
|
9707
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9620
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-addAdministratorWithSid', displayE);
|
|
9708
9621
|
done();
|
|
9709
9622
|
} catch (err) {
|
|
9710
9623
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9733,7 +9646,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9733
9646
|
a.showAdministrator(null, (data, error) => {
|
|
9734
9647
|
try {
|
|
9735
9648
|
const displayE = 'body is required';
|
|
9736
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9649
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showAdministratorWithSid', displayE);
|
|
9737
9650
|
done();
|
|
9738
9651
|
} catch (err) {
|
|
9739
9652
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9762,7 +9675,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9762
9675
|
a.setAdministrator(null, (data, error) => {
|
|
9763
9676
|
try {
|
|
9764
9677
|
const displayE = 'body is required';
|
|
9765
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9678
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setAdministratorWithSid', displayE);
|
|
9766
9679
|
done();
|
|
9767
9680
|
} catch (err) {
|
|
9768
9681
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9791,7 +9704,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9791
9704
|
a.deleteAdministrator(null, (data, error) => {
|
|
9792
9705
|
try {
|
|
9793
9706
|
const displayE = 'body is required';
|
|
9794
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9707
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-deleteAdministratorWithSid', displayE);
|
|
9795
9708
|
done();
|
|
9796
9709
|
} catch (err) {
|
|
9797
9710
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9820,7 +9733,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9820
9733
|
a.showAdministrators(null, (data, error) => {
|
|
9821
9734
|
try {
|
|
9822
9735
|
const displayE = 'body is required';
|
|
9823
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9736
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showAdministratorsWithSid', displayE);
|
|
9824
9737
|
done();
|
|
9825
9738
|
} catch (err) {
|
|
9826
9739
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9849,7 +9762,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9849
9762
|
a.unlockAdministrator(null, (data, error) => {
|
|
9850
9763
|
try {
|
|
9851
9764
|
const displayE = 'body is required';
|
|
9852
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9765
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-unlockAdministratorWithSid', displayE);
|
|
9853
9766
|
done();
|
|
9854
9767
|
} catch (err) {
|
|
9855
9768
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9878,7 +9791,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9878
9791
|
a.showApiSettings(null, (data, error) => {
|
|
9879
9792
|
try {
|
|
9880
9793
|
const displayE = 'body is required';
|
|
9881
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9794
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-showApiSettingsWithSid', displayE);
|
|
9882
9795
|
done();
|
|
9883
9796
|
} catch (err) {
|
|
9884
9797
|
log.error(`Test Failure: ${err}`);
|
|
@@ -9907,7 +9820,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
9907
9820
|
a.setApiSettings(null, (data, error) => {
|
|
9908
9821
|
try {
|
|
9909
9822
|
const displayE = 'body is required';
|
|
9910
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-
|
|
9823
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-checkpoint_management-adapter-setApiSettingsWithSid', displayE);
|
|
9911
9824
|
done();
|
|
9912
9825
|
} catch (err) {
|
|
9913
9826
|
log.error(`Test Failure: ${err}`);
|