X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=csit%2Flibraries%2FCompareStream.robot;h=ee04dae78273f99b182c8e39ab2a9acb4e6cd862;hb=94651ca9711d8eb316721775561e815830bc6c7e;hp=e52be2e5b2376bd8831f7bf3a4c97f2a662613ac;hpb=89b88a0a23561f0bda62338b394ec41655679b2d;p=integration%2Ftest.git diff --git a/csit/libraries/CompareStream.robot b/csit/libraries/CompareStream.robot index e52be2e5b2..ee04dae782 100644 --- a/csit/libraries/CompareStream.robot +++ b/csit/libraries/CompareStream.robot @@ -116,15 +116,16 @@ CompareStream__Convert_Input ... are not supported. ${args} BuiltIn.Create_List ${kwargs} BuiltIn.Create_Dictionary - : FOR ${arg} IN @{arguments} - \ ${arg} BuiltIn.Convert_To_String ${arg} - \ ${removed} String.Remove_String ${arg} \n ${Space} \t - \ ... \r - \ ${splitted} BuiltIn.Run_Keyword_If "${removed[0]}" == "<" BuiltIn.Create List ${arg} - \ ... ELSE String.Split_String ${arg} separator== max_split=1 - \ ${len} BuiltIn.Get_Length ${splitted} - \ Run Keyword If ${len}==1 Collections.Append_To_List ${args} @{splitted}[0] - \ ... ELSE Collections.Set_To_Dictionary ${kwargs} @{splitted} + FOR ${arg} IN @{arguments} + ${arg} BuiltIn.Convert_To_String ${arg} + ${removed} String.Remove_String ${arg} \n ${Space} \t + ... \r + ${splitted} BuiltIn.Run_Keyword_If "${removed[0]}" == "<" BuiltIn.Create List ${arg} + ... ELSE String.Split_String ${arg} separator== max_split=1 + ${len} BuiltIn.Get_Length ${splitted} + Run Keyword If ${len}==1 Collections.Append_To_List ${args} @{splitted}[0] + ... ELSE Collections.Set_To_Dictionary ${kwargs} @{splitted} + END BuiltIn.Return_From_Keyword ${args} ${kwargs} Run_Keyword_If_At_Least