From f948b0588dc74d76eb5d57446c6922e993953e35 Mon Sep 17 00:00:00 2001 From: Eishun Kondoh Date: Tue, 23 Apr 2019 12:27:32 +0900 Subject: [PATCH] quality: Add test cases for openflow actions --- lib/openflow/actions/nx_set_tunnel64.ex | 1 + mix.exs | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/openflow/actions/nx_set_tunnel64.ex b/lib/openflow/actions/nx_set_tunnel64.ex index 1bec4bd..2ed89fb 100644 --- a/lib/openflow/actions/nx_set_tunnel64.ex +++ b/lib/openflow/actions/nx_set_tunnel64.ex @@ -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 diff --git a/mix.exs b/mix.exs index 22a9bff..19ea0f6 100644 --- a/mix.exs +++ b/mix.exs @@ -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},