style: made container APIs more consistent.
Change-Id: Ib4feedfc4c9fb497dfcd67e7e6a33ee03db58d7f
refs: #4337
diff --git a/tests/test-conf-file-processor.cpp b/tests/test-conf-file-processor.cpp
index df347f1..abcaefb 100644
--- a/tests/test-conf-file-processor.cpp
+++ b/tests/test-conf-file-processor.cpp
@@ -19,17 +19,15 @@
* NLSR, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
**/
+#include "conf-file-processor.hpp"
#include "test-common.hpp"
#include "logger.hpp"
-
-#include <fstream>
-#include "conf-file-processor.hpp"
#include "nlsr.hpp"
+#include <fstream>
#include <boost/test/unit_test.hpp>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
-
#include <ndn-cxx/util/dummy-client-face.hpp>
namespace nlsr {
@@ -271,7 +269,7 @@
BOOST_CHECK_EQUAL(conf.getRoutingCalcInterval(), 9);
// Advertising
- BOOST_CHECK_EQUAL(nlsr.getNamePrefixList().getSize(), 2);
+ BOOST_CHECK_EQUAL(nlsr.getNamePrefixList().size(), 2);
}
BOOST_AUTO_TEST_CASE(Log4cxxFileExists)