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

refined macro for negative type tests

parent 0cdfe6b5
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -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 {