Commit 37ba1bd3 authored by stancakapost's avatar stancakapost
Browse files

refined macro for negative type tests

parent 0cdfe6b5
Loading
Loading
Loading
Loading
+2 −0
Changes for tools/TestMacroProcessor/macros/TC_Neg_type.ttcn_macro: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -8,7 +8,9 @@
    }

    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);
        log(valueof(m_msg)); // if testcase is compiling, valueof is expected to throw an testcase error since the value is invalid
    }

    control {