quality: Add test cases for barrier messages
This commit is contained in:
parent
211d703366
commit
578c0d1bdc
4 changed files with 99 additions and 18 deletions
|
|
@ -12,15 +12,9 @@ defmodule Openflow.Barrier.Reply do
|
|||
|
||||
def ofp_type, do: 21
|
||||
|
||||
def new do
|
||||
%Reply{}
|
||||
end
|
||||
def new(xid \\ 0), do: %Reply{xid: xid}
|
||||
|
||||
def read(_) do
|
||||
%Reply{}
|
||||
end
|
||||
def read(_), do: %Reply{}
|
||||
|
||||
def to_binary(%Reply{}) do
|
||||
<<>>
|
||||
end
|
||||
def to_binary(%Reply{}), do: <<>>
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue