Sha256: 5328ebf399ac950cd3c670d60b76264000bbfbd44d27ca2dcf6b3877605ce90f

Contents?: true

Size: 946 Bytes

Versions: 3

Compression:

Stored size: 946 Bytes

Contents

@open_flow13
Feature: Pio::Meter
  Scenario: new(1)
    When I try to create an OpenFlow instruction with:
    """
    Pio::Meter.new(1)
    """
    Then it should finish successfully
    And the message have the following fields and values:
    | field              |      value |
    | class              | Pio::Meter |
    | instruction_type   |          6 |
    | instruction_length |          8 |
    | to_binary_s.length |          8 |
    | meter_id           |          1 |

  Scenario: read
    When I try to parse a file named "open_flow13/instruction_meter.raw" with "Pio::Meter" class
    Then it should finish successfully
    And the message have the following fields and values:
      | field              |      value |
      | class              | Pio::Meter |
      | instruction_type   |          6 |
      | instruction_length |          8 |
      | to_binary_s.length |          8 |
      | meter_id           |          1 |

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pio-0.24.2 features/open_flow13/meter.feature
pio-0.24.1 features/open_flow13/meter.feature
pio-0.24.0 features/open_flow13/meter.feature