Loading tools/TestMacroProcessor/macros/TC_Neg_type.ttcn_macro +3 −1 Original line number Original line Diff line number Diff line Loading @@ -8,7 +8,9 @@ } } testcase TC_${module}() runs on C system C { testcase TC_${module}() runs on C system C { // set a verdict before since valueof should throw error setverdict(fail, "Should not be able to create an invalid value of the given built-in XSD type", m_msg); setverdict(fail, "Should not be able to create an invalid value of the given built-in XSD type", m_msg); log(valueof(m_msg)); // if testcase is compiling, valueof is expected to throw an testcase error since the value is invalid } } control { control { Loading Loading
tools/TestMacroProcessor/macros/TC_Neg_type.ttcn_macro +3 −1 Original line number Original line Diff line number Diff line Loading @@ -8,7 +8,9 @@ } } testcase TC_${module}() runs on C system C { testcase TC_${module}() runs on C system C { // set a verdict before since valueof should throw error setverdict(fail, "Should not be able to create an invalid value of the given built-in XSD type", m_msg); setverdict(fail, "Should not be able to create an invalid value of the given built-in XSD type", m_msg); log(valueof(m_msg)); // if testcase is compiling, valueof is expected to throw an testcase error since the value is invalid } } control { control { Loading