Приложение В
(справочное)
ГОСТ Р ИСО 16100-4— 2010
Аттестационное испытание механизма обнаружения совпадений типа 1
Аттестационное испытание обнаружителя совпадений типа 1 проводят в соответствии с правилом, приве
денным в примечании.
П р и м е ч а н и е — Испытания абстрактных совокупностей тестовых данных должны соответствовать
следующему правилу:
if (condition is true)
perform action
если (условие является правильным)
выполните действие
В.1 Абстрактная совокупность тестовых данных
Абстрактные совокупности тестовых данных, соответствующих заявлениям реализации обнаружителя сов
падений типа 1для приема и запроса профилей, должны быть следующими:
// accept the required profile
if (! Index_1) n Validate whether the profile is in XML format
output message "Any Capability protiie should be in XML format’
if (!lndex_2)
output message "Both Required Capability Profile and MSU’s Capability Profile should be in conformance
with the Capability Profile."
I/ search for MSU profile according to Reference capability class ID and the Template ID
if (! Find the profile according to Reference capability class ID and the Template ID)
output message "Cannot find the msu profile to match"
if (! msu profile is accessible)
output message ‘the msu profile s not accessible"
Абстрактные совокупности тестовых данных, соответствующих заявлениям реализации обнаружителя сов
падений типа 1для проверки синтаксиса доклада о совладении, должны быть следующими:
И(! !ndex_3)
// validate rf the report has 4 items: the MSU protile ID; required profile ID; the matching level and the detail list
output message * The MatchingLevel and a detail list report should be in the result report."
else (
If (MatchingLevel — "Complete Match") && (DetaitUstReport does not include any mandatory match or
optional match)
output message "the matching level is invalid."
il (MatchingLevel =="AII Mandatory") && (DetailListReport does not include all mandatory match)
output message “the matching level is invalid."
27