You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
validationError(retCode.errorCode.BOUNDARY_FEATURE_PER_MODEL,`${scope.substring(0,scope.length-1)}${item.name} has ${item.features.length} descriptors (feature). At most ${retCode.boundaryLimits.MAX_NUM_DESCRIPTORS_PER_MODEL} is allowed.`)
validationError(retCode.errorCode.BOUNDARY_FEATURE_PER_MODEL,`${scope.substring(0,scope.length-1)}${item.name} has ${item.features.filter(f=>f.modelName).length} model descriptors (feature). At most ${retCode.boundaryLimits.MAX_NUM_DESCRIPTORS_PER_MODEL} is allowed.`)
validationError(retCode.errorCode.BOUNDARY_FEATURE_PER_MODEL,`${scope.substring(0,scope.length-1)}${item.name} has ${item.features.filter(f=>f.featureName).length} phraselist descriptors (feature). At most ${retCode.boundaryLimits.MAX_NUM_DESCRIPTORS_PER_MODEL} is allowed.`)
assert(err.text.includes(`At most ${retCode.boundaryLimits.MAX_NUM_DESCRIPTORS_PER_MODEL} is allowed.`));
159
+
assert(err.text.includes(`has ${retCode.boundaryLimits.MAX_NUM_DESCRIPTORS_PER_MODEL+1} model descriptors (feature). At most ${retCode.boundaryLimits.MAX_NUM_DESCRIPTORS_PER_MODEL} is allowed.`));
160
160
done();
161
161
})
162
162
})
163
163
164
+
it(`At most ${retCode.boundaryLimits.MAX_NUM_DESCRIPTORS_PER_MODEL} phraselist descriptors per model`,function(done){
assert(err.text.includes(`has ${retCode.boundaryLimits.MAX_NUM_DESCRIPTORS_PER_MODEL+1} phraselist descriptors (feature). At most ${retCode.boundaryLimits.MAX_NUM_DESCRIPTORS_PER_MODEL} is allowed.`));
171
+
done();
172
+
})
173
+
})
174
+
175
+
it(`At most ${retCode.boundaryLimits.MAX_NUM_DESCRIPTORS_PER_MODEL} model descriptors and ${retCode.boundaryLimits.MAX_NUM_DESCRIPTORS_PER_MODEL} phraselist descriptors per model(total 20)`,function(done){
0 commit comments