|
|
@ -20,7 +20,9 @@ class InputStringFormatValidatorSpec extends Specification {
|
|
|
|
where:
|
|
|
|
where:
|
|
|
|
command || expectedStatus
|
|
|
|
command || expectedStatus
|
|
|
|
"insert indicator(id='1', type='blood', values='Good samples.', timestamp='2023-10-17 14:30:00')" || true
|
|
|
|
"insert indicator(id='1', type='blood', values='Good samples.', timestamp='2023-10-17 14:30:00')" || true
|
|
|
|
|
|
|
|
" insert indicator(id='1', type='blood, blood', values='Good samples.', timestamp='2023-10-17 14:30:00') " || false
|
|
|
|
"insert indicator(id='1', type='blood, blood', values='Good samples.', timestamp='2023-10-17 14:30:00')" || true
|
|
|
|
"insert indicator(id='1', type='blood, blood', values='Good samples.', timestamp='2023-10-17 14:30:00')" || true
|
|
|
|
"readAll indicator()" || true
|
|
|
|
"readAll indicator()" || true
|
|
|
|
|
|
|
|
" readAll indicator() " || false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|