Home | History | Annotate | Download | only in tests

Lines Matching defs:tri

32 #define TRI     G_MARKUP_COLLECT_TRISTATE
41 gboolean mb = 2, ob = 2, tri = 2;
45 TRI, "tri", &tri);
48 (mb == FALSE && ob == FALSE && tri != TRUE && tri != FALSE));
50 if (tri != FALSE && tri != TRUE)
51 tri = -1;
54 result, mb, ob, tri);
95 { "<bool mb='t' ob='f' tri='1'/>", "<bool(1) 1 0 1>" },
96 { "<bool mb='y' ob='n' tri='0'/>", "<bool(1) 1 0 0>" },
104 { "<bool mb='y' tri='y' tri='n'/>", "<bool(0) 0 0 -1>",
105 G_MARKUP_ERROR_INVALID_CONTENT, "'tri'" },