quality: Add test cases for openflow actions

This commit is contained in:
Eishun Kondoh 2019-04-23 12:27:32 +09:00
parent d2a6488f79
commit f948b0588d
2 changed files with 2 additions and 2 deletions

View file

@ -7,6 +7,7 @@ defmodule Openflow.Action.NxSetTunnel64 do
alias __MODULE__
alias Openflow.Action.Experimenter
@spec new(tunnel_id :: 0..0xFFFFFFFFFFFFFFFF) :: %NxSetTunnel64{tunnel_id: 0..0xFFFFFFFFFFFFFFFF}
def new(tunnel_id) do
%NxSetTunnel64{tunnel_id: tunnel_id}
end

View file

@ -12,7 +12,7 @@ defmodule Tres.Mixfile do
deps: deps(),
aliases: [test: "test --no-start", compile: ["escript.build"]],
docs: docs(),
# test_coverage: [tool: ExCoveralls],
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
@ -33,7 +33,6 @@ defmodule Tres.Mixfile do
{:ranch, "~> 1.7.1"},
{:eovsdb, github: "shun159/eovsdb", branch: "master"},
{:jsone, github: "sile/jsone", tag: "1.4.6", override: true},
{:epcap, github: "msantos/epcap", branch: "master", only: :test},
{:excoveralls, "~> 0.10", only: :test},
# Document
{:earmark, "~> 1.2.6", only: :dev, runtime: false},