brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 1 | package aos.common.testing; |
| 2 | |
Brian Silverman | 8a8ee68 | 2014-02-12 14:06:06 -0800 | [diff] [blame] | 3 | struct Structure { |
| 4 | bool struct_bool; |
| 5 | uint16_t struct_int; |
Brian Silverman | 1885bd0 | 2014-02-13 12:28:12 -0800 | [diff] [blame^] | 6 | float struct_float; |
Brian Silverman | 8a8ee68 | 2014-02-12 14:06:06 -0800 | [diff] [blame] | 7 | }; |
| 8 | |
| 9 | message MessageWithStructure { |
| 10 | bool other_member; |
| 11 | Structure struct1; |
| 12 | Structure struct2; |
| 13 | }; |
| 14 | |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 15 | message TestingMessage { |
| 16 | bool test_bool; |
| 17 | int32_t test_int; |
| 18 | }; |
| 19 | |
| 20 | message OtherTestingMessage { |
| 21 | bool test_bool; |
| 22 | int32_t test_int; |
| 23 | double test_double; |
| 24 | }; |
| 25 | |
| 26 | queue TestingMessage test_queue; |
| 27 | |
| 28 | queue_group TwoQueues { |
| 29 | queue TestingMessage first; |
| 30 | queue OtherTestingMessage second; |
| 31 | }; |
| 32 | |
| 33 | queue_group TwoQueues test_queuegroup; |