face: group parameters to createFace and connect into a common structure
Change-Id: Icb6857602ed7e897be6c5334b05be23793d133bb
diff --git a/tests/daemon/face/websocket-factory.t.cpp b/tests/daemon/face/websocket-factory.t.cpp
index d813931..bb8a378 100644
--- a/tests/daemon/face/websocket-factory.t.cpp
+++ b/tests/daemon/face/websocket-factory.t.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2017, Regents of the University of California,
+ * Copyright (c) 2014-2018, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -196,25 +196,19 @@
createFace(factory,
FaceUri("ws://127.0.0.1:20070"),
{},
- ndn::nfd::FACE_PERSISTENCY_PERMANENT,
- false,
- false,
+ {ndn::nfd::FACE_PERSISTENCY_ON_DEMAND, false, false},
{CreateFaceExpectedResult::FAILURE, 406, "Unsupported protocol"});
createFace(factory,
FaceUri("ws://127.0.0.1:20070"),
{},
- ndn::nfd::FACE_PERSISTENCY_ON_DEMAND,
- false,
- false,
+ {ndn::nfd::FACE_PERSISTENCY_PERSISTENT, false, false},
{CreateFaceExpectedResult::FAILURE, 406, "Unsupported protocol"});
createFace(factory,
FaceUri("ws://127.0.0.1:20070"),
{},
- ndn::nfd::FACE_PERSISTENCY_PERSISTENT,
- false,
- false,
+ {ndn::nfd::FACE_PERSISTENCY_PERMANENT, false, false},
{CreateFaceExpectedResult::FAILURE, 406, "Unsupported protocol"});
}