Skip to content
Snippets Groups Projects
Commit 0bf7fd49 authored by balaskoa's avatar balaskoa
Browse files

New testcase for indexing universal charstring and passing it to function as arg


Signed-off-by: default avatarbalaskoa <Jeno.Balasko@ericsson.com>
Change-Id: I174e4be3e13b6d1f7c6461059024dd3ad9431532
parent b8015e62
No related branches found
No related tags found
No related merge requests found
......@@ -410,6 +410,16 @@ testcase tc_indexing_HT70680() runs on empty
}
function f_ucs(in universal charstring ucs) return universal charstring {
return ucs;
}
testcase tc_ucs() runs on empty {
var universal charstring vl_ucs1 := char(0,0,0,1) & char(0,0,0,20), vl_ucs2
vl_ucs2 := f_ucs(vl_ucs1[1]);
if( vl_ucs2 == char(0,0,0,20)) {setverdict(pass)} else { setverdict(fail)}
}
control {
execute(tc_charstring_content());
execute(tc_cpp_test());
......@@ -417,10 +427,11 @@ control {
execute(tc_unichar_utf8_const());//fail
execute(tc_unichar_utf8_var());
execute(tc_unichar_utf8_var_hungarian_text());
//execute(tc_unichar_utf8_mp1());
//execute(tc_unichar_utf8_mp2());
execute(tc_unichar_utf8_mp1());
execute(tc_unichar_utf8_mp2());
execute(tc_unichar_utf8_template());
execute(tc_indexing_HT70680());
execute(tc_ucs());
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment