aboutsummaryrefslogtreecommitdiffstats
path: root/juniper/src/test/matchobjectTestApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juniper/src/test/matchobjectTestApp.cpp')
-rw-r--r--juniper/src/test/matchobjectTestApp.cpp23
1 files changed, 3 insertions, 20 deletions
diff --git a/juniper/src/test/matchobjectTestApp.cpp b/juniper/src/test/matchobjectTestApp.cpp
index 065af199589..f755c3e932a 100644
--- a/juniper/src/test/matchobjectTestApp.cpp
+++ b/juniper/src/test/matchobjectTestApp.cpp
@@ -1,25 +1,8 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-/**
- * Definition and implementation of the application for running unit tests
- * for the MatchObject class in isolation.
- *
- * @file matchobjectTestApp.cpp
- *
- * @author Knut Omang
- *
- * @date Created 21 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 "matchobjectTest.h"
#include "testenv.h"
+#include <vespa/vespalib/testkit/testapp.h>
/**
* The MatchObjectTestApp class is the main routine for running the unit
@@ -29,7 +12,7 @@
*/
class MatchObjectTestApp : public vespalib::TestApp {
public:
- virtual int Main() override {
+ int Main() override {
juniper::TestEnv te(this, TEST_PATH("../rpclient/testclient.rc").c_str());
MatchObjectTest test;
test.SetStream(&std::cout);