summaryrefslogtreecommitdiffstats
path: root/juniper/src/test/mcandTestApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juniper/src/test/mcandTestApp.cpp')
-rw-r--r--juniper/src/test/mcandTestApp.cpp24
1 files changed, 21 insertions, 3 deletions
diff --git a/juniper/src/test/mcandTestApp.cpp b/juniper/src/test/mcandTestApp.cpp
index cb33e503bb5..8a93c14cfc9 100644
--- a/juniper/src/test/mcandTestApp.cpp
+++ b/juniper/src/test/mcandTestApp.cpp
@@ -1,7 +1,25 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-
-#include "mcandTest.h"
+/**
+ * Definition and implementation of the application for running unit tests
+ * for the MatchCandidate class in isolation.
+ *
+ * @file mcandTestApp.cpp
+ *
+ * @author Knut Omang
+ *
+ * @date Created 27 Feb 2003
+ *
+ * $Id$
+ *
+ * <pre>
+ * Copyright (c) : 2003 Fast Search & Transfer ASA
+ * ALL RIGHTS RESERVED
+ * </pre>
+ ****************************************************************************/
+#include <vespa/fastos/fastos.h>
#include <vespa/vespalib/testkit/testapp.h>
+#include "mcandTest.h"
+#include "testenv.h"
/**
* The MatchCandidateTestApp class is the main routine for running the unit
@@ -11,7 +29,7 @@
*/
class MatchCandidateTestApp : public vespalib::TestApp {
public:
- int Main() override {
+ virtual int Main() override {
juniper::TestEnv te(this, TEST_PATH("../rpclient/testclient.rc").c_str());
MatchCandidateTest test;
test.SetStream(&std::cout);