Skip to content

Commit

Permalink
More cucumber tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
yasuhito committed Jan 9, 2015
1 parent 9ad8ff3 commit f4cd2ce
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions features/packet_out_read.feature
Expand Up @@ -3,3 +3,19 @@ Feature: Pio::PacketOut.read
Given a packet data file "packet_out.raw"
When I try to parse the file with "PacketOut" class
Then it should finish successfully
And the parsed data have the following field and value:
| field | value |
| class | Pio::PacketOut |
| ofp_version | 1 |
| message_type | 13 |
| message_length | 88 |
| transaction_id | 22 |
| xid | 22 |
| buffer_id | 4294967295 |
| in_port | 65535 |
| actions.length | 1 |
| actions.first.class | Pio::SendOutPort |
| actions.first.port_number | 2 |
| actions.first.max_len | 65535 |
| data.length | 64 |

0 comments on commit f4cd2ce

Please sign in to comment.