summaryrefslogtreecommitdiff
path: root/tests/ovsdb-column.at
blob: b8d0939916f90baf406aaa7454c39c09c561346f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
AT_BANNER([OVSDB -- columns])

OVSDB_CHECK_POSITIVE_CPY([ordinary column],
  [[parse-column mycol '{"type": "integer"}']],
  [[{"type":"integer"}]])

OVSDB_CHECK_POSITIVE_CPY([immutable column],
  [[parse-column mycol '{"type": "real", "mutable": false}']],
  [[{"mutable":false,"type":"real"}]])

OVSDB_CHECK_POSITIVE_CPY([ephemeral column],
  [[parse-column mycol '{"type": "uuid", "ephemeral": true}']],
  [[{"ephemeral":true,"type":"uuid"}]])