0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Added must_not_update-test

This commit is contained in:
rbock 2014-08-18 19:17:59 +02:00
parent 13c1b5d8f3
commit f859f7fe4a

View File

@ -22,10 +22,10 @@ function(test_constraint name pattern)
add_dependencies(test_sqlpp_constraints test_${name})
endfunction(testconstraint)
endfunction(test_constraint)
test_constraint(no_conversion_operator_if_null_not_trivial "int i = row.alpha")
test_constraint(require_insert "required column is missing")
test_constraint(must_not_insert "one assignment is prohibited")
test_constraint(must_not_update "one assignment is prohibited")