chunks: print summary by default
Introduce -q/--quiet option to suppress all output.
Change-Id: Ib529849cb1ca8975d11ce6689e2d88708291d1c4
Refs: #4421
diff --git a/tests/chunks/pipeline-interests-aimd.t.cpp b/tests/chunks/pipeline-interests-aimd.t.cpp
index d235bb1..98ba9ea 100644
--- a/tests/chunks/pipeline-interests-aimd.t.cpp
+++ b/tests/chunks/pipeline-interests-aimd.t.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2016-2017, Regents of the University of California,
+ * Copyright (c) 2016-2018, Regents of the University of California,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University.
*
@@ -36,12 +36,11 @@
using namespace ndn::tests;
-class PipelineInterestAimdFixture : public ndn::chunks::tests::PipelineInterestsFixture
+class PipelineInterestAimdFixture : public chunks::tests::PipelineInterestsFixture
{
public:
PipelineInterestAimdFixture()
- : PipelineInterestsFixture()
- , opt(makePipelineOptions())
+ : opt(makePipelineOptions())
, rttEstimator(makeRttEstimatorOptions())
{
createPipeline();
@@ -56,10 +55,12 @@
}
private:
- static PipelineInterestsAimdOptions
+ static PipelineInterestsAimd::Options
makePipelineOptions()
{
- PipelineInterestsAimdOptions pipelineOptions;
+ PipelineInterestsAimd::Options pipelineOptions;
+ pipelineOptions.isQuiet = true;
+ pipelineOptions.isVerbose = false;
pipelineOptions.disableCwa = false;
pipelineOptions.ignoreCongMarks = false;
pipelineOptions.resetCwndToInit = false;
@@ -83,7 +84,7 @@
}
protected:
- PipelineInterestsAimdOptions opt;
+ PipelineInterestsAimd::Options opt;
RttEstimator rttEstimator;
PipelineInterestsAimd* aimdPipeline;
static constexpr double MARGIN = 0.01;