Lei YU | e57c38e | 2019-09-20 17:38:17 +0800 | [diff] [blame] | 1 | description: > |
Patrick Williams | 9f11c97 | 2022-03-14 14:39:30 -0500 | [diff] [blame] | 2 | A test interface |
Lei YU | e57c38e | 2019-09-20 17:38:17 +0800 | [diff] [blame] | 3 | properties: |
Patrick Williams | 9f11c97 | 2022-03-14 14:39:30 -0500 | [diff] [blame] | 4 | - name: SomeValue |
| 5 | type: int64 |
| 6 | - name: ReadonlyValue |
| 7 | type: int64 |
| 8 | flags: |
| 9 | - readonly |
| 10 | - emits_change |
| 11 | - name: ConstValue |
| 12 | type: int64 |
| 13 | flags: |
| 14 | - const |
| 15 | - name: Countable |
| 16 | type: size |
| 17 | - name: SignedCountable |
| 18 | type: ssize |
| 19 | - name: UnsignedInt32 |
| 20 | type: uint32 |
| 21 | - name: UnsignedInt64 |
| 22 | type: uint64 |
| 23 | - name: ObjectPath |
| 24 | type: object_path |
| 25 | - name: DoubleAsNAN |
| 26 | type: double |
| 27 | default: NaN |
| 28 | - name: DoubleAsInf |
| 29 | type: double |
| 30 | default: Infinity |
| 31 | - name: DoubleAsNegInf |
| 32 | type: double |
| 33 | default: -Infinity |
| 34 | - name: DoubleAsEpsilon |
| 35 | type: double |
| 36 | default: Epsilon |
Patrick Williams | ea56ec3 | 2021-07-14 07:41:47 -0500 | [diff] [blame] | 37 | |
Patrick Williams | 9f11c97 | 2022-03-14 14:39:30 -0500 | [diff] [blame] | 38 | - name: VariantOfEnums |
| 39 | type: variant[enum[self.EnumOne], string, enum[self.EnumTwo]] |
Patrick Williams | ea56ec3 | 2021-07-14 07:41:47 -0500 | [diff] [blame] | 40 | |
| 41 | enumerations: |
Patrick Williams | 9f11c97 | 2022-03-14 14:39:30 -0500 | [diff] [blame] | 42 | - name: EnumOne |
| 43 | values: |
| 44 | - name: OneA |
| 45 | - name: OneB |
| 46 | - name: EnumTwo |
| 47 | values: |
| 48 | - name: TwoA |
| 49 | - name: TwoB |