X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FSubStrings.robot;h=1fcdbee33efbfed151b1aa6172d6e72ac1f9a26d;hb=c88ead2b4a65ba004398ad07cfe033ae1e467b17;hp=9db03bce635e76a7666064910e8cd431ced0d85a;hpb=94651ca9711d8eb316721775561e815830bc6c7e;p=integration%2Ftest.git diff --git a/csit/libraries/SubStrings.robot b/csit/libraries/SubStrings.robot index 9db03bce63..1fcdbee33e 100644 --- a/csit/libraries/SubStrings.robot +++ b/csit/libraries/SubStrings.robot @@ -1,17 +1,18 @@ *** Settings *** -Documentation Utility keywords for verification of substring occurrence +Documentation Utility keywords for verification of substring occurrence + *** Keywords *** Should Contain All Sub Strings - [Arguments] ${attr} @{checked} [Documentation] Passes if ${attr} includes all substrings from @{checked}, fails otherwise + [Arguments] ${attr} @{checked} FOR ${item} IN @{checked} Should Contain ${attr} ${item} END Should Not Contain Any Sub Strings - [Arguments] ${attr} @{checked} [Documentation] Fails if ${attr} includes at least one substring from @{checked}, passes otherwise + [Arguments] ${attr} @{checked} FOR ${item} IN @{checked} Should Not Contain ${attr} ${item} END